Thanks However is it easy to alter emacs so that when you open all savede to a file qmenu does not hog the whope screen?
----- Original Message ----- From: "Thierry Godefroy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 02, 2003 11:37 PM Subject: [ql-users] MicroEMACS syntax highlighting. Was: Re: SuperBasic syntax highlighter for free... > > On Thu, 31 Jul 2003 16:51:44 +0100, Malcolm Lear wrote: > > > Thierry Godefroy wrote: > > > On Thu, 24 Jul 2003 21:27:33 -0400, Phoebus Dokos wrote: > > > > > > > > >>On Wed, 23 Jul 2003 00:15:52 +0100, J. Sadler <[EMAIL PROTECTED]> wrote: > > >> > > >> > > >>>What about a version for Emacs which is available for the QL > > >> > > >>I am not sure if Emacs supports syntax highlighting... > > > > > > > > > It does... > > > > I wish I knew how to get it working though. > > By default, the syntax hilighting is disabled (because it eats memory and > processor power, which may be annoying on the less powerful QDOS systems). > > You can enable it by adding the HILITE global mode, either at run time > (go into the Var./Modes menu, select the "HILITE" button, then click on > "Add a global mode"), or at startup time, by adding the following line > into your uelocal_rc file: > > add-global-mode "HILITE" > > Then, each new file you will load into MicroEMACS will be hilighted > according to its extension name (SBASIC for _bas, _sbas and _ssb, C > for _c and _h, ASSEMBLER for _asm and _s, MACRO for _rc and _cmd, > HTLM for _htm and _html). There is also a CUSTOM hilighting mode > using hooks to your own hilighting routines (to be written in > MicroEMACS macro language). > > You may also force the hilighting for a given file, if its extension > is not matching one of the above. For example, you may force SBASIC > hilighting after having loaded the win1_boot file: again with the > Var./Modes menu, select "Set a variable value", choose the "$syntax" > variable and enter "SBASIC"... > > Of course, all the above is explained in the MicroEMACS help file ;-) > > QDOS/SMS forever ! > > Thierry Godefroy.