From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#22983: syntax-ppss returns wrong result. Date: Sun, 13 Mar 2016 18:04:17 -0700 (PDT) Message-ID: References: <20160311151512.GD2888@acm.fritz.box> <20160311212410.GG2888@acm.fritz.box> <73903215-f94b-e194-7bfe-0d6350c95769@yandex.ru> <20160311221540.GH2888@acm.fritz.box> <2c301ec9-041d-9172-d628-479062314b23@yandex.ru> <20160313185755.GG1871@acm.fritz.box> <90fbc488-ebb6-2d70-aecd-4f6ff39be1d2@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1457917524 21101 80.91.229.3 (14 Mar 2016 01:05:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2016 01:05:24 +0000 (UTC) Cc: 22983@debbugs.gnu.org To: Dmitry Gutov , Alan Mackenzie , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 14 02:05:11 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1afGwZ-0001E0-3N for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Mar 2016 02:05:11 +0100 Original-Received: from localhost ([::1]:38405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afGwY-0007Hi-5X for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Mar 2016 21:05:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afGwV-0007Gc-9R for bug-gnu-emacs@gnu.org; Sun, 13 Mar 2016 21:05:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afGwQ-0000sr-7R for bug-gnu-emacs@gnu.org; Sun, 13 Mar 2016 21:05:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afGwQ-0000sn-3v for bug-gnu-emacs@gnu.org; Sun, 13 Mar 2016 21:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1afGwP-0002tk-PZ for bug-gnu-emacs@gnu.org; Sun, 13 Mar 2016 21:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Mar 2016 01:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22983 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22983-submit@debbugs.gnu.org id=B22983.145791746811098 (code B ref 22983); Mon, 14 Mar 2016 01:05:01 +0000 Original-Received: (at 22983) by debbugs.gnu.org; 14 Mar 2016 01:04:28 +0000 Original-Received: from localhost ([127.0.0.1]:47264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1afGvs-0002sw-8H for submit@debbugs.gnu.org; Sun, 13 Mar 2016 21:04:28 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:44864) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1afGvr-0002sj-2D for 22983@debbugs.gnu.org; Sun, 13 Mar 2016 21:04:27 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u2E14K1b015801 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 14 Mar 2016 01:04:21 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u2E14I7g001090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 14 Mar 2016 01:04:19 GMT Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u2E14IXD009160; Mon, 14 Mar 2016 01:04:18 GMT In-Reply-To: <90fbc488-ebb6-2d70-aecd-4f6ff39be1d2@yandex.ru> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114874 Archived-At: > > I happen to use it frequently. I expect other users do, to. It's > > useful. >=20 > It might be, but it's not very well-designed. If you only want to hide > some parts of buffer from being displayed, changing point-min and > point-max, which affect quite a lot of Lisp functions, seems unnecessary. Well, well, well. All of this is likely OT for this thread. But no - narrowing is in fact explicitly _about_ changing `point-min' and `point-max', so you can act on a particular section of a buffer. It is not only about "hid[ing] some parts of a buffer from being displayed". This is true for both interactive use and in code. > I don't think that narrow-to-region should be a user-level > function. Is this a joke? Maybe you think that because you think it is only about hiding text? > Introducing a new function, using a different mechanism > shouldn't be too hard though, if we reuse the existing binding. Please don't. Please don't even think about it. And if you really think you have something to say about it, then please bring it up in emacs-devel, not in a bug thread that is not especially related to it. > adding a command that would replace interactive use of > narrow-to-region. Ridiculous (IMHO). Add whatever commands you like, but please do not think about replacing `narrow-to-region' willy nilly. It is one of the most useful Emacs commands.