From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vitalie Spinu Newsgroups: gmane.emacs.bugs Subject: bug#22983: syntax-ppss returns wrong result. Date: Sun, 20 Mar 2016 00:16:16 +0100 Message-ID: <87shzmcb3z.fsf@gmail.com> References: <20160311151512.GD2888@acm.fritz.box> <44b4fa9e-ec8e-98a4-d8ad-e799fffa7959@yandex.ru> <20160319122759.GA2644@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1458429442 19300 80.91.229.3 (19 Mar 2016 23:17:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2016 23:17:22 +0000 (UTC) Cc: 22983@debbugs.gnu.org, Dmitry Gutov To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 20 00:17:10 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 1ahQ7K-0005Su-GY for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Mar 2016 00:17:10 +0100 Original-Received: from localhost ([::1]:50853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahQ7J-0002rP-KN for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Mar 2016 19:17:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahQ7G-0002rK-5S for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2016 19:17:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahQ7C-0002px-PD for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2016 19:17:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahQ7C-0002pt-LP for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2016 19:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ahQ7C-0006si-Eg for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2016 19:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vitalie Spinu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Mar 2016 23:17:02 +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.145842938426406 (code B ref 22983); Sat, 19 Mar 2016 23:17:02 +0000 Original-Received: (at 22983) by debbugs.gnu.org; 19 Mar 2016 23:16:24 +0000 Original-Received: from localhost ([127.0.0.1]:54004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahQ6a-0006rq-MJ for submit@debbugs.gnu.org; Sat, 19 Mar 2016 19:16:24 -0400 Original-Received: from mail-wm0-f54.google.com ([74.125.82.54]:37871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahQ6Z-0006rf-Hb for 22983@debbugs.gnu.org; Sat, 19 Mar 2016 19:16:24 -0400 Original-Received: by mail-wm0-f54.google.com with SMTP id p65so80948014wmp.0 for <22983@debbugs.gnu.org>; Sat, 19 Mar 2016 16:16:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=UOlZZP49qPSa37uBEmpPWH1uVjOB6A24H292ev2qXbM=; b=SXuhEpQsc5OeU9w2VgCUP9j5wBSC3pV6N1cyPVWtGTxU6INommCjVhez6TG1ABS/q4 CERmsUgji1sQd3vZmPygMDoxkkmEOeNSOwdRRumHUyqFeJfX57KV8WFeYSM6G/wuQ7VF tm3W8s2uX/S4Wc2b9N/Im+ujQ8ZjLDZlIsGvyFrT4zAIoZ2L4J6Gw/ABbwu6fghWbSEV MoEa+X1bPUBlplFLtMHGtHlnMIfk7lxqVDeoMDAtmoy9LnSmRAZIkMzAmp/rGqB0a4WW n4MCh/23jQfSlgeRgDAk0CwtCuxILTmIuE46DExx9izYW/kvbsm33wEzFjGd/KNfZea4 u40w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=UOlZZP49qPSa37uBEmpPWH1uVjOB6A24H292ev2qXbM=; b=K785F2BTzabBMjElIUQEEbz+h/joevcHj696SlsW978CM6GoolAcHM+LkO2qHaIJ2M dYuVAJGmuCALJQx+XIo5ry2ktW6XYL1hSlW8cgeKFmus5Pp+Fs/ojyDNt1QAKKJuXEqc bILD/rK5m1UzgBBqylXl2XYkQHrkxcqkuracwdbUNXLsV1IVUf3RWiykvSsjVGQjLVGR aEyRCZnsz3NAGZo0fOYjvElO5e4m/pVKI3ATiPYmHzdrRPxEa8Z/lZqDI35uySMfZuOG ra5IAq/elXhdGluL7H4Z6mB542UFllkt2KBGG4OecCpfuoPVN87sDr9eBtHSnuba0jj3 cNlQ== X-Gm-Message-State: AD7BkJJ0YfBW0smMY4WsUAVOjLIyCQsigXwgtZ4d8KLo5PhuIYXb5MOW5pnMVauCkD6Sow== X-Received: by 10.28.211.1 with SMTP id k1mr6386260wmg.93.1458429378034; Sat, 19 Mar 2016 16:16:18 -0700 (PDT) Original-Received: from localhost ([143.176.214.220]) by smtp.gmail.com with ESMTPSA id p189sm5519737wmb.7.2016.03.19.16.16.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 Mar 2016 16:16:17 -0700 (PDT) In-Reply-To: <20160319122759.GA2644@acm.fritz.box> (Alan Mackenzie's message of "Sat, 19 Mar 2016 12:27:59 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) 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:115106 Archived-At: >> On Sat, Mar 19 2016 12:27, Alan Mackenzie wrote: > I think the only sensible functionality for syntax-ppss is to be > equivalent to (parse-partial-sexp 1 pos). Then everybody knows where > they stand. This would not work for multi modes. Till there is a feasible way to advice parse-partial-sexp there will be no way to ensure the above contract is satisfied in multi-modes. Vitalie