all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <Stephen.Berman@gmx.net>
To: emacs-devel@gnu.org
Subject: 23.0.50; display property and continuation arrows
Date: Tue, 18 Dec 2007 17:37:36 +0100	[thread overview]
Message-ID: <87y7bsez73.fsf@escher.local.home> (raw)

GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of
2007-12-09 on escher

1. emacs -Q

2. Type a line of text that extends beyond (window-width) with auto-fill
mode is disabled so that continuation arrows are displayed in the
fringes.

3. Put the cursor on the second column after the left continuation arrow
and evaluate this sexp: (put-text-property (1- (point)) (point) 'display
" \n").

4. Now the rest of the text, from point to the end, appears to have
moved down by one line, i.e., the continuation arrows remain but after
the left continuation arrow it looks like there is an empty line before
the rest of the text.

Compare this with the following step instead of 3:

3'. Put the cursor on the first column after the left continuation arrow
and evaluate this sexp: (put-text-property (1- (point)) (point) 'display
" \n").

5. Now the rest of the text, from point to the end, appears in the same
position as before step 3' but the continuation arrows have vanished,
i.e., it looks like there are two lines of text, not one continued line.

Is the difference between 4 and 5, resulting from the different
positions of the display property, expected?  If so, is it conceivable
to change the display code so that doing step 3 (not step 3') would
result in the appearance in 5 instead of that in 4?

Steve Berman

             reply	other threads:[~2007-12-18 16:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-18 16:37 Stephen Berman [this message]
2007-12-23 21:12 ` 23.0.50; display property and continuation arrows Richard Stallman
2008-01-03 19:54   ` Stephen Berman
     [not found]     ` <E1JB1z7-00063K-J3@fencepost.gnu.org>
2008-01-05  9:55       ` martin rudalics
2008-01-05 17:38       ` Jan Djärv
2008-01-05 17:40         ` Jan Djärv
2008-01-05 18:17           ` Stephen Berman
2008-01-05 22:59             ` Jan Djärv
2008-01-05 23:34               ` Stephen Berman
2008-01-06 10:46                 ` Jan Djärv
2008-01-06 14:04                   ` Stephen Berman
2008-01-07  7:00                     ` Jan Djärv
2008-01-07  8:40                       ` Stephen Berman
2008-01-07 10:42                         ` Jan Djärv
2008-01-07 13:11                           ` Stephen Berman
2008-01-05 18:10         ` Stephen Berman

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=87y7bsez73.fsf@escher.local.home \
    --to=stephen.berman@gmx.net \
    --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.