From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: `add-face' Date: Wed, 24 Oct 2012 20:54:36 +0200 Message-ID: References: <87harbgnez.fsf@gnus.org> <87wr06tqj9.fsf@gnu.org> <87wr06gg30.fsf@gnus.org> <87pq5yq7sb.fsf@gnu.org> <87r4qegd3w.fsf@gnus.org> <87pq5vvgjj.fsf@gnu.org> <87bohf14s2.fsf@gnus.org> <87zk4y379i.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1351104895 22668 80.91.229.3 (24 Oct 2012 18:54:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2012 18:54:55 +0000 (UTC) Cc: Wolfgang Jenkner , emacs devel To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 24 20:55:02 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TR66Y-0000xU-HE for ged-emacs-devel@m.gmane.org; Wed, 24 Oct 2012 20:55:02 +0200 Original-Received: from localhost ([::1]:48341 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR66Q-0006BP-U5 for ged-emacs-devel@m.gmane.org; Wed, 24 Oct 2012 14:54:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR66O-0006AY-ED for emacs-devel@gnu.org; Wed, 24 Oct 2012 14:54:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TR66M-00076J-4m for emacs-devel@gnu.org; Wed, 24 Oct 2012 14:54:52 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:50067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR66L-00074P-Ud; Wed, 24 Oct 2012 14:54:50 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TR668-0005Uv-Oh; Wed, 24 Oct 2012 20:54:36 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUbFxUhERAfGRdZR0Y2 CAgsHx+ShYMbFRQ1ifgpAAACdUlEQVQ4jW2UzY6bMBSFbToS25gSZTs4oG5HNdA1iWm3JdgvUE9Z 4wrJr99zL8xMF7WQUPLl+NzfiOX/J4hMN433flJa4/3QOM/PWl8B6Dhri9oW9JabtScCjNwpl8La ONlBRnshsAo6D6XiNqToLlskhbiKtOZglbUqpaTxjlGpC4GUr3kqBxXT2jzqsoRiOIlPDER+guIP gnPbFqE8QBJClwO+7vwjRYCVzMHXVTSj6/w4mg4eTwh9Bzh+7oyx9xBsitLeNAN6ZoPTh2VxVkJx AIRLgGv0S0tJKc+CLQBQt/C6LL91VQ8o2yxWCkp8poIGXBV0hSSLZmbzVZyPmxYzwKMo6KqVPM6k YDBVWmQE9iIWpmcQKKLdnEGmev790rc3/SyEKt7KXvaBXChzmUduVGSgvr/yTf3yDeY/CigUg9MM D9MCvmhqsf4AFBWJXjS6pfwsLmxyulKopLI8HAAqcbjXY5yWVtMMEdgVtmcFMmeAkkQGajTkgcc/ nGWQGJTnHVDmnrKnIrKCgDHBjE5S2alROSvGPvRdb0x3k1Ip7jnncbEjNdebr5mkuSKwm1v00ITZ /PwSj6HePYoG5YWFcYNcy1vx2OcqX0tr0YvWtJj27ZgSvqqoEdUdQGGBKMO3cAtPdTLUD61prd4A XdVai6sobSzdkXlWOji3o5kwnlhFBkzUbAJKYRwpMPf+mMT8bO/djM+VUrK2dldAkKu78/j1BLlM 6t/qdu2EbaqQVYzHGrC56jr8B6gJycVtLd+LqBEuLX8V7RC3rN7zoLhK51RNqwzwVAzaz8eqxWZK VbwkXJUStuAdoJDp42QEzH9PH/4CwywOGOUbtpUAAAAASUVORK5CYII= X-Now-Playing: Mika Vaino, Kevin Drumm, Axel =?iso-8859-1?Q?D=F6rner=2C?= Lucio Capece's _Venexia_: "(untitled)" In-Reply-To: <87zk4y379i.fsf@gnu.org> (Chong Yidong's message of "Mon, 10 Sep 2012 11:07:37 +0800") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) X-MailScanner-ID: 1TR668-0005Uv-Oh MailScanner-NULL-Check: 1351709676.85784@nAJTBK2vVksVpSP3Ohu2ow X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154492 Archived-At: Chong Yidong writes: >> + If NOREPLACE, add the text properties instead of replacing any >> + existing ones. This is mainly useful for faces. [...] > This is too vague. What does "add the text properties" mean? If the > current value of a property is nil, and the argument to > add-text-properties specifies a value `foo', does the new value become > `foo' or `(foo)'? The former, but it probably doesn't matter? > If the current value is `1', does the new value become `(foo 1)' or > something else? `(foo 1)' is, I think, the only reasonable way to interpret "add". > And, specifically for face properties, what if the current value is a > list specifying an anonymous face, like `(:foreground "black")'? Oh, it doesn't. Hm. That's a problem... is there any reliable way to distinguish `(:foreground "black")' from `(bold italic)'? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/