12 Feb 2009 20:33
mmm and the emacs server
Johannes Rauh <jarauh <at> hotmail.com>
2009-02-12 19:33:50 GMT
2009-02-12 19:33:50 GMT
Hi,
I am using the new emacs 23 as a server (see e.g. http://www.faulhammer.org/archiv-mainmenu-31/35-gentoo/267-emacs-daemon-and-23-release-schedule).
I am having problems with font locking. I am using the hints form the eamcswiki page:
http://www.emacswiki.org/emacs-en/HtmlModeDeluxe
When I open a php file with HTML and php content, then the regions are identified correctly. However there is almost no font locking. Actually the font locking closely resembles the restricted font locking I get if I open the php-file in a terminal emacs.
When I start emacs 23 not as a client to the server, then font locking works as expected.
I guess that the problem is related to the following:
When the emacs server is started, it knows nothing about X. Somehow, however, the font locking of the mmm mode is fixed when the server starts. So even when I open an emacs frame later, the wrong font locking is used.
Regards,
Johannes
See all the ways you can stay connected to friends and family
I am using the new emacs 23 as a server (see e.g. http://www.faulhammer.org/archiv-mainmenu-31/35-gentoo/267-emacs-daemon-and-23-release-schedule).
I am having problems with font locking. I am using the hints form the eamcswiki page:
http://www.emacswiki.org/emacs-en/HtmlModeDeluxe
When I open a php file with HTML and php content, then the regions are identified correctly. However there is almost no font locking. Actually the font locking closely resembles the restricted font locking I get if I open the php-file in a terminal emacs.
When I start emacs 23 not as a client to the server, then font locking works as expected.
I guess that the problem is related to the following:
When the emacs server is started, it knows nothing about X. Somehow, however, the font locking of the mmm mode is fixed when the server starts. So even when I open an emacs frame later, the wrong font locking is used.
Regards,
Johannes
See all the ways you can stay connected to friends and family
------------------------------------------------------------------------------
_______________________________________________ MMM-Mode-discuss mailing list MMM-Mode-discuss <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mmm-mode-discuss
RSS Feed