From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Barzilay Newsgroups: gmane.emacs.bugs Subject: bug#17507: Documentation for `add-text-property' and relatives Date: Fri, 16 Aug 2019 04:35:35 +0300 Message-ID: References: <21365.44878.936634.958813@home.barzilay.org> <87a7cbti4n.fsf@mouse.gnus.org> <83k1beqz6f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="183582"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 17507@debbugs.gnu.org, Lars Ingebrigtsen To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 16 03:36:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hyRA4-000lb5-9w for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Aug 2019 03:36:12 +0200 Original-Received: from localhost ([::1]:48358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyRA2-00084X-Jt for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Aug 2019 21:36:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56609) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyR9v-00084J-Fn for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 21:36:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyR9u-0004Ik-8j for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 21:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43980) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hyR9u-0004IK-5M for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 21:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hyR9u-00051t-0Y for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 21:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Barzilay Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Aug 2019 01:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17507 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 17507-submit@debbugs.gnu.org id=B17507.156591935519321 (code B ref 17507); Fri, 16 Aug 2019 01:36:01 +0000 Original-Received: (at 17507) by debbugs.gnu.org; 16 Aug 2019 01:35:55 +0000 Original-Received: from localhost ([127.0.0.1]:52801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyR9n-00051Z-0x for submit@debbugs.gnu.org; Thu, 15 Aug 2019 21:35:55 -0400 Original-Received: from mail-ua1-f65.google.com ([209.85.222.65]:40022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyR9k-00051J-6p for 17507@debbugs.gnu.org; Thu, 15 Aug 2019 21:35:53 -0400 Original-Received: by mail-ua1-f65.google.com with SMTP id s4so1502679uad.7 for <17507@debbugs.gnu.org>; Thu, 15 Aug 2019 18:35:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=barzilay-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iqYl/E/vBxO+ewgXoQstB3DOd6wihTBoYIod+AllclQ=; b=sz/rRRrE1YhGi1Ljiire1OlHg+Tc/PHnVC7l8n+qFXnfGrXfCz+Ct8n/XYN6wv1/ff TTuZ1o3qGLfnvM0vSW3EAd/v5sQSMhW+s9VQMOkVHT0by3/SrKpHB4LOymkUsj2vG8XC W9rvnq9jBiVkjvmpZv7YGPnHzXTvg/IKgsA2yyOo39ipmgAPdErEcyW12kHsFcB2nO81 SEMq1aaU6UnPME78BbTXjmr78OdMw5xL1NbcvwzzcNtQ4i+3YoZdikZWBE/y5vHPJOAq J8hejur4tk+YdgloFkh0N239UMTmhOudyaM6Ku62Yk4yAU0S8aDUIip1ij2hBd2dmhzn m7GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iqYl/E/vBxO+ewgXoQstB3DOd6wihTBoYIod+AllclQ=; b=L+eXRuP0hixmXtf/5yptSofW4kqIY6rSbdBKc5wM8DdP/UZnSVtxHjcoLBdIinwO5O M6h2mjGWN4YNHsAUmsmaIvQr+s56dH5kgjIz73LGxoEBjL6SnHV1tCoIt3avlNKkF9uv jkbjY/CndeQ3i08Ji8fkTJbk8GANU0R0kveQImm6qrVsuy3zcb6rOVhWO3JwSkwFKUwi 2HG+KUAqfKWBYHjsntR+kcBpPMl+ZAoJYbdfwKx0tG7R8l/wW46ses+4NlXhkuNXk7Ow /VXUPqQudtw6x7BdW1WvjIP2gkp3epLfsBU5BSYmznOC6bVDbnEBMYm/H1A9gX77HXG2 K8rw== X-Gm-Message-State: APjAAAWMAkJ6t0deFrLrI0fzSKZAJ89NjNzfbNjna/FDCLqzBPSefRlP J4JF5YSUZxoFTrQ3HHUAUck1bhEm0GXVPjO8TyQeFw== X-Google-Smtp-Source: APXvYqwxdOnur/JUmFoLuT1hAnhQrv2w5ML6+8pWSt6wPGUVXc3dnsVd+aSPEKypZY8M9YrI20ZtCHYP/t9wS11FfLE= X-Received: by 2002:ab0:7812:: with SMTP id x18mr5018448uaq.67.1565919346242; Thu, 15 Aug 2019 18:35:46 -0700 (PDT) In-Reply-To: <83k1beqz6f.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:165176 Archived-At: In lisps you can mutate properties of an object, but you cannot change the pointer itself. I think that another way to clarify it would be to say that "foo" is actually shorthand for #("foo") but the #() is omitted for brevity. But at this point this is subjective enough to be ignorable... On Thu, Aug 15, 2019 at 5:30 PM Eli Zaretskii wrote: > > > From: Eli Barzilay > > Date: Thu, 15 Aug 2019 06:41:17 +0300 > > Cc: 17507@debbugs.gnu.org > > > > Um... Note that I referred *explicitly* to other lisps and schemes. > > The assumption that I'm talking about would hold for people who are > > used to CL too: a string is indeed more than just a pointer bytes with > > a NUL at the end, yet there is no way to change a *property* of "foo" > > and end up with #("foo" stuff...). > > Can you explain in more detail what did you think was missing from the > manual? I've read the original report, and I admit I didn't > understand what was the essence of your difficulty. > > Thanks. -- ((x=>x(x))(x=>x(x))) Eli Barzilay: http://barzilay.org/ Maze is Life!