emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Luca Ferrari <fluca1978@gmail.com>
To: Bill Burdick <bill.burdick@gmail.com>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: toggle-truncate-lines outside table and source regions
Date: Thu, 23 Sep 2021 11:56:08 +0200	[thread overview]
Message-ID: <CAKoxK+5b1At4esjn9FCeT_ENx3KCaR=fYoTxk44LP_o8pP0G1w@mail.gmail.com> (raw)
In-Reply-To: <CAP6X8Dh5RTR+Sj4QTD4F_r9Qi9Rkv3tjZ-Hj+5gy1hv3C=m2YA@mail.gmail.com>

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


  reply	other threads:[~2021-09-23  9:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2021-09-23 14:05     ` Bill Burdick
2021-09-23 23:38       ` Samuel Wales

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKoxK+5b1At4esjn9FCeT_ENx3KCaR=fYoTxk44LP_o8pP0G1w@mail.gmail.com' \
    --to=fluca1978@gmail.com \
    --cc=bill.burdick@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).