From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: line-move-visual Date: Wed, 16 Jun 2010 10:43:12 -0400 Message-ID: References: <089883ee-0a63-4cb4-a0ec-d2fe4e71cc03@y18g2000prn.googlegroups.com> <87wruco5yq.fsf@lola.goethe.zz> <87wrubfd8p.fsf@rapttech.com.au> <848w6ndwn0.fsf@cs.bham.ac.uk> <87d3vx5cku.fsf@gmail.com> <878w6g4pfu.fsf@rapttech.com.au> <87sk4n3ocs.fsf@rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291843316 5870 80.91.229.12 (8 Dec 2010 21:21:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 21:21:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 22:21:51 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQRSG-0005jU-RW for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 22:21:41 +0100 Original-Received: from localhost ([127.0.0.1]:33095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQRIA-0007u4-36 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 16:11:14 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe14.iad.POSTED!7564ea0f!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:iJD/iP5zQ0bmxtJdD1S4PWSU5gM= Original-Lines: 23 Original-X-Complaints-To: abuse@UsenetServer.com Original-NNTP-Posting-Date: Wed, 16 Jun 2010 14:43:19 UTC Original-Xref: usenet.stanford.edu gnu.emacs.help:179009 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76028 Archived-At: > I think keyboard macros are a potential source of problems. Unless I'm > missing somehting, a macro recorded while line-move-visual is enabled > and then playedback when it is not could easily exhibit different > behavior. A keyboard macro only records the keys you hit. So, not only the above will do something odd, but if you record a keyboard macro in your foo.el buffer and then play it back in a Dired buffer ... better make backups first. > However, to what extent this potential issue would actually arise in > reality is questionable. For one thing, most users are unlikely to be > setting/unsetting line-move-visual frequently. Also, the same issue can The problem with line-move-visual and keyboard macros, is that if you record your macro on a piece of that text that fits just fine without line-wrapping, and then play it somewhere where lines are wrapped, you may find your macro doesn't do what you wanted any more. In itself, this is no big deal, but it's easy for people to forget (or to not know) about this detail because line-movement has been "mostly logical" for many years. Stefan