From: Dmitrii Korobeinikov <dim1212k@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Truncate lines option on file startup
Date: Sun, 10 Nov 2019 18:12:15 +0600 [thread overview]
Message-ID: <CA+Yh0SRirFEiF9pus5DFPXiLBM5wYfmAOroPqxKZyw2GT4zM1A@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 522 bytes --]
Hi,
Thought it would be handy to be able to do this:
#+STARTUP: truncate
and
#+STARTUP: notruncate
Modifying org-startup-options manually wouldn't work as it describes how to
change a value of a variable or push onto a list, but no syntax for
function calls and for this to work toggle-truncate-lines is to be envoked.
I know about org-startup-truncated, but it's not file-by-file precision.
PS if this turns out to be hairy, I can use .dir-locals.el, but the feature
would still be a nice-to-have.
Regards,
Dmitrii
[-- Attachment #2: Type: text/html, Size: 730 bytes --]
next reply other threads:[~2019-11-10 12:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-10 12:12 Dmitrii Korobeinikov [this message]
2019-11-10 12:47 ` Truncate lines option on file startup Fraga, Eric
2019-11-11 8:40 ` Dmitrii Korobeinikov
2019-11-11 9:58 ` Dmitrii Korobeinikov
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=CA+Yh0SRirFEiF9pus5DFPXiLBM5wYfmAOroPqxKZyw2GT4zM1A@mail.gmail.com \
--to=dim1212k@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).