From: Dan Nicolaescu <dann@ics.uci.edu>
To: emacs-devel@gnu.org
Subject: accept more version names in file-name-sans-versions
Date: Wed, 19 Sep 2007 18:14:57 -0700 [thread overview]
Message-ID: <200709200114.l8K1Ev2m009887@oogie-boogie.ics.uci.edu> (raw)
For a file file.c managed by git doing
C-u C-x v = master RET
will create the buffer file.c.~master~ with the major-mode
fundamental-mode not c-mode.
The reason is that file-name-sans-versions only looks for revision
names matching ".~[0-9.]+~", so .~master~ does not match.
Any reason not to add a-z to that regexp?
next reply other threads:[~2007-09-20 1:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-20 1:14 Dan Nicolaescu [this message]
2007-09-20 8:52 ` accept more version names in file-name-sans-versions Juri Linkov
2007-09-22 2:14 ` Dan Nicolaescu
2007-09-22 8:52 ` Andreas Schwab
2007-09-22 15:48 ` Richard Stallman
2007-09-22 16:00 ` Andreas Schwab
2007-09-23 15:05 ` Richard Stallman
2007-09-23 16:11 ` Andreas Schwab
2007-09-24 18:20 ` Richard Stallman
2007-09-22 16:20 ` Dan Nicolaescu
2007-09-22 16:31 ` Michaël Cadilhac
2007-09-22 17:52 ` Dan Nicolaescu
2007-09-22 20:02 ` Stefan Monnier
2007-09-22 20:04 ` Stefan Monnier
2007-09-23 16:14 ` Dan Nicolaescu
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=200709200114.l8K1Ev2m009887@oogie-boogie.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
/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).