From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ed Avis Newsgroups: gmane.emacs.bugs Subject: bug#24443: 24.5; Feature: C-n and C-p to move logically while DOWN and UP move physically Date: Thu, 15 Sep 2016 13:56:39 +0100 Message-ID: <86lgytl3so.fsf@waniasset.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473945143 8784 195.159.176.226 (15 Sep 2016 13:12:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2016 13:12:23 +0000 (UTC) To: 24443@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 15 15:12:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkWSX-0000ij-PZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Sep 2016 15:12:10 +0200 Original-Received: from localhost ([::1]:34490 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkWSV-00067Y-Na for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Sep 2016 09:12:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkWEv-0003U8-Vu for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 08:58:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkWEs-0007fL-NJ for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 08:58:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkWEs-0007f9-KH for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 08:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bkWEs-0000m4-E8 for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 08:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ed Avis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Sep 2016 12:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24443 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.14739442292911 (code B ref -1); Thu, 15 Sep 2016 12:58:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Sep 2016 12:57:09 +0000 Original-Received: from localhost ([127.0.0.1]:60113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkWE1-0000kt-8O for submit@debbugs.gnu.org; Thu, 15 Sep 2016 08:57:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkWDy-0000kP-Kf for submit@debbugs.gnu.org; Thu, 15 Sep 2016 08:57:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkWDr-00076K-LU for submit@debbugs.gnu.org; Thu, 15 Sep 2016 08:57:01 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:57756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkWDr-000767-IL for submit@debbugs.gnu.org; Thu, 15 Sep 2016 08:56:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkWDp-0002W3-TZ for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 08:56:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkWDl-00070f-II for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 08:56:56 -0400 Original-Received: from mail1.bemta6.messagelabs.com ([193.109.254.111]:59617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkWDl-0006wI-9z for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 08:56:53 -0400 Original-Received: from [85.158.143.35] by server-7.bemta-6.messagelabs.com id DD/8D-15404-09A9AD75; Thu, 15 Sep 2016 12:56:48 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFLMWRWlGSWpSXmKPExsWi+sWpUrd/1q1 wg/eb1C2+H6hyYPRom2YWwBjFmpmXlF+RwJrxoW0xS8FMzYo9826zNTDeUe5i5OQQEljLKHF/ O38XIxeE/Xz+TjYI5yCjxNfHG9hBqtgEFCXa5kwDsjk4RASkJU72sYCEhQXCJS7+vsMCEmYRU JX4cCUUJMwroCUx5XkfO4QtKHFy5hOwcmYBCYmDL14wQ+yVk7jT9ot5AiP3LCRls5CULWBkWs WoXpxaVJZapGuol1SUmZ5RkpuYmaNraGCml5taXJyYnpqTmFSsl5yfu4kRGAYMQLCDcedzp0O MkhxMSqK8V6feChfiS8pPqcxILM6ILyrNSS0+xCjDwaEkwftlBlBOsCg1PbUiLTMHGJAwaQkO HiUR3nqQNG9xQWJucWY6ROoUo6KUOK/DTKCEAEgiozQPrg0WBZcYZaWEeRmBDhHiKUgtys0sQ ZV/xSjOwagkzGsOMoUnM68EbvoroMVMQIu3rLkOsrgkESEl1cBYq8+dsnNuJvvkijM/w3IfRb mq711X9HRtTum2jOsrfQKdXZiO7Nc9Zygu/tXBIvmy6pR3mU9DIxL+CrvxHA6MuliU4qd6ac+ rDTO01DM8l06pKKoPOamxKj3zX5PUHnn7O2e3d3zzupK7VOxMv2itUXZIhPH+05GF1f8vab5o mByw7cvHrEYlluKMREMt5qLiRABx6UhUfQIAAA== X-Env-Sender: eda@waniasset.com X-Msg-Ref: server-10.tower-21.messagelabs.com!1473944205!33309917!1 X-Originating-IP: [37.244.66.121] X-StarScan-Received: X-StarScan-Version: 8.84; banners=waniasset.com,-,- X-VirusChecked: Checked Original-Received: (qmail 51179 invoked from network); 15 Sep 2016 12:56:47 -0000 Original-Received: from unknown (HELO waniasset.com) (37.244.66.121) by server-10.tower-21.messagelabs.com with AES256-SHA encrypted SMTP; 15 Sep 2016 12:56:47 -0000 Original-Received: from WCL-EX13MBX-DR.wcl.local (10.45.7.24) by WCL-EX13MBX.wcl.local (10.45.7.22) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 15 Sep 2016 13:56:43 +0100 Original-Received: from WCL-EX13MBX.wcl.local (10.45.7.22) by WCL-EX13MBX-DR.wcl.local (10.45.7.24) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 15 Sep 2016 13:56:40 +0100 Original-Received: from wcl-linux04.wcl.local (10.45.7.86) by WCL-EX13MBX.wcl.local (10.45.7.22) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Thu, 15 Sep 2016 13:56:39 +0100 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123328 Archived-At: The change in Emacs 23.1 to move up and down by visual lines was certainly an improvement in usability. But for some cases such as keyboard macros it is safer to use the old movement by logical lines. The Emacs wiki notes that you might want to temporarily change the value of line-move-visual before calling or recording a macro. This works, but it is a bit awkward. Could I suggest that it might make sense for the more 'expert' keystrokes C-n and C-p to default to logical line movement, while DOWN and UP continue to move visually? Most people who use C-n and C-p will be Emacs old-timers and remember the logical movement, or at least understand how to rebind the keys to switch them to visual movement. This way, rather than two key bindings for the same thing, the different kinds of line movement both have a key binding. I think this would make recording macros and other specialized kinds of cursor movement a lot less fiddly, while keeping the less surprising behaviour for the ordinary arrow keys. In GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.18.9) of 2016-04-11 on buildvm-25.phx2.fedoraproject.org Configured using: `configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro' Important settings: value of $LC_COLLATE: C value of $LC_CTYPE: en_GB.UTF-8 value of $LC_MESSAGES: en_GB.UTF-8 value of $LC_MONETARY: en_GB.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: nXML Minor modes in effect: diff-auto-refine-mode: t show-paren-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Invoking man forward-line in the background Please wait: formatting the forward-line man page... forward-line man page formatted error in process sentinel: user-error: Can't find the forward-line manpage error in process sentinel: Can't find the forward-line manpage Quit [3 times] Type "q" to delete help window. Quit delete-backward-char: Text is read-only Load-path shadows: None found. Features: (shadow sort emacsbug sendmail imenu man eieio-opt speedbar sb-image ezimage dframe find-func macros mule-util etags sql view edmacro kmacro network-stream starttls tls mail-extr log-edit message idna format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader add-log log-view pcvs-util nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok diff-mode easy-mmode vc vc-dispatcher ffap thingatpt url-parse auth-source eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core gnus-util mm-util help-fns mail-prsvr password-cache url-vars dabbrev misearch multi-isearch vc-git cus-edit wid-edit cl-loaddefs cl-lib cus-start cus-load perl-mode help-mode easymenu pcmpl-unix xterm time-date paren server compile shell pcomplete comint ring ansi-color tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 731008 77135) (symbols 48 26067 1) (miscs 40 397 2165) (strings 32 47101 12667) (string-bytes 1 2642383) (vectors 16 28777) (vector-slots 8 1466171 103778) (floats 8 588 621) (intervals 56 96513 374) (buffers 960 47) (heap 1024 50284 2177)) Please ignore autogenerated disclaimer below this point.