From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Interface of prog-prettification Date: Sun, 16 Jun 2013 21:00:03 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1371430811 25436 80.91.229.3 (17 Jun 2013 01:00:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Jun 2013 01:00:11 +0000 (UTC) Cc: Emacs developers To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 17 03:00:11 2013 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 1UoNnm-0003qY-5o for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2013 03:00:10 +0200 Original-Received: from localhost ([::1]:51624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoNnl-0007wQ-RU for ged-emacs-devel@m.gmane.org; Sun, 16 Jun 2013 21:00:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoNnh-0007tQ-V9 for emacs-devel@gnu.org; Sun, 16 Jun 2013 21:00:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoNnh-0008Fc-4k for emacs-devel@gnu.org; Sun, 16 Jun 2013 21:00:05 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:32183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoNnh-0008EH-1f for emacs-devel@gnu.org; Sun, 16 Jun 2013 21:00:05 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpZVy/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAsOJhIUGA0kiB4GwS2RCgOkeoFegxM X-IPAS-Result: Av4EABK/CFFFpZVy/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAsOJhIUGA0kiB4GwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="16527330" Original-Received: from 69-165-149-114.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.165.149.114]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 16 Jun 2013 20:59:59 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 0A11DAE0C1; Sun, 16 Jun 2013 21:00:04 -0400 (EDT) In-Reply-To: (Juanma Barranquero's message of "Mon, 17 Jun 2013 01:41:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:160485 Archived-At: >> Oh, I hadn't noticed you made prog-prettify-symbols into a defcustom. >> I think that's a mistake. > Agreed about defcustom, but allowing the user to extend it (via lisp > code) seems useful. That would be OK, indeed. Maybe prog-prettify-install should add to prog-prettify-symbols-alist rather than just set it. Or maybe we should just throw away prog-prettify-symbols-alist and pass the alist to prog-prettify-font-lock-symbols-keywords instead. Stefan