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: Finding packages to enable by default Date: Wed, 11 Dec 2013 09:13:49 -0500 Message-ID: References: <87mwkgb74k.fsf@yandex.ru> <52A02473.8090005@gmx.at> <87d2laq3e5.fsf@yandex.ru> <52A1890A.2010500@gmx.at> <87k3fcoxk6.fsf@yandex.ru> <52A81EBF.1070202@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1386771256 20322 80.91.229.3 (11 Dec 2013 14:14:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Dec 2013 14:14:16 +0000 (UTC) Cc: Andrew Hyatt , emacs-devel , Tom , Bozhidar Batsov , Dmitry Gutov To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 11 15:14:21 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 1VqkYM-0001ki-8p for ged-emacs-devel@m.gmane.org; Wed, 11 Dec 2013 15:14:18 +0100 Original-Received: from localhost ([::1]:57418 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqkYL-0000Ht-N2 for ged-emacs-devel@m.gmane.org; Wed, 11 Dec 2013 09:14:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqkYB-0008Hy-4H for emacs-devel@gnu.org; Wed, 11 Dec 2013 09:14:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VqkY3-0001wV-2t for emacs-devel@gnu.org; Wed, 11 Dec 2013 09:14:07 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:36621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqkY2-0001wP-Td for emacs-devel@gnu.org; Wed, 11 Dec 2013 09:13:59 -0500 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id rBBEDm6K010144; Wed, 11 Dec 2013 09:13:49 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 70F4EAE321; Wed, 11 Dec 2013 09:13:49 -0500 (EST) In-Reply-To: <52A81EBF.1070202@gmx.at> (martin rudalics's message of "Wed, 11 Dec 2013 09:13:51 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4788=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4788> : inlines <301> : streams <1089087> : uri <1620869> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:166293 Archived-At: >> (save-excursion >> - (goto-char blinkpos) >> - (sit-for blink-matching-delay)))) >> + (move-overlay blink-matching--overlay blinkpos (1+ blinkpos) >> + (current-buffer)) >> + (overlay-put blink-matching--overlay >> + 'priority show-paren-priority) >> + (sit-for blink-matching-delay) >> + (delete-overlay blink-matching--overlay)))) > I think there's no more need to save the excursion here. Agreed. OTOH there is a strong need for unwind-protect, in case the user hits C-g during the delay. One other problem: the show-paren-match face should be moved to simple.el or faces.el. > But maybe someone likes the old behavior and we should provide an option > (like a special value 'jump for `blink-matching-paren') to support it. I agree with Dmitry that we can wait. Stefan