[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mixed truncate/wrap mode for Org
From: |
Texas Cyberthal |
Subject: |
mixed truncate/wrap mode for Org |
Date: |
Sat, 8 Feb 2020 16:44:50 +0800 |
#+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?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- mixed truncate/wrap mode for Org,
Texas Cyberthal <=