From: Juri Linkov <juri@jurta.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: accept more version names in file-name-sans-versions
Date: Thu, 20 Sep 2007 11:52:30 +0300 [thread overview]
Message-ID: <87zlzh1x5t.fsf@jurta.org> (raw)
In-Reply-To: <200709200114.l8K1Ev2m009887@oogie-boogie.ics.uci.edu> (Dan Nicolaescu's message of "Wed\, 19 Sep 2007 18\:14\:57 -0700")
> 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?
Then please add also "-" since often the revision name contains it,
e.g. file.c.~multi-tty~ or file.c.~2007-09-20~
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2007-09-20 8:52 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-20 1:14 accept more version names in file-name-sans-versions Dan Nicolaescu
2007-09-20 8:52 ` Juri Linkov [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zlzh1x5t.fsf@jurta.org \
--to=juri@jurta.org \
--cc=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 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.