unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <Stephen.Berman@gmx.net>
To: emacs-devel@gnu.org
Subject: Re: 23.0.50; display property and continuation arrows
Date: Thu, 03 Jan 2008 20:54:42 +0100	[thread overview]
Message-ID: <87d4sifzwd.fsf@escher.local.home> (raw)
In-Reply-To: E1J6Y77-0002x7-LC@fencepost.gnu.org

[-- Attachment #1: Type: text/plain, Size: 884 bytes --]

On Sun, 23 Dec 2007 16:12:01 -0500 Richard Stallman <rms@gnu.org> wrote:

>     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.
>
> When I try this, the continuation arrows do not disappear.

This surprises me.  I continue to see what I reported with current
sources, GNU Emacs 23.0.50.2 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of
2008-01-03 on escher.  Perhaps the steps I gave to reproduce it were not
clear.  I've made screen shots showing what I see.  Here is the buffer
at step 3 of my OP, before evalling the display sexp:


[-- Attachment #2: continuation1 --]
[-- Type: image/png, Size: 3477 bytes --]

[-- Attachment #3: Type: text/plain, Size: 127 bytes --]


Note the cursor is over the "e" of the last occurrence of "testing".
And here is the buffer after evalling the display sexp:


[-- Attachment #4: continuation2 --]
[-- Type: image/png, Size: 4847 bytes --]

[-- Attachment #5: Type: text/plain, Size: 150 bytes --]


Note the continuation arrows and the appearance of an "empty" line.
Next, here is the buffer at step 3' of my OP, before evalling the
display sexp:


[-- Attachment #6: continuation3 --]
[-- Type: image/png, Size: 4756 bytes --]

[-- Attachment #7: Type: text/plain, Size: 164 bytes --]


Note the cursor is over the first "t" of the last occurrence of
"testing", immediately after the fringe.  And here is the buffer after
evalling the display sexp:


[-- Attachment #8: continuation4 --]
[-- Type: image/png, Size: 5981 bytes --]

[-- Attachment #9: Type: text/plain, Size: 712 bytes --]


Note the absence of the continuation arrows and of the "empty" line.
Are you unable to reproduce this?

> I am not sure that there is a bug here.

I don't know if it is a bug, because the results seen above may be
consistent with the code (I cannot tell).  My OP was a request for a
explanation of the difference seen in the second and fourth images, as
well as (if it is not a bug) a feature request: I would like *not* to
have continuation arrows and an "empty" line in the second image.  In
other words, I would like the appearance in the second image to be like
that in the last image (modulo the cursor position and the position of
the display property).  Is this possible?  If not, why not?

Steve Berman

[-- Attachment #10: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2008-01-03 19:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
     [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

  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=87d4sifzwd.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 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).