emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* mixed truncate/wrap mode for Org
@ 2020-02-08  8:44 Texas Cyberthal
  0 siblings, 0 replies; only message in thread
From: Texas Cyberthal @ 2020-02-08  8:44 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

#+begin_quote alphapapa
What would be useful would be if Emacs/Org could be configured to wrap
prose lines but not, e.g. tables and code blocks.  I don't think such
functionality exists in Emacs now, but here's a new package that may be
relevant: https://github.com/luisgerhorst/virtual-auto-fill
#+end_quote

That would be useful. mixed-pitch-mode already distinguishes codelike
from proselike. Which might help apply virtual-auto-fill only to
prose-like.

https://gitlab.com/jabranham/mixed-pitch

Seems this should be an Org feature, since it wants to combine prose,
tables and code.

#+begin_quote alphapapa
As well, it might be good to discuss on emacs-devel whether a feature
could be developed to truncate/wrap lines selectively; maybe
font-locking could be used to apply text properties to disable wrapping
dynamically (assuming that a feature could be developed to wrap based on
a certain text property).  Then we could have the best of both worlds,
and solve an existing problem, viz. that tables and code gets wrapped
when visual-line-mode is enabled.
#+end_quote

text-mode doesn't recognize org-mode tables or code blocks. Why would
it need selective truncation?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-08  8:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-08  8:44 mixed truncate/wrap mode for Org Texas Cyberthal

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