all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* What is the "official" name of the -*- line?
@ 2012-03-30  6:43 Ulrich Mueller
  2012-03-30  9:57 ` Carsten Mattner
  0 siblings, 1 reply; 3+ messages in thread
From: Ulrich Mueller @ 2012-03-30  6:43 UTC (permalink / raw
  To: emacs-devel

Hi,

I've noticed that Emacs now outputs a message "Malformed mode-line"
when it encounters bad syntax in the first line of the file. [1]
This may be a little confusing because the line at the bottom of a
window is called mode line, too.

Anyway, this makes me wonder if there's an "official" name for that
line? In documentation and source code I've found all of the
following:

  `-*-' line
  first line
  mode-line
  prop line

Ulrich

[1] <http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/105821>



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

* Re: What is the "official" name of the -*- line?
  2012-03-30  6:43 What is the "official" name of the -*- line? Ulrich Mueller
@ 2012-03-30  9:57 ` Carsten Mattner
  2012-03-30 12:54   ` Tom Willemsen
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Mattner @ 2012-03-30  9:57 UTC (permalink / raw
  To: Ulrich Mueller; +Cc: emacs-devel

On Fri, Mar 30, 2012 at 8:43 AM, Ulrich Mueller <ulm@gentoo.org> wrote:
> Hi,
>
> I've noticed that Emacs now outputs a message "Malformed mode-line"
> when it encounters bad syntax in the first line of the file. [1]
> This may be a little confusing because the line at the bottom of a
> window is called mode line, too.
>
> Anyway, this makes me wonder if there's an "official" name for that
> line? In documentation and source code I've found all of the
> following:
>
>  `-*-' line
>  first line
>  mode-line
>  prop line
>
> Ulrich
>
> [1] <http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/105821>

Documentation calls the beginning-of-file or end-of-file lines file
local variables.
That should leave mode-line for the status-bar/info-bar row.
I didn't invent it, so there may be more to this.



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

* Re: What is the "official" name of the -*- line?
  2012-03-30  9:57 ` Carsten Mattner
@ 2012-03-30 12:54   ` Tom Willemsen
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Willemsen @ 2012-03-30 12:54 UTC (permalink / raw
  To: Carsten Mattner; +Cc: Ulrich Mueller, emacs-devel

Hey,

On Fri 30 Mar 2012 11:57:42 AM CEST, Carsten Mattner wrote:

 > On Fri, Mar 30, 2012 at 8:43 AM, Ulrich Mueller <ulm@gentoo.org> wrote:
 > > Hi,
 > >
 > > I've noticed that Emacs now outputs a message "Malformed mode-line"
 > > when it encounters bad syntax in the first line of the file. [1]
 > > This may be a little confusing because the line at the bottom of a
 > > window is called mode line, too.
 > >
 > > Anyway, this makes me wonder if there's an "official" name for that
 > > line? In documentation and source code I've found all of the
 > > following:
 > >
 > >  `-*-' line
 > >  first line
 > >  mode-line
 > >  prop line
 > >
 > > Ulrich
 > >
 > > [1] <http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/105821>
 >
 > Documentation calls the beginning-of-file or end-of-file lines file
 > local variables.
 > That should leave mode-line for the status-bar/info-bar row.
 > I didn't invent it, so there may be more to this.

The add and delete functions call it file-local-variable-prop-line:

add-file-local-variable-prop-line
delete-file-local-variable-prop-line



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

end of thread, other threads:[~2012-03-30 12:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-30  6:43 What is the "official" name of the -*- line? Ulrich Mueller
2012-03-30  9:57 ` Carsten Mattner
2012-03-30 12:54   ` Tom Willemsen

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.