From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Generalizing prettify-symbols-mode Date: Fri, 21 Aug 2015 09:43:02 +0200 Message-ID: <87io89axyx.fsf@gnu.org> References: <87oaia6ict.fsf@mat.ucm.es> <837foxor1t.fsf@gnu.org> <878u9d7vdg.fsf@mat.ucm.es> <87pp2pq2ht.fsf@gnu.org> <87wpwx68cn.fsf@mat.ucm.es> <87mvxqxtif.fsf@gnu.org> <838u9alzly.fsf@gnu.org> <874mjyaqm8.fsf@fencepost.gnu.org> <87d1yl2dq9.fsf@gnu.org> <87r3mz91h2.fsf@gnu.org> <877foqidkv.fsf_-_@gnu.org> <87mvxlb0hz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1440143002 13576 80.91.229.3 (21 Aug 2015 07:43:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Aug 2015 07:43:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 21 09:43:14 2015 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 1ZSgyo-0001P6-5C for ged-emacs-devel@m.gmane.org; Fri, 21 Aug 2015 09:43:14 +0200 Original-Received: from localhost ([::1]:40263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSgyn-000415-Dg for ged-emacs-devel@m.gmane.org; Fri, 21 Aug 2015 03:43:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSgyj-00040h-DS for emacs-devel@gnu.org; Fri, 21 Aug 2015 03:43:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSgyg-0005kV-58 for emacs-devel@gnu.org; Fri, 21 Aug 2015 03:43:09 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:45074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSgyg-0005kO-1W for emacs-devel@gnu.org; Fri, 21 Aug 2015 03:43:06 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 955D620938 for ; Fri, 21 Aug 2015 03:43:05 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Fri, 21 Aug 2015 03:43:05 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=Nhv0U4A8749jfbdQdusylur6Goc=; b=SpE1z AYEZBiaSRRA0/RF68U6W1X5IGFggdc/ksrW1I/OkSpYWZR8ZgJ/1VdTYe5sVbEh5 WG+n6Js/Dka8C294gf140TV/fqXzIFnmH+lysLlSgF+GbJw6ypum4BUX+oIqfJxZ ARzStsQyG+wEBb1wM+vSG+0h9R5Z2sm9bUpEd0= X-Sasl-enc: UN2lakncT7eA94eRirE36T+4IaIobXdLOH/g6hb0bPP6 1440142985 Original-Received: from thinkpad-t440p (unknown [2.162.146.245]) by mail.messagingengine.com (Postfix) with ESMTPA id EB9D96800F4; Fri, 21 Aug 2015 03:43:04 -0400 (EDT) Mail-Followup-To: Stefan Monnier , emacs-devel@gnu.org In-Reply-To: <87mvxlb0hz.fsf@gnu.org> (Tassilo Horn's message of "Fri, 21 Aug 2015 08:48:24 +0200") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.26 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:189023 Archived-At: Tassilo Horn writes: >>> Is the below what you are suggesting? >> >> Pretty much, yes. See nitpicks below. > > Ok, I've pushed it after changing the things you've suggested. Ok, I've also pushed a change to tex-mode.el which adds a custom `prettify-symbols-compose-predicate'. It's quite likely that there are still some cornercases but it handles at least the \alpha2 case as you suggested. Bye, Tassilo