GNU bug report logs - #3875
23.1.50; buffer-substring does not copy the 'invisible property

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Sat, 18 Jul 2009 01:40:06 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3875 in the body.
You can then email your comments to 3875 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3875; Package emacs. (Sat, 18 Jul 2009 01:40:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 18 Jul 2009 01:40:06 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.1.50; buffer-substring does not copy the 'invisible property
Date: Sat, 18 Jul 2009 03:32:59 +0200
A simple test in for example an org-mode buffer shows this. The doc
string says it should copy the properties.

How do I get a buffer substring with the text property 'invisible too?
Do I have to search them in the buffer and apply them to the string?
In that case should not Emacs have a function to do this?


In GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600)
 of 2009-06-30
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags
-Ic:/g/include -fno-crossjumping'



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3875; Package emacs. (Sat, 18 Jul 2009 02:20:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 18 Jul 2009 02:20:05 GMT) Full text and rfc822 format available.

Message #10 received at 3875 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: 3875 <at> debbugs.gnu.org
Subject: Re: bug#3875: 23.1.50; buffer-substring does not copy the 'invisible 
	property
Date: Sat, 18 Jul 2009 04:14:38 +0200
Actually it looks like next-property-change etc also forgets `invisible'.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3875; Package emacs. (Sun, 19 Jul 2009 05:40:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 19 Jul 2009 05:40:07 GMT) Full text and rfc822 format available.

Message #15 received at 3875 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: 3875 <at> debbugs.gnu.org
Subject: Re: bug#3875: 23.1.50; buffer-substring does not copy the 'invisible  property
Date: Sun, 19 Jul 2009 01:36:14 -0400
> Actually it looks like next-property-change etc also forgets `invisible'.

That seems highly unlikely.  Please post a recipe.


        Stefan



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3875; Package emacs. (Sun, 19 Jul 2009 14:05:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 19 Jul 2009 14:05:07 GMT) Full text and rfc822 format available.

Message #20 received at 3875 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 3875 <at> debbugs.gnu.org
Subject: Re: bug#3875: 23.1.50; buffer-substring does not copy the 'invisible 
	property
Date: Sun, 19 Jul 2009 15:56:06 +0200
On Sun, Jul 19, 2009 at 7:36 AM, Stefan Monnier<monnier <at> iro.umontreal.ca> wrote:
>> Actually it looks like next-property-change etc also forgets `invisible'.
>
> That seems highly unlikely.  Please post a recipe.


You are right. I was confusing next-property-change and
next-char-property-change.

Org mode uses overlays to make body parts invisible. So these is not
the bug I am hunting. Please close this.



Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Mon, 20 Jul 2009 00:45:04 GMT) Full text and rfc822 format available.

Notification sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
bug acknowledged by developer. (Mon, 20 Jul 2009 00:45:04 GMT) Full text and rfc822 format available.

Message #25 received at 3875-close <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: 3875-close <at> debbugs.gnu.org
Subject: Re: bug#3875: 23.1.50; buffer-substring does not copy the 'invisible
Date: Sun, 19 Jul 2009 20:41:01 -0400
> Org mode uses overlays to make body parts invisible. So these is not
> the bug I am hunting. Please close this.

You can close this yourself by sending an email to
NNN-close <at> debbugs.gnu.org, just like this one.


        Stefan



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Mon, 17 Aug 2009 14:24:11 GMT) Full text and rfc822 format available.

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

Previous Next


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