all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Skipping the buffer extension .~HEAD~ when choosing major mode during ediff session
@ 2008-05-28 10:23 Nordlöw
  2008-05-28 11:20 ` Johan Bockgård
  0 siblings, 1 reply; 4+ messages in thread
From: Nordlöw @ 2008-05-28 10:23 UTC (permalink / raw)
  To: help-gnu-emacs

Is there a simple way for emacs to ignore the .~HEAD~ suffix when its
chooses its major-mode based on name of the file/buffer. The .~HEAD~
suffix is typically appended to a temporary buffer name created when
we ediff a file with its vc head version.

The brute-force and ugly way is of course to modify all entries in
auto-mode-alist but that seems far too cumbersome.

If nobody has any clue should I start digging into the code where auto-
mode-alist is used?

Thanks in advance,
Nordlöw


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

end of thread, other threads:[~2008-05-29  7:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-28 10:23 Skipping the buffer extension .~HEAD~ when choosing major mode during ediff session Nordlöw
2008-05-28 11:20 ` Johan Bockgård
2008-05-29  6:53   ` Kevin Rodgers
     [not found]   ` <mailman.12369.1212044029.18990.help-gnu-emacs@gnu.org>
2008-05-29  7:39     ` Johan Bockgård

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.