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: Fri, 04 Oct 2013 05:09:21 +0300 Message-ID: <524E2351.6050902@yandex.ru> References: <87ioyisnjx.fsf@yandex.ru> <87y56gwa5m.fsf@yandex.ru> <52482759.1070804@easy-emacs.de> <87wqlzpsj6.fsf@yandex.ru> <524BC9C4.9080301@easy-emacs.de> <87txgz3oo1.fsf@yandex.ru> <524C1061.7010303@easy-emacs.de> <524C109D.3050603@yandex.ru> <524C28CB.6040406@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1380852622 434 80.91.229.3 (4 Oct 2013 02:10:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Oct 2013 02:10:22 +0000 (UTC) Cc: 15251@debbugs.gnu.org To: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 04 04:10:22 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 1VRuqU-0007ly-BO for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Oct 2013 04:10:22 +0200 Original-Received: from localhost ([::1]:45941 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRuqT-0002JB-Iq for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Oct 2013 22:10:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRuqI-0002HY-TY for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 22:10:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRuqA-0001My-Qc for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 22:10:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44507) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRuqA-0001M5-Mi for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 22:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VRuqA-0007I8-51 for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 22:10: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: Fri, 04 Oct 2013 02:10: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-submit@debbugs.gnu.org id=B15251.138085256827973 (code B ref 15251); Fri, 04 Oct 2013 02:10:02 +0000 Original-Received: (at 15251) by debbugs.gnu.org; 4 Oct 2013 02:09:28 +0000 Original-Received: from localhost ([127.0.0.1]:52799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRupb-0007H7-OV for submit@debbugs.gnu.org; Thu, 03 Oct 2013 22:09:28 -0400 Original-Received: from mail-ee0-f53.google.com ([74.125.83.53]:39735) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRupZ-0007Gz-Qx for 15251@debbugs.gnu.org; Thu, 03 Oct 2013 22:09:26 -0400 Original-Received: by mail-ee0-f53.google.com with SMTP id b15so1455186eek.26 for <15251@debbugs.gnu.org>; Thu, 03 Oct 2013 19:09:25 -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=sioP/kqcfEosZ7rrmtSvtQMOtK03mSz8kZya3zM3zw8=; b=Lf9f/2bKWCHVijpSYez78/blsWCsx4ABOtKoci7o9u2UoxD38P87wslk2BWQRCtFo+ RCBJKSaqejkLRSCUo3S7wY0uSKNZkpW/gxjiELChLXdVjnUcMyIl/Be2tErfpWgmhcey gFpaG4FJuTe0pGlMaDudNwGHHEG5LJ7g38oMFmHh42I5bswFQYzo2mtfd6tnqEf29d/a 3K1Y1IG8WByP9xAuDqVgQKplQGJMNjlB1dFMhBoCkscMMF73Plnz4eMTh4qxhcDShb/t uNPwTkva8GNbu0xaADBRmtjg7rcp/H32yaHzVmt02baQqpRweOj3Ol3Cu/WCyusWSo17 wOxw== X-Received: by 10.14.45.70 with SMTP id o46mr17587829eeb.19.1380852564892; Thu, 03 Oct 2013 19:09:24 -0700 (PDT) Original-Received: from [192.168.10.2] (93-113-74.netrun.cytanet.com.cy. [93.109.113.74]) by mx.google.com with ESMTPSA id h52sm22218242eez.3.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Oct 2013 19:09:24 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: <524C28CB.6040406@easy-emacs.de> 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:78910 Archived-At: On 02.10.2013 17:08, Andreas Röhler wrote: > Doesn't make sense for me. In which way is a string supposed to bear > string-face, if syntax doesn't exist? I'm just guessing, but syntax table may have syntax entries for string delimiters, but not for comments (e.g. because their syntax is too weird to be adequately expressed using existing syntax table classes), so comments may be fontified via explicit font-lock-keywords entries. Another option is, like Stefan mentioned, if font-lock-syntax-table is defined, it's used for fontification, and it's very different from the actual buffer syntax table. > That's shooting into the dark IMHO. That code is old. I'm pretty sure nobody would've written it if there weren't any modes in the wild at the time that benefited from it.