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 188f657: Fix false negatives in tex--prettify-symbols-compose-p. Date: Thu, 01 Oct 2015 13:45:00 +0200 Message-ID: <87vbaqhkxv.fsf@gnu.org> References: <20150925210512.18505.12538@vcs.savannah.gnu.org> <8737xxjtkq.fsf@gnu.org> <87wpv8mgeh.fsf@gnu.org> <87bnckmbhd.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1443714582 27483 80.91.229.3 (1 Oct 2015 15:49:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2015 15:49:42 +0000 (UTC) Cc: emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 01 17:49:35 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 1Zhg6w-00085t-FH for ged-emacs-devel@m.gmane.org; Thu, 01 Oct 2015 17:49:34 +0200 Original-Received: from localhost ([::1]:52159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhg6v-0002Hp-RY for ged-emacs-devel@m.gmane.org; Thu, 01 Oct 2015 11:49:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhcIP-00017M-1I for emacs-devel@gnu.org; Thu, 01 Oct 2015 07:45:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhcIG-0005qw-On for emacs-devel@gnu.org; Thu, 01 Oct 2015 07:45:08 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:60578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhcIG-0005qj-K8 for emacs-devel@gnu.org; Thu, 01 Oct 2015 07:45:00 -0400 Original-Received: from thinkpad-t440p (dhcp145.uni-koblenz.de [141.26.71.145]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 5E5C01A8367; Thu, 1 Oct 2015 13:45:00 +0200 (CEST) Mail-Followup-To: Artur Malabarba , emacs-devel In-Reply-To: (Artur Malabarba's message of "Thu, 1 Oct 2015 02:19:30 +0100") 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.6.x X-Received-From: 141.26.64.15 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:190553 Archived-At: Artur Malabarba writes: >>> Alright. I tested the code now and it works well. My only suggestion >>> would be to change this: >>> (< (point) (car prettify-symbols--current-symbol-bounds)) >>> to this: >>> (<= (point) (car prettify-symbols--current-symbol-bounds)) >>> But I guess that's more of a personal preference. >> >> Yes, I think so too. But feel free to add that feature, e.g., by having >> another possibile value for `prettify-symbols-unprettify-at-point'. > > Done! After trying 'right-edge it turned out that I also prefer this behavior. :-) Thanks, Tassilo