From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=B6=BE=E5=B0=8F=E8=B7=AF=E5=89=9B=E5=BF=97?= Newsgroups: gmane.emacs.bugs Subject: bug#24017: 24.5; vc-dir-mark loop infinitely when region is active and cursor position in last blank line. Date: Sun, 17 Jul 2016 19:07:50 +0900 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c095c0a3510510537d20618 X-Trace: ger.gmane.org 1468777714 2504 80.91.229.3 (17 Jul 2016 17:48:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Jul 2016 17:48:34 +0000 (UTC) To: 24017@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 17 19:48:24 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bOqAt-0002Yl-Hj for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jul 2016 19:48:19 +0200 Original-Received: from localhost ([::1]:42567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOqAp-0006aX-Io for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jul 2016 13:48:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOqAf-0006Tn-Ne for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2016 13:48:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOqAd-0006xI-Cd for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2016 13:48:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOqAd-0006xB-76 for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2016 13:48:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bOqAc-0002RU-J9 for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2016 13:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=B6=BE=E5=B0=8F=E8=B7=AF=E5=89=9B=E5=BF=97?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Jul 2016 17:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24017 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14687776469336 (code B ref -1); Sun, 17 Jul 2016 17:48:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Jul 2016 17:47:26 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-Received: by 10.103.97.2 with HTTP; Sun, 17 Jul 2016 03:07:50 -0700 (PDT) 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-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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:121184 Archived-At: --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--