all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 23.0.50; display property and continuation arrows
@ 2007-12-18 16:37 Stephen Berman
  2007-12-23 21:12 ` Richard Stallman
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Berman @ 2007-12-18 16:37 UTC (permalink / raw)
  To: emacs-devel

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

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

end of thread, other threads:[~2008-01-07 13:11 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-18 16:37 23.0.50; display property and continuation arrows Stephen Berman
2007-12-23 21:12 ` 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

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.