From unknown Fri Jun 20 18:23:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10461: emacs is not a macro-editor Resent-From: andre.desnoyers@upmc.fr Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Jan 2012 09:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 10461@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13261012234559 (code B ref -1); Mon, 09 Jan 2012 09:28:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jan 2012 09:27:03 +0000 Received: from localhost ([127.0.0.1]:50668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RkBVO-0001BS-1j for submit@debbugs.gnu.org; Mon, 09 Jan 2012 04:27:02 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47443) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rk8fs-0005HL-At for submit@debbugs.gnu.org; Mon, 09 Jan 2012 01:25:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rk8fa-0004Yu-4u for submit@debbugs.gnu.org; Mon, 09 Jan 2012 01:25:22 -0500 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_00 autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:53250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk8fa-0004Yq-3Q for submit@debbugs.gnu.org; Mon, 09 Jan 2012 01:25:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk8fZ-0004vR-0n for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2012 01:25:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rk8fX-0004YW-Lr for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2012 01:25:20 -0500 Received: from isis.lip6.fr ([132.227.60.2]:65061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk8fX-0004Y4-ER for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2012 01:25:19 -0500 Received: from triton.ufr-info-p6.jussieu.fr (triton.ufr-info-p6.jussieu.fr [132.227.68.44]) by isis.lip6.fr (8.14.5/lip6) with ESMTP id q096PFNL023480 for ; Mon, 9 Jan 2012 07:25:16 +0100 (CET) X-pt: isis.lip6.fr Received: from localhost (asim.lip6.fr [132.227.86.2]) by triton.ufr-info-p6.jussieu.fr (8.11.6/jtpda-5.3.2+victor) with ESMTP id q096PFH01738 for ; Mon, 9 Jan 2012 07:25:15 +0100 Received: from c5e35-1-88-189-193-28.fbx.proxad.net (c5e35-1-88-189-193-28.fbx.proxad.net [88.189.193.28]) by webmail.lip6.fr (Horde Framework) with HTTP; Mon, 09 Jan 2012 07:25:15 +0100 Message-ID: <20120109072515.90575jbeaf6l178c@webmail.lip6.fr> Date: Mon, 09 Jan 2012 07:25:15 +0100 From: andre.desnoyers@upmc.fr MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.9) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (isis.lip6.fr [132.227.60.2]); Mon, 09 Jan 2012 07:25:16 +0100 (CET) X-Scanned-By: MIMEDefang 2.72 on 132.227.60.2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -3.5 (---) X-Mailman-Approved-At: Mon, 09 Jan 2012 04:27:00 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) Take un medium file : 4000 lines Set a match for a search build the macro C-a ;; move-beginning-of-line 2*C-k ;; kill-line C-x C-x ;; exchange-point-and-mark C-y ;; yank 2*C-s ;; isearch-forward C-a ;; move-beginning-of-line this macro normally groups all lines who contain the match. If two matches are more distant than about 50 lines the second match is not found, but the macro can be repeated ! this bug exists in 22- versions and last 23-version on Mac. From unknown Fri Jun 20 18:23:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10461: emacs is not a macro-editor In-Reply-To: <20120109072515.90575jbeaf6l178c@webmail.lip6.fr> Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Jan 2012 17:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: andre.desnoyers@upmc.fr Cc: 10461@debbugs.gnu.org Received: via spool by 10461-submit@debbugs.gnu.org id=B10461.13262171433748 (code B ref 10461); Tue, 10 Jan 2012 17:40:02 +0000 Received: (at 10461) by debbugs.gnu.org; 10 Jan 2012 17:39:03 +0000 Received: from localhost ([127.0.0.1]:52662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rkff4-0000yH-Lj for submit@debbugs.gnu.org; Tue, 10 Jan 2012 12:39:03 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:45673) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rkff0-0000xx-07 for 10461@debbugs.gnu.org; Tue, 10 Jan 2012 12:39:00 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Rkfed-0006Ce-9m; Tue, 10 Jan 2012 12:38:35 -0500 From: Glenn Morris References: <20120109072515.90575jbeaf6l178c@webmail.lip6.fr> X-Spook: ASDIC defense information warfare Dateline ANDVT X-Ran: h8qZw_^t$#s4p;]*wWA0hmN>s3SPrZBw'&b`%r3%Rp]K,"jhI:%WI[\cw7u(hP#F)XY6Z_ X-Hue: green X-Attribution: GM Date: Tue, 10 Jan 2012 12:38:34 -0500 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) andre.desnoyers@upmc.fr wrote: > If two matches are more distant than about 50 lines the second match > is not found, but the macro can be repeated ! It seems to work when I tried it. Can you give a complete example? Attach a (perhaps compressed) example file, and show exactly what you typed, starting from `emacs -Q', and what happened. From unknown Fri Jun 20 18:23:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10461: emacs is not a macro-editor Resent-From: andre.desnoyers@upmc.fr Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Jan 2012 20:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo unreproducible To: Glenn Morris Received: via spool by 10461-submit@debbugs.gnu.org id=B10461.132640040412254 (code B ref 10461); Thu, 12 Jan 2012 20:34:01 +0000 Received: (at 10461) by debbugs.gnu.org; 12 Jan 2012 20:33:24 +0000 Received: from localhost ([127.0.0.1]:55482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RlRKu-0003Bb-19 for submit@debbugs.gnu.org; Thu, 12 Jan 2012 15:33:24 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:54856) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RlRKr-0003BU-U2 for 10461@debbugs.gnu.org; Thu, 12 Jan 2012 15:33:23 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RlRKK-0001xU-Ha for 10461@debbugs.gnu.org; Thu, 12 Jan 2012 15:32:48 -0500 Resent-Message-ID: <20239.17264.365145.617711@fencepost.gnu.org> Resent-Date: Thu, 12 Jan 2012 15:32:48 -0500 Resent-From: Glenn Morris Resent-To: 10461@debbugs.gnu.org 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_00 autolearn=ham version=3.3.2 X-pt: isis.lip6.fr Message-ID: <20120112194610.138126w9tseouisk@webmail.lip6.fr> References: <20120109072515.90575jbeaf6l178c@webmail.lip6.fr> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (isis.lip6.fr [132.227.60.2]); Thu, 12 Jan 2012 19:46:10 +0100 (CET) X-Scanned-By: MIMEDefang 2.72 on 132.227.60.2 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by isis.lip6.fr id q0CIkASq029872 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.227.60.2 Date: Thu, 12 Jan 2012 19:46:10 +0100 From: andre.desnoyers@upmc.fr X-Bogosity: unsure, spamicity=0.194256, v1.2.1 User-Agent: Internet Messaging Program (IMP) H3 (4.3.9) X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) I think this effect exists on Mac OS with Intel proc. In the past =20 version on Fedora Scientific Linux) my macro work on the very big =20 files (> 40Mo). It is possible there are conflict with my sartup. I =20 see the cursor points in bad line, then it will be a bad section =E0f =20 file which show in window (why?). So, i prepare a test with your guide line. Thank Andrew > andre.desnoyers@upmc.fr wrote: > >> If two matches are more distant than about 50 lines the second match >> is not found, but the macro can be repeated ! > > It seems to work when I tried it. > Can you give a complete example? Attach a (perhaps compressed) example > file, and show exactly what you typed, starting from `emacs -Q', and > what happened. > From unknown Fri Jun 20 18:23:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10461: emacs is not a macro-editor Resent-From: andre.desnoyers@upmc.fr Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Feb 2012 01:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo unreproducible To: Glenn Morris Received: via spool by 10461-submit@debbugs.gnu.org id=B10461.132823244326624 (code B ref 10461); Fri, 03 Feb 2012 01:28:01 +0000 Received: (at 10461) by debbugs.gnu.org; 3 Feb 2012 01:27:23 +0000 Received: from localhost ([127.0.0.1]:51452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rt7vu-0006vN-Kh for submit@debbugs.gnu.org; Thu, 02 Feb 2012 20:27:22 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:33129 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rt7vr-0006vE-Ur for 10461@debbugs.gnu.org; Thu, 02 Feb 2012 20:27:21 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Rt7vN-0008Id-Mv for 10461@debbugs.gnu.org; Thu, 02 Feb 2012 20:26:49 -0500 Resent-Message-ID: <20267.14297.564305.141351@fencepost.gnu.org> Resent-Date: Thu, 2 Feb 2012 20:26:49 -0500 Resent-From: Glenn Morris Resent-To: 10461@debbugs.gnu.org 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_00 autolearn=ham version=3.3.2 X-pt: isis.lip6.fr Message-ID: <20120203020554.35844p809idywgsg@webmail.lip6.fr> References: <20120109072515.90575jbeaf6l178c@webmail.lip6.fr> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (isis.lip6.fr [132.227.60.2]); Fri, 03 Feb 2012 02:05:54 +0100 (CET) X-Scanned-By: MIMEDefang 2.72 on 132.227.60.2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.227.60.2 Date: Fri, 03 Feb 2012 02:05:54 +0100 From: andre.desnoyers@upmc.fr X-Bogosity: unsure, spamicity=0.131198, v1.2.1 User-Agent: Internet Messaging Program (IMP) H3 (4.3.9) X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) I have forgotten that : in my problem, file is build with very long lines (frequently 500 bytes) on Mac Intosh. There are very important difference between logical lines (in file) and physical lines (in window). the X-windows has not good position after execution my macro when two consecutive matches are very distant and require a refresh of the screen. Quoting Glenn Morris : > andre.desnoyers@upmc.fr wrote: > >> If two matches are more distant than about 50 lines the second match >> is not found, but the macro can be repeated ! > > It seems to work when I tried it. > Can you give a complete example? Attach a (perhaps compressed) example > file, and show exactly what you typed, starting from `emacs -Q', and > what happened. > From unknown Fri Jun 20 18:23:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10461: emacs is not a macro-editor Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Feb 2012 22:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 10461@debbugs.gnu.org Cc: andre.desnoyers@upmc.fr Received: via spool by 10461-submit@debbugs.gnu.org id=B10461.132830848023464 (code B ref 10461); Fri, 03 Feb 2012 22:35:02 +0000 Received: (at 10461) by debbugs.gnu.org; 3 Feb 2012 22:34:40 +0000 Received: from localhost ([127.0.0.1]:52865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtRiJ-00066P-T0 for submit@debbugs.gnu.org; Fri, 03 Feb 2012 17:34:40 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:53127 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtRiI-00066I-49 for 10461@debbugs.gnu.org; Fri, 03 Feb 2012 17:34:38 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RtRhh-0002b6-TW; Fri, 03 Feb 2012 17:34:02 -0500 From: Glenn Morris References: <20120109072515.90575jbeaf6l178c@webmail.lip6.fr> <20120203020554.35844p809idywgsg@webmail.lip6.fr> X-Spook: USCOI Leuken-Baden Sears Tower Aldergrove Attorney X-Ran: VocE=zCJ6k1.?;4vvVuYLEP\)W<{L[v1E*gF*p@JG_,+M'UWB9k!{'<' X-Hue: black X-Attribution: GM Date: Fri, 03 Feb 2012 17:34:01 -0500 In-Reply-To: <20120203020554.35844p809idywgsg@webmail.lip6.fr> (andre desnoyers's message of "Fri, 03 Feb 2012 02:05:54 +0100") Message-ID: <69d39v35t2.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) (Please keep 10461@debbugs cc'd) andre.desnoyers@upmc.fr wrote: > I have forgotten that : > in my problem, file is build with very long lines (frequently 500 > bytes) on Mac Intosh. There are very important difference between > logical lines (in file) and physical lines (in window). > the X-windows has not good position after execution my macro when two > consecutive matches are very distant and require a refresh of the > screen. Then I imagine this is the same issue as http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7046 ie visual-line-mode can affect the way macros behave. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 07 23:26:22 2016 Received: (at control) by debbugs.gnu.org; 8 Jun 2016 03:26:22 +0000 Received: from localhost ([127.0.0.1]:59411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bAU8M-0003K0-4J for submit@debbugs.gnu.org; Tue, 07 Jun 2016 23:26:22 -0400 Received: from mail-oi0-f48.google.com ([209.85.218.48]:36580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bAU8K-0003Jn-Mv for control@debbugs.gnu.org; Tue, 07 Jun 2016 23:26:20 -0400 Received: by mail-oi0-f48.google.com with SMTP id p204so112824106oih.3 for ; Tue, 07 Jun 2016 20:26:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=SbZW+j+chhboYe5Z2+xw1o3ShFHTm2RaQRS6MmSbWxM=; b=un13+8myknJZNRNVeKtab/+yHhIbgGJbZQHuqTPTs1w3ybFPH1yHWDlfYTrp2bcvn/ Lbz4DI8mpoe2fsjaGllCrPPdrSwXy/oO0y3iZtWhnSzdWl7fpHZGk4lxTZJTJ4K9nutW F1iQqbBZu45IXh02buFOCnSefn+wQkPrMKQMtn9MeqncP39rOPmLUsd+3lMsrz2UiSyS gz2q7PHkeJR6PhBMkBpd4/gjF3nImMGgpRdLAzn2MdlhTtDbIRixtUHL8PKxRhX6v0S/ sW7sStHX/zKOu59d0jjfcQH/NmDCwwCm4zCjXjz/jn6rMI6jtNv4s/hn6RkH1Uf7Phbt X37w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=SbZW+j+chhboYe5Z2+xw1o3ShFHTm2RaQRS6MmSbWxM=; b=bv905IV1hxLknc1wIdfYAqewpBAfmFS4WYG5XTXep2CRr3dzSZtGWc88n9KjGgrCfX Wlx8QcClGo8p/kmOLD7fCtGjxyKgZ/VCKNENb5/9VpYd5Nr5T0fmz5L1wm6KjQhinkZJ r8FqXv6fBKZRZ2Vi45FfkmZWF0STIoidHYUwh9XpbJzKrjmg3H6rcSzvbsDgBXNHwUqE HBeCTRaBUzeLf+TmWXP1Q4zj8Wsa3He/rcwbGjUSFgw5HdPh0JinqzegddHrBHO2lvFp nbSRPmVNfLTw+wBoXbvsWxRF7VlmcR6ycCbLmDCEhPN4Tms7zKSbsI8sLLX6XN7iEWSY uXPg== X-Gm-Message-State: ALyK8tJE6fznHh3wfYlfC+gTUyV3FnSsNRyHfSg/WMxDlr0bz/H8S4hxZSPtzxUy7FBg87KCmEa0bqcIO09W2g== X-Received: by 10.202.80.195 with SMTP id e186mr1385194oib.35.1465356375386; Tue, 07 Jun 2016 20:26:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.5.168 with HTTP; Tue, 7 Jun 2016 20:26:14 -0700 (PDT) From: Noam Postavsky Date: Tue, 7 Jun 2016 23:26:14 -0400 X-Google-Sender-Auth: 6lOpMpcIBTpeu8_QXYnMuWpKlJY Message-ID: Subject: macro editing with visual lines To: GNU bug tracker automated control server Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.5 (/) 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.5 (/) merge 7046 10461 quit From unknown Fri Jun 20 18:23:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10461: bug#7046: More info Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Dec 2019 14:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Gord Wait Cc: "'7046@debbugs.gnu.org'" <7046@debbugs.gnu.org>, 10461@debbugs.gnu.org Received: via spool by 10461-submit@debbugs.gnu.org id=B10461.157771471327779 (code B ref 10461); Mon, 30 Dec 2019 14:06:01 +0000 Received: (at 10461) by debbugs.gnu.org; 30 Dec 2019 14:05:13 +0000 Received: from localhost ([127.0.0.1]:60596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilvfU-0007Ds-Ns for submit@debbugs.gnu.org; Mon, 30 Dec 2019 09:05:13 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:50666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilvfT-0007DS-Co; Mon, 30 Dec 2019 09:05:11 -0500 Received: by mail-wm1-f53.google.com with SMTP id a5so14012461wmb.0; Mon, 30 Dec 2019 06:05:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=5I5obZFDSqI5SqqawwgzEhrahbAkNr/n6/PQ9ftm01k=; b=E+9b+yK7ZtZeyzaka8ME1QkpDiLJKykGZhyN/A09bLbOyIeezcsqfRBNMvQJNHpCWM 0FHK8o6XqriV4wulFPanLExSt42hSYQo7MVkjNJYTHXH2BTcNK5k2JOwbldAeg6Ei7RQ lAjucq1UQsUVBHbycVD2xkhIKlr45/xu+PCiiHxE2l+Btv5DrMYAKw/bnavhjQUtR79w jL8uJKSr1tqzjxTknydcsyranXqnmCw62KX6fu1A50jzhz/JTCA/xrU02I0oGXJVIZ8x xWNCzk2wK9NwZTDqdnJJL86nltNWXdzrugyle5Ffr4gi0AYqZ10tPvZvQrAVFcdohSHD jAWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=5I5obZFDSqI5SqqawwgzEhrahbAkNr/n6/PQ9ftm01k=; b=jX/iZLercKF/CWnQ0HrGgpwg8LtBIJysb0PjH8lgOziER9kgnDGyb7hCMR2k+Lplwx LxKJOWlaiff9muD1NI5Lyfk3zn8iohhV7A9yjSewehebnDT0YBvUyQCMVjMWqFD+gsBE KjXKfAyMtb6lB7QSt50CD8UuVx4T6dhuQNc0ehi0638uI7Fxq8n2zcB/j5H6CW1vkADj gG9UrekDvAQ74UD5vgucBikWnK3iaNXK95dw+iEFmyB89Ub68vC6fOnsKL8ldKvtDM1t piPPukjDhIzNw/CAvtQUwSQqRd/HtMRH9vvJm4RtYtuowLwt+422nAovmCc8zrIZqBIY W3rg== X-Gm-Message-State: APjAAAW8CydJvtUVIm0XfjYeBVSnNXOTtIPjAoVxN0v58qb7FiugKGP9 Kb9jKY/rlLnF+WO4ZKMQMAWn1KsVszeGnw== X-Google-Smtp-Source: APXvYqxF33UUF83yDqMeqwp4tmphraUJRwX+WappO/jkVNqnWOGoLxZkDd2IxhLkP9ChkFjLRCokoQ== X-Received: by 2002:a7b:c757:: with SMTP id w23mr32623639wmk.166.1577714705180; Mon, 30 Dec 2019 06:05:05 -0800 (PST) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-5065-467f-7969-bf01.holly.idiocy.org. [2001:8b0:3f8:8129:5065:467f:7969:bf01]) by smtp.gmail.com with ESMTPSA id n3sm45351773wrs.8.2019.12.30.06.05.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2019 06:05:04 -0800 (PST) From: Alan Third References: <874oddpeur.fsf@gnu.org> Date: Mon, 30 Dec 2019 14:05:03 +0000 In-Reply-To: <874oddpeur.fsf@gnu.org> ("Johan =?UTF-8?Q?Bockg=C3=A5rd?="'s message of "Sun, 26 Sep 2010 01:45:16 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.3 (/) 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 (/) Johan Bockg=C3=A5rd writes: > Gord Wait writes: > >> It seems to be dependent on how many repeats I select. If I auto >> repeat say 10 lines worth, It seems to be ok. If I auto repeat the >> macro 1000 times, then it starts to skip every line at some point.. > > next-line can move to the wrong column when point gets below the end of > the window. > > The problem is in line-move-visual (i.e it only exists if the variable > line-move-visual is non-nil), > > ;; Otherwise, we should reset `temporary-goal-column'. > (let ((posn (posn-at-point))) > (cond > ;; Handle the `overflow-newline-into-fringe' case: > ((eq (nth 1 posn) 'right-fringe) > (setq temporary-goal-column (cons (- (window-width) 1) hscroll))) > ((car (posn-x-y posn)) > (setq temporary-goal-column > (cons (/ (float (car (posn-x-y posn))) > (frame-char-width)) hscroll))))) > > If the position is not visible in the window, posn-at-point returns nil > and temporary-goal-column is not updated as it should. I can't replicate this on Emacs 27 and it's been over 7 years since the last bug report. Can anyone confirm whether it's still a problem? --=20 Alan Third From unknown Fri Jun 20 18:23:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: andre.desnoyers@upmc.fr Subject: bug#10461: closed (Re: bug#7046: More info) Message-ID: References: <83fth1n7ul.fsf@gnu.org> <20120109072515.90575jbeaf6l178c@webmail.lip6.fr> X-Gnu-PR-Message: they-closed 10461 X-Gnu-PR-Package: emacs Reply-To: 10461@debbugs.gnu.org Date: Mon, 30 Dec 2019 15:37:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1577720222-12425-1" This is a multi-part message in MIME format... ------------=_1577720222-12425-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #10461: emacs is not a macro-editor which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 10461@debbugs.gnu.org. --=20 10461: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D10461 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1577720222-12425-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 10461-done) by debbugs.gnu.org; 30 Dec 2019 15:36:35 +0000 Received: from localhost ([127.0.0.1]:33214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilx5u-0003DY-LU for submit@debbugs.gnu.org; Mon, 30 Dec 2019 10:36:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilx5s-0003DF-8w; Mon, 30 Dec 2019 10:36:34 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ilx5m-0006q4-J9; Mon, 30 Dec 2019 10:36:26 -0500 Received: from [176.228.60.248] (port=4637 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ilx5l-0002R1-Vx; Mon, 30 Dec 2019 10:36:26 -0500 Date: Mon, 30 Dec 2019 17:36:34 +0200 Message-Id: <83fth1n7ul.fsf@gnu.org> From: Eli Zaretskii To: Alan Third In-reply-to: (message from Alan Third on Mon, 30 Dec 2019 14:05:03 +0000) Subject: Re: bug#7046: More info References: <874oddpeur.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 10461-done Cc: gordwait@lighthauslogic.com, 7046-done@debbugs.gnu.org, 10461-done@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.3 (---) > From: Alan Third > Date: Mon, 30 Dec 2019 14:05:03 +0000 > Cc: "'7046@debbugs.gnu.org'" <7046@debbugs.gnu.org>, 10461@debbugs.gnu.org > > > The problem is in line-move-visual (i.e it only exists if the variable > > line-move-visual is non-nil), > > > > ;; Otherwise, we should reset `temporary-goal-column'. > > (let ((posn (posn-at-point))) > > (cond > > ;; Handle the `overflow-newline-into-fringe' case: > > ((eq (nth 1 posn) 'right-fringe) > > (setq temporary-goal-column (cons (- (window-width) 1) hscroll))) > > ((car (posn-x-y posn)) > > (setq temporary-goal-column > > (cons (/ (float (car (posn-x-y posn))) > > (frame-char-width)) hscroll))))) > > > > If the position is not visible in the window, posn-at-point returns nil > > and temporary-goal-column is not updated as it should. > > I can't replicate this on Emacs 27 and it's been over 7 years since the > last bug report. Can anyone confirm whether it's still a problem? This has been fixed several releases back, so I'm closing it. ------------=_1577720222-12425-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Jan 2012 09:27:03 +0000 Received: from localhost ([127.0.0.1]:50668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RkBVO-0001BS-1j for submit@debbugs.gnu.org; Mon, 09 Jan 2012 04:27:02 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47443) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rk8fs-0005HL-At for submit@debbugs.gnu.org; Mon, 09 Jan 2012 01:25:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rk8fa-0004Yu-4u for submit@debbugs.gnu.org; Mon, 09 Jan 2012 01:25:22 -0500 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_00 autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:53250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk8fa-0004Yq-3Q for submit@debbugs.gnu.org; Mon, 09 Jan 2012 01:25:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk8fZ-0004vR-0n for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2012 01:25:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rk8fX-0004YW-Lr for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2012 01:25:20 -0500 Received: from isis.lip6.fr ([132.227.60.2]:65061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk8fX-0004Y4-ER for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2012 01:25:19 -0500 Received: from triton.ufr-info-p6.jussieu.fr (triton.ufr-info-p6.jussieu.fr [132.227.68.44]) by isis.lip6.fr (8.14.5/lip6) with ESMTP id q096PFNL023480 for ; Mon, 9 Jan 2012 07:25:16 +0100 (CET) X-pt: isis.lip6.fr Received: from localhost (asim.lip6.fr [132.227.86.2]) by triton.ufr-info-p6.jussieu.fr (8.11.6/jtpda-5.3.2+victor) with ESMTP id q096PFH01738 for ; Mon, 9 Jan 2012 07:25:15 +0100 Received: from c5e35-1-88-189-193-28.fbx.proxad.net (c5e35-1-88-189-193-28.fbx.proxad.net [88.189.193.28]) by webmail.lip6.fr (Horde Framework) with HTTP; Mon, 09 Jan 2012 07:25:15 +0100 Message-ID: <20120109072515.90575jbeaf6l178c@webmail.lip6.fr> Date: Mon, 09 Jan 2012 07:25:15 +0100 From: andre.desnoyers@upmc.fr To: bug-gnu-emacs@gnu.org Subject: emacs is not a macro-editor MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.9) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (isis.lip6.fr [132.227.60.2]); Mon, 09 Jan 2012 07:25:16 +0100 (CET) X-Scanned-By: MIMEDefang 2.72 on 132.227.60.2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 09 Jan 2012 04:27:00 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) Take un medium file : 4000 lines Set a match for a search build the macro C-a ;; move-beginning-of-line 2*C-k ;; kill-line C-x C-x ;; exchange-point-and-mark C-y ;; yank 2*C-s ;; isearch-forward C-a ;; move-beginning-of-line this macro normally groups all lines who contain the match. If two matches are more distant than about 50 lines the second match is not found, but the macro can be repeated ! this bug exists in 22- versions and last 23-version on Mac. ------------=_1577720222-12425-1-- From unknown Fri Jun 20 18:23:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Gord Wait Subject: bug#7046: closed (Re: bug#7046: More info) Message-ID: References: <83fth1n7ul.fsf@gnu.org> X-Gnu-PR-Message: they-closed 7046 X-Gnu-PR-Package: emacs Reply-To: 7046@debbugs.gnu.org Date: Mon, 30 Dec 2019 15:37:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1577720222-12425-3" This is a multi-part message in MIME format... ------------=_1577720222-12425-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #10461: 23.1; Repeating emacs macro skipping every second line which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7046@debbugs.gnu.org. --=20 10461: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D10461 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1577720222-12425-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 10461-done) by debbugs.gnu.org; 30 Dec 2019 15:36:35 +0000 Received: from localhost ([127.0.0.1]:33214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilx5u-0003DY-LU for submit@debbugs.gnu.org; Mon, 30 Dec 2019 10:36:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilx5s-0003DF-8w; Mon, 30 Dec 2019 10:36:34 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ilx5m-0006q4-J9; Mon, 30 Dec 2019 10:36:26 -0500 Received: from [176.228.60.248] (port=4637 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ilx5l-0002R1-Vx; Mon, 30 Dec 2019 10:36:26 -0500 Date: Mon, 30 Dec 2019 17:36:34 +0200 Message-Id: <83fth1n7ul.fsf@gnu.org> From: Eli Zaretskii To: Alan Third In-reply-to: (message from Alan Third on Mon, 30 Dec 2019 14:05:03 +0000) Subject: Re: bug#7046: More info References: <874oddpeur.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 10461-done Cc: gordwait@lighthauslogic.com, 7046-done@debbugs.gnu.org, 10461-done@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.3 (---) > From: Alan Third > Date: Mon, 30 Dec 2019 14:05:03 +0000 > Cc: "'7046@debbugs.gnu.org'" <7046@debbugs.gnu.org>, 10461@debbugs.gnu.org > > > The problem is in line-move-visual (i.e it only exists if the variable > > line-move-visual is non-nil), > > > > ;; Otherwise, we should reset `temporary-goal-column'. > > (let ((posn (posn-at-point))) > > (cond > > ;; Handle the `overflow-newline-into-fringe' case: > > ((eq (nth 1 posn) 'right-fringe) > > (setq temporary-goal-column (cons (- (window-width) 1) hscroll))) > > ((car (posn-x-y posn)) > > (setq temporary-goal-column > > (cons (/ (float (car (posn-x-y posn))) > > (frame-char-width)) hscroll))))) > > > > If the position is not visible in the window, posn-at-point returns nil > > and temporary-goal-column is not updated as it should. > > I can't replicate this on Emacs 27 and it's been over 7 years since the > last bug report. Can anyone confirm whether it's still a problem? This has been fixed several releases back, so I'm closing it. ------------=_1577720222-12425-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Sep 2010 18:59:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwJgB-0008St-Aj for submit@debbugs.gnu.org; Thu, 16 Sep 2010 14:59:31 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwJda-0008RB-Is for submit@debbugs.gnu.org; Thu, 16 Sep 2010 14:56:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwJfp-0006Rm-RM for submit@debbugs.gnu.org; Thu, 16 Sep 2010 14:59:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00, RECEIVED_FROM_WINDOWS_HOST, T_RP_MATCHES_RCVD autolearn=no version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:55764) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwJfp-0006Rf-MV for submit@debbugs.gnu.org; Thu, 16 Sep 2010 14:59:09 -0400 Received: from [140.186.70.92] (port=43256 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwJfo-0001Tt-FK for bug-gnu-emacs@gnu.org; Thu, 16 Sep 2010 14:59:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwJfn-0006RD-Ba for bug-gnu-emacs@gnu.org; Thu, 16 Sep 2010 14:59:08 -0400 Received: from mailex.lighthauslogic.com ([207.216.240.196]:47168) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwJfm-0006R2-TX for bug-gnu-emacs@gnu.org; Thu, 16 Sep 2010 14:59:07 -0400 Received: from tweety.yvr.lighthauslogic.com ([192.168.2.12]) by tweety.yvr.lighthauslogic.com ([192.168.2.12]) with mapi; Thu, 16 Sep 2010 11:38:26 -0700 From: Gord Wait To: "'bug-gnu-emacs@gnu.org'" Date: Thu, 16 Sep 2010 11:38:25 -0700 Subject: 23.1; Repeating emacs macro skipping every second line Thread-Topic: 23.1; Repeating emacs macro skipping every second line Thread-Index: ActVzlCf3HopWOjVRLmQq7TohP/6TQ== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 16 Sep 2010 14:59:29 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) I created a keyboard macro to move a word from the end of the line to the s= tart of the line. At the end of it I include the commands - "move-beggining= -of-line" followed by "next-line" so that I can repeat it through my file. If I run it interactively "by hand" it works great. If I call it with a num= erical repeat value to make it run say 20 times, it skips every second line= . This basically makes keyboard macros useless to me for the first time in ov= er 25 years of using emacs.. I will try "forward-line" to see if it behaves= the same way.. In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-29 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C.UTF-8 value of $XMODIFIERS: nil locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Tcl Minor modes in effect: show-paren-mode: t tooltip-mode: t tool-bar-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 global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x ( C-s P I N _ C-f C-s - t o C-f C-SPC C-e C-w C-a C-y SPC C-a C-n C-x ) C-x C-s C-x e C-x e C-x e C-x C-s C-k C-/ C-u 2 0 C-x e C-/ C-/ C-/ C-/ C-/ C-/ C-/ C-/ C-/ C-/ C-/ C-/ C-a C-x C-s Recent messages: Saving file c:/firmware/projects/Proj_137_UC_S2_ExtremeCard_Stratix/trunk/b= oard_test_system_for_S4_card/bts_config/bts_config_pinout.tcl... Wrote c:/firmware/projects/Proj_137_UC_S2_ExtremeCard_Stratix/trunk/board_t= est_system_for_S4_card/bts_config/bts_config_pinout.tcl (Type e to repeat macro) [3 times] Saving file c:/firmware/projects/Proj_137_UC_S2_ExtremeCard_Stratix/trunk/b= oard_test_system_for_S4_card/bts_config/bts_config_pinout.tcl... Wrote c:/firmware/projects/Proj_137_UC_S2_ExtremeCard_Stratix/trunk/board_t= est_system_for_S4_card/bts_config/bts_config_pinout.tcl Undo! (Type e to repeat macro) Undo! [12 times] Saving file c:/firmware/projects/Proj_137_UC_S2_ExtremeCard_Stratix/trunk/b= oard_test_system_for_S4_card/bts_config/bts_config_pinout.tcl... Wrote c:/firmware/projects/Proj_137_UC_S2_ExtremeCard_Stratix/trunk/board_t= est_system_for_S4_card/bts_config/bts_config_pinout.tcl *** E-Mail body has been placed on clipboard, please paste them here! *** This e-mail may contain information that is privileged, confidential or oth= erwise exempt from disclosure under applicable laws. Unauthorized use, repr= oduction or dissemination of the e-mail is strictly prohibited. If you have= received this e-mail in error, please contact the sender immediately. [11E= ABB509DF] ------------=_1577720222-12425-3-- From unknown Fri Jun 20 18:23:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Subject: bug#8114: closed (Re: bug#7046: More info) Message-ID: References: <83fth1n7ul.fsf@gnu.org> <20110224195045.6813460112e1e451111e8106817db522.6e72ddd86f.wbe@email01.secureserver.net> X-Gnu-PR-Message: they-closed 8114 X-Gnu-PR-Package: emacs Reply-To: 8114@debbugs.gnu.org Date: Mon, 30 Dec 2019 15:37:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1577720222-12425-5" This is a multi-part message in MIME format... ------------=_1577720222-12425-5 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #10461: macros fail in emacs 23.1 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 8114@debbugs.gnu.org. --=20 10461: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D10461 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1577720222-12425-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 10461-done) by debbugs.gnu.org; 30 Dec 2019 15:36:35 +0000 Received: from localhost ([127.0.0.1]:33214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilx5u-0003DY-LU for submit@debbugs.gnu.org; Mon, 30 Dec 2019 10:36:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilx5s-0003DF-8w; Mon, 30 Dec 2019 10:36:34 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ilx5m-0006q4-J9; Mon, 30 Dec 2019 10:36:26 -0500 Received: from [176.228.60.248] (port=4637 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ilx5l-0002R1-Vx; Mon, 30 Dec 2019 10:36:26 -0500 Date: Mon, 30 Dec 2019 17:36:34 +0200 Message-Id: <83fth1n7ul.fsf@gnu.org> From: Eli Zaretskii To: Alan Third In-reply-to: (message from Alan Third on Mon, 30 Dec 2019 14:05:03 +0000) Subject: Re: bug#7046: More info References: <874oddpeur.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 10461-done Cc: gordwait@lighthauslogic.com, 7046-done@debbugs.gnu.org, 10461-done@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.3 (---) > From: Alan Third > Date: Mon, 30 Dec 2019 14:05:03 +0000 > Cc: "'7046@debbugs.gnu.org'" <7046@debbugs.gnu.org>, 10461@debbugs.gnu.org > > > The problem is in line-move-visual (i.e it only exists if the variable > > line-move-visual is non-nil), > > > > ;; Otherwise, we should reset `temporary-goal-column'. > > (let ((posn (posn-at-point))) > > (cond > > ;; Handle the `overflow-newline-into-fringe' case: > > ((eq (nth 1 posn) 'right-fringe) > > (setq temporary-goal-column (cons (- (window-width) 1) hscroll))) > > ((car (posn-x-y posn)) > > (setq temporary-goal-column > > (cons (/ (float (car (posn-x-y posn))) > > (frame-char-width)) hscroll))))) > > > > If the position is not visible in the window, posn-at-point returns nil > > and temporary-goal-column is not updated as it should. > > I can't replicate this on Emacs 27 and it's been over 7 years since the > last bug report. Can anyone confirm whether it's still a problem? This has been fixed several releases back, so I'm closing it. ------------=_1577720222-12425-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Feb 2011 03:04:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Psnz1-0003ym-Pn for submit@debbugs.gnu.org; Thu, 24 Feb 2011 22:04:44 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Psnlk-0002pz-Jn for submit@debbugs.gnu.org; Thu, 24 Feb 2011 21:51:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Psnle-00066p-RN for submit@debbugs.gnu.org; Thu, 24 Feb 2011 21:50:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:45890) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Psnle-00066l-PA for submit@debbugs.gnu.org; Thu, 24 Feb 2011 21:50:54 -0500 Received: from [140.186.70.92] (port=47264 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Psnld-00060o-QH for bug-gnu-emacs@gnu.org; Thu, 24 Feb 2011 21:50:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Psnlc-00066V-AH for bug-gnu-emacs@gnu.org; Thu, 24 Feb 2011 21:50:53 -0500 Received: from smtpoutwbe02.prod.mesa1.secureserver.net ([208.109.78.113]:47244) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Psnlb-00066J-VO for bug-gnu-emacs@gnu.org; Thu, 24 Feb 2011 21:50:52 -0500 Received: (qmail 25521 invoked from network); 25 Feb 2011 02:50:45 -0000 Received: from unknown (HELO p3plgemwbe01-07.prod.phx3.secureserver.net) (72.167.218.7) by smtpoutwbe02.prod.mesa1.secureserver.net with SMTP; 25 Feb 2011 02:50:45 -0000 Received: (qmail 28858 invoked by uid 99); 25 Feb 2011 02:50:45 -0000 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Originating-IP: 71.117.241.29 User-Agent: Web-Based Email 5.4.01 Message-Id: <20110224195045.6813460112e1e451111e8106817db522.6e72ddd86f.wbe@email01.secureserver.net> From: To: Subject: macros fail in emacs 23.1 Date: Thu, 24 Feb 2011 19:50:45 -0700 Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 24 Feb 2011 22:04:41 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) %emacs -Q M-x version GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of 2011-02-24 on hostnm01 insert this line once (a b): a b then copy it until the buffer contains 150 copies of that line: a b a b a b . . . ESC < ;; beginning-of-buffer ^X ( ;; start recording keyboard macro C-s ;; isearch-forward SPC ;; self-insert-command C-e ;; move-end-of-line C-b ;; backward-char xyz ;; self-insert-command * 3 SPC ;; self-insert-command C-a ;; move-beginning-of-line C-n ;; next-line ^X ) ;; end recording ^X e ;; run the macro one time ^X e ;; run the macro one time C-u 1 5 0 ^X e ;; run the macro 150 times The expected outcome is that each line in the buffer should now look like this: a xyz b But many of the lines still look as they did at the beginning, namely: a b =2E Note that the incorrect lines are intertwingled with the correctly-edited lines, up to the end of the buffer. \ | / =3D=3D=3D John Crown johnc@technology-is-evil.com ------------=_1577720222-12425-5--