From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: please make line-move-visual nil Date: Mon, 01 Jun 2009 16:11:49 -0400 Message-ID: References: <87eiue83i7.fsf@cyd.mit.edu> <87my92dmdt.fsf@cyd.mit.edu> <87eiudewtq.fsf@uwakimon.sk.tsukuba.ac.jp> <831vqdubqy.fsf@gnu.org> <6161f3180905270548t3012bc1ah161719ae01db0fb5@mail.gmail.com> <5f0ff9220906010736paad9321td86fd52326ebe722@mail.gmail.com> <87oct7sur8.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1243887170 339 80.91.229.12 (1 Jun 2009 20:12:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jun 2009 20:12:50 +0000 (UTC) Cc: 3438@emacsbugs.donarmstrong.com, "'T.V. Raman'" , 'Chong Yidong' , "'Andrew W. Nosenko'" , emacs-devel@gnu.org, 'ishikawa' , ams@gnu.org, stephen@xemacs.org, eliz@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 01 22:12:45 2009 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 1MBDsA-00055R-Te for ged-emacs-devel@m.gmane.org; Mon, 01 Jun 2009 22:12:43 +0200 Original-Received: from localhost ([127.0.0.1]:46118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBDsA-0004XX-8b for ged-emacs-devel@m.gmane.org; Mon, 01 Jun 2009 16:12:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MBDrU-00049b-AI for emacs-devel@gnu.org; Mon, 01 Jun 2009 16:12:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MBDrP-00044J-6k for emacs-devel@gnu.org; Mon, 01 Jun 2009 16:11:59 -0400 Original-Received: from [199.232.76.173] (port=57622 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBDrO-000448-UP for emacs-devel@gnu.org; Mon, 01 Jun 2009 16:11:54 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:46646 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MBDrK-0001G9-S4; Mon, 01 Jun 2009 16:11:51 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQFACzTI0pFpZIv/2dsb2JhbACBT8sYhAwFhgU X-IronPort-AV: E=Sophos;i="4.41,286,1241409600"; d="scan'208";a="39427260" Original-Received: from 69-165-146-47.dsl.teksavvy.com (HELO pastel.home) ([69.165.146.47]) by ironport2-out.teksavvy.com with ESMTP; 01 Jun 2009 16:11:49 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 5D1087FB6; Mon, 1 Jun 2009 16:11:49 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Mon, 1 Jun 2009 11:26:58 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:111261 Archived-At: > More typically (in formatted buffers), we want to reflect the use of newlines > (they are positioned intentionally) and maintain the current column for line > movement, but there is no single, privileged column (e.g. file name) that we > want to constrain point to, as there is in Dired. I don't know if it's typical, but for most of those kinds of buffers you describe as "formatted", I think they should at least set truncate-lines. > Each formatted buffer could individually define its own line-movement > commands, which amounts to just binding `line-move-visual' to nil > around a call to `next-line'. But that would be a bit silly. > Better to just let the variable be buffer-local. And provide nil as > the default value for most formatted buffers. Any major mode is free to (set (make-local-variable 'line-move-visual) nil). As of now, I don't think any mode bothers to do that. > BTW, you didn't answer the questions about the poll. > How's it coming along? Where is it? I can't think of any poll which would bring any satisfactory answer to the discussion. Stefan