GNU bug report logs -
#24017
24.5; vc-dir-mark loop infinitely when region is active and cursor position in last blank line.
Previous Next
Reported by: 綾小路剛志 <ayanokoji.takesi <at> gmail.com>
Date: Sun, 17 Jul 2016 17:48:02 UTC
Severity: normal
Found in version 24.5
Done: charles <at> aurox.ch (Charles A. Roelli)
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 24017 in the body.
You can then email your comments to 24017 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24017
; Package
emacs
.
(Sun, 17 Jul 2016 17:48:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
綾小路剛志 <ayanokoji.takesi <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 17 Jul 2016 17:48:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
How to reproduce bug.
1. Create a directory and move there.
mkdir BUG
cd BUG
2. Create files and start emacs.
$ echo foo > foo.txt
$ echo bar > bar.txt
$ LANG=C emacs -Q
3. Open a file.
C-x C-f foo.txt
4. Create repository (this example use SVN for VC backend).
C-x v v SVN <RET> <RET>
5. Open *vc-dir* buffer
C-x v d <RET>
At now, vc-dir buffer displays directory contents like bellow.
VC backend : SVN
Working dir: ~/BUG/
Repository : file:///home/h1r0s/BUG/SVN
./
unregistered SVN
unregistered bar.txt
added foo.txt
6. Select last file's line entirely.
C-s <RET> foo.txt C-a S-<Down>
7. Mark the region
M-x vc-dir-mark (or hit 'm')
... And this will never return.
Thanks.
---
Ayanokoji Takesi <ayanokoji.takesi <at> gmail.com>
In GNU Emacs 24.5.1 (i686-pc-linux-gnu, GTK+ Version 3.4.4)
of 2015-04-27 on himawari
Windowing system distributor `Fedora Project', version 11.0.11203000
System Description: Fedora release 17 (Beefy Miracle)
Important settings:
value of $LANG: ja_JP.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
Major mode: VC dir
Minor modes in effect:
tooltip-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.
arg ~/BUG/
Registering (/home/h1r0s/BUG/foo.txt)... done
Mark saved where search started [2 times]
Mark set
Quit
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu 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 misearch multi-isearch vc-dir
ewoc vc-arch vc-mtn vc-hg vc-git vc-bzr vc-sccs vc-svn vc-cvs vc-rcs vc
vc-dispatcher time-date japan-util 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 8 1672324 101516)
(symbols 24 18605 1)
(miscs 20 212 1224)
(strings 16 93798 25209)
(string-bytes 1 2990509)
(vectors 8 12267)
(vector-slots 4 490833 16588)
(floats 8 67 333)
(intervals 28 477039 12423)
(buffers 512 16)
(heap 1024 70345 1396))
[Message part 2 (text/html, inline)]
Reply sent
to
charles <at> aurox.ch (Charles A. Roelli)
:
You have taken responsibility.
(Mon, 18 Dec 2017 19:56:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
綾小路剛志 <ayanokoji.takesi <at> gmail.com>
:
bug acknowledged by developer.
(Mon, 18 Dec 2017 19:56:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 24017-done <at> debbugs.gnu.org (full text, mbox):
> From: 綾小路剛志 <ayanokoji.takesi <at> gmail.com>
> Date: Sun, 17 Jul 2016 19:07:50 +0900
>
> How to reproduce bug.
>
> 1. Create a directory and move there.
>
> mkdir BUG
> cd BUG
>
> 2. Create files and start emacs.
>
> $ echo foo > foo.txt
> $ echo bar > bar.txt
> $ LANG=C emacs -Q
>
> 3. Open a file.
>
> C-x C-f foo.txt
>
> 4. Create repository (this example use SVN for VC backend).
>
> C-x v v SVN <RET> <RET>
>
> 5. Open *vc-dir* buffer
>
> C-x v d <RET>
> At now, vc-dir buffer displays directory contents like bellow.
>
> VC backend : SVN
> Working dir: ~/BUG/
> Repository : file:///home/h1r0s/BUG/SVN
>
> ./
> unregistered SVN
> unregistered bar.txt
> added foo.txt
>
> 6. Select last file's line entirely.
>
> C-s <RET> foo.txt C-a S-<Down>
>
> 7. Mark the region
>
> M-x vc-dir-mark (or hit 'm')
>
> ... And this will never return.
>
> Thanks.
> ---
> Ayanokoji Takesi <ayanokoji.takesi <at> gmail.com>
>
> In GNU Emacs 24.5.1 (i686-pc-linux-gnu, GTK+ Version 3.4.4)
> of 2015-04-27 on himawari
> Windowing system distributor `Fedora Project', version 11.0.11203000
> System Description: Fedora release 17 (Beefy Miracle)
Thanks, I think I've fixed this now.
commit 9685774e38dc6f5670c8e57dc9f49335f4f738b6
Date: Mon Dec 18 20:51:30 2017 +0100
Fix infinite loop in vc-dir-mark-unmark
* lisp/vc/vc-dir.el (vc-dir-mark-unmark): Prevent from getting
stuck on the same line in an infinite loop. (Bug#24017)
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 16 Jan 2018 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 214 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.