unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Customization of VC commands
@ 2011-01-04  0:56 Óscar Fuentes
  2011-01-07  3:41 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Óscar Fuentes @ 2011-01-04  0:56 UTC (permalink / raw)
  To: emacs-devel

I don't see too much provision on VC for customizing commands. Just
today I missed the possibility of setting a variable that would be used
for telling vc-print-log to work across file copies and renames (for
git). Something like vc-git-print-log-extra-options.

Is this intentional or work in progress? Any plans about how to do it?
The only mention of VC on etc/TODO is this:

** Improve VC: yes, there's a lot of work to be done there :-(
  And most of it could/should make it into Emacs-23.3.




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

* Re: Customization of VC commands
  2011-01-04  0:56 Customization of VC commands Óscar Fuentes
@ 2011-01-07  3:41 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2011-01-07  3:41 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: emacs-devel

> I don't see too much provision on VC for customizing commands.  Just
> today I missed the possibility of setting a variable that would be used
> for telling vc-print-log to work across file copies and renames (for
> git). Something like vc-git-print-log-extra-options.

VC has the `vc-switches' macro which backends are supposed to use for
that, which provides the user with variables like
vc-git-print-log-switches (which would be just what you asked for).

It's better than nothing, but we'd want to be able to provide/change
such arguments dynamically.

> Is this intentional or work in progress? Any plans about how to do it?

Check existing uses of `vc-switches', and then change the remaining code
to use it as well.


        Stefan



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

end of thread, other threads:[~2011-01-07  3:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-04  0:56 Customization of VC commands Óscar Fuentes
2011-01-07  3:41 ` Stefan Monnier

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).