From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: antlr-mode.el - need some support by python.el Date: Tue, 9 Jun 2015 00:33:17 +0300 Message-ID: <55760A1D.5080908@yandex.ru> References: <54F4A62F.3040403@yandex.ru> <54F4BA93.4000801@yandex.ru> <54F73EE0.9070306@yandex.ru> <5571E070.9050905@yandex.ru> <5575BCB3.4070904@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1433799236 629 80.91.229.3 (8 Jun 2015 21:33:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jun 2015 21:33:56 +0000 (UTC) Cc: "Wedler, Christoph" , "=?UTF-8?Q?Fabi=c3=a1n_E.Gallina?=" , "emacs-devel@gnu.org" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 08 23:33:55 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 1Z24g5-0004t6-9b for ged-emacs-devel@m.gmane.org; Mon, 08 Jun 2015 23:33:53 +0200 Original-Received: from localhost ([::1]:60328 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z24fz-0000Bb-CR for ged-emacs-devel@m.gmane.org; Mon, 08 Jun 2015 17:33:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z24fl-0000BT-Ef for emacs-devel@gnu.org; Mon, 08 Jun 2015 17:33:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z24fi-00063N-0U for emacs-devel@gnu.org; Mon, 08 Jun 2015 17:33:33 -0400 Original-Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:33053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z24fh-00061n-Qf for emacs-devel@gnu.org; Mon, 08 Jun 2015 17:33:29 -0400 Original-Received: by wiwd19 with SMTP id d19so255996wiw.0 for ; Mon, 08 Jun 2015 14:33:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=VOg/cLiultJe2rLyYFFIBSrcfku9xoJfBD7reFR3qIA=; b=QOY2Pts3Z/OfxDv088p8RcZI2mzvwBQFHMhj6whNioQ9QoYLVqI36V2OSNmulLd6/1 KPIgvZ9DtajyDlA1ohKVcOqyc3nySnMRIoWspXfdUNtA5DJ5I1VWq9ii2uypuVrCUxeJ Q0WQ7xMzzREVIP3M0kBWBg/zjNMfv5FD0aTvbn+01YOwik4Au9ZOmOBhOvP/QsXOpHLA 8vaBACDH770TiqOGoEH6kZr6ZvvxwXwfaCXK7RlwuZV9mIbmPnp1FKNirJUIZdkwGJtJ RmRIBidmJMwqSGAkTFAvSk0o2SPmaCExQHimuDOlcRqzlcOVkCQQAQ1DKYT4NuI0OxWT eRhw== X-Received: by 10.180.78.136 with SMTP id b8mr25457784wix.89.1433799199836; Mon, 08 Jun 2015 14:33:19 -0700 (PDT) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id pg1sm6224242wjb.39.2015.06.08.14.33.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jun 2015 14:33:19 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22c 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:187114 Archived-At: On 06/08/2015 11:50 PM, Stefan Monnier wrote: > What new variable? You mean prog-indentation-context? Yes. > The intended use case where PREVIOUS-CHUNKS is a string is when this > "context" is a fixed short string, e.g. in a tool like yacc/bison, each > C chunk would use a PREVIOUS-CHUNKS along the lines of "void > pseudofunction () {" so as to make it clear that the chunk's content is > expected to be a function body rather than a top-level declaration. Okay, thanks for the explanation. Indeed, that sounds fine, even if it'll require more smarts on the part of the inner major mode.