all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* makefile mode: everything after the # is comment color
@ 2003-11-24  3:56 Dan Jacobson
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Jacobson @ 2003-11-24  3:56 UTC (permalink / raw)


in makefile mode everything after the # is comment color:
ran:
	set -- ../tmp/mp3/am?/*.mp3; V=$$(($$RANDOM%$$#)); shift $$V;\

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: makefile mode: everything after the # is comment color
       [not found] <mailman.479.1069651529.399.bug-gnu-emacs@gnu.org>
@ 2003-11-24 18:14 ` Kevin Rodgers
  2003-11-25 19:47   ` Dan Jacobson
       [not found]   ` <mailman.595.1069803774.399.bug-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Kevin Rodgers @ 2003-11-24 18:14 UTC (permalink / raw)


Dan Jacobson wrote:

> in makefile mode everything after the # is comment color:
> ran:
> 	set -- ../tmp/mp3/am?/*.mp3; V=$$(($$RANDOM%$$#)); shift $$V;\

What does `M-: (getenv "SHELL")' return?


-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: makefile mode: everything after the # is comment color
  2003-11-24 18:14 ` makefile mode: everything after the # is comment color Kevin Rodgers
@ 2003-11-25 19:47   ` Dan Jacobson
       [not found]   ` <mailman.595.1069803774.399.bug-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Dan Jacobson @ 2003-11-25 19:47 UTC (permalink / raw)


>> in makefile mode everything after the # is comment color:
>> ran:
>> set -- ../tmp/mp3/am?/*.mp3; V=$$(($$RANDOM%$$#)); shift $$V;\

K> What does `M-: (getenv "SHELL")' return?

Of course, the "GNU Bourne-Again SHell", bash.  How could I use another
leading brand?  I mean GNU makefile mode should work with the GNU shell...

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: makefile mode: everything after the # is comment color
       [not found]   ` <mailman.595.1069803774.399.bug-gnu-emacs@gnu.org>
@ 2003-11-26 16:14     ` Kevin Rodgers
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2003-11-26 16:14 UTC (permalink / raw)


Dan Jacobson wrote:

>>>in makefile mode everything after the # is comment color:
>>>ran:
>>>set -- ../tmp/mp3/am?/*.mp3; V=$$(($$RANDOM%$$#)); shift $$V;\
>>>
> 
> K> What does `M-: (getenv "SHELL")' return?
> 
> Of course, the "GNU Bourne-Again SHell", bash.  How could I use another
> leading brand?  I mean GNU makefile mode should work with the GNU shell...

It turns out that make uses the value of the SHELL macro, which defaults
to "/bin/sh" (not the SHELL environment variable -- oops).

My point was that the fontification of commands in a Makefile depends on
their syntax, which is determined by SHELL.  And that is not necessarily
the same for all Makefiles.  Perhaps Makefile mode should be
parameterized for different shells, like Shell Script mode is.


-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-11-26 16:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.479.1069651529.399.bug-gnu-emacs@gnu.org>
2003-11-24 18:14 ` makefile mode: everything after the # is comment color Kevin Rodgers
2003-11-25 19:47   ` Dan Jacobson
     [not found]   ` <mailman.595.1069803774.399.bug-gnu-emacs@gnu.org>
2003-11-26 16:14     ` Kevin Rodgers
2003-11-24  3:56 Dan Jacobson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.