From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davis Herring" Newsgroups: gmane.emacs.devel Subject: Re: visual-line-mode tweaks Date: Wed, 3 Feb 2010 08:56:18 -0800 (PST) Message-ID: <55964.130.55.118.19.1265216178.squirrel@webmail.lanl.gov> References: Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1265216284 5411 80.91.229.12 (3 Feb 2010 16:58:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Feb 2010 16:58:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Miles Bader" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 03 17:58:01 2010 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.69) (envelope-from ) id 1NciWx-0006Zx-Lg for ged-emacs-devel@m.gmane.org; Wed, 03 Feb 2010 17:56:44 +0100 Original-Received: from localhost ([127.0.0.1]:37676 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NciWw-0003U4-Tk for ged-emacs-devel@m.gmane.org; Wed, 03 Feb 2010 11:56:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NciWr-0003Tb-G7 for emacs-devel@gnu.org; Wed, 03 Feb 2010 11:56:37 -0500 Original-Received: from [199.232.76.173] (port=50362 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NciWr-0003TT-2D for emacs-devel@gnu.org; Wed, 03 Feb 2010 11:56:37 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NciWp-0005yS-BT for emacs-devel@gnu.org; Wed, 03 Feb 2010 11:56:36 -0500 Original-Received: from proofpoint2.lanl.gov ([204.121.3.26]:52013) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NciWg-0005vV-VQ; Wed, 03 Feb 2010 11:56:27 -0500 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by proofpoint2.lanl.gov (8.14.3/8.14.3) with ESMTP id o13GuIUd005001; Wed, 3 Feb 2010 09:56:18 -0700 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay2.lanl.gov (Postfix) with ESMTP id B3B1F15F8DAD; Wed, 3 Feb 2010 09:56:18 -0700 (MST) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay2.lanl.gov Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay2.lanl.gov (Postfix) with ESMTP id A160215F8DAC; Wed, 3 Feb 2010 09:56:18 -0700 (MST) Original-Received: by webmail1.lanl.gov (Postfix, from userid 48) id 9F74F1DE02E1; Wed, 3 Feb 2010 09:56:18 -0700 (MST) Original-Received: from 130.55.118.19 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Wed, 3 Feb 2010 08:56:18 -0800 (PST) In-Reply-To: User-Agent: SquirrelMail/1.4.8-5.7.lanl7 X-Priority: 3 (Normal) Importance: Normal X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2010-02-03_07:2010-01-20, 2010-02-03, 2010-02-03 signatures=0 X-detected-operating-system: by monty-python.gnu.org: GNU/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:120863 Archived-At: > (1) Maybe visual-line-mode should turn off auto-fill-mode -- it's > annoying to have your lines truncated physically when editing a file > that intentionally uses a line-per-paragraph, and it's very common for > auto-fill mode to be turned on by default. I don't think it's a good idea to make it automatic, because one might have some very long lines that one likes to peruse/edit with v-l-m and yet be writing text that isn't meant to be line-per-para. So, I would suggest adding a convenience command: perhaps `visual-line-nofill'. If v-l-m were off, it would turn it on and turn off auto-fill-mode. Otherwise, it would turn off v-l-m and turn on a-f-m. (The downside would be that two invocations of the command would not be a no-op, but would instead set a-f-m to the opposite of your original v-l-m setting. I doubt anyone would be harmed, but that's why I gave it a name not ending in "mode".) Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.