From unknown Sat Jun 21 10:42:44 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#23551 <23551@debbugs.gnu.org> To: bug#23551 <23551@debbugs.gnu.org> Subject: Status: 24.5; beginning-of-line wrong in repeated kbd macro Reply-To: bug#23551 <23551@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:42:44 +0000 retitle 23551 24.5; beginning-of-line wrong in repeated kbd macro reassign 23551 emacs submitter 23551 abbott@dima.unige.it severity 23551 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon May 16 12:32:59 2016 Received: (at submit) by debbugs.gnu.org; 16 May 2016 16:32:59 +0000 Received: from localhost ([127.0.0.1]:54028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2LRz-0002UI-4K for submit@debbugs.gnu.org; Mon, 16 May 2016 12:32:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2LQ4-0002QT-6L for submit@debbugs.gnu.org; Mon, 16 May 2016 12:31:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2LPu-0002uc-Ie for submit@debbugs.gnu.org; Mon, 16 May 2016 12:30:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2LPu-0002uK-BO for submit@debbugs.gnu.org; Mon, 16 May 2016 12:30:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2LPo-0006sf-2K for bug-gnu-emacs@gnu.org; Mon, 16 May 2016 12:30:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2LPi-0002rn-RF for bug-gnu-emacs@gnu.org; Mon, 16 May 2016 12:30:42 -0400 Received: from pitagora.dima.unige.it ([130.251.60.4]:51870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2LPi-0002rP-Ek for bug-gnu-emacs@gnu.org; Mon, 16 May 2016 12:30:38 -0400 Received: from localhost (localhost [127.0.0.1]) by pitagora.dima.unige.it (Postfix) with ESMTP id 10E317FCD4; Mon, 16 May 2016 16:30:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at dima.unige.it Received: from pitagora.dima.unige.it ([127.0.0.1]) by localhost (pitagora.dima.unige.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fj8g8IHznMTf; Mon, 16 May 2016 18:30:32 +0200 (CEST) Received: from fermat.dima.unige.it (fermat.dima.unige.it [130.251.60.6]) by pitagora.dima.unige.it (Postfix) with ESMTPS id 520B67FCCA; Mon, 16 May 2016 18:30:32 +0200 (CEST) Received: from dyn-21-91.mdm.its.uni-kassel.de (dyn-21-91.mdm.its.uni-kassel.de [141.51.21.91]) by fermat.dima.unige.it (Horde Framework) with HTTP; Mon, 16 May 2016 16:30:32 +0000 Date: Mon, 16 May 2016 16:30:32 +0000 Message-ID: <20160516163032.Horde.dzyiidpM-qxZXkDDoOkApwx@fermat.dima.unige.it> From: abbott@dima.unige.it To: bug-gnu-emacs@gnu.org Subject: 24.5; beginning-of-line wrong in repeated kbd macro User-Agent: Horde Application Framework 5 Content-Type: multipart/mixed; boundary="=_acSrlbELZ31opHwNQbWIM15" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 16 May 2016 12:32:57 -0400 Cc: Abbott John X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) This message is in MIME format. --=_acSrlbELZ31opHwNQbWIM15 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline I would like to report the following bug. Open the attached file in Emacs, and move point to the first position. Define a keyboard macro: (I want to put each line inside double-quotes) " ;; self-insert-command C-e ;; move-end-of-line " ;; self-insert-command C-a ;; message-beginning-of-line ;; next-line Now ask Emacs to repeat this macro 49 times. The result is wrong: at around line 35, the first double-quote is no longer at the start of the line; then on successive lines the position of the first inserted double-quote walks to the right. ----------------------------------------------------------------- In GNU Emacs 24.5.1 (i686-apple-darwin, NS apple-appkit-1038.36) of 2015-04-10 on builder10-6.porkrind.org Windowing system distributor `Apple', version 10.3.1038 Configured using: `configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --host=i686-apple-darwin --build=i686-apple-darwin --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no' Important settings: locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: recentf-mode: t show-paren-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Cleaning up the recentf list... File /Users/abbott/ShortTerm/EMACS-BUG-orig removed from the recentf list Cleaning up the recentf list...done (1 removed) Loading /Users/abbott/Work/CoCoA/CoCoA4/4.7/UI/emacs/cocoa.emacs...done Loading /Users/abbott/Work/CoCoA/CoCoA5/CoCoALib-0.99/src/CoCoA-5/emacs/cocoa5.emacs...done Loading rmail-spam-filter.elc...done For information about GNU Emacs and the GNU system, type C-h C-a. Defining kbd macro... Keyboard macro defined (Type e to repeat macro) Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr warnings emacsbug sendmail cl-extra info magit-autoloads git-rebase-mode-autoloads git-commit-mode-autoloads package epg-config rmail-spam-filter rmailsum rmail recentf tree-widget wid-edit git-blame git derived log-edit easy-mmode message cl-macs format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mailabbrev mail-utils gmm-utils mailheader ring pcvs-util add-log ewoc cl gv paren cus-start cus-load edmacro kmacro cl-loaddefs cl-lib time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win 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 cocoa ns multi-tty emacs) Memory information: ((conses 8 143707 11759) (symbols 24 23822 0) (miscs 20 100 224) (strings 16 30397 6332) (string-bytes 1 745514) (vectors 8 14455) (vector-slots 4 436468 9860) (floats 8 71 198) (intervals 28 254 26) (buffers 512 14)) --=_acSrlbELZ31opHwNQbWIM15 Content-Type: text/plain; name=EMACS-BUG Content-Disposition: attachment; size=1700; filename=EMACS-BUG use P ::= QQ[c[0..99]]; f := c[0]*c[1]^7*c[27] -c[0]*c[1]^6*c[26] +6*c[0]*c[1]^5*c[4]*c[27]*c[57] +6*c[0]*c[1]^5*c[5]*c[27]*c[43] +6*c[0]*c[1]^5*c[13]*c[27]*c[85] +c[0]*c[1]^5*c[18]*c[27]*c[43] +c[0]*c[1]^5*c[25] +c[0]*c[1]^5*c[41]*c[43] -5*c[0]*c[1]^4*c[2]*c[27]*c[43] -5*c[0]*c[1]^4*c[4]*c[26]*c[57] +5*c[0]*c[1]^4*c[4]*c[27]*c[43]*c[61] +5*c[0]*c[1]^4*c[4]*c[27]*c[57]*c[60] +5*c[0]*c[1]^4*c[4]*c[27]*c[69]*c[85] -5*c[0]*c[1]^4*c[5]*c[26]*c[43] +5*c[0]*c[1]^4*c[5]*c[27]*c[43]*c[47] +5*c[0]*c[1]^4*c[5]*c[27]*c[46]*c[57] +5*c[0]*c[1]^4*c[5]*c[27]*c[55]*c[85] -5*c[0]*c[1]^4*c[12]*c[27]*c[85] -5*c[0]*c[1]^4*c[13]*c[26]*c[85] +5*c[0]*c[1]^4*c[13]*c[27]*c[43]*c[89] +5*c[0]*c[1]^4*c[13]*c[27]*c[57]*c[88] +5*c[0]*c[1]^4*c[13]*c[27]*c[85]*c[97] -c[0]*c[1]^4*c[18]*c[26]*c[43] +c[0]*c[1]^4*c[18]*c[27]*c[43]*c[47] +c[0]*c[1]^4*c[18]*c[27]*c[46]*c[57] +c[0]*c[1]^4*c[18]*c[27]*c[55]*c[85] -c[0]*c[1]^4*c[24] -c[0]*c[1]^4*c[40]*c[43] +c[0]*c[1]^4*c[41]*c[43]*c[47] +c[0]*c[1]^4*c[41]*c[46]*c[57] +c[0]*c[1]^4*c[41]*c[55]*c[85] +4*c[0]*c[1]^3*c[2]*c[26]*c[43] -4*c[0]*c[1]^3*c[2]*c[27]*c[43]*c[47] -4*c[0]*c[1]^3*c[2]*c[27]*c[46]*c[57] -4*c[0]*c[1]^3*c[2]*c[27]*c[55]*c[85] +10*c[0]*c[1]^3*c[4]^2*c[27]*c[57]^2 +20*c[0]*c[1]^3*c[4]*c[5]*c[27]*c[43]*c[57] +20*c[0]*c[1]^3*c[4]*c[13]*c[27]*c[57]*c[85] +4*c[0]*c[1]^3*c[4]*c[18]*c[27]*c[43]*c[57] +4*c[0]*c[1]^3*c[4]*c[25]*c[57] -4*c[0]*c[1]^3*c[4]*c[26]*c[43]*c[61] -4*c[0]*c[1]^3*c[4]*c[26]*c[57]*c[60] -4*c[0]*c[1]^3*c[4]*c[26]*c[69]*c[85] +4*c[0]*c[1]^3*c[4]*c[27]*c[43]*c[47]*c[61] -4*c[0]*c[1]^3*c[4]*c[27]*c[43]*c[58] +4*c[0]*c[1]^3*c[4]*c[27]*c[43]*c[60]*c[61] +4*c[0]*c[1]^3*c[4]*c[27]*c[43]*c[69]*c[89] +4*c[0]*c[1]^3*c[4]*c[27]*c[46]*c[57]*c[61] --=_acSrlbELZ31opHwNQbWIM15-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 16 13:26:55 2016 Received: (at control) by debbugs.gnu.org; 16 May 2016 17:26:55 +0000 Received: from localhost ([127.0.0.1]:54106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2MIB-0005UG-0k for submit@debbugs.gnu.org; Mon, 16 May 2016 13:26:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2MI9-0005U4-N3 for control@debbugs.gnu.org; Mon, 16 May 2016 13:26:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2MI0-00049p-JK for control@debbugs.gnu.org; Mon, 16 May 2016 13:26:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2MI0-00049G-G6 for control@debbugs.gnu.org; Mon, 16 May 2016 13:26:44 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2430 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b2MHx-0004Br-5T for control@debbugs.gnu.org; Mon, 16 May 2016 13:26:43 -0400 Date: Mon, 16 May 2016 20:26:33 +0300 Message-Id: <83y47952ye.fsf@gnu.org> From: Eli Zaretskii To: control@debbugs.gnu.org In-reply-to: <20160516163032.Horde.dzyiidpM-qxZXkDDoOkApwx@fermat.dima.unige.it> (abbott@dima.unige.it) Subject: Re: bug#23551: 24.5; beginning-of-line wrong in repeated kbd macro References: <20160516163032.Horde.dzyiidpM-qxZXkDDoOkApwx@fermat.dima.unige.it> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) merge 13452 23551 thanks From debbugs-submit-bounces@debbugs.gnu.org Mon May 16 13:31:12 2016 Received: (at 23551) by debbugs.gnu.org; 16 May 2016 17:31:12 +0000 Received: from localhost ([127.0.0.1]:54128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2MMK-0006do-Di for submit@debbugs.gnu.org; Mon, 16 May 2016 13:31:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2MMI-0006XS-4Z for 23551@debbugs.gnu.org; Mon, 16 May 2016 13:31:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2MLs-0006qM-Ak for 23551@debbugs.gnu.org; Mon, 16 May 2016 13:31:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2MLs-0006oQ-5r; Mon, 16 May 2016 13:30:44 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2434 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b2MLo-0002DM-OS; Mon, 16 May 2016 13:30:42 -0400 Date: Mon, 16 May 2016 20:30:29 +0300 Message-Id: <83wpmt52ru.fsf@gnu.org> From: Eli Zaretskii To: abbott@dima.unige.it In-reply-to: <20160516163032.Horde.dzyiidpM-qxZXkDDoOkApwx@fermat.dima.unige.it> (abbott@dima.unige.it) Subject: Re: bug#23551: 24.5; beginning-of-line wrong in repeated kbd macro References: <20160516163032.Horde.dzyiidpM-qxZXkDDoOkApwx@fermat.dima.unige.it> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 23551 Cc: 23551@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > Date: Mon, 16 May 2016 16:30:32 +0000 > From: abbott@dima.unige.it > Cc: Abbott John > > Open the attached file in Emacs, and move point to the first position. > Define a keyboard macro: (I want to put each line inside double-quotes) > " ;; self-insert-command > C-e ;; move-end-of-line > " ;; self-insert-command > C-a ;; message-beginning-of-line > ;; next-line > > Now ask Emacs to repeat this macro 49 times. > The result is wrong: at around line 35, the first double-quote > is no longer at the start of the line; then on successive lines > the position of the first inserted double-quote walks to the right. Thanks. This is a duplicate of the (old, but unsolved) bug #13452. The problem is not in beginning-of-line, it's in next-line: when the window needs to scroll as result of next-line, point ends up in columns 1, 2, 3, ... (i.e. gains one column per line moved down), instead of sticking to column zero. To work around, set line-move-visual to nil before running the macro (or as part of the macro), then the problem goes away. I'll try to debug this one of these days. From debbugs-submit-bounces@debbugs.gnu.org Mon May 16 14:55:20 2016 Received: (at control) by debbugs.gnu.org; 16 May 2016 18:55:20 +0000 Received: from localhost ([127.0.0.1]:54345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2Nfk-0006EY-Dq for submit@debbugs.gnu.org; Mon, 16 May 2016 14:55:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2Nfj-0006E6-FM for control@debbugs.gnu.org; Mon, 16 May 2016 14:55:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2NfV-0004pI-FN for control@debbugs.gnu.org; Mon, 16 May 2016 14:55:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2NfV-0004p4-Cl for control@debbugs.gnu.org; Mon, 16 May 2016 14:55:05 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2508 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b2NfO-0005HR-Rh for control@debbugs.gnu.org; Mon, 16 May 2016 14:55:03 -0400 Date: Mon, 16 May 2016 21:54:51 +0300 Message-Id: <83mvnp4yv8.fsf@gnu.org> From: Eli Zaretskii To: control@debbugs.gnu.org In-reply-to: (message from Markus Triska on Sun, 15 May 2016 14:10:59 +0200) Subject: Re: bug#23555: 24.5; Keyboard macros unexpectedly depend on frame size References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) merge 13452 23555 thanks From debbugs-submit-bounces@debbugs.gnu.org Mon May 16 15:36:50 2016 Received: (at 23551) by debbugs.gnu.org; 16 May 2016 19:36:51 +0000 Received: from localhost ([127.0.0.1]:54414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2OJu-0000Wd-OS for submit@debbugs.gnu.org; Mon, 16 May 2016 15:36:50 -0400 Received: from pitagora.dima.unige.it ([130.251.60.4]:46082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2OJs-0000WQ-AE for 23551@debbugs.gnu.org; Mon, 16 May 2016 15:36:48 -0400 Received: from localhost (localhost [127.0.0.1]) by pitagora.dima.unige.it (Postfix) with ESMTP id 25C907FCD1; Mon, 16 May 2016 19:36:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at dima.unige.it Received: from pitagora.dima.unige.it ([127.0.0.1]) by localhost (pitagora.dima.unige.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rJMVMepPxBTs; Mon, 16 May 2016 21:36:41 +0200 (CEST) Received: from fermat.dima.unige.it (fermat.dima.unige.it [130.251.60.6]) by pitagora.dima.unige.it (Postfix) with ESMTPS id B30C37F478; Mon, 16 May 2016 21:36:41 +0200 (CEST) Received: from dyn-21-91.mdm.its.uni-kassel.de (dyn-21-91.mdm.its.uni-kassel.de [141.51.21.91]) by fermat.dima.unige.it (Horde Framework) with HTTP; Mon, 16 May 2016 19:36:42 +0000 Date: Mon, 16 May 2016 19:36:42 +0000 Message-ID: <20160516193642.Horde.k6O-jbx4T9fLfU9_6v2pmQ5@fermat.dima.unige.it> From: abbott@dima.unige.it To: Eli Zaretskii Subject: Re: bug#23551: 24.5; beginning-of-line wrong in repeated kbd macro References: <20160516163032.Horde.dzyiidpM-qxZXkDDoOkApwx@fermat.dima.unige.it> <83wpmt52ru.fsf@gnu.org> In-Reply-To: <83wpmt52ru.fsf@gnu.org> User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 23551 Cc: 23551@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.7 (---) Hi Eli Thanks for the swift response, and the explanation. > This is a duplicate of the (old, but unsolved) bug #13452.... > To work around, set line-move-visual to nil before running the macro It seems that move-end-of-line and then forward-char achieves the right thing (at least it did in a quick test). > I'll try to debug this one of these days. Good luck! John Abbott From debbugs-submit-bounces@debbugs.gnu.org Mon May 16 15:42:39 2016 Received: (at 23551) by debbugs.gnu.org; 16 May 2016 19:42:39 +0000 Received: from localhost ([127.0.0.1]:54418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2OPX-0000ex-DI for submit@debbugs.gnu.org; Mon, 16 May 2016 15:42:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2OPV-0000el-QI for 23551@debbugs.gnu.org; Mon, 16 May 2016 15:42:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2OPL-0008Li-UY for 23551@debbugs.gnu.org; Mon, 16 May 2016 15:42:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2OPL-0008LI-RM; Mon, 16 May 2016 15:42:27 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2596 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b2OPI-0006RK-Lo; Mon, 16 May 2016 15:42:26 -0400 Date: Mon, 16 May 2016 22:42:09 +0300 Message-Id: <83k2it4woe.fsf@gnu.org> From: Eli Zaretskii To: abbott@dima.unige.it In-reply-to: <20160516193642.Horde.k6O-jbx4T9fLfU9_6v2pmQ5@fermat.dima.unige.it> (abbott@dima.unige.it) Subject: Re: bug#23551: 24.5; beginning-of-line wrong in repeated kbd macro References: <20160516163032.Horde.dzyiidpM-qxZXkDDoOkApwx@fermat.dima.unige.it> <83wpmt52ru.fsf@gnu.org> <20160516193642.Horde.k6O-jbx4T9fLfU9_6v2pmQ5@fermat.dima.unige.it> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 23551 Cc: 23551@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > Date: Mon, 16 May 2016 19:36:42 +0000 > From: abbott@dima.unige.it > Cc: 23551@debbugs.gnu.org > > It seems that move-end-of-line and then forward-char achieves the right > thing (at least it did in a quick test). But the above two calls are not a good replacement for next-line, they produce different results. > > I'll try to debug this one of these days. > > Good luck! I doubt that luck has anything to do with this ;-) From unknown Sat Jun 21 10:42:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 26 Jun 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 08 23:47:21 2016 Received: (at control) by debbugs.gnu.org; 9 Jul 2016 03:47:21 +0000 Received: from localhost ([127.0.0.1]:43166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLjEe-0005j4-Qq for submit@debbugs.gnu.org; Fri, 08 Jul 2016 23:47:20 -0400 Received: from mail-it0-f49.google.com ([209.85.214.49]:37433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLjEc-0005im-Cr for control@debbugs.gnu.org; Fri, 08 Jul 2016 23:47:18 -0400 Received: by mail-it0-f49.google.com with SMTP id f6so18362687ith.0 for ; Fri, 08 Jul 2016 20:47:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=zGH2mFrOKMQNFCqc5kMYA084HL0ESnDyTal7CddnltY=; b=OcDTkLqJdAqb/cRMlZq+lL8/GAp7qvjc/zJe7otuifGpO9VzLZhR1rIQUDytG8LLRA a5X+50CNoM6xvHe5LJ2zN4Q32j/YFLExS5KbO07lKFRPr/9JkDpayZBZ2gB+YsaIhyL0 ACFQCNlCvCV5RcZ189O31K92CR0GoHW5Dbe2lOKi62yEU5c4zfAFEXI22ZSZLCc9QSZq /Ww1x6fVvR/b426aty9oipCPP02kn6nP/Y976W1hWjx2yXbySs92cJEgSmSgi2hZlEat o85+3raevp2xWe8MQ76kwTd5IFT5dG0Hv4sGHKRpVSsenAaowRVABYYXdoZY0DtaQwL8 R+CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=zGH2mFrOKMQNFCqc5kMYA084HL0ESnDyTal7CddnltY=; b=LliiujUBkldi4ro1zv4zRi2FuPTg5FAXn6H+rOK8BYsjs0VDchCNf77f/CKOER7PHI P2OzHBNc02ahs8swbNC68mvQMch3oVc5oLugeAaH1hVOe5RQxOYGwB428lKCvQgTg09t 02+2Phh+pxLizhsAqBBef3jA9Y07dND4haBOGfWOKVkiwvQMCc77EPY7qGRQjL0DaeIv VtUc246W5T3tLEK66DKSwenNfQxN5DfmOaeRQC1d8hzTFlQaRkaFzOJ0ObSRjOE0ySi7 QjoJhp3BlWiHl3ie4aMWcvuBdY3Uorigr8Bgxr+BrfVON2mjXlEi2VnPxCVXTlBkT9c8 n8hg== X-Gm-Message-State: ALyK8tJpoIeTpzWU3wpSkWUmallqFUmEVdx64oOC2Jj0XML6yHLOcJVyG26/7yh76WoxKQ== X-Received: by 10.36.14.130 with SMTP id 124mr5882498ite.62.1468036032864; Fri, 08 Jul 2016 20:47:12 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id k101sm6002812ioi.9.2016.07.08.20.47.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jul 2016 20:47:12 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: Re: bug#8809: 23.3; Macro problem References: Date: Fri, 08 Jul 2016 23:47:11 -0400 In-Reply-To: (Suresh Aryangat's message of "Mon, 6 Jun 2011 11:52:38 -0400") Message-ID: <87poqniibk.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) unarchive 13452 forcemerge 13452 8809 quit From unknown Sat Jun 21 10:42:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 06 Aug 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator