From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: =?utf-8?B?UkU6IMKsIG5vdGF0aW9uIGZvciBub3Q/IFJlZjogQWRkIGEgY291cA==?= =?utf-8?B?bGUgY2VsbHMgdG8gbGlzcC1wcmV0dGlmeS1zeW1ib2xzLWFsaXN0?= Date: Sun, 10 Jul 2016 08:04:22 -0700 (PDT) Message-ID: <713910d3-3c5c-4b24-97c3-264921fe8494@default> References: <20160710052404.GA28783@holos.localdomain> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1468163125 23502 80.91.229.3 (10 Jul 2016 15:05:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2016 15:05:25 +0000 (UTC) To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 10 17:05:12 2016 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 1bMGIC-0005IT-38 for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2016 17:05:12 +0200 Original-Received: from localhost ([::1]:55542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMGIB-0000v9-EA for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2016 11:05:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMGHX-0000ut-Gp for emacs-devel@gnu.org; Sun, 10 Jul 2016 11:04:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMGHT-0003zq-6B for emacs-devel@gnu.org; Sun, 10 Jul 2016 11:04:30 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:47951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMGHS-0003zk-UG for emacs-devel@gnu.org; Sun, 10 Jul 2016 11:04:27 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u6AF4O58024001 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 10 Jul 2016 15:04:24 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u6AF4OuK001319 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 10 Jul 2016 15:04:24 GMT Original-Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u6AF4NGg015956; Sun, 10 Jul 2016 15:04:23 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:205502 Archived-At: Is there a check, e.g. optional, for whether a given character cdr for a `prettify-symbols-alist' entry is, as the only char in a symbol name, either `fboundp' or `boundp', before going ahead and prettifying the symbol that is the cdr of that alist entry? IOW, check whether, e.g., for an entry such as `("not" . ?=C2=AC)', (boundp '=C2=AC) or (fboundp '=C2=AC)? A cursory glance at the code didn't find such a check. Seems like it might be a good thing to add. If `=C2=AC' already exists as a function or variable, then you probably do not also want occurrences of the symbol `not' to be shown as `=C2=AC'. IOW, if the only guard for prettifying is `prettify-symbols-alist' then there could be cases of symbol-appearance capture. Sure, this would not be common, and sure, someone could turn off the mode if it is noticed. But it might also be good to make such a check available (optional).