unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Enabling truncate-lines on a per-line basis
Date: Sat, 05 Dec 2009 01:16:06 -0700	[thread overview]
Message-ID: <hfd4s7$gs5$1@ger.gmane.org> (raw)
In-Reply-To: <d791b8790912032151m65b58f06j1a40a2ccaef45763@mail.gmail.com>

Matthew Dempsky wrote:
> On Thu, Dec 3, 2009 at 8:23 PM, Kevin Rodgers <kevin.d.rodgers@gmail.com> wrote:
>> Maybe you could set the display text property on each line (starting
>> just before the right margin), to emulate truncate-lines.
> 
> Nope, text from the 'display' property text still wraps. Also, you
> can't navigate through it with the point. :(

I meant, if you want the buffer text truncated at column N, set the display
property at column N - 1 through the rest of the line to a single character
(e.g. U+2026 HORIZONTAL ELLIPSIS or U+22EF MIDLINE HORIZONTAL ELLIPSIS) to
indicate truncation.

-- 
Kevin Rodgers
Denver, Colorado, USA





  parent reply	other threads:[~2009-12-05  8:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-03  3:03 Enabling truncate-lines on a per-line basis Matthew Dempsky
2009-12-03 23:22 ` Matthew Dempsky
2009-12-04  4:23   ` Kevin Rodgers
2009-12-04  5:51     ` Matthew Dempsky
2009-12-04  9:55       ` Eli Zaretskii
2009-12-05  8:16       ` Kevin Rodgers [this message]
2009-12-05  8:24         ` Matthew Dempsky
     [not found]       ` <mailman.12260.1260000999.2239.help-gnu-emacs@gnu.org>
2009-12-05 19:05         ` Stefan Monnier
2009-12-04  6:11 ` tomas

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='hfd4s7$gs5$1@ger.gmane.org' \
    --to=kevin.d.rodgers@gmail.com \
    --cc=help-gnu-emacs@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.
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).