GNU bug report logs - #22194
Problem with next-line/previous-line when line-move-visual is t

Previous Next

Package: emacs;

Reported by: Lele Gaifax <lele <at> metapensiero.it>

Date: Thu, 17 Dec 2015 18:09:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Lele Gaifax <lele <at> metapensiero.it>
Subject: bug#22194: closed (Re: bug#22194: Problem with next-line/previous-line
 when line-move-visual is t)
Date: Fri, 18 Dec 2015 10:32:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#22194: Problem with next-line/previous-line when line-move-visual is t

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 22194 <at> debbugs.gnu.org.

-- 
22194: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22194
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: lele <at> metapensiero.it
Cc: 22194-done <at> debbugs.gnu.org
Subject: Re: bug#22194: Problem with next-line/previous-line when
 line-move-visual is t
Date: Fri, 18 Dec 2015 12:31:18 +0200
> Date: Thu, 17 Dec 2015 21:02:59 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 22194 <at> debbugs.gnu.org
> 
> > From: Lele Gaifax <lele <at> metapensiero.it>
> > Date: Thu, 17 Dec 2015 19:08:06 +0100
> > 
> > I'm not able to determine if the problem is related to the package-menu-mode
> > or instead to the more general tabulated-list-mode.
> 
> The latter: you can see the same problem in the buffer popped by "C-x
> C-b".
> 
> Thanks, I will look into this.

Fixed in commit fb2eaf0 on the emacs-25 branch.

(It was a bug in vertical-motion when truncate-lines is in effect.)

Thanks.

[Message part 3 (message/rfc822, inline)]
From: Lele Gaifax <lele <at> metapensiero.it>
To: bug-gnu-emacs <at> gnu.org
Subject: Problem with next-line/previous-line when line-move-visual is t
Date: Thu, 17 Dec 2015 19:08:06 +0100
Hi all,

I notice a problem in current emacs-25, commit
1b5630eb47d3f4bade09708c958ab006b83b3fc0: in an "emacs -Q" session, executing
M-x list-packages, I'm presented the *Packages* buffer, where the first four
lines are:

  ace-window         0.9.0         available  Quickly switch windows.
  ack                1.5           available  interface to ack-like tools
  ada-mode           5.1.8         available  major-mode for editing Ada sources
  ada-ref-man        2012.0        available  Ada Reference Manual 2012

When I position the cursor on the first letter of the names (i.e., on the
letter “a” of “ace-window”), I can move around with “n” and “p” freely, as
expected.

If I move the cursor on the last “w” character of “ace-window” and hit “n”,
the cursor goes to the next line, column 6 (that is, after “ack” under the
first “w” of “ace-window”) and a subsequent “n” does not move the cursor to
the third line.

If instead I move the cursor on the ending “n” of “ada-ref-man” and hit “p”,
the cursor moves to the third line, column 11 (after “ada-mode”, above last
“a” of “ada-ref-man”). Hitting “p” again, the cursor ends in the first row
(thus skipping the second!), remaining at column 11.

Repeating the same steps after evaluating (setq line-move-visual nil), the
cursor “visits” every line, even if it jumps to the first character of the
version column when the name below/above the current one is shorter.

I'm not able to determine if the problem is related to the package-menu-mode
or instead to the more general tabulated-list-mode.

Hope this is clear enough,

best regards,
ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele <at> metapensiero.it  |                 -- Fortunato Depero, 1929.



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

Previous Next


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