From unknown Mon Aug 18 11:10:38 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#3875 <3875@debbugs.gnu.org> To: bug#3875 <3875@debbugs.gnu.org> Subject: Status: 23.1.50; buffer-substring does not copy the 'invisible property Reply-To: bug#3875 <3875@debbugs.gnu.org> Date: Mon, 18 Aug 2025 18:10:38 +0000 retitle 3875 23.1.50; buffer-substring does not copy the 'invisible property reassign 3875 emacs submitter 3875 Lennart Borgman severity 3875 normal thanks From lennart.borgman@gmail.com Fri Jul 17 18:33:06 2009 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' From lennart.borgman@gmail.com Fri Jul 17 19:14:49 2009 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: Subject: Re: bug#3875: 23.1.50; buffer-substring does not copy the 'invisible property 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 monnier@iro.umontreal.ca Sat Jul 18 22:36:25 2009 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 Subject: Re: bug#3875: 23.1.50; buffer-substring does not copy the 'invisible property 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 lennart.borgman@gmail.com Sun Jul 19 06:56:16 2009 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: Subject: Re: bug#3875: 23.1.50; buffer-substring does not copy the 'invisible property 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 monnier@iro.umontreal.ca Sun Jul 19 17:41:12 2009 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 From unknown Mon Aug 18 11:10:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Mon, 17 Aug 2009 14:24:11 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator