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: =?iso-8859-1?B?UkU6IKwgbm90YXRpb24gZm9yIG5vdD8gUmVmOiBBZGQgYSBjb3Vw?= =?iso-8859-1?B?bGUgY2VsbHMgdG8gbGlzcC1wcmV0dGlmeS1zeW1ib2xzLWFsaXN0?= Date: Fri, 15 Jul 2016 07:46:56 -0700 (PDT) Message-ID: References: <578801A0.4040306@gmail.com> <87oa5zx35d.fsf@udel.edu> <87d1mfuh05.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1468594098 4767 80.91.229.3 (15 Jul 2016 14:48:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2016 14:48:18 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 15 16:48:06 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 1bO4PJ-0002ci-Bq for ged-emacs-devel@m.gmane.org; Fri, 15 Jul 2016 16:48:01 +0200 Original-Received: from localhost ([::1]:32970 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bO4PD-0002Jz-LZ for ged-emacs-devel@m.gmane.org; Fri, 15 Jul 2016 10:47:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bO4OT-0002Jc-Er for emacs-devel@gnu.org; Fri, 15 Jul 2016 10:47:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bO4OP-0002Ip-7B for emacs-devel@gnu.org; Fri, 15 Jul 2016 10:47:08 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:51475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bO4OO-0002Ic-V8 for emacs-devel@gnu.org; Fri, 15 Jul 2016 10:47:05 -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 u6FEl1no028782 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 15 Jul 2016 14:47:02 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 u6FEl0en011264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 15 Jul 2016 14:47:01 GMT Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u6FEkvIS000438 for ; Fri, 15 Jul 2016 14:47:00 GMT In-Reply-To: <87d1mfuh05.fsf@lifelogs.com> 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:205715 Archived-At: > SM> Hopefully someone will work on adding support for user-customization = so > SM> we can have other options than "include it for all, or include it for > SM> none". >=20 > I proposed tagging each prettification entry, so the user can customize > the tags. You said it was not right; what kind of customization are you > proposing? I hope we agree on it here before it gets committed. And I proposed guarding prettification not only by checking `prettify-symbols-alist' for a match, by also by ensuring that the function or variable of a match is not `fboundp' or `boundp'. At least do so optionally (i.e., customization). E.g., ensure that "=AC" does not name a symbol that has a function or variable value. If `=AC' is already bound to some function or variable then you probably do not want to alias function `not' to it. Emacs allows most characters in function and variable names. Just because `prettify-symbols-alist' might have an entry for a given string, that does not mean that the user wants to clobber any existing function or variable that has that name.