From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.help Subject: Re: Using longlines-mode on part of a buffer Date: Mon, 26 Oct 2009 16:33:56 +0100 Message-ID: <20091026153356.GB32192@tomas> References: <87ocnucz4w.fsf@Traian.DecebalComp> <873a56cl2t.fsf@Traian.DecebalComp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1256573774 6355 80.91.229.12 (26 Oct 2009 16:16:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Oct 2009 16:16:14 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Cecil Westerhof Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 26 17:16:07 2009 Return-path: Envelope-to: geh-help-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 1N2SEp-0008OK-7c for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Oct 2009 17:16:07 +0100 Original-Received: from localhost ([127.0.0.1]:39820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2SEo-0006CV-GE for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Oct 2009 12:16:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N2RWz-0000px-4k for help-gnu-emacs@gnu.org; Mon, 26 Oct 2009 11:30:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N2RWt-0000lu-Fi for help-gnu-emacs@gnu.org; Mon, 26 Oct 2009 11:30:47 -0400 Original-Received: from [199.232.76.173] (port=56656 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2RWt-0000lo-8A for help-gnu-emacs@gnu.org; Mon, 26 Oct 2009 11:30:43 -0400 Original-Received: from alextrapp1.equinoxe.de ([217.22.192.104]:59763 helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N2RWs-0004x1-Qk for help-gnu-emacs@gnu.org; Mon, 26 Oct 2009 11:30:43 -0400 Original-Received: by www.elogos.de (Postfix, from userid 1000) id C83E390008; Mon, 26 Oct 2009 16:33:56 +0100 (CET) Content-Disposition: inline In-Reply-To: <873a56cl2t.fsf@Traian.DecebalComp> User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:69246 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Oct 26, 2009 at 02:59:38PM +0100, Cecil Westerhof wrote: > tomas@tuxteam.de writes: >=20 > >> I find longlines-mode very usefull. But sometimes I only want to use= it > >> on part of a buffer. Is this possible, or do I want to much? > > > > Note that AFAIK longlines-mode is in the process of being replaced by > > visual-lines-mode (which version of Emacs do you have?). But this > > doesn't answer your question, of course. >=20 > On the system where this editing takes place: GNU Emacs 22.3.1. Ah, yes. It's longlines then. > This does not have this command. I could look if it is possible to > update it. >=20 > By the way the command is 'visual-line-mode' instead off > 'visual-lines-mode'. Oops -- you are right. > I think 'visual-lines-mode' would be better. The typo-generator within my brain seems to think likewise ;-) > > Depending on what you want to do, Giorgios's proposal (narrowing) mig= ht > > do the trick [...] > > What exactly are you trying to achieve? >=20 > In the org-document I edit I use tables. I do not want those to be > wrapped, because that does look bad. And in longlines-mode it went > severall times wrong. Yes, longlines-mode is a tad "robust" when inserting things and manages to confuse other modes. Visual-line-mode seems to tread a bit lighter. > And when editing the 'normal' text it would be > nice to see the unwrapped tables. > By the way I prefer longlines-mode, because this wraps at fill-column > instead of at the right window edge. I see. I think to remember that some discussion went about adding this capability to visual-line-mode, but I can't find that. May be I dreamt of this one. Regards - -- tom=C3=A1s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFK5cFkBcgs9XrR2kYRArL+AJwIch2sVlZm3JfxZKqtcEUMqGatjQCeOvKz Ov2cQxPDWt9SZNmC5rDHUpc=3D =3DelQs -----END PGP SIGNATURE-----