emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Texas Cyberthal <texas.cyberthal@gmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: mixed truncate/wrap mode for Org
Date: Sat, 8 Feb 2020 16:44:50 +0800	[thread overview]
Message-ID: <CAMUm493cvdO-EY=qvH5Pthb+bQheUVuOM5KQ-g=uJRUumTwEYw@mail.gmail.com> (raw)

#+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?

                 reply	other threads:[~2020-02-08  8:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAMUm493cvdO-EY=qvH5Pthb+bQheUVuOM5KQ-g=uJRUumTwEYw@mail.gmail.com' \
    --to=texas.cyberthal@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).