From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.devel Subject: Re: line-move-visual never set to nil? Date: Fri, 01 Aug 2008 00:43:11 -0400 Message-ID: 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> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1217565862 16257 80.91.229.12 (1 Aug 2008 04:44:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Aug 2008 04:44:22 +0000 (UTC) Cc: david.reitter@gmail.com, cyd@stupidchicken.com, andrew.w.nosenko@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, raman@users.sourceforge.net To: "Lennart Borgman (gmail)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 01 06:45:11 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 1KOmVq-0006OR-N7 for ged-emacs-devel@m.gmane.org; Fri, 01 Aug 2008 06:45:10 +0200 Original-Received: from localhost ([127.0.0.1]:33280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOmUw-0003yU-2a for ged-emacs-devel@m.gmane.org; Fri, 01 Aug 2008 00:44:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOmUq-0003xd-2k for emacs-devel@gnu.org; Fri, 01 Aug 2008 00:44:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOmUp-0003x4-4o for emacs-devel@gnu.org; Fri, 01 Aug 2008 00:44:07 -0400 Original-Received: from [199.232.76.173] (port=46031 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOmUp-0003wy-1A for emacs-devel@gnu.org; Fri, 01 Aug 2008 00:44:07 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:45412) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KOmUo-00072N-ST for emacs-devel@gnu.org; Fri, 01 Aug 2008 00:44:06 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KOmTv-0002NB-EE; Fri, 01 Aug 2008 00:43:11 -0400 In-reply-to: <4891F546.2080505@gmail.com> (lennart.borgman@gmail.com) 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:101845 Archived-At: Wouldn't it be more correct to say that the requirement is that during execution of the macro the command should do the same thing to the buffer as during recording of the macro? In some sense yes, but when the command's behavior is conditional on something (whether it be buffer text, or how text appears on the screen), it has to be conditional in the macro just as it is conditional when you run the command from the keyboard. The only way to get rid of these commands' dependence on the window width is to make the line breaking not depend on the window width. That might be a good idea. If some other parameter controls where to do the line-breaking at word boundaries, rather than the window width directly, you could set that parameter differently in order to run the macro.