From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.bugs Subject: Re: What about "The Modernization of Emacs"? Date: Fri, 21 Dec 2007 09:21:21 +0000 Message-ID: <761B9F48-795C-418C-834E-B6688FF31950@gmail.com> References: <811554110712200713m35204f96x136ebcc393984682@mail.gmail.com> <476AF064.4020900@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1198229145 15531 80.91.229.12 (21 Dec 2007 09:25:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Dec 2007 09:25:45 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, Sean Ochoa To: Lennart Borgman (gmail) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 21 10:25:58 2007 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 1J5e8a-0000L2-QF for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Dec 2007 10:25:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J5e8H-0002zY-0e for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Dec 2007 04:25:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J5e4Q-0000O3-DH for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2007 04:21:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J5e4N-0000MW-4h for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2007 04:21:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J5e4M-0000LY-5C for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2007 04:21:26 -0500 Original-Received: from mu-out-0910.google.com ([209.85.134.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J5e4L-00066e-R3 for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2007 04:21:26 -0500 Original-Received: by mu-out-0910.google.com with SMTP id i2so226465mue.2 for ; Fri, 21 Dec 2007 01:21:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=WbuSJ6y4bpoxOBp3cRWU5ML12P7v0iuyxkpYHlaVBHI=; b=Mj6UBJraCh5elL5FiV9S79hp/uwN4RJMjwEBDqzaITpkev9x07IiuyXNVRliWc700mQmPANrIqC1KJ7nJj+GO/L+7LLfkHszlyinCQ0mVR3A3qd9b/WVYkpqiPrX/I9sS9OmoNVOqM7hYMHWF8niSIrKQ2MjThmU8+s5Ii6QvJo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=HkAY83tX6FzhMsiyMAY+KraG41uYk8kuNVtk/gtvvNiOLHvEgLn3TgwhJsKPIiuWID7uHPABkHN7HFcX9f136ftVmZXWEufKnILH5KiD+1hW/3XlxS+SULLHCSVz5s0RUnjnkwAqSjPqskq8DwZBUAJmLGlbIvgF+eMvB+nO/3k= Original-Received: by 10.78.180.18 with SMTP id c18mr1239456huf.24.1198228884818; Fri, 21 Dec 2007 01:21:24 -0800 (PST) Original-Received: from scarlett.lan ( [81.179.82.72]) by mx.google.com with ESMTPS id 31sm1891992nfu.29.2007.12.21.01.21.23 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Dec 2007 01:21:24 -0800 (PST) In-Reply-To: <476AF064.4020900@gmail.com> X-Mailer: Apple Mail (2.915) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:17205 Archived-At: On 20 Dec 2007, at 22:44, Lennart Borgman (gmail) wrote: > > ;; * Make longlines-mode the default editor behavior for any > ;; file. (So that, the up arrow and down arrow keys moves > ;; the cursor by a visual line, not by line-return > ;; character. > > I think this deserves some thought. > > By default Emacs wraps long lines. This is not the same as longlines- > mode. I think it would be useful to be able to use down/up arrows to > move to the next/previous visual line. I believe this might be what > beginners expect. (Maybe there is already such an option in Emacs?) Longlines mode is littered with problems. It fails to break lines correctly just when you need soft word wrapping most, i.e. for long prose texts which are displayed with a variable width font, or where lines are shown in different font sizes (AUCTeX). Longlines fails to recognize comments, e.g., in LaTeX (this is a bug!). Because the line- number correspondence between files and buffer lines get lost, a lot of functions simply don't work any longer (this is a bug!), such as jumping to the place of errors in LaTeX files (compiler reports file lines, then jumps to buffer lines). I wrote some code to make `pdfsync' work with longlines in AUCTeX, but these things are really just hacks because the mode rightfully assumes that buffer line = file line. Longlines also isn't recognized automatically when a text file with many long lines is loaded. The setting "use longlines for all text modes" is rather cumbersome. Rather than going on with this rant, I'd like to point readers to a post by Fernando Pereira: http://article.gmane.org/gmane.emacs.macintosh.osx/3524 Instigating change is good. But solving the problems is better. Write code!