GNU bug report logs - #3400
Let C-x = show info about visible and invisible text near point

Previous Next

Package: emacs;

Reported by: Werner LEMBERG <wl <at> gnu.org>

Date: Wed, 27 May 2009 09:00:04 UTC

Severity: wishlist

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Werner LEMBERG <wl <at> gnu.org>, 3400 <at> debbugs.gnu.org
Subject: bug#3400: bug in add-text-properties
Date: Thu, 28 May 2009 17:15:29 +0200
> The first line properly disappears, however, the first character in
> the now visible part of the buffer (the letter `a') makes problems: It
> incorrectly refers to the character at buffer position 1 (the digit
> `1').  In particular, `C-u C-x =' for letter `a' shows
>
> ---
>
>         character: 1 (49, #o61, #x31)
[...]
> There are text properties here:
>   intangible           t
>   invisible            t

`add-text-properties' describes the character after point and when you
call `describe-char' point is at the beginning of the buffer.  So IMHO
this is not a bug in `add-text-properties'.  It's arguable whether point
should be allowed to be there in your case, but then where to move point
when the entire buffer is invisible?

> A side effect is that `C-a' no longer moves to the beginning of the
> line.

A side effect of what?

martin



This bug report was last modified 3 years and 27 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.