From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#15251: 24.3.50; do-auto-fill "continues" comment from inside a string Date: Tue, 01 Oct 2013 18:40:43 +0300 Message-ID: <524AECFB.80608@yandex.ru> References: <87ioyisnjx.fsf@yandex.ru> <87y56gwa5m.fsf@yandex.ru> <52482759.1070804@easy-emacs.de> <87wqlzpsj6.fsf@yandex.ru> <524A22E1.5000500@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1380642082 1746 80.91.229.3 (1 Oct 2013 15:41:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Oct 2013 15:41:22 +0000 (UTC) Cc: 15251-done@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 01 17:41:25 2013 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 1VR24e-0007oH-4D for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Oct 2013 17:41:20 +0200 Original-Received: from localhost ([::1]:59559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VR24d-0008QX-HE for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Oct 2013 11:41:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VR24U-0008QJ-3Z for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2013 11:41:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VR24M-0006iY-PT for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2013 11:41:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VR24M-0006iM-MM for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2013 11:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VR24M-000688-5l for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2013 11:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Oct 2013 15:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15251 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15251-done@debbugs.gnu.org id=D15251.138064205023542 (code D ref 15251); Tue, 01 Oct 2013 15:41:02 +0000 Original-Received: (at 15251-done) by debbugs.gnu.org; 1 Oct 2013 15:40:50 +0000 Original-Received: from localhost ([127.0.0.1]:47553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VR24A-00067e-0j for submit@debbugs.gnu.org; Tue, 01 Oct 2013 11:40:50 -0400 Original-Received: from mail-ea0-f172.google.com ([209.85.215.172]:47137) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VR248-00067W-CE for 15251-done@debbugs.gnu.org; Tue, 01 Oct 2013 11:40:48 -0400 Original-Received: by mail-ea0-f172.google.com with SMTP id r16so3535810ead.3 for <15251-done@debbugs.gnu.org>; Tue, 01 Oct 2013 08:40:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=3AggIgUKa3rPe3xynpuL56AFr1VdmL4b21lJ/aKvGWE=; b=kwZqOpOBkHh+RvYJQ286KT0jtYPfuZLE4cmNdhxIY9FqorKM/liwcv6M4rgZS6Pczc 4+zRo6BFWKosYcVZKS9LhXBeuF2Yo/EyLBseb5G1Bve1sB4vllzaYXkUo4XVVzcTy/0G PzTcwkHB2al71WeYggoz2+8WgMU/zJFO5cqJBD0TpiuvrDoa/a26DdWPkbO6jcAJ4wJk ZF236GczqMCNhikYc+AGKfCRISAClNliyl5BDMu163tlISPOPm8h23i1j3zLsRnbdDF7 tBfo2LaDcA6DdZlEXGBVIUcfLr8xQRjJr3CadjaJqDBdQDbycRAPTReVZ/wFhv/juW4+ HEmA== X-Received: by 10.14.178.67 with SMTP id e43mr3898094eem.59.1380642047418; Tue, 01 Oct 2013 08:40:47 -0700 (PDT) Original-Received: from [192.168.10.48] (93-245-142.netrun.cytanet.com.cy. [93.109.245.142]) by mx.google.com with ESMTPSA id f49sm14559361eec.7.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Oct 2013 08:40:46 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:78842 Archived-At: On 01.10.2013 17:11, Stefan Monnier wrote: > We should probably rework the code to merge comment-use-syntax and > comment-use-global-state. I wonder what modes have the former variable set to t, but the latter to nil, and which situation this combination handles. Maybe enhance the check in `comment-normalize-vars' and set `comment-use-syntax' to nil when the syntax table values are not good enough for `comment-use-global-state'? Then make `comment-use-global-state' an obsolete alias for `comment-use-syntax'.