unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#971: 23.0.60; next-line, previous-line and goal-column
@ 2008-09-12 13:34 Roland Winkler
  2011-09-11 17:48 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Roland Winkler @ 2008-09-12 13:34 UTC (permalink / raw)
  To: emacs-pretest-bug

When goal-column has a value larger than the window width, next line
and previous-line behave oddly. Visit file foo.txt, choose a window
width of, say, 40, and set goal-column to 50. If initially point is
at the beginning of line, next-line and previous-line put point in a
column smaller than goal-column. Executing next-line again puts
point at the end of the line past goal-column.  

Results also behave on the value of truncate-lines. The above refers
to truncate-lines being t. If it is nil, previous-line doesn't do
anything for me. (It does not move point backwards.)

There is no such problem with emacs 22.2.

cat > foo.txt << EOF
| foo bar | foo bar | foo bar | foo bar | foo bar | foo bar | foo bar |
| foo bar | foo bar | foo bar | foo bar | foo bar | foo bar | foo bar
| foo bar | foo bar | foo bar | foo bar | foo bar | foo bar | foo bar |
| foo bar | foo bar | foo bar | foo bar | foo bar | foo bar | foo
| foo bar | foo bar | foo bar | foo bar | foo bar | foo bar | foo bar |
| foo bar | foo bar | foo bar | foo bar | foo bar | foo bar | foo bar
| foo bar | foo bar | foo bar | foo bar | foo bar | foo bar | foo bar |
| foo bar | foo bar | foo bar | foo bar | foo bar | foo bar | foo bar
EOF

In GNU Emacs 23.0.60.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.6)
 of 2008-09-07 on lukas






^ permalink raw reply	[flat|nested] 8+ messages in thread
* bug#971: 23.0.60; next-line, previous-line and goal-column
@ 2008-09-18  6:06 martin rudalics
  2008-09-18 14:34 ` Roland Winkler
  0 siblings, 1 reply; 8+ messages in thread
From: martin rudalics @ 2008-09-18  6:06 UTC (permalink / raw)
  To: 971; +Cc: Roland Winkler

 > When goal-column has a value larger than the window width, next line
 > and previous-line behave oddly. Visit file foo.txt, choose a window
 > width of, say, 40, and set goal-column to 50. If initially point is
 > at the beginning of line, next-line and previous-line put point in a
 > column smaller than goal-column. Executing next-line again puts
 > point at the end of the line past goal-column.
 >
 > Results also behave on the value of truncate-lines. The above refers
 > to truncate-lines being t. If it is nil, previous-line doesn't do
 > anything for me. (It does not move point backwards.)
 >
 > There is no such problem with emacs 22.2.

I suppose this has been fixed with Chong's recent change to
`vertical-motion'.  Can you confirm?

martin






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

end of thread, other threads:[~2011-09-16 17:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-12 13:34 bug#971: 23.0.60; next-line, previous-line and goal-column Roland Winkler
2011-09-11 17:48 ` Lars Magne Ingebrigtsen
2011-09-16  9:38   ` Eli Zaretskii
2011-09-16 13:38     ` Eli Zaretskii
2011-09-16 13:44     ` Stefan Monnier
2011-09-16 17:18       ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2008-09-18  6:06 martin rudalics
2008-09-18 14:34 ` Roland Winkler

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).