GNU bug report logs -
#21955
25.0.50; vc-next-action fails from *vc-change-log* buffer
Previous Next
Reported by: Sven Joachim <svenjoac <at> gmx.de>
Date: Wed, 18 Nov 2015 18:48:02 UTC
Severity: normal
Found in version 25.0.50
Fixed in version 25.1
Done: Sven Joachim <svenjoac <at> gmx.de>
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 21955 in the body.
You can then email your comments to 21955 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
svenjoac <at> gmx.de, bug-gnu-emacs <at> gnu.org
:
bug#21955
; Package
emacs
.
(Wed, 18 Nov 2015 18:48:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Sven Joachim <svenjoac <at> gmx.de>
:
New bug report received and forwarded. Copy sent to
svenjoac <at> gmx.de, bug-gnu-emacs <at> gnu.org
.
(Wed, 18 Nov 2015 18:48:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Visit some file in a git repository, make a change and save it. Press
C-x v l do view the file's version history. Press C-x v v to commit
your changes. Result is an error:
vc-next-action: Wrong type argument: listp, "/usr/local/src/emacs/"
Of course, the last argument is the default-directory here.
In GNU Emacs 25.0.50.2 (i586-pc-linux-gnu, GTK+ Version 2.24.28)
of 2015-11-18
Repository revision: bb4303c536a2ac5fe683a711ef8072074f77670e
Windowing system distributor 'The X.Org Foundation', version 11.0.11703000
System Description: Debian GNU/Linux
Configured using:
'configure --build i586-linux-gnu --host i586-linux-gnu --prefix=/usr
--sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var
--infodir=/usr/share/info/emacs-snapshot --mandir=/usr/share/man
--with-pop=yes
--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/25.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.0.50/site-lisp:/usr/share/emacs/site-lisp
--without-wide-int --disable-silent-rules --without-compress-install
--with-x=yes --with-x-toolkit=gtk2 --without-gconf --without-gsettings
build_alias=i586-linux-gnu host_alias=i586-linux-gnu 'CFLAGS=-g -O2
-fstack-protector-strong -Wformat -Werror=format-security'
'LDFLAGS=-Wl,-z,relro -Wl,--as-needed' 'CPPFLAGS=-D_FORTIFY_SOURCE=2
-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000''
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS NOTIFY ACL
LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK2 X11
Important settings:
value of $LC_COLLATE: C
value of $LANG: de_DE.UTF-8
locale-coding-system: utf-8-unix
Major mode: Git-Log-View
Minor modes in effect:
diff-auto-refine-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-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
buffer-read-only: t
line-number-mode: t
transient-mark-mode: t
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Saving file /usr/local/src/emacs/BUGS...
Wrote /usr/local/src/emacs/BUGS
vc-next-action: Wrong type argument: listp, "/usr/local/src/emacs/"
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message dired format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils vc-bzr vc-src vc-sccs vc-svn
vc-cvs vc-rcs add-log log-view pcvs-util vc vc-dispatcher vc-git
diff-mode easy-mmode map seq byte-opt gv bytecomp byte-compile cconv
cl-extra help-mode easymenu cl-loaddefs pcase cl-lib time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 dbusbind inotify dynamic-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)
Memory information:
((conses 8 95807 6514)
(symbols 24 20842 0)
(miscs 20 58 118)
(strings 16 19201 3353)
(string-bytes 1 551091)
(vectors 8 14402)
(vector-slots 4 457909 2418)
(floats 8 176 70)
(intervals 28 337 7)
(buffers 520 13)
(heap 1024 29332 521))
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21955
; Package
emacs
.
(Wed, 18 Nov 2015 18:54:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 21955 <at> debbugs.gnu.org (full text, mbox):
On 11/18/2015 08:47 PM, Sven Joachim wrote:
> Visit some file in a git repository, make a change and save it. Press
> C-x v l do view the file's version history. Press C-x v v to commit
> your changes. Result is an error:
I'm sure it should work that way. `C-x v v' committing the current file
is fine, but you've switched to a different buffer. Do we promise the
behavior you want somewhere in the documentation?
> vc-next-action: Wrong type argument: listp, "/usr/local/src/emacs/"
I can make it fail with a more comprehensible error message.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21955
; Package
emacs
.
(Wed, 18 Nov 2015 19:44:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 21955 <at> debbugs.gnu.org (full text, mbox):
On 2015-11-18 20:53 +0200, Dmitry Gutov wrote:
> On 11/18/2015 08:47 PM, Sven Joachim wrote:
>> Visit some file in a git repository, make a change and save it. Press
>> C-x v l do view the file's version history. Press C-x v v to commit
>> your changes. Result is an error:
>
> I'm sure it should work that way. `C-x v v' committing the current
> file is fine, but you've switched to a different buffer.
It used to work in Emacs 24, and I have come to rely on that behavior.
Apparently the fix for bug #19084 changed it, vc-deduce-fileset in the
*vc-change-log* buffer no longer returns the file whose history is
displayed, but rather the directory it is in.
> Do we promise
> the behavior you want somewhere in the documentation?
Not explicitly, but I find it a bit surprising (and annoying) that the
command to list the changelog of a fileset does not preserve that same
fileset in the log buffer.
Certainly the behavior of C-x v L is more correct now, but the one of
C-x v l has regressed.
>> vc-next-action: Wrong type argument: listp, "/usr/local/src/emacs/"
>
> I can make it fail with a more comprehensible error message.
That's the least I would expect.
Cheers,
Sven
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21955
; Package
emacs
.
(Thu, 19 Nov 2015 01:41:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 21955 <at> debbugs.gnu.org (full text, mbox):
On 11/18/2015 09:42 PM, Sven Joachim wrote:
> It used to work in Emacs 24, and I have come to rely on that behavior.
> Apparently the fix for bug #19084 changed it, vc-deduce-fileset in the
> *vc-change-log* buffer no longer returns the file whose history is
> displayed, but rather the directory it is in.
All right, I've tweaked the fix to the above bug, so that both behaviors
work. Pushed to emacs-25. Please check and mark it as done, if
everything works fine.
But I don't think this behavior makes a lot of sense, in general. So
e.g. vc-print-root-log displays the log for the whole repository, but
vc-next-action will offer you to commit the changes to the file you
opened the log buffer from, and not the whole repository.
Same for vc-root-diff.
> Certainly the behavior of C-x v L is more correct now, but the one of
> C-x v l has regressed.
Indeed, it also regressed the more sensible scenario: when vc-print-log
was called after selecting a few items in vc-dir buffer.
Reply sent
to
Sven Joachim <svenjoac <at> gmx.de>
:
You have taken responsibility.
(Thu, 19 Nov 2015 18:25:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Sven Joachim <svenjoac <at> gmx.de>
:
bug acknowledged by developer.
(Thu, 19 Nov 2015 18:25:03 GMT)
Full text and
rfc822 format available.
Message #19 received at 21955-done <at> debbugs.gnu.org (full text, mbox):
Version: 25.1
On 2015-11-19 03:40 +0200, Dmitry Gutov wrote:
> On 11/18/2015 09:42 PM, Sven Joachim wrote:
>
>> It used to work in Emacs 24, and I have come to rely on that behavior.
>> Apparently the fix for bug #19084 changed it, vc-deduce-fileset in the
>> *vc-change-log* buffer no longer returns the file whose history is
>> displayed, but rather the directory it is in.
>
> All right, I've tweaked the fix to the above bug, so that both
> behaviors work. Pushed to emacs-25. Please check and mark it as done,
> if everything works fine.
It does, thank you. :-)
Cheers,
Sven
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 18 Dec 2015 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 264 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.