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: Mon, 17 Jun 2013 12:27:56 -0400 Message-ID: References: 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 1371486487 4440 80.91.229.3 (17 Jun 2013 16:28:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Jun 2013 16:28:07 +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 18:28:04 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 1UocHh-0002lZ-RW for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2013 18:28:01 +0200 Original-Received: from localhost ([::1]:46285 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UocHh-0002tL-EO for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2013 12:28:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UocHe-0002t5-Bk for emacs-devel@gnu.org; Mon, 17 Jun 2013 12:27:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UocHd-00039a-BZ for emacs-devel@gnu.org; Mon, 17 Jun 2013 12:27:58 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:37578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UocHd-00039W-7m for emacs-devel@gnu.org; Mon, 17 Jun 2013 12:27:57 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlQJABK/CFFFpZVy/2dsb2JhbABEhke3RAQEexdzgh4BAQQBIzMjBQsLDgwCGA4CAhQYDSSIHgauX5JOgSOOVIETA6R6gV6DEw X-IPAS-Result: AlQJABK/CFFFpZVy/2dsb2JhbABEhke3RAQEexdzgh4BAQQBIzMjBQsLDgwCGA4CAhQYDSSIHgauX5JOgSOOVIETA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="16565325" Original-Received: from 69-165-149-114.dsl.teksavvy.com (HELO pastel.home) ([69.165.149.114]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 17 Jun 2013 12:27:51 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 3A61562CA7; Mon, 17 Jun 2013 12:27:56 -0400 (EDT) In-Reply-To: (Juanma Barranquero's message of "Mon, 17 Jun 2013 18:04:40 +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:160510 Archived-At: > Speaking of which... Why is this symbol prettification some > semi-obscure feature of programming modes, instead of a minor mode to > be enabled by the user however he sees fit? Accident, mostly. Feel free to make it into a minor mode. The important part is that the actual symbols to handle vary between languages (e.g. mapping \ to =CE=BB makes sense for Haskell, but not for most other languages). Stefan