From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Reading text properties from a yanked text Date: Thu, 01 Dec 2022 18:25:08 -0500 Message-ID: References: <83lenwrkjo.fsf@gnu.org> <83bkosrhxy.fsf@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4305"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, emacs-devel@gnu.org To: "Nicolas P. Rougier \(inria\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 02 00:26:24 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p0swg-0000uw-TK for ged-emacs-devel@m.gmane-mx.org; Fri, 02 Dec 2022 00:26:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0svm-0001Zt-UD; Thu, 01 Dec 2022 18:25:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0svY-0001WD-5s for emacs-devel@gnu.org; Thu, 01 Dec 2022 18:25:12 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0svV-0007MY-Lu; Thu, 01 Dec 2022 18:25:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=UN3ZPbHbX6F5N4sV+tvBPCDGTH+pyqUuXOmpcOAHUwY=; b=Twj0aCHKF7ee /xE9b4ypaNCwXMjfUaUB3T6jJHju8KhSa+Ood+3dmlxr6AcirKdBXEeoItryOr4fdp8HN1ba0e86x vov2PpCZG6EYbnRukRK2uwN5Qcqc9/fFnHUuWlqb5duJpoSgowV8eoG/bHJmrBMbBxHI/DqwgSkn4 HKgmymcaHqmpGxjS+q2HuCJeMBdNeicWT558ZaCZiQ8qeQXEHHeZSj60O93J/7nURf1XDhNbT7fA1 VwkRNttYAUuCGtHG3U9PAMZlDamlULTimjQlwVFA9NDWryyjI12Lf+GxZ321IWihZf5D2TKk47p5/ 3S4IJv2YicmDxARrpAc/YA==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1p0svU-0003h4-LU; Thu, 01 Dec 2022 18:25:08 -0500 In-Reply-To: (nicolas.rougier@inria.fr) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300826 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Because once again what you pass to text-properties-at is a > > different > > string. You are confusing how a string looks on display when > > inserted into > > a buffer with another string that just happens to have the same > > text. > Thanks to all of you. I think I'm understanding it now. My > confusion comes from a more complex code that I'm trying to debug > and I stumble on this specific case/confusion. Back to debug then. Is there anything in our documentation that we could change to help people understand this point? -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)