all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Subject: Truncate lines as a text property
Date: Sat, 21 Nov 2009 11:51:39 +0100	[thread overview]
Message-ID: <EC0D6A96-5F85-4083-BCF8-F005CEF950DF@gmail.com> (raw)


Hi,

this is something like a feature request.

I was wondering if it would be possible to make truncate-lines a text  
property.

I have a couple of users in Org-mode who like visual-line-mode and  
line wrapping a lot, and I would like to support it better.  However,  
for some tasks, line wrapping does not give the best results.  For  
example in tables, which always look messy without line wrapping.   
Another example would be ASCII drawings and sometimes code examples.

I think this could be solved by making truncate-lines a text  
property.  I could have turned off truncate-lines for the buffer as a  
whole, but turn it on for tables and similar structures using a text  
property.

Any comments, or even someone who would be interested to implement this?

- Carsten







             reply	other threads:[~2009-11-21 10:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-21 10:51 Carsten Dominik [this message]
2009-11-23  2:17 ` Truncate lines as a text property Stefan Monnier
2009-11-23  8:36   ` Carsten Dominik

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EC0D6A96-5F85-4083-BCF8-F005CEF950DF@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-devel@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.