From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#3438: please make line-move-visual nil Date: Mon, 01 Jun 2009 18:33:33 -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> <31703F2EAE7D4CAF8E671B0C18916D01@us.oracle.com> Reply-To: Stefan Monnier , 3438@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1243913172 30417 80.91.229.12 (2 Jun 2009 03:26:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Jun 2009 03:26:12 +0000 (UTC) Cc: 3438@emacsbugs.donarmstrong.com, "'T.V. Raman'" , 'Chong Yidong' , emacs-devel@gnu.org, 'ishikawa' , ams@gnu.org, stephen@xemacs.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 02 05:26:08 2009 Return-path: Envelope-to: geb-bug-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 1MBKdb-0004Kd-Rr for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Jun 2009 05:26:08 +0200 Original-Received: from localhost ([127.0.0.1]:55936 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBKdb-0005HL-92 for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jun 2009 23:26:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MBGRa-0002vi-JK for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2009 18:57:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MBGRW-0002rR-8G for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2009 18:57:26 -0400 Original-Received: from [199.232.76.173] (port=45487 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBGRV-0002rA-OD for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2009 18:57:21 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50748) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MBGRV-0002jr-5l for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2009 18:57:21 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n51MvH4v021564; Mon, 1 Jun 2009 15:57:18 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n51Me5fx018388; Mon, 1 Jun 2009 15:40:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 01 Jun 2009 22:40:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3438 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3438-submit@emacsbugs.donarmstrong.com id=B3438.124389563017494 (code B ref 3438); Mon, 01 Jun 2009 22:40:05 +0000 Original-Received: (at 3438) by emacsbugs.donarmstrong.com; 1 Jun 2009 22:33:50 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n51MXjrE017487 for <3438@emacsbugs.donarmstrong.com>; Mon, 1 Jun 2009 15:33:46 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQFAPzzI0pFpZIv/2dsb2JhbACBT8sZhAwFhgU X-IronPort-AV: E=Sophos;i="4.41,286,1241409600"; d="scan'208";a="39458799" 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 18:33:33 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 8C57E7FB6; Mon, 1 Jun 2009 18:33:33 -0400 (EDT) In-Reply-To: <31703F2EAE7D4CAF8E671B0C18916D01@us.oracle.com> (Drew Adams's message of "Mon, 1 Jun 2009 14:00:34 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 01 Jun 2009 18:57:26 -0400 X-Mailman-Approved-At: Mon, 01 Jun 2009 23:24:11 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28434 Archived-At: >> 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. > No reason given. Why? > Why should Buffer List or Info or Man output or grep output or C code > or Java code buffers have `truncate-lines' turned on? Because newlines > are intentionally positioned in such modes, they should use > `truncate-lines'? Why would that be? Just goes to show that I misunderstood your notion of "formatted". I was thinking of buffers like pcl-cvs, VC, dired, buffer-list, ibuffer, ... Not info, not man, not Java, not C (not sure about grep, I like to set it in grep, but I'm not sure if it's a good idea in general). > Is this a diversion to some other topic? What's the relation to the > topic at hand, which is `line-move-visual'? When truncate-lines is non-nil, visual lines and logical lines coincide, so line-move-visual doesn't make much difference any more (other than for proportional text, that is). > I proposed making the variable always buffer-local. There would be no benefit to it: (set (make-local-variable ) ) is the standard way for major modes to set variables. Stefan