GNU bug report logs - #23156
24.5; Allow vc-git annotate command options to be altered easily

Previous Next

Package: emacs;

Reported by: Dave Rolsky <autarch <at> urth.org>

Date: Tue, 29 Mar 2016 23:07:01 UTC

Severity: normal

Found in version 24.5

Done: Óscar Fuentes <ofv <at> wanadoo.es>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23156 in the body.
You can then email your comments to 23156 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#23156; Package emacs. (Tue, 29 Mar 2016 23:07:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dave Rolsky <autarch <at> urth.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 29 Mar 2016 23:07:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dave Rolsky <autarch <at> urth.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.5; Allow vc-git annotate command options to be altered easily
Date: Tue, 29 Mar 2016 17:20:43 -0500
It'd be nice to be able to easily alter the options passed to "git
annotate".

The default value of "-C -C" makes this incredibly slow in large code
bases with many files.



In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
 of 2015-11-08 on houseabsolute.urth.org
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
System Description:	Ubuntu 14.04.4 LTS

Important settings:
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp

Minor modes in effect:
  diff-auto-refine-mode: t
  show-paren-mode: t
  shell-dirtrack-mode: t
  auto-image-file-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Quit
Buffer "*Annotate QueueTester.pm (rev dave/rename-service-to-service_interface)*" has a running process; kill it? (y or n) n
Quit
Mark set
Quit
Buffer "*Annotate QueueTester.pm (rev dave/rename-service-to-service_interface)*" has a running process; kill it? (y or n) y
Making completion list... [3 times]
Mark saved where search started [3 times]
uncompressing vc-git.el.gz...done
Mark saved where search started

Load-path shadows:
/home/autarch/.emacs.d/elpa/helm-20160315.246/helm-multi-match hides /home/autarch/.emacs.d/elpa/helm-core-20160315.246/helm-multi-match
/home/autarch/.emacs.d/elpa/cperl-mode-20140309.122/cperl-mode hides /usr/local/share/emacs/24.5/lisp/progmodes/cperl-mode

Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils jka-compr dired-aux
vc-annotate mule-util log-view pcvs-util sgml-mode dired diff-mode vc
vc-dispatcher imenu go-mode url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util mailcap find-file
ffap url-parse url-vars markdown-mode derived thingatpt noutline outline
easy-mmode misearch multi-isearch help-mode cperl-mode perl6-detect
exec-path-from-shell edmacro kmacro vc-svn vc-git vc-hg paren tramp
tramp-compat auth-source eieio byte-opt bytecomp byte-compile cl-extra
cconv eieio-core gnus-util mm-util mail-prsvr password-cache
tramp-loaddefs cl-macs trampver shell pcomplete format-spec php-mode
advice help-fns cl gv cl-loaddefs cl-lib speedbar sb-image ezimage
dframe etags flymake compile comint ansi-color ring add-log cc-mode
cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs server image-file anchored-transpose-autoloads
android-mode-autoloads cperl-mode-autoloads fold-dwim-autoloads
go-mode-autoloads info easymenu less-css-mode-autoloads
nginx-mode-autoloads rx plsql-autoloads puppetfile-mode-autoloads
tidy-autoloads package epg-config time-date tooltip electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind gfilenotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 279430 23393)
 (symbols 48 32783 0)
 (miscs 40 162 1272)
 (strings 32 63173 10855)
 (string-bytes 1 1936337)
 (vectors 16 29537)
 (vector-slots 8 974293 69159)
 (floats 8 105 439)
 (intervals 56 7618 0)
 (buffers 960 32)
 (heap 1024 65373 3292))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23156; Package emacs. (Tue, 29 Mar 2016 23:50:01 GMT) Full text and rfc822 format available.

Message #8 received at 23156 <at> debbugs.gnu.org (full text, mbox):

From: Óscar Fuentes <ofv <at> wanadoo.es>
To: Dave Rolsky <autarch <at> urth.org>
Cc: 23156 <at> debbugs.gnu.org
Subject: Re: bug#23156: 24.5;
 Allow vc-git annotate command options to be altered easily
Date: Wed, 30 Mar 2016 01:49:51 +0200
Dave Rolsky <autarch <at> urth.org> writes:

> It'd be nice to be able to easily alter the options passed to "git
> annotate".
>
> The default value of "-C -C" makes this incredibly slow in large code
> bases with many files.

The upcoming version 25 of Emacs has `vc-git-annotate-switches':


  (defcustom vc-git-annotate-switches nil
    "String or list of strings specifying switches for Git blame under VC.
  If nil, use the value of `vc-annotate-switches'.  If t, use no switches."


The "-C -C" option is also gone.

Is this good enough?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23156; Package emacs. (Wed, 30 Mar 2016 00:03:01 GMT) Full text and rfc822 format available.

Message #11 received at 23156 <at> debbugs.gnu.org (full text, mbox):

From: Dave Rolsky <autarch <at> urth.org>
To: Óscar Fuentes <ofv <at> wanadoo.es>
Cc: 23156 <at> debbugs.gnu.org
Subject: Re: bug#23156: 24.5; Allow vc-git annotate command options to be
 altered easily
Date: Tue, 29 Mar 2016 19:02:40 -0500 (CDT)
[Message part 1 (text/plain, inline)]
On Wed, 30 Mar 2016, Óscar Fuentes wrote:

> Dave Rolsky <autarch <at> urth.org> writes:
>
>> It'd be nice to be able to easily alter the options passed to "git
>> annotate".
>>
>> The default value of "-C -C" makes this incredibly slow in large code
>> bases with many files.
>
> The upcoming version 25 of Emacs has `vc-git-annotate-switches':
>
>
>  (defcustom vc-git-annotate-switches nil
>    "String or list of strings specifying switches for Git blame under VC.
>  If nil, use the value of `vc-annotate-switches'.  If t, use no switches."
>
>
> The "-C -C" option is also gone.
>
> Is this good enough?

Yes, this is great!

For now I'm just overriding the function in my .emacs after "(require 
'vc-git)"


Cheers,

-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/

Reply sent to Óscar Fuentes <ofv <at> wanadoo.es>:
You have taken responsibility. (Wed, 30 Mar 2016 01:24:02 GMT) Full text and rfc822 format available.

Notification sent to Dave Rolsky <autarch <at> urth.org>:
bug acknowledged by developer. (Wed, 30 Mar 2016 01:24:02 GMT) Full text and rfc822 format available.

Message #16 received at 23156-done <at> debbugs.gnu.org (full text, mbox):

From: Óscar Fuentes <ofv <at> wanadoo.es>
To: Dave Rolsky <autarch <at> urth.org>
Cc: 23156-done <at> debbugs.gnu.org
Subject: Re: bug#23156: 24.5;
 Allow vc-git annotate command options to be altered easily
Date: Wed, 30 Mar 2016 03:23:15 +0200
Dave Rolsky <autarch <at> urth.org> writes:

>> Is this good enough?
>
> Yes, this is great!

Ok, closing the bug report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 27 Apr 2016 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 54 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.