From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [External] : Reading text properties from a yanked text Date: Sun, 27 Nov 2022 02:08:11 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22686"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Drew Adams , "emacs-devel@gnu.org" To: "Nicolas P. Rougier (inria)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 27 08:09:07 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 1ozBml-0005l3-9S for ged-emacs-devel@m.gmane-mx.org; Sun, 27 Nov 2022 08:09:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozBm1-0003JF-Kq; Sun, 27 Nov 2022 02:08:21 -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 1ozBlz-0003J1-DW for emacs-devel@gnu.org; Sun, 27 Nov 2022 02:08:19 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozBlw-0007vV-PB for emacs-devel@gnu.org; Sun, 27 Nov 2022 02:08:18 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 4F1C11000FB; Sun, 27 Nov 2022 02:08:14 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id B11FE1000D2; Sun, 27 Nov 2022 02:08:12 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1669532892; bh=JIC7xe1/PgB6J0FP2LKmpLlsbodcWdJSCwU5gnl6+JI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=JnaPQBk5y1ch+eXL+dXB+6Yilf7HsTE+x5fFhDa21Pj0kleLG149C8tHgmho/6H61 p+x+XzchC668PrswyC7yDJ8pEADTfijFNEvAsOLcvbmZRESSVEHzrEZlaaa8DAILoB OMt6dz5Fcp7m4zQNTQeNv/xxdTvkFgDHI2DQ2WOluclZ2jRcMpmEy+7BQR+bkJiS9T LWt+dhLu+h4tfA4eBBfEzSeygxBDhX1LqHAR2LYspAlJnI3j/axO+/6ykgwkOKftWM HT4cga9+kpFS9+m8LecfnhyeY1WswecHtfllnRjPgj1dhvnhW8IJDP73gzfRi0xg3q QjaD2Iih9rL/A== Original-Received: from pastel (unknown [104.247.241.157]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 86DAA120497; Sun, 27 Nov 2022 02:08:12 -0500 (EST) In-Reply-To: (Nicolas P. Rougier's message of "Sun, 27 Nov 2022 07:07:30 +0100") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:300614 Archived-At: Nicolas P. Rougier (inria) [2022-11-27 07:07:30] wrote: > Drew Adams [2022-11-26 at 23:03] wrote: >> Not sure what you're asking. >> But do either of these user options help? >> `yank-excluded-properties' >> `yank-handled-properties' > Thank for the pointer, I didn't you could configure yank properties. But in > the present case it does not seem to make a difference. Evaluating code of (foo "bar" baz) only pays attention to the characters in the code. Not to the text-properties applied to those characters. IOW the face applied to `foo`, or to `bar`, or to `baz` will have no effect on the return value of that piece of code. Stefan