From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.help Subject: Re: line-move-visual? Date: Thu, 23 Oct 2008 05:58:53 +0300 Organization: SunSITE.dk - Supporting Open source Message-ID: <87y70gow42.fsf@kobe.laptop> References: <6271f663-7bc2-46fd-8676-105a09b4aa55@f40g2000pri.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224775384 31408 80.91.229.12 (23 Oct 2008 15:23:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Oct 2008 15:23:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 23 17:24:02 2008 connect(): Connection refused 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.50) id 1Kt21C-0000xK-GH for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Oct 2008 17:22:34 +0200 Original-Received: from localhost ([127.0.0.1]:54392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kt206-0007bD-Ey for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Oct 2008 11:21:26 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!goblin1!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) Cancel-Lock: sha1:tkwpDZih3SeqAuMf4OYlwexfz1U= Original-Lines: 27 Original-NNTP-Posting-Host: 77.49.233.19 Original-X-Trace: news.sunsite.dk DXC=Xg0YEjVCb\N?ZCK:; haR=OYSB=nbEKnkKML^MjGbH?lJH1TkjLC46 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:59082 Archived-At: On Wed, 22 Oct 2008 14:12:34 -0700 (PDT), Xah wrote: > On Oct 22, 1:24 pm, Leo wrote: >> Hi there, >> >> It looks the change that C-n and C-p now move by screen lines are pretty >> big. Any idea why this has been set as default? What's the user case for >> this? > > Do you mean to say that in the dev version of emacs, now up/down arrow > key moves the cursor by a screen line instead of moving by EOL char? Yes. The documentation of `next-line' function now says: If the variable `line-move-visual' is non-nil, this command moves by display lines. Otherwise, it moves by buffer lines, without taking variable-width characters or continued lines into account. > btw, what's the behavior of kill-line? Does it do screen line or EOL > line? It kills ``buffer lines''. To kill a single display line one can move the point to the start of that line with the arrows, select the display line with `S-' or `C-SPC S-C-n' and kill the display line with `C-w' as usual.