From: David Reitter <david.reitter@gmail.com>
To: "René Kyllingstad" <listmailemacs@kyllingstad.com>
Cc: emacs-devel@gnu.org
Subject: Re: major mode in new buffers
Date: Tue, 30 Mar 2010 12:15:03 -0400 [thread overview]
Message-ID: <F5871005-2E2E-4470-ADC5-AD8BFE88D862@gmail.com> (raw)
In-Reply-To: <2f8988ff1003300457w38ee4bf0h259cd7a7187298e0@mail.gmail.com>
On Mar 30, 2010, at 7:57 AM, René Kyllingstad wrote:
> new buffers get default-major-mode. I would find it more convenient if
> auto-mode-alist was used.
Maybe not auto-mode-alist, but an extended form of magic-mode-alist.
I often create "untitled" buffers to be saved later, and they start out in my default mode.
Or, I edit some shell script that doesn't have a file name extension, so the major mode isn't set initially.
After the first few lines, wouldn't it be nice if magic-mode-alist was applied (if reliable!) and changed the major mode?
We don't want an MS Word Paperclip ("You seem to be writing a letter!"), but some major modes are recognized reliably.
next prev parent reply other threads:[~2010-03-30 16:15 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-30 11:57 major mode in new buffers René Kyllingstad
2010-03-30 15:06 ` Stefan Monnier
2010-03-30 15:51 ` René Kyllingstad
2010-03-30 15:13 ` Harald Hanche-Olsen
2010-03-30 16:07 ` René Kyllingstad
2010-03-30 16:15 ` David Reitter [this message]
2010-03-30 16:17 ` Juri Linkov
2010-03-30 16:42 ` René Kyllingstad
2010-03-31 1:28 ` Juanma Barranquero
2010-03-31 3:02 ` Stefan Monnier
2010-03-31 10:22 ` Juanma Barranquero
2010-03-31 10:23 ` Juanma Barranquero
2010-03-31 11:29 ` Juanma Barranquero
2010-03-31 15:05 ` Juri Linkov
2010-03-31 16:35 ` Juanma Barranquero
2010-04-01 18:05 ` Juri Linkov
2010-04-01 21:08 ` Juanma Barranquero
2010-04-01 22:24 ` Juanma Barranquero
2010-04-01 22:45 ` Juri Linkov
2010-04-01 23:10 ` Juanma Barranquero
2010-04-02 16:04 ` Juri Linkov
2010-04-02 20:19 ` Juanma Barranquero
2010-04-02 23:04 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F5871005-2E2E-4470-ADC5-AD8BFE88D862@gmail.com \
--to=david.reitter@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=listmailemacs@kyllingstad.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).