From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: line-move-visual never set to nil? Date: Wed, 30 Jul 2008 09:59:23 +0200 Message-ID: <48901F5B.9000104@gmail.com> 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> <87vdyoasnt.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1217404790 10103 80.91.229.12 (30 Jul 2008 07:59:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2008 07:59:50 +0000 (UTC) Cc: rms@gnu.org, david.reitter@gmail.com, andrew.w.nosenko@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, raman@users.sourceforge.net To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 30 10:00:39 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 1KO6bu-0000mn-KD for ged-emacs-devel@m.gmane.org; Wed, 30 Jul 2008 10:00:38 +0200 Original-Received: from localhost ([127.0.0.1]:50064 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KO6b0-00088i-AR for ged-emacs-devel@m.gmane.org; Wed, 30 Jul 2008 03:59:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KO6aw-00087r-F0 for emacs-devel@gnu.org; Wed, 30 Jul 2008 03:59:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KO6au-00087U-Vp for emacs-devel@gnu.org; Wed, 30 Jul 2008 03:59:38 -0400 Original-Received: from [199.232.76.173] (port=39177 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KO6au-00087M-PM for emacs-devel@gnu.org; Wed, 30 Jul 2008 03:59:36 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:57738) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KO6ar-0006lG-G1; Wed, 30 Jul 2008 03:59:33 -0400 Original-Received: from c83-254-151-176.bredband.comhem.se ([83.254.151.176]:60117 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KO6ap-0001TR-8J; Wed, 30 Jul 2008 09:59:31 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <87vdyoasnt.fsf@stupidchicken.com> X-Antivirus: avast! (VPS 080729-1, 2008-07-29), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.176 X-Scan-Result: No virus found in message 1KO6ap-0001TR-8J. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KO6ap-0001TR-8J 681eb647e32333dd727ba8f5f4d2167f X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:101743 Archived-At: Chong Yidong wrote: >> Why doesn't it work right in a keyboard macro? >> Is this because it uses data structures that are updated >> only by redisplay, and the keyboard macro does not redisplay? > > No, it's because keyboard macros recorded using one window width may not > work properly when you change the window width, if the line wrapping has > changed. > > After thinking about this more, I think we might leave this alone. It's > not difficult to do M-x toggle-truncate-lines if you need to avoid this > problem, if it ever crops up. But this is a fundamental and known problem with keyboard macros and line-move-visual. As I said before: Why not turn on line-move-visual during keyboard recording and replaying? I thought Stefan responded earlier (thanks) that this was what a proposed patch did. It looks like I am misunderstanding something. Could someone explain?