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: /srv/bzr/emacs/trunk r101338: * lisp/emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch Date: Mon, 17 Feb 2014 18:42:56 -0500 Message-ID: References: <52F96284.50507@yandex.ru> <52FAE12B.6060101@yandex.ru> <52FC3BEE.60604@yandex.ru> <52FCD2B4.5080006@yandex.ru> <52FD9F1D.50205@yandex.ru> <83mwhucg1h.fsf@gnu.org> <878ute589i.fsf@fencepost.gnu.org> <83d2iqc84m.fsf@gnu.org> <87wqgxkcr9.fsf@yandex.ru> <834n41db0d.fsf@gnu.org> <87k3cw53d1.fsf@maru2.md5i.com> <83lhxcbzs2.fsf@gnu.org> <87zjlpslhs.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392680600 2896 80.91.229.3 (17 Feb 2014 23:43:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Feb 2014 23:43:20 +0000 (UTC) Cc: Michael Welsh Duggan , Juanma Barranquero , Eli Zaretskii , Emacs developers To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 18 00:43:24 2014 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 1WFXqO-00060c-4z for ged-emacs-devel@m.gmane.org; Tue, 18 Feb 2014 00:43:24 +0100 Original-Received: from localhost ([::1]:44958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFXqN-0004b8-LQ for ged-emacs-devel@m.gmane.org; Mon, 17 Feb 2014 18:43:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFXqD-0004QA-9J for emacs-devel@gnu.org; Mon, 17 Feb 2014 18:43:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFXq5-0005hy-Oe for emacs-devel@gnu.org; Mon, 17 Feb 2014 18:43:13 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:33868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFXpx-0005dz-SM; Mon, 17 Feb 2014 18:42:58 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFLd/lO/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYHCxQYDSSIHgbBLZEKA4hhnBmBXoMV X-IPAS-Result: Av4EABK/CFFLd/lO/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYHCxQYDSSIHgbBLZEKA4hhnBmBXoMV X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="47905527" Original-Received: from 75-119-249-78.dsl.teksavvy.com (HELO pastel.home) ([75.119.249.78]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 17 Feb 2014 18:42:56 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id A7DB8610DA; Mon, 17 Feb 2014 18:42:56 -0500 (EST) In-Reply-To: <87zjlpslhs.fsf@yandex.ru> (Dmitry Gutov's message of "Mon, 17 Feb 2014 19:21:51 +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.181 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:169722 Archived-At: > Maybe have a secondary local variable that would point to the current > submode (like mmm-current-mode). I'd rather it be a function, but yes that's probably going to be the better option. >> As mentioned elsewhere, it might also be a better choice to let this >> main major mode control the keymap. > I'd rather not do that. Some modes override common commands via the > keymap, rather than some `-function[s]' hook. There are advantages on each side. We'll have to look at the actual cases to have a better idea of what needs to be done when. Stefan