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: antlr-mode.el - need some support by python.el Date: Wed, 18 Feb 2015 22:20:57 -0500 Message-ID: References: <54E40954.7000706@yandex.ru> <54E4AC06.60300@yandex.ru> <54E54DE7.1010807@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424316088 23065 80.91.229.3 (19 Feb 2015 03:21:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Feb 2015 03:21:28 +0000 (UTC) Cc: "Wedler, Christoph" , "=?windows-1252?Q?Fab?= =?windows-1252?Q?i=E1n?= E.Gallina" , "emacs-devel@gnu.org" To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 19 04:21:18 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 1YOHfw-0002KE-5a for ged-emacs-devel@m.gmane.org; Thu, 19 Feb 2015 04:21:16 +0100 Original-Received: from localhost ([::1]:54696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOHfu-0004dT-QL for ged-emacs-devel@m.gmane.org; Wed, 18 Feb 2015 22:21:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOHfh-0004c7-4D for emacs-devel@gnu.org; Wed, 18 Feb 2015 22:21:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOHfd-0000sC-V2 for emacs-devel@gnu.org; Wed, 18 Feb 2015 22:21:01 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:31789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOHfd-0000rt-RF for emacs-devel@gnu.org; Wed, 18 Feb 2015 22:20:57 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlgJAPOG1lTO+LI//2dsb2JhbABbgwaDX8Y4BAICgQ1EAQEBAQEBfIQNAQQBViMFCwsOJhIUGA0kiDgIziMBAQEHAQEBAQEdj3gHhCoFiiefS4FFIoQMIIJzAQEB X-IPAS-Result: AlgJAPOG1lTO+LI//2dsb2JhbABbgwaDX8Y4BAICgQ1EAQEBAQEBfIQNAQQBViMFCwsOJhIUGA0kiDgIziMBAQEHAQEBAQEdj3gHhCoFiiefS4FFIoQMIIJzAQEB X-IronPort-AV: E=Sophos;i="5.09,536,1418101200"; d="scan'208";a="110872860" Original-Received: from 206-248-178-63.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([206.248.178.63]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Feb 2015 22:20:55 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 427C8AE11B; Wed, 18 Feb 2015 22:20:57 -0500 (EST) In-Reply-To: <54E54DE7.1010807@yandex.ru> (Dmitry Gutov's message of "Thu, 19 Feb 2015 04:43:51 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.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:183280 Archived-At: > Can you think of a situation when _actually_ forcing it (with an > un-widen-able narrowing) can lead to trouble here? I can't give you such a situation off-hand, but I've seen plenty of problems when executing innocent code in a narrowed buffer. I've gone and rewrote all kinds of codes (e.g. filling) to avoid using narrowing specifically for that reason. >> E.g. in latex-mode, a "\begin{verbatim}" has to go to column 0, no >> matter what the context. > Are there important cases like this where we can't "flip" the modes and > consider latex the "primary" mode instead? All this just to avoid passing LEFTMOST-COL? Stefan