GNU bug report logs - #7940
23.2; Home and End keys don't work as expected with both pc-selection-mode and visual-line-mode enabled

Previous Next

Package: emacs;

Reported by: PJ Weisberg <pj <at> irregularexpressions.net>

Date: Sun, 30 Jan 2011 12:05:02 UTC

Severity: normal

Found in version 23.2

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: PJ Weisberg <pj <at> irregularexpressions.net>
To: 7940 <at> debbugs.gnu.org
Subject: bug#7940: 23.2; Home and End keys don't work as expected with both pc-selection-mode and visual-line-mode enabled
Date: Sat, 29 Jan 2011 21:00:09 -0800
[Message part 1 (text/plain, inline)]
1) Open or create a file with logical lines longer than the width of the
window.
2) Enable visual-line-mode and pc-selection-mode (order doesn't matter).
3) Press the <home> and/or <end> keys with point on one of these long
lines.

Expected: Point moves to the beginning/end of the current visual line.
Observed: Point moves to the beginning/end of the current logical line.

I've attached two (mutually exclusive) patches against the trunk.  I've
never submitted a patch to Emacs before, so please let me know which is more
in line with the preferred way of doing things.

--PJ
[Message part 2 (text/html, inline)]
[pc-visual-line_if.patch (text/x-patch, attachment)]
[pc-visual-line_function.patch (text/x-patch, attachment)]

This bug report was last modified 14 years and 165 days ago.

Previous Next


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