help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using longlines-mode on part of a buffer


From: Joseph Brenner
Subject: Re: Using longlines-mode on part of a buffer
Date: Thu, 29 Oct 2009 20:33:01 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Cecil Westerhof <Cecil@decebal.nl> writes:

> tomas@tuxteam.de writes:
>
>>> 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.
>
> On the system where this editing takes place: GNU Emacs 22.3.1.
> This does not have this command. I could look if it is possible to
> update it.
>
> By the way the command is 'visual-line-mode' instead off
> 'visual-lines-mode'. I think 'visual-lines-mode' would be better.
>
>
>> Depending on what you want to do, Giorgios's proposal (narrowing) might
>> do the trick for you (you won't see the "outer" part of the text when
>> narrowed, though).
>>
>> What exactly are you trying to achieve?
>
> 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
> several times wrong. 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'm not familiar with tables in org-documents, but if they're delimeted
in a way that you could use regular expressions to detect the
boundaries, hypothetically you could use a multimode (like mmm-mode)
to automatically enable longlines-mode on the tabular part only.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]