all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* precedence of auto-mode-alist and magic-fallback-mode-alist
@ 2007-12-08 14:23 Stephen Berman
  2007-12-08 15:03 ` Lennart Borgman (gmail)
  2007-12-08 23:45 ` Jason Rumney
  0 siblings, 2 replies; 4+ messages in thread
From: Stephen Berman @ 2007-12-08 14:23 UTC (permalink / raw)
  To: emacs-devel

On GNU Emacs 23.0.50.3 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of
2007-11-29 on escher I do the following:

1. emacs -Q
2. M-x browse-url-emacs RET http://www.gnu.org RET
3. After a short time a buffer www.gnu.org pops up containing the HTML
source of the gnu.org home page.  This buffer is in Org mode, because
auto-mode-alist takes precedence over magic-fallback-mode-alist (if I
save the buffer as "testme" then C-x C-f opens the file in html-mode).

I don't remember if cases like this were considered when this precedence
relation was established.  If not, is the above an argument against this
precedence relation, or just evidence that we can't always DTRT, or is
it a bug that can be fixed while retaining the current precedence
relation?

Steve Berman

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

end of thread, other threads:[~2007-12-08 23:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-08 14:23 precedence of auto-mode-alist and magic-fallback-mode-alist Stephen Berman
2007-12-08 15:03 ` Lennart Borgman (gmail)
2007-12-08 20:09   ` Stefan Monnier
2007-12-08 23:45 ` Jason Rumney

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.