makefile-mode syntax highlighting bug?

makefile-mode syntax highlighting bug?

Post by Eugen Ded » Thu, 07 Sep 2000 18:08:47



Hi,

Suppose the following line in the file Makefile in makefile-mode (I use
xemacs with syntax highlighting `even more'):
LDOPT = -pg
When I comment this line, only `= -pg' becomes highlighted as a comment,
`LDOPT' does not change its color.  Is it a highlighting bug ?

In XEmacs 21.1 (patch 8) "Bryce Canyon" [Lucid] (i386-redhat-linux) of
Mon Feb 14 2000 on porky.devel.redhat.com
configured using `configure i386-redhat-linux --with-gnu-make
--with-gpm=no --with-sound=none --with-pop --mail-locking=flock
--with-clash-detection --debug=no --error-checking=none --prefix=/usr
--lockdir=/var/lock/xemacs --with-x11 --with-tty=no
--with-dialogs=athena3d --with-scrollbars=lucid --with-menubars=lucid
--with-xpm --dynamic=yes --with-mule=no
--docdir=/usr/lib/xemacs-21.1.8/i386-redhat-linux/X11'

Thanks,
Eugen
--
http://www.ese-metz.fr/~dedu

 
 
 

makefile-mode syntax highlighting bug?

Post by Ulrich Kaag » Thu, 07 Sep 2000 20:33:10


Hi Eugen,

try to put a whitespace between Comment-Sign # and LDOPT. Does this
work?

Cheers, Uli

    Eugen> Hi, Suppose the following line in the file Makefile in
    Eugen> makefile-mode (I use xemacs with syntax highlighting `even
    Eugen> more'): LDOPT = -pg When I comment this line, only `= -pg'
    Eugen> becomes highlighted as a comment, `LDOPT' does not change
    Eugen> its color.  Is it a highlighting bug ?

--
Dipl.-Ing. U.Kaage                 Tel. ++49/(0)721/608-6273
Institut fuer Nachrichtentechnik   Fax. ++49/(0)721/608-6071

76128 Karlsruhe, Germany
Home Page und PGP-Key: http://www-int.etec.uni-karlsruhe.de/~kaage/

 
 
 

makefile-mode syntax highlighting bug?

Post by Eugen Ded » Thu, 07 Sep 2000 22:05:12



> Hi Eugen,

> try to put a whitespace between Comment-Sign # and LDOPT. Does this
> work?

Yes, this works.  But this does work without space too...

Thanks,
Eugen

> Cheers, Uli


>     Eugen> Hi, Suppose the following line in the file Makefile in
>     Eugen> makefile-mode (I use xemacs with syntax highlighting `even
>     Eugen> more'): LDOPT = -pg When I comment this line, only `= -pg'
>     Eugen> becomes highlighted as a comment, `LDOPT' does not change
>     Eugen> its color.  Is it a highlighting bug ?

> --
> Dipl.-Ing. U.Kaage                 Tel. ++49/(0)721/608-6273
> Institut fuer Nachrichtentechnik   Fax. ++49/(0)721/608-6071

> 76128 Karlsruhe, Germany
> Home Page und PGP-Key: http://www-int.etec.uni-karlsruhe.de/~kaage/

 
 
 

1. automatic detect makefile-mode / c-mode

Hallo,
 could any one help me with makefile-mode/c-mode automatic setting?
Well, i often
open file names like aa.c.bak or aa.cfg or Makefile_bak and I would
like to have
my emacs automatic set the display as c or makefile mode. Every time i
open these files which don't have the default .c or Makefile, i have
to change the display setting by hand every time and it is quite
annoying.
    Thank you for your kindness in advance.

                     Cheers!
                     pattreeya.

2. Sendmail header question

3. auto-mode for makefile-mode???

4. ftp problems on 6.5.4

5. makefile-mode

6. Help can't add files in Pascal or C++

7. Error in makefile-mode under 21.1.8

8. Atari 8Bit stuff

9. makefile-mode in xemacs-19.14 is broken

10. Documentation on makefile-mode?

11. emacs 19.10 makefile-mode

12. Bug with syntax highlighting and RCS?

13. syntax highlighting, bug?