From: Bob Rogers <rogers@rgrjr.dyndns.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 7350@debbugs.gnu.org
Subject: bug#7350: 24.0.50; make vc-deduce-backend smarter
Date: Sun, 14 Nov 2010 18:21:34 -0500 [thread overview]
Message-ID: <19680.28414.314610.707478@rgr.rgrjr.com> (raw)
In-Reply-To: <jwvaaleoduz.fsf-monnier+emacs@gnu.org>
From: Stefan Monnier <monnier@iro.umontreal.ca>
Date: Fri, 12 Nov 2010 08:48:30 -0500
> It can definitely be generalized, but I'd rather stick to buffers where
> there's a clear association with a particular file or directory.
> E.g. *Help* buffers aren't good candidates.
> Fair enough. Seems odd that default-directory is not nil for these.
There are all kinds of reasons why we don't like default-directory to
be nil.
> Works for me. It doesn't cover the cases where I'm looking at a
> generated file, or test output, but (in my workflow anyway) those cases
> are rarer.
I've installed the patch into the trunk (i.e. not for Emacs-23.3 but
Emacs-24) and added compilation-mode to shell-mode, since it's also
clearly linked to a particular location in the file-system.
Great; thank you.
> This was the result of a trade-off (get rid of one RET since it's
> almost never used). But I guess we could/should prompt the user for
> a file/dir rather than signal "File is not under version control" or
> some such error.
> That would be much nicer, especially since the underlying functionality
> (i.e. support for vc-diff of directories) still works.
Patch welcome.
Hmm. TRT would be to figure this out in the "interactive" form, so that
repeat-complex-command works, but that would change the args to vc-diff.
How big a change are you willing to contemplate?
> P.S. I mailed the signed copyright assignment today, so FSF should
> have it tomorrow.
Great (tho, OT1H I can't remember for which patch this is, and OTOH the
FSF itself usually takes a little while to process those mail).
Stefan
NP; it was on my mind, so I just thought I'd mention it.
-- Bob
next prev parent reply other threads:[~2010-11-14 23:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-06 22:18 bug#7350: 24.0.50; make vc-deduce-backend smarter Bob Rogers
2010-11-07 20:03 ` Stefan Monnier
2010-11-07 21:41 ` Bob Rogers
2010-11-08 17:47 ` Stefan Monnier
2010-11-08 21:05 ` Bob Rogers
2010-11-12 13:48 ` Stefan Monnier
2010-11-14 23:21 ` Bob Rogers [this message]
2010-11-15 16:05 ` Stefan Monnier
2010-11-17 4:43 ` Bob Rogers
2010-11-17 13:31 ` Stefan Monnier
2010-11-19 2:27 ` Bob Rogers
2010-11-20 19:54 ` Bob Rogers
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=19680.28414.314610.707478@rgr.rgrjr.com \
--to=rogers@rgrjr.dyndns.org \
--cc=7350@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.