unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* oh, Local Variables are for emacs
@ 2002-07-04  6:40 Dan Jacobson
  2002-07-04 11:21 ` Andreas Schwab
  2002-07-04 11:27 ` David Kastrup
  0 siblings, 2 replies; 3+ messages in thread
From: Dan Jacobson @ 2002-07-04  6:40 UTC (permalink / raw)


$ cat .crontab
12 6  * * 1-6 echo brush your teeth, etc.

# Local Variables:
# compile-command: "crontab .crontab"
# End:

Gentlemen, the average non-emacs user would be google-eyed when he saw
the mysterious "Local Variables" at the bottom of another's crontab or
whatever file.  Therefore, adding the word "Emacs"

# Emacs Local Variables:
# compile-command: "crontab .crontab"
# End:

should be allowed [maybe works already?] and promoted so 1. people
know which of the 10000 programs on the machine this is
for. 2. increasing brand name recognition a/k/a who's work of art ;-)

also there's the -*-sh-*- stuff at the tops of files.  It's like emacs
owns the whole computer...

I think the vi stuff I see at the bottoms of files at least gives a
clue what it is for [i.e. vi].
-- 
http://jidanni.org/ Taiwan(04)25854780

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

* Re: oh, Local Variables are for emacs
  2002-07-04  6:40 oh, Local Variables are for emacs Dan Jacobson
@ 2002-07-04 11:21 ` Andreas Schwab
  2002-07-04 11:27 ` David Kastrup
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2002-07-04 11:21 UTC (permalink / raw)
  Cc: gnu-emacs-bug

Dan Jacobson <jidanni@dman.ddts.net> writes:

|> $ cat .crontab
|> 12 6  * * 1-6 echo brush your teeth, etc.
|> 
|> # Local Variables:
|> # compile-command: "crontab .crontab"
|> # End:
|> 
|> Gentlemen, the average non-emacs user would be google-eyed when he saw
|> the mysterious "Local Variables" at the bottom of another's crontab or
|> whatever file.  Therefore, adding the word "Emacs"
|> 
|> # Emacs Local Variables:
|> # compile-command: "crontab .crontab"
|> # End:
|> 
|> should be allowed [maybe works already?]

It does (RTFM), except that the prefix must match on the other lines as
well.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: oh, Local Variables are for emacs
  2002-07-04  6:40 oh, Local Variables are for emacs Dan Jacobson
  2002-07-04 11:21 ` Andreas Schwab
@ 2002-07-04 11:27 ` David Kastrup
  1 sibling, 0 replies; 3+ messages in thread
From: David Kastrup @ 2002-07-04 11:27 UTC (permalink / raw)


jidanni@dman.ddts.net (Dan Jacobson) writes:

> $ cat .crontab
> 12 6  * * 1-6 echo brush your teeth, etc.
> 
> # Local Variables:
> # compile-command: "crontab .crontab"
> # End:
> 
> Gentlemen, the average non-emacs user would be google-eyed when he saw
> the mysterious "Local Variables" at the bottom of another's crontab or
> whatever file.  Therefore, adding the word "Emacs"
> 
> # Emacs Local Variables:
> # compile-command: "crontab .crontab"
> # End:
> 
> should be allowed [maybe works already?] and promoted so 1. people
> know which of the 10000 programs on the machine this is
> for. 2. increasing brand name recognition a/k/a who's work of art
> ;-)

You can always write
# This is for the sake of Emacs.
# Local Variables:
...

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: David.Kastrup@t-online.de

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

end of thread, other threads:[~2002-07-04 11:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-04  6:40 oh, Local Variables are for emacs Dan Jacobson
2002-07-04 11:21 ` Andreas Schwab
2002-07-04 11:27 ` David Kastrup

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).