unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Damien Elmes <emacs-devel@repose.cx>
Subject: Re: last character on line different when behind invis text?
Date: Mon, 26 Aug 2002 15:40:41 +1000	[thread overview]
Message-ID: <86k7meb2jq.fsf@mobile.repose.cx> (raw)
In-Reply-To: <87ofbq5hke.fsf@free.net.ph> (Sacha Chua's message of "26 Aug 2002 13:12:49 +0800")

Sacha Chua <sacha@free.net.ph> writes:

> (insert-string
>    (concat
>       "Line 1 with " (propertize "invisible text." 'invisible \t 'intangible t)
>     "\nLine 2 with " (propertize "invisible text." 'invisible t 'intangible t)
>     "\nLine 3 with visible text.\n"))

After that text is inserted into the buffer in CVS, you can also see that (c-x
=) doesn't identify the last char on a line as a C-j as in previous emacsen.

My guess is that end-of-visible-line is trying to skip over invisible
newlines? And because the newlines aren't appearing at the end of the line
anymore (even though they're not invisible), the semantics of its operation
have changed.

Regards,

-- 
Damien Elmes

  reply	other threads:[~2002-08-26  5:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-24 13:59 last character on line different when behind invis text? Damien Elmes
2002-08-26  0:36 ` Richard Stallman
2002-08-26  5:12   ` Sacha Chua
2002-08-26  5:40     ` Damien Elmes [this message]
2002-08-29 15:28       ` Damien Elmes
2002-08-31 16:58       ` Richard Stallman
2002-09-06 15:41         ` Damien Elmes
2002-09-07 10:29           ` Richard Stallman
2002-09-10 15:25             ` Damien Elmes

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=86k7meb2jq.fsf@mobile.repose.cx \
    --to=emacs-devel@repose.cx \
    /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).