From: Carsten Dominik <carsten.dominik@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#5018: 23.1.50; Feature request: truncate-lines text property
Date: Mon, 23 Nov 2009 11:33:43 +0100 [thread overview]
Message-ID: <m2d4397coo.fsf@gmail.com> (raw)
Hi, this is a feature request.
I would like to have a text property `truncate-lines' that can be used
to locally overrule the buffer-local or global value of the
`truncate-lines' variable.
The reason for this is that visual-line-mode and (setq wrap-word t) make
a good environment to allow people to write in paragraph-oriented way,
but that text documents often contain blocks where line wrapping is
undesirable, such as a table, ASCII drawings, of source code examples.
Org-mode is a good example for a mode where text is intermingled with
these types of structured material.
A truncate-line property would allow a mode to arrange this property to
be set to t for specific lines only and in this way make it possible to get
the best of two worlds in a single buffer.
Thanks for considering it.
- Carsten
next reply other threads:[~2009-11-23 10:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-23 10:33 Carsten Dominik [this message]
2017-06-04 18:11 ` bug#5018: Michael Brand
2017-06-04 19:05 ` bug#5018: 23.1.50; Feature request: truncate-lines text property Eli Zaretskii
2017-06-05 9:29 ` Michael Brand
2017-06-05 15:42 ` Eli Zaretskii
2017-06-06 19:40 ` Michael Brand
2017-06-07 4:53 ` Eli Zaretskii
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2d4397coo.fsf@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=5018@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@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.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).