From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 13:47:26 2016 Received: (at submit) by debbugs.gnu.org; 17 Jul 2016 17:47:26 +0000 Received: from localhost ([127.0.0.1]:54750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bOqA1-0002QW-Us for submit@debbugs.gnu.org; Sun, 17 Jul 2016 13:47:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33047) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bOizT-0006yG-Ba for submit@debbugs.gnu.org; Sun, 17 Jul 2016 06:08:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOizM-0000bN-Nz for submit@debbugs.gnu.org; Sun, 17 Jul 2016 06:07:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOizM-0000bD-Kg for submit@debbugs.gnu.org; Sun, 17 Jul 2016 06:07:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOizK-000185-11 for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2016 06:07:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOizH-0000b1-Hp for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2016 06:07:52 -0400 Received: from mail-vk0-x22b.google.com ([2607:f8b0:400c:c05::22b]:36193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOizH-0000ax-Bn for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2016 06:07:51 -0400 Received: by mail-vk0-x22b.google.com with SMTP id j126so152660327vkg.3 for ; Sun, 17 Jul 2016 03:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=ZRhf9tKUK4L+Z4NwRdR7T5CcUD1PkhNRlozf0eoTbOc=; b=iw8bhU7oTHxNpw2VoMny2OmvQEj1GDXK4FUezKe4ZiInm36cIgJ4y+Yx3LTD2oqwBl 2sgCjwBQzIOejc1qwcpDuJZ892iLRI3XxPFoeWkJdi/N3eyQ31QvLwNPzc1Uze2EqAap UzYG97Zwc3Hh5WDNb4ApoEa1HEbjKjuMJx23WD5wsimTPVwRaOPTJGqKaLSybjYZv9dF ZjLt+ogGcqOfKqnWeKMLOdQrMyU7rEPDP9B11nfq8oR63vjN2oicKYKOFlQDdFuHdq8c M6NVTi+karxFtDEsJ0NISfG5O/CLf5it1KUDMRRqq6Bni6OgE+lo4tmX6rpmQuzBWz/B fT5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZRhf9tKUK4L+Z4NwRdR7T5CcUD1PkhNRlozf0eoTbOc=; b=YSDVMcmGRQL2+5MIO6qiy99iUHQ+T/HTc96ZuUy4Jdw3rL2G/rj8RfZM8syTAON7cq iK18t6P7WiBeWIJ57bGB/RXaJPW8zyqJiG9S4TnowdXLratOKyvSMlTzOZwEgS7Yv5VP nH5vqGu/ha4JHw4Z2jA/Cemd4jE1e6ohIXTgRp/JyWSrZl6IfiVpS8gYKcQ+JpFo5XI3 s4GvA7RuXOjq9mBOg7XVYIBquSR5u9GpFTr6qncnqVHGUY7lYTppmgLVZ25Dl/ZZIwcm 6/eKnJTzJ/RogKHmPdq0ppXdiPWyV8oz07Lkofx6uSFwfOq5IG7opEvSU26FHplDVQO1 yjPg== X-Gm-Message-State: ALyK8tJD71qBwY6zB8xRpaoMZK4SzgzWcBszcAK52BerJhtdJPLwc9euc0CccVM7MIBf+rCFsmDQl5tds5d2tA== X-Received: by 10.31.109.67 with SMTP id i64mr9038222vkc.10.1468750070352; Sun, 17 Jul 2016 03:07:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.97.2 with HTTP; Sun, 17 Jul 2016 03:07:50 -0700 (PDT) From: =?UTF-8?B?57a+5bCP6Lev5Ymb5b+X?= Date: Sun, 17 Jul 2016 19:07:50 +0900 Message-ID: Subject: 24.5; vc-dir-mark loop infinitely when region is active and cursor position in last blank line. To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=94eb2c095c0a3510510537d20618 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 17 Jul 2016 13:47:24 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --94eb2c095c0a3510510537d20618 Content-Type: text/plain; charset=UTF-8 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 5. Open *vc-dir* buffer C-x v d 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 foo.txt C-a S- 7. Mark the region M-x vc-dir-mark (or hit 'm') ... And this will never return. Thanks. --- Ayanokoji Takesi 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)) --94eb2c095c0a3510510537d20618 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
How to reproduce bug.

1. Cre= ate a directory and move there.

=C2=A0 =C2=A0mkdir= BUG
=C2=A0 =C2=A0cd BUG

2. Create files= and start emacs.

=C2=A0 =C2=A0$ echo foo > foo= .txt=C2=A0
=C2=A0 =C2=A0$ echo bar > bar.txt=C2=A0
= =C2=A0 =C2=A0$ LANG=3DC emacs -Q

3. Open a file.

=C2=A0 =C2=A0C-x C-f foo.txt

4. Create repository (this example use SVN for VC backend).
=C2=A0 =C2=A0C-x v v SVN <RET> <RET>
5. Open *vc-dir* buffer

=C2=A0 =C2=A0C= -x v d <RET>
=C2=A0 =C2=A0
At now, vc-dir buffer = displays directory contents like bellow.

=C2=A0 = =C2=A0 =C2=A0VC backend : SVN
=C2=A0 =C2=A0 =C2=A0Working dir: ~/= BUG/
=C2=A0 =C2=A0 =C2=A0Repository : file:///home/h1r0s/BUG/SVN<= /div>

