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: [Emacs-diffs] master ff2f35f: Add TeX defaults for prettify-symbol-mode Date: Fri, 21 Aug 2015 20:04:45 +0200 Message-ID: <87y4h434ci.fsf@gnu.org> References: <20150821074038.9159.7628@vcs.savannah.gnu.org> <8737zc4n9q.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1440180308 7647 80.91.229.3 (21 Aug 2015 18:05:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Aug 2015 18:05:08 +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 20:05:00 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 1ZSqgU-0000Xq-Dr for ged-emacs-devel@m.gmane.org; Fri, 21 Aug 2015 20:04:58 +0200 Original-Received: from localhost ([::1]:43067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSqgT-0004mK-LO for ged-emacs-devel@m.gmane.org; Fri, 21 Aug 2015 14:04:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSqgP-0004ls-O0 for emacs-devel@gnu.org; Fri, 21 Aug 2015 14:04:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSqgK-0001cc-M1 for emacs-devel@gnu.org; Fri, 21 Aug 2015 14:04:53 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:47562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSqgK-0001bM-G2 for emacs-devel@gnu.org; Fri, 21 Aug 2015 14:04:48 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0C1A4202EF for ; Fri, 21 Aug 2015 14:04:48 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 21 Aug 2015 14:04:48 -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=TyxUrAxwWQMvGGCfRDgfaWQWoH4=; b=nqQWg lrPoyrcJnx26nArXA7fz+vUJm3Vm30IWfFU8JX4WBPWqw3Q3wdnBD1cWiYayxZOX N8rPlO3xe04NZ2vmdgS6uLu9PpLwDBAiNEa5eLg6BId6qU5o++VWMnx98pjZHP3W Ex0pFMeesf782VBpxT9jOv5L3QhCDoxR0258aE= X-Sasl-enc: WMecWmkXju0oMBUsEG8/nsKcJGj9ibRd97k1LMXH4gwW 1440180287 Original-Received: from thinkpad-t440p (unknown [2.163.198.26]) by mail.messagingengine.com (Postfix) with ESMTPA id 575C5680204; Fri, 21 Aug 2015 14:04:47 -0400 (EDT) Mail-Followup-To: Stefan Monnier , emacs-devel@gnu.org In-Reply-To: (Stefan Monnier's message of "Fri, 21 Aug 2015 13:22:56 -0400") 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:189055 Archived-At: Stefan Monnier writes: >> I don't understand. Should `prettify-symbols-compose-predicate' not >> be buffer-local by default but instead one should use > > I don't have an opinion on whether it should be "automatically > buffer-local" or not, but: I left it automatically buffer-local in order not to cause issues when a user wants to use his own predicate and uses `setq'. >> (add-function :override (local 'prettigy-symbols-compose-predicate) >> #'tex--prettify-symbols-compose-p) > > Yes, that's what I meant (tho with "prettigy" => "prettify", of > course) Don't prohibit my creativity! I'll push it anytime soon together with the etc/NEWS entry. Bye, Tassilo