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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22194 in the body.
You can then email your comments to 22194 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#22194; Package emacs. (Thu, 17 Dec 2015 18:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lele Gaifax <lele <at> metapensiero.it>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 17 Dec 2015 18:09:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22194; Package emacs. (Thu, 17 Dec 2015 19:03:01 GMT) Full text and rfc822 format available.

Message #8 received at 22194 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lele Gaifax <lele <at> metapensiero.it>
Cc: 22194 <at> debbugs.gnu.org
Subject: Re: bug#22194: Problem with next-line/previous-line when
 line-move-visual is t
Date: Thu, 17 Dec 2015 21:02:59 +0200
> 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.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Fri, 18 Dec 2015 10:32:02 GMT) Full text and rfc822 format available.

Notification sent to Lele Gaifax <lele <at> metapensiero.it>:
bug acknowledged by developer. (Fri, 18 Dec 2015 10:32:02 GMT) Full text and rfc822 format available.

Message #13 received at 22194-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 15 Jan 2016 12:24:04 GMT) Full text and rfc822 format available.

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.