=C2=A0 =C2=A0 =C2=A0./
=C2=A0 =C2=A0 =C2= =A0unregistered =C2=A0 =C2=A0 =C2=A0 =C2=A0 SVN
=C2=A0 =C2=A0 =C2= =A0unregistered =C2=A0 =C2=A0 =C2=A0 =C2=A0 bar.txt
=C2=A0 =C2=A0= =C2=A0added =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0foo.txt=

6. Select last file's line entirely.

=C2=A0 =C2=A0C-s <RET> foo.txt C-a S-<Down>


7. Mark the region

=C2=A0 =C2=A0M-x vc-dir-mark (or hit 'm')

=C2=A0 =C2=A0... And this will never return.

Thanks.
---
Ayanokoji Takesi <ayanokoji.takesi@gmail.com>

=
In GNU Emacs 24.5.1 (i686-pc-linux-gnu, GTK+ Version 3.4.4)
=C2=A0of 2015-04-27 on himawari
Windowing system distributo= r `Fedora Project', version 11.0.11203000
System Description:= Fedora release 17 (Beefy= Miracle)

Important settings:
=C2=A0 val= ue of $LANG: ja_JP.UTF-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus<= /div>
=C2=A0 locale-coding-system: utf-8-unix

= Major mode: VC dir

Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2= =A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
= =C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mod= e: t
=C2=A0 buffer-read-only: t
=C2=A0 line-number-mode= : t
=C2=A0 transient-mark-mode: t

Recent= messages:
For information about GNU Emacs and the GNU system, ty= pe 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:
<= div>None found.

Features:
(shadow sort g= nus-util mail-extr emacsbug message format-spec rfc822 mml
easyme= nu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
maila= bbrev 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 fo= ntset 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 cha= m georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet = lao korean japanese hebrew
greek romanian slovak czech european e= thiopic 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 forma= t env code-pages mule custom widget
hashtable-print-readable back= quote make-network-process dbusbind
gfilenotify dynamic-setting s= ystem-font-setting font-render-setting
move-toolbar gtk x-toolkit= x multi-tty emacs)

Memory information:
= ((conses 8 1672324 101516)
=C2=A0(symbols 24 18605 1)
= =C2=A0(miscs 20 212 1224)
=C2=A0(strings 16 93798 25209)
=C2=A0(string-bytes 1 2990509)
=C2=A0(vectors 8 12267)
=C2=A0(vector-slots 4 490833 16588)
=C2=A0(floats 8 67 333)
=C2=A0(intervals 28 477039 12423)
=C2=A0(buffers 512 16)
=C2=A0(heap 1024 70345 1396))

--94eb2c095c0a3510510537d20618-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 18 14:55:50 2017 Received: (at 24017-done) by debbugs.gnu.org; 18 Dec 2017 19:55:50 +0000 Received: from localhost ([127.0.0.1]:40866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eR1Vu-00034q-06 for submit@debbugs.gnu.org; Mon, 18 Dec 2017 14:55:50 -0500 Received: from sinyavsky.aurox.ch ([37.35.109.145]:36718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eR1Vs-00034e-Ma for 24017-done@debbugs.gnu.org; Mon, 18 Dec 2017 14:55:49 -0500 Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id D7248225FD for <24017-done@debbugs.gnu.org>; Mon, 18 Dec 2017 19:48:00 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= content-transfer-encoding:content-type:content-type:mime-version :references:subject:subject:in-reply-to:to:from:from:message-id :date:date; s=dkim; t=1513626479; x=1514490480; bh=m0FYhmnQ3lWE8 pCHvgKpuSkvFqe9mZsW1V4rFx8p6pk=; b=sFBYVH4zSqw3Hbr8C5hFxnhC/XlkE Sdu2Kkl5DWrxHuj97KvSM4Rs4X+XkwS4j74kpVLjU+l3XcS2RV1IKLqMkPLWgfdL PEZTKEl1vC9a+jDJs5J7aRaGQdUTTmjVz5nKK+eOBPSlRBzxH+3FG+VStKwToXPT 100ohu1fcGg/Ik= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id utXdaWbsKG5f for <24017-done@debbugs.gnu.org>; Mon, 18 Dec 2017 19:47:59 +0000 (UTC) Received: from gray (125.85.192.178.dynamic.wline.res.cust.swisscom.ch [178.192.85.125]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 14B45225D7; Mon, 18 Dec 2017 19:47:57 +0000 (UTC) Date: Mon, 18 Dec 2017 20:59:07 +0100 Message-Id: From: charles@aurox.ch (Charles A. Roelli) To: =?utf-8?B?57a+5bCP6Lev5Ymb5b+X?= In-reply-to: (message from =?utf-8?B?57a+5bCP6Lev5Ymb5b+X?= on Sun, 17 Jul 2016 19:07:50 +0900) Subject: Re: bug#24017: 24.5; vc-dir-mark loop infinitely when region is active and cursor position in last blank line. References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 24017-done Cc: 24017-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > From: 綾小路剛志 > 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 > > 5. Open *vc-dir* buffer > > C-x v d > 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 foo.txt C-a S- > > 7. Mark the region > > M-x vc-dir-mark (or hit 'm') > > ... And this will never return. > > Thanks. > --- > Ayanokoji Takesi > > 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) From unknown Mon Aug 18 11:15:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 16 Jan 2018 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator