From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] trunk r116779: Restore compatibility with legacy comment-start-skip values Date: Mon, 17 Mar 2014 11:50:42 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1395071521 19465 80.91.229.3 (17 Mar 2014 15:52:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Mar 2014 15:52:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 17 16:52:10 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 1WPZph-0000CL-MD for ged-emacs-devel@m.gmane.org; Mon, 17 Mar 2014 16:52:09 +0100 Original-Received: from localhost ([::1]:58605 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPZph-0006BK-A4 for ged-emacs-devel@m.gmane.org; Mon, 17 Mar 2014 11:52:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPZp4-00066n-PZ for emacs-devel@gnu.org; Mon, 17 Mar 2014 11:52:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPZoJ-0003bF-BZ for emacs-devel@gnu.org; Mon, 17 Mar 2014 11:51:30 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:32393) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPZoJ-0003ad-80 for emacs-devel@gnu.org; Mon, 17 Mar 2014 11:50:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al4FABK/CFHO+KKg/2dsb2JhbABEj0SvShdzgh8BBVYjEAsOJhIUGA0kiCTBLZEKA44YlmKBXoMT X-IPAS-Result: Al4FABK/CFHO+KKg/2dsb2JhbABEj0SvShdzgh8BBVYjEAsOJhIUGA0kiCTBLZEKA44YlmKBXoMT X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="52357081" Original-Received: from 206-248-162-160.dsl.teksavvy.com (HELO pastel.home) ([206.248.162.160]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 17 Mar 2014 11:50:42 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 79C1160F75; Mon, 17 Mar 2014 11:50:42 -0400 (EDT) In-Reply-To: (Dmitry Gutov's message of "Mon, 17 Mar 2014 06:48:28 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.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:170442 Archived-At: > + ;; Some older modes use regexps that check the > + ;; char before the comment for quoting. (Bug#16971) > + (save-excursion > + (forward-char -1) > + (looking-at comment-start-skip))) This needs to additionally check that (match-end 1) points to what we thought was the comment start. Stefan