From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.devel Subject: Re: line-move-visual never set to nil? Date: Fri, 01 Aug 2008 01:25:04 +0100 Message-ID: <489257E0.7010409@harpegolden.net> References: <18571.25125.311010.324079@gargle.gargle.HOWL> <87od4k1nj5.fsf@stupidchicken.com> <1F7E32D0-7C19-4950-94DB-F6CD33A56EB0@gmail.com> <6161f3180807290043l2b0cc1as85a338204687f183@mail.gmail.com> <87y73kbvz3.fsf@stupidchicken.com> <4891F546.2080505@gmail.com> <8763ql7hmk.fsf@catnip.gol.com> <48924CE0.9090603@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1217550360 16139 80.91.229.12 (1 Aug 2008 00:26:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Aug 2008 00:26:00 +0000 (UTC) Cc: rms@gnu.org, david.reitter@gmail.com, Chong Yidong , andrew.w.nosenko@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, raman@users.sourceforge.net, Miles Bader To: "Lennart Borgman (gmail)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 01 02:26:49 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KOiTh-00031g-O4 for ged-emacs-devel@m.gmane.org; Fri, 01 Aug 2008 02:26:44 +0200 Original-Received: from localhost ([127.0.0.1]:34624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOiSl-00087h-WA for ged-emacs-devel@m.gmane.org; Thu, 31 Jul 2008 20:25:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOiSf-00084k-R5 for emacs-devel@gnu.org; Thu, 31 Jul 2008 20:25:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOiSb-00081g-ET for emacs-devel@gnu.org; Thu, 31 Jul 2008 20:25:37 -0400 Original-Received: from [199.232.76.173] (port=33713 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOiSb-00081d-8l for emacs-devel@gnu.org; Thu, 31 Jul 2008 20:25:33 -0400 Original-Received: from harpegolden.net ([65.99.215.13]:55486) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KOiSM-0000f3-3R; Thu, 31 Jul 2008 20:25:18 -0400 Original-Received: from golden1.harpegolden.net (unknown [86.45.2.245]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTP id 80B2A82A6; Fri, 1 Aug 2008 00:25:12 +0000 (UTC) User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) In-Reply-To: <48924CE0.9090603@gmail.com> X-Enigmail-Version: 0.95.0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:101834 Archived-At: Lennart Borgman (gmail) wrote >> Macros do not -- and cannot -- make any guarantees about what happens if >> you execute them in a different environment, or on different text, than >> where they were recorded. > > > Do you mean that there is something that prevents us from temporary > turning things off during keyboard macro recording and execution? In > that case: what? > It'd be annoying? It would break similarity between keyboard macros and normal editing. What if I _expected_ it to do things visually? Yes, line-move-visual is kind of sucky for keyboard macros (as I've already said, I'd rather have visual line movement on separate bindings to normal/logical line movement). However, it turning off inside keyboard macro definition when it's otherwise on would IMO be pretty infuriatingly surprising. Slightly contrived example - you're editing a wide table say, line-move-visual is on and you have set your window size to wrap at a table border, and then you notice a regular edit you're doing to the 4th (on the 1st visual line) and 17th columns (on the second visual line of the same logical line) could be repeated all the way down with a macro. You try to use next-line, just as you would outside keyboard macro definition and have been using for the past 4 rows before the ol' brain kicked in and told you to press F3... In short, leave it on or leave it off, don't magically muck with it.