* toggle-truncate-lines outside table and source regions
@ 2021-09-22 7:52 Luca Ferrari
2021-09-22 13:49 ` Bill Burdick
0 siblings, 1 reply; 5+ messages in thread
From: Luca Ferrari @ 2021-09-22 7:52 UTC (permalink / raw)
To: emacs-org list
Hi all,
is it possible to instrument org-mode to automatically truncate lines
only on "regular" text, i.e., outside table and source regions?
I know why org-mode disables line truncation, but to me it is quite
annoying when dealing with long text lines.
Thanks,
Luca
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: toggle-truncate-lines outside table and source regions
2021-09-22 7:52 toggle-truncate-lines outside table and source regions Luca Ferrari
@ 2021-09-22 13:49 ` Bill Burdick
2021-09-23 9:56 ` Luca Ferrari
0 siblings, 1 reply; 5+ messages in thread
From: Bill Burdick @ 2021-09-22 13:49 UTC (permalink / raw)
To: Luca Ferrari; +Cc: emacs-org list
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
How about adding
(lambda () (toggle-truncate-lines 1))
to org-mode-hooks in your EMACS init file?
-- Bill
On Wed, Sep 22, 2021 at 2:59 AM Luca Ferrari <fluca1978@gmail.com> wrote:
> Hi all,
> is it possible to instrument org-mode to automatically truncate lines
> only on "regular" text, i.e., outside table and source regions?
> I know why org-mode disables line truncation, but to me it is quite
> annoying when dealing with long text lines.
>
> Thanks,
> Luca
>
>
[-- Attachment #2: Type: text/html, Size: 992 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: toggle-truncate-lines outside table and source regions
2021-09-22 13:49 ` Bill Burdick
@ 2021-09-23 9:56 ` Luca Ferrari
2021-09-23 14:05 ` Bill Burdick
0 siblings, 1 reply; 5+ messages in thread
From: Luca Ferrari @ 2021-09-23 9:56 UTC (permalink / raw)
To: Bill Burdick; +Cc: emacs-org list
On Wed, Sep 22, 2021 at 3:49 PM Bill Burdick <bill.burdick@gmail.com> wrote:
>
> How about adding
>
> (lambda () (toggle-truncate-lines 1))
>
> to org-mode-hooks in your EMACS init file?
isn't this the same as M-x toggle-truncate-lines ? Because it will
truncate every line, but I'm searching for a way to truncate only
text, and not tables nor code.
AM I misunderstanding your suggestion?
Luca
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: toggle-truncate-lines outside table and source regions
2021-09-23 9:56 ` Luca Ferrari
@ 2021-09-23 14:05 ` Bill Burdick
2021-09-23 23:38 ` Samuel Wales
0 siblings, 1 reply; 5+ messages in thread
From: Bill Burdick @ 2021-09-23 14:05 UTC (permalink / raw)
To: Luca Ferrari; +Cc: emacs-org list
[-- Attachment #1: Type: text/plain, Size: 584 bytes --]
Gah, sorry about that -- I didn't read your message carefully enough!
-- Bill
On Thu, Sep 23, 2021 at 4:56 AM Luca Ferrari <fluca1978@gmail.com> wrote:
> On Wed, Sep 22, 2021 at 3:49 PM Bill Burdick <bill.burdick@gmail.com>
> wrote:
> >
> > How about adding
> >
> > (lambda () (toggle-truncate-lines 1))
> >
> > to org-mode-hooks in your EMACS init file?
>
> isn't this the same as M-x toggle-truncate-lines ? Because it will
> truncate every line, but I'm searching for a way to truncate only
> text, and not tables nor code.
> AM I misunderstanding your suggestion?
>
> Luca
>
[-- Attachment #2: Type: text/html, Size: 1151 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: toggle-truncate-lines outside table and source regions
2021-09-23 14:05 ` Bill Burdick
@ 2021-09-23 23:38 ` Samuel Wales
0 siblings, 0 replies; 5+ messages in thread
From: Samuel Wales @ 2021-09-23 23:38 UTC (permalink / raw)
To: Bill Burdick; +Cc: Luca Ferrari, emacs-org list
almost as if truncate line feature should be a text property? good
idea to take up with devs if no solution arrives. source blocks have
c-c '; idk about tables. perhaps you could at least have ugliness in
the outline but correctness in editing.
On 9/23/21, Bill Burdick <bill.burdick@gmail.com> wrote:
> Gah, sorry about that -- I didn't read your message carefully enough!
>
>
> -- Bill
>
>
> On Thu, Sep 23, 2021 at 4:56 AM Luca Ferrari <fluca1978@gmail.com> wrote:
>
>> On Wed, Sep 22, 2021 at 3:49 PM Bill Burdick <bill.burdick@gmail.com>
>> wrote:
>> >
>> > How about adding
>> >
>> > (lambda () (toggle-truncate-lines 1))
>> >
>> > to org-mode-hooks in your EMACS init file?
>>
>> isn't this the same as M-x toggle-truncate-lines ? Because it will
>> truncate every line, but I'm searching for a way to truncate only
>> text, and not tables nor code.
>> AM I misunderstanding your suggestion?
>>
>> Luca
>>
>
--
The Kafka Pandemic
Please learn what misopathy is.
https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-09-23 23:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-22 7:52 toggle-truncate-lines outside table and source regions Luca Ferrari
2021-09-22 13:49 ` Bill Burdick
2021-09-23 9:56 ` Luca Ferrari
2021-09-23 14:05 ` Bill Burdick
2021-09-23 23:38 ` Samuel Wales
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).