* How to utilize Org mode editing without display formatting
@ 2022-08-28 16:28 Robert Weiner
2022-08-29 1:59 ` Rohit Patnaik
0 siblings, 1 reply; 2+ messages in thread
From: Robert Weiner @ 2022-08-28 16:28 UTC (permalink / raw)
To: emacs-org list
[-- Attachment #1: Type: text/plain, Size: 761 bytes --]
Hi:
I have an Emacs programmatic need where I want to read an Org file into
Emacs in a raw form without any display formatting (because the formatting
is too slow for large or many Org files) but I need to leave the buffer
after processing in Org mode, again without taking the time to visually
format the buffer in any way. I want it in Org mode so that Org editing
and outlining commands potentially work properly but don't need any of the
fancy font-locking or complex display formatting. Is this possible without
building a derived mode?
It would be very nice if the display formatting in Org were a minor mode
that you could enable and disable to switch between the formatted and
unformatted display all with one command.
Thanks for any help.
-- rsw
[-- Attachment #2: Type: text/html, Size: 1455 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to utilize Org mode editing without display formatting
2022-08-28 16:28 How to utilize Org mode editing without display formatting Robert Weiner
@ 2022-08-29 1:59 ` Rohit Patnaik
0 siblings, 0 replies; 2+ messages in thread
From: Rohit Patnaik @ 2022-08-29 1:59 UTC (permalink / raw)
To: rswgnu; +Cc: emacs-orgmode
Could you do this with a mode-hook? Something like:
(add-hook 'org-mode-hook
(lambda ()
(when (memq (buffer-file-name) 'list-of-files-to-not-highlight)
(font-lock-mode -1))))
-- Rohit
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-29 2:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-28 16:28 How to utilize Org mode editing without display formatting Robert Weiner
2022-08-29 1:59 ` Rohit Patnaik
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).