emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Truncate lines option on file startup
@ 2019-11-10 12:12 Dmitrii Korobeinikov
  2019-11-10 12:47 ` Fraga, Eric
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitrii Korobeinikov @ 2019-11-10 12:12 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-11-11  9:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-10 12:12 Truncate lines option on file startup Dmitrii Korobeinikov
2019-11-10 12:47 ` Fraga, Eric
2019-11-11  8:40   ` Dmitrii Korobeinikov
2019-11-11  9:58     ` Dmitrii Korobeinikov

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).