unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5018: 23.1.50; Feature request: truncate-lines text property
@ 2009-11-23 10:33 Carsten Dominik
  2017-06-04 18:11 ` bug#5018: Michael Brand
  0 siblings, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2009-11-23 10:33 UTC (permalink / raw)
  To: emacs-pretest-bug


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






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-06-07  4:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-23 10:33 bug#5018: 23.1.50; Feature request: truncate-lines text property Carsten Dominik
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

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