From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: longlines-mode and visual-line-mode Date: Sun, 31 May 2009 18:11:18 +0100 Message-ID: References: <7b501d5c0905310926l8d441cdqfdf14f8a1b3647f@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1243789896 10212 80.91.229.12 (31 May 2009 17:11:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 May 2009 17:11:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Deniz Dogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 31 19:11:33 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 1MAoZG-000210-Lg for ged-emacs-devel@m.gmane.org; Sun, 31 May 2009 19:11:30 +0200 Original-Received: from localhost ([127.0.0.1]:38686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MAoZF-0008Ts-Q7 for ged-emacs-devel@m.gmane.org; Sun, 31 May 2009 13:11:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MAoZB-0008Tb-47 for emacs-devel@gnu.org; Sun, 31 May 2009 13:11:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MAoZ6-0008MH-6s for emacs-devel@gnu.org; Sun, 31 May 2009 13:11:24 -0400 Original-Received: from [199.232.76.173] (port=59296 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MAoZ6-0008Lh-0M for emacs-devel@gnu.org; Sun, 31 May 2009 13:11:20 -0400 Original-Received: from ppsw-7.csi.cam.ac.uk ([131.111.8.137]:45484) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MAoZ5-0003WK-FH for emacs-devel@gnu.org; Sun, 31 May 2009 13:11:19 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]:47817) by ppsw-7.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES256-SHA:256) id 1MAoZ4-0002mK-Pf (Exim 4.70) (return-path ); Sun, 31 May 2009 18:11:19 +0100 In-Reply-To: <7b501d5c0905310926l8d441cdqfdf14f8a1b3647f@mail.gmail.com> (Deniz Dogan's message of "Sun, 31 May 2009 18:26:38 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) 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:111220 Archived-At: On 2009-05-31 17:26 +0100, Deniz Dogan wrote: > 2009/5/31 Leo : >> Hi there, >> >> After briefly trying these two modes, I haven't found any significant > >> difference between them. It looks like longlines has all the features >> for visual-line-mode. Is my impression correct? Thank you. >> > > This is not the case, as I understand it. For an example, fill a > buffer with a very long line in longlines-mode and resize the window. > Then turn it off and switch to visual-line-mode and resize the window. > Notice the difference! visual-line-mode turns on word-wrap (a > variable) which is what gives this differente behaviour. > > IIRC, longlines-mode is/was a hack which was introduced due to the > lack of something like word-wrap in earlier versions of Emacs. After (setq longlines-wrap-follows-window-size 10), I haven't noticed any difference. Could you elaborate the different you were referring to? Thanks. Leo