From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: E Sabof Newsgroups: gmane.emacs.devel Subject: Re: /srv/bzr/emacs/trunk r101338:*lisp/emacs-lisp/syntax.el(syntax-ppss): More sanity check to catchtch Date: Sun, 16 Feb 2014 10:42:56 +0000 Message-ID: <87wqgv9w3z.fsf@gmail.com> References: <87r47bi1e5.fsf@yandex.ru> <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> <87fvnln2md.fsf@gmail.com> <87ob297m3c.fsf@yandex.ru> <87eh35n1ra.fsf@gmail.com> <530019C4.7010501@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392547390 16343 80.91.229.3 (16 Feb 2014 10:43:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Feb 2014 10:43:10 +0000 (UTC) Cc: Eli Zaretskii , David Kastrup , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 16 11:43:16 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 1WEzBr-0004nF-BV for ged-emacs-devel@m.gmane.org; Sun, 16 Feb 2014 11:43:15 +0100 Original-Received: from localhost ([::1]:60599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEzBr-0003eC-0p for ged-emacs-devel@m.gmane.org; Sun, 16 Feb 2014 05:43:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEzBi-0003dd-If for emacs-devel@gnu.org; Sun, 16 Feb 2014 05:43:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WEzBc-0004gx-Oh for emacs-devel@gnu.org; Sun, 16 Feb 2014 05:43:06 -0500 Original-Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]:61851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEzBc-0004gb-Gk; Sun, 16 Feb 2014 05:43:00 -0500 Original-Received: by mail-wg0-f46.google.com with SMTP id x13so1458797wgg.13 for ; Sun, 16 Feb 2014 02:42:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=+af/8MGU7fjsyEelEtFWAqMh3GKldaoHQ88o0NZ/v+o=; b=UYuSNglTyDXD5f2WSp1J5VDkSZPmJ8bgccbpAYzg9qiSx8rW7LRtEP8M/tUQtGMHf/ DuYAWRKwj6F1ZHOFhOxg17tCN7KkCqp9evgFsA+iUNoHWQqnE7L2Rsy1/b4+oCDsuTNq Pm8dFc0vpxnl2kawVzI6duPWOV8gtn6A8AOz8uCcxukNOEKTAY8FaAXGfHmhao6Qbeuq iv3ZakQVVVBUyw5b+78MgBYFrNVVMrKQAq6HmiTGfrMldrwC4/Jl5CU7z24q67OmRP9y ss5wI40/IrU0YriQb/LjzfXO1+GCHkUysAET41kddRc8/Zlib60z0fbTmzOffc2tOeoh wgYw== X-Received: by 10.180.105.41 with SMTP id gj9mr8690675wib.28.1392547379075; Sun, 16 Feb 2014 02:42:59 -0800 (PST) Original-Received: from ubuntu ([2.218.154.175]) by mx.google.com with ESMTPSA id bj3sm27496187wjb.14.2014.02.16.02.42.57 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 16 Feb 2014 02:42:58 -0800 (PST) User-agent: mu4e 0.9.9.6pre2; emacs 24.3.50.4 In-reply-to: <530019C4.7010501@yandex.ru> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22e 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:169646 Archived-At: Dmitry Gutov writes: > In other words, the parent mode suddenly has to become multiple-mode > aware. So html-mode, for example, wouldn't be suitable anymore. html-mode is part of Emacs. Extending it shouldn't be (socially) hard. > And if we want to make the multiple-mode functionality somehow reusable, > extracting it to some common framework might be in order. You see where > this is going. I had in mind something along the lines of (set-region-mode MODE BEGINNING END), provided by emacs infrastructure. Does it somehow go wrong from there? That's not unlikely, but I can't think of something specific. Evgeni