unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22194: Problem with next-line/previous-line when line-move-visual is t
@ 2015-12-17 18:08 Lele Gaifax
  2015-12-17 19:02 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Lele Gaifax @ 2015-12-17 18:08 UTC (permalink / raw)
  To: 22194

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@metapensiero.it  |                 -- Fortunato Depero, 1929.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#22194: Problem with next-line/previous-line when line-move-visual is t
  2015-12-17 18:08 bug#22194: Problem with next-line/previous-line when line-move-visual is t Lele Gaifax
@ 2015-12-17 19:02 ` Eli Zaretskii
  2015-12-18 10:31   ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2015-12-17 19:02 UTC (permalink / raw)
  To: Lele Gaifax; +Cc: 22194

> From: Lele Gaifax <lele@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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#22194: Problem with next-line/previous-line when line-move-visual is t
  2015-12-17 19:02 ` Eli Zaretskii
@ 2015-12-18 10:31   ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2015-12-18 10:31 UTC (permalink / raw)
  To: lele; +Cc: 22194-done

> Date: Thu, 17 Dec 2015 21:02:59 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 22194@debbugs.gnu.org
> 
> > From: Lele Gaifax <lele@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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-18 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-17 18:08 bug#22194: Problem with next-line/previous-line when line-move-visual is t Lele Gaifax
2015-12-17 19:02 ` Eli Zaretskii
2015-12-18 10:31   ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).