Re: toggle-truncate-lines outside table and source regions

2021-09-23 Thread Samuel Wales
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 wrote: > Gah, sorry

Re: toggle-truncate-lines outside table and source regions

2021-09-23 Thread Bill Burdick
Gah, sorry about that -- I didn't read your message carefully enough! -- Bill On Thu, Sep 23, 2021 at 4:56 AM Luca Ferrari wrote: > On Wed, Sep 22, 2021 at 3:49 PM Bill Burdick > wrote: > > > > How about adding > > > > (lambda () (toggle-truncate-lines 1)) > > > > to org-mode-hooks in your

Re: toggle-truncate-lines outside table and source regions

2021-09-23 Thread Luca Ferrari
On Wed, Sep 22, 2021 at 3:49 PM Bill Burdick 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

Re: toggle-truncate-lines outside table and source regions

2021-09-22 Thread Bill Burdick
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 wrote: > Hi all, > is it possible to instrument org-mode to automatically truncate lines > only on "regular" text, i.e., outside table and

toggle-truncate-lines outside table and source regions

2021-09-22 Thread Luca Ferrari
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