From unknown Mon Aug 18 11:20:57 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3875: 23.1.50; buffer-substring does not copy the 'invisible property Reply-To: Lennart Borgman , 3875@debbugs.gnu.org Resent-From: Lennart Borgman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 18 Jul 2009 01:40:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 3875 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124788078719812 (code B ref -1); Sat, 18 Jul 2009 01:40:06 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 18 Jul 2009 01:33:07 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.9 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6I1X2v1019807 for ; Fri, 17 Jul 2009 18:33:04 -0700 Received: from mx10.gnu.org ([199.232.76.166]:51762) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MRynO-0002y7-8h for emacs-pretest-bug@gnu.org; Fri, 17 Jul 2009 21:33:02 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MRynN-0005EL-HH for emacs-pretest-bug@gnu.org; Fri, 17 Jul 2009 21:33:02 -0400 Received: from mail-fx0-f215.google.com ([209.85.220.215]:47988) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRynN-0005E7-8F for emacs-pretest-bug@gnu.org; Fri, 17 Jul 2009 21:33:01 -0400 Received: by fxm11 with SMTP id 11so264578fxm.42 for ; Fri, 17 Jul 2009 18:32:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=3ZiERnldASc+/qnRTz0djOIyK8kf7n7AthAkil1xk+A=; b=oFruXUJ1ETisdx3x2pbwyChIr3o+zY7CwGfcpDLYR2nzZo9lcq+AXndYyqPV0fuaDD 8t7X9iB2qufTDQkjpiDmTdDoxDxofO0kjMuKDsvwrqverjwq+w0swlnv+yVLHmk3TSmm ur9nXX8XOuu3XwIfUzKQ49M2aN95g4rCGVOFY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=dVVlnz2GNbTAmV3dSLgoDucL3kiWyKW4Qkf7sZkctKFiZhmEYKUFUQTdGyfUtejDC+ 79uwN2aJTuEqu3BN+dBmx23PyH1u96HNr+u0YQWD1xZoXP1jp+wsboHKa81cTWeQBDBz YIUBxwaASbvKMXMqwiz8AQnDUNtjxnuPsLUOc= MIME-Version: 1.0 Received: by 10.204.69.66 with SMTP id y2mr1534349bki.49.1247880779579; Fri, 17 Jul 2009 18:32:59 -0700 (PDT) Date: Sat, 18 Jul 2009 03:32:59 +0200 Message-ID: From: Lennart Borgman To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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' From unknown Mon Aug 18 11:20:57 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3875: 23.1.50; buffer-substring does not copy the 'invisible property Reply-To: Lennart Borgman , 3875@debbugs.gnu.org Resent-From: Lennart Borgman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 18 Jul 2009 02:20:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3875 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3875-submit@emacsbugs.donarmstrong.com id=B3875.124788328926607 (code B ref 3875); Sat, 18 Jul 2009 02:20:04 +0000 Received: (at 3875) by emacsbugs.donarmstrong.com; 18 Jul 2009 02:14:49 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.4 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-bw0-f223.google.com (mail-bw0-f223.google.com [209.85.218.223]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6I2EiTg026595 for <3875@emacsbugs.donarmstrong.com>; Fri, 17 Jul 2009 19:14:46 -0700 Received: by bwz23 with SMTP id 23so1084446bwz.1 for <3875@emacsbugs.donarmstrong.com>; Fri, 17 Jul 2009 19:14:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ds8LQ9NFHWp6YkbNkyD3aJZMCZYzSZ+tA3Q2h6rSs9k=; b=WNKkgLOI7zT9vaj11g5uY1R3T90PT1onVqPFBAsmLDWNzKnupuEzSi5OMuPHykQ5vA vlUXKnenggBxXP5GuKBb43emJaRlUKAHOtHx3JITBRfZWynQU+uBnp8Qe/1iexKoSU/6 cYOrMzvUvXlai1NJ6IhCySCsDbNw15uVEjX9w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Qdqidao0IA2+fnv5N1SDyicdO/ojSxpy2wdiINrZUdooYNuoI74CoqIfQHbkXmLvbH MPpaWsR9t648C3u4w9RPtB3hs2VsYVdPhw7VCXxfVSwqLw5kwfpdfUAfwgsYAnKIQL5m KLomHy1qpmt+BFbS4c81CrmEERTUH9ewUzSXI= MIME-Version: 1.0 Received: by 10.204.71.15 with SMTP id f15mr1590193bkj.42.1247883278994; Fri, 17 Jul 2009 19:14:38 -0700 (PDT) In-Reply-To: References: Date: Sat, 18 Jul 2009 04:14:38 +0200 Message-ID: From: Lennart Borgman To: 3875@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Actually it looks like next-property-change etc also forgets `invisible'. From unknown Mon Aug 18 11:20:57 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3875: 23.1.50; buffer-substring does not copy the 'invisible property Reply-To: Stefan Monnier , 3875@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 19 Jul 2009 05:40:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3875 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3875-submit@emacsbugs.donarmstrong.com id=B3875.12479817859108 (code B ref 3875); Sun, 19 Jul 2009 05:40:07 +0000 Received: (at 3875) by emacsbugs.donarmstrong.com; 19 Jul 2009 05:36:25 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.3 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6J5aLp4008822 for <3875@emacsbugs.donarmstrong.com>; Sat, 18 Jul 2009 22:36:22 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqsEAGNNYkpFpYWY/2dsb2JhbACBUcoShAwFhwI X-IronPort-AV: E=Sophos;i="4.43,229,1246852800"; d="scan'208";a="41858026" Received: from 69-165-133-152.dsl.teksavvy.com (HELO pastel.home) ([69.165.133.152]) by ironport2-out.teksavvy.com with ESMTP; 19 Jul 2009 01:36:15 -0400 Received: by pastel.home (Postfix, from userid 20848) id F327780B0; Sun, 19 Jul 2009 01:36:14 -0400 (EDT) From: Stefan Monnier To: Lennart Borgman Cc: 3875@debbugs.gnu.org Message-ID: References: Date: Sun, 19 Jul 2009 01:36:14 -0400 In-Reply-To: (Lennart Borgman's message of "Sat, 18 Jul 2009 04:14:38 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > Actually it looks like next-property-change etc also forgets `invisible'. That seems highly unlikely. Please post a recipe. Stefan From unknown Mon Aug 18 11:20:57 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3875: 23.1.50; buffer-substring does not copy the 'invisible property Reply-To: Lennart Borgman , 3875@debbugs.gnu.org Resent-From: Lennart Borgman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 19 Jul 2009 14:05:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3875 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3875-submit@emacsbugs.donarmstrong.com id=B3875.124801177628148 (code B ref 3875); Sun, 19 Jul 2009 14:05:05 +0000 Received: (at 3875) by emacsbugs.donarmstrong.com; 19 Jul 2009 13:56:16 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.4 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-fx0-f213.google.com (mail-fx0-f213.google.com [209.85.220.213]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6JDuBrL028023 for <3875@emacsbugs.donarmstrong.com>; Sun, 19 Jul 2009 06:56:13 -0700 Received: by fxm9 with SMTP id 9so1627917fxm.1 for <3875@emacsbugs.donarmstrong.com>; Sun, 19 Jul 2009 06:56:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=oNJMTS7vP8ZBllo5CkFeIeG31u2+2SKQuBjzAqDACaA=; b=xrjgsAkXq7YPslThR4M/fW2Q2CxUAr0clBkx1P84hLI1xLkbwVoZwy7sb5cGnSpjn7 deNYaUFZz0o+Zc/v0BgYbpvAO4R7L5MWrnffdc5qRz9M+UUUYQNvyhX5go2+Sziu460x suIh+UThjd41tXhWO7gfPubUE0VK81PN8QzGQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=uB53U6/sVv76OJAIGO33F/S7s5PTRPKaSKA50fi9lYprwwj+NzunXkJxz1NFoJUA9B shT1PVNzRaiEgu1MyzikVSmjWGib7KbRfWSXfbgRzTOepMKLamT7pojL6L8vjxsC8AmC iC1GEx0AH+9M5IqsBz0z3mDd48cnJmBMO33nI= MIME-Version: 1.0 Received: by 10.223.123.129 with SMTP id p1mr888810far.29.1248011766194; Sun, 19 Jul 2009 06:56:06 -0700 (PDT) In-Reply-To: References: Date: Sun, 19 Jul 2009 15:56:06 +0200 Message-ID: From: Lennart Borgman To: Stefan Monnier Cc: 3875@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, Jul 19, 2009 at 7:36 AM, Stefan Monnier w= rote: >> Actually it looks like next-property-change etc also forgets `invisible'= . > > That seems highly unlikely. =C2=A0Please 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. From unknown Mon Aug 18 11:20:57 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Lennart Borgman Subject: bug#3875 closed by Stefan Monnier (Re: bug#3875: 23.1.50; buffer-substring does not copy the 'invisible) Message-ID: References: X-Emacs-PR-Message: they-closed 3875 X-Emacs-PR-Package: emacs Reply-To: 3875@debbugs.gnu.org Date: Mon, 20 Jul 2009 00:45:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1248050704-10625-1" This is a multi-part message in MIME format... ------------=_1248050704-10625-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #3875: 23.1.50; buffer-substring does not copy the 'invisible property It has been closed by Stefan Monnier . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Stefan Monnier by replying to this email. --=20 3875: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3875 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1248050704-10625-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3875-close) by emacsbugs.donarmstrong.com; 20 Jul 2009 00:41:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.3 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6K0f7FR010190 for <3875-close@emacsbugs.donarmstrong.com>; Sun, 19 Jul 2009 17:41:08 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar8FAPtZY0pFpZqY/2dsb2JhbACBUco0hAwFhwI X-IronPort-AV: E=Sophos;i="4.43,231,1246852800"; d="scan'208";a="41875732" Received: from 69-165-154-152.dsl.teksavvy.com (HELO pastel.home) ([69.165.154.152]) by ironport2-out.teksavvy.com with ESMTP; 19 Jul 2009 20:41:01 -0400 Received: by pastel.home (Postfix, from userid 20848) id BBC1580B0; Sun, 19 Jul 2009 20:41:01 -0400 (EDT) From: Stefan Monnier To: Lennart Borgman Cc: 3875-close@debbugs.gnu.org Subject: Re: bug#3875: 23.1.50; buffer-substring does not copy the 'invisible Message-ID: References: Date: Sun, 19 Jul 2009 20:41:01 -0400 In-Reply-To: (Lennart Borgman's message of "Sun, 19 Jul 2009 15:56:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > 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@debbugs.gnu.org, just like this one. Stefan ------------=_1248050704-10625-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 18 Jul 2009 01:33:07 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.9 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6I1X2v1019807 for ; Fri, 17 Jul 2009 18:33:04 -0700 Received: from mx10.gnu.org ([199.232.76.166]:51762) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MRynO-0002y7-8h for emacs-pretest-bug@gnu.org; Fri, 17 Jul 2009 21:33:02 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MRynN-0005EL-HH for emacs-pretest-bug@gnu.org; Fri, 17 Jul 2009 21:33:02 -0400 Received: from mail-fx0-f215.google.com ([209.85.220.215]:47988) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRynN-0005E7-8F for emacs-pretest-bug@gnu.org; Fri, 17 Jul 2009 21:33:01 -0400 Received: by fxm11 with SMTP id 11so264578fxm.42 for ; Fri, 17 Jul 2009 18:32:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=3ZiERnldASc+/qnRTz0djOIyK8kf7n7AthAkil1xk+A=; b=oFruXUJ1ETisdx3x2pbwyChIr3o+zY7CwGfcpDLYR2nzZo9lcq+AXndYyqPV0fuaDD 8t7X9iB2qufTDQkjpiDmTdDoxDxofO0kjMuKDsvwrqverjwq+w0swlnv+yVLHmk3TSmm ur9nXX8XOuu3XwIfUzKQ49M2aN95g4rCGVOFY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=dVVlnz2GNbTAmV3dSLgoDucL3kiWyKW4Qkf7sZkctKFiZhmEYKUFUQTdGyfUtejDC+ 79uwN2aJTuEqu3BN+dBmx23PyH1u96HNr+u0YQWD1xZoXP1jp+wsboHKa81cTWeQBDBz YIUBxwaASbvKMXMqwiz8AQnDUNtjxnuPsLUOc= MIME-Version: 1.0 Received: by 10.204.69.66 with SMTP id y2mr1534349bki.49.1247880779579; Fri, 17 Jul 2009 18:32:59 -0700 (PDT) Date: Sat, 18 Jul 2009 03:32:59 +0200 Message-ID: Subject: 23.1.50; buffer-substring does not copy the 'invisible property From: Lennart Borgman To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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' ------------=_1248050704-10625-1--