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:58:29 +0100 Message-ID: <48925FB5.8090103@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> <489257E0.7010409@harpegolden.net> <489258D8.60602@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 1217552342 20526 80.91.229.12 (1 Aug 2008 00:59:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Aug 2008 00:59:02 +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:59:51 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 1KOizm-0001nz-6f for ged-emacs-devel@m.gmane.org; Fri, 01 Aug 2008 02:59:51 +0200 Original-Received: from localhost ([127.0.0.1]:39725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOiyq-0007gd-Ex for ged-emacs-devel@m.gmane.org; Thu, 31 Jul 2008 20:58:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOiym-0007fh-PG for emacs-devel@gnu.org; Thu, 31 Jul 2008 20:58:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOiyl-0007cg-6l for emacs-devel@gnu.org; Thu, 31 Jul 2008 20:58:48 -0400 Original-Received: from [199.232.76.173] (port=44967 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOiyl-0007cW-2T for emacs-devel@gnu.org; Thu, 31 Jul 2008 20:58:47 -0400 Original-Received: from harpegolden.net ([65.99.215.13]:47373) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KOiyZ-00041A-0E; Thu, 31 Jul 2008 20:58:35 -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 0B9A982A6; Fri, 1 Aug 2008 00:58:30 +0000 (UTC) User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) In-Reply-To: <489258D8.60602@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:101841 Archived-At: Lennart Borgman (gmail) wrote: > And if some lines wrap and others do not? Well, that's why I find logical lines on up/down/C-p/C-n and visual lines on other keys nicest - you can just choose the appropriate movement (within keyboard macros or otherwise). ... (global-set-key [C-p] 'previous-logical-line) (global-set-key [C-n] 'next-logical-line) (global-set-key [up] 'previous-logical-line) (global-set-key [down] 'next-logical-line) (global-set-key [M-up] 'previous-line) (global-set-key [M-down] 'next-line)