From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.devel Subject: Re: Idea: Be able to use text properties as face attributes Date: Wed, 29 Mar 2017 17:41:28 +0200 Message-ID: <87lgrom6on.fsf@luca> References: <7a902f7b-d808-4d0f-8ff9-b8f07eaddf83@default>>>> <83h92e93ip.fsf@gnu.org>>>> <8080a162-700f-42cc-aec9-5fdd7c646297@default>>> <8360iu8sdm.fsf@gnu.org>>> <19e94d18-656f-4a8f-8843-4d46ffdd037b@default>> <83shlx782i.fsf@gnu.org>> <403a3ff2-464f-4eb5-9843-60592e786955@default> <83a8846srr.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1490802156 7158 195.159.176.226 (29 Mar 2017 15:42:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 29 Mar 2017 15:42:36 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Eli Zaretskii , Drew Adams , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 29 17:42:33 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ctFju-00010M-SA for ged-emacs-devel@m.gmane.org; Wed, 29 Mar 2017 17:42:26 +0200 Original-Received: from localhost ([::1]:59656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctFk0-0005n9-VX for ged-emacs-devel@m.gmane.org; Wed, 29 Mar 2017 11:42:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctFjQ-0005mv-Rd for emacs-devel@gnu.org; Wed, 29 Mar 2017 11:42:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ctFjN-0005sh-57 for emacs-devel@gnu.org; Wed, 29 Mar 2017 11:41:56 -0400 Original-Received: from gateway-a.fh-trier.de ([143.93.54.181]:58017) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ctFjI-0005qc-Pj; Wed, 29 Mar 2017 11:41:49 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Original-Received: from localhost (ip5f5bdecf.dynamic.kabel-deutschland.de [95.91.222.207]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 6515B179B776; Wed, 29 Mar 2017 17:41:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1490802089; bh=ABeC+uhntzr2m2ZyKAE9k/i5qdI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=PRk/gDwnI8AO0BhPm3vnJWBd5XW/b0BP1nZN7hPBsdXD1CpgujFiT+Fk/kVJ+yNxZ DfYnWx090eML046JiuQqfPzVVR62rSf9LHwVnePC3MZC8OdbvlBzeS4MAvUVCAKHa4 j60wSTO0cy5pcXKzLqXt+suFqACzlv/oeh3ZQpKg= In-Reply-To: (Lars Ingebrigtsen's message of "Wed, 29 Mar 2017 17:21:05 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-Received-From: 143.93.54.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213503 Archived-At: Lars Ingebrigtsen writes: > Or does set-text-properties copy PROPERTIES before putting them on the > text? I have neither tested nor read the source code. emacs/src/textprop.c:set_properties: /* Store new properties. */ set_interval_plist (interval, Fcopy_sequence (properties)); -ap