From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: Smie-auto-fill =?utf-8?Q?doesn=E2=80=99t?= respect comment-auto-fill-only-comments Date: Sat, 05 Aug 2017 14:39:25 -0600 Message-ID: <87379592bm.fsf@tromey.com> References: <87o9vdj0s5.fsf@tromey.com> <87mvavw0h5.fsf@pokyo> <87r2zidut2.fsf@bapiya> <87d1b1e7e3.fsf@bapiya> <87a85vcqcc.fsf@bapiya> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501965604 2409 195.159.176.226 (5 Aug 2017 20:40:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 Aug 2017 20:40:04 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 05 22:39:58 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de5rW-00006v-Ib for ged-emacs-devel@m.gmane.org; Sat, 05 Aug 2017 22:39:54 +0200 Original-Received: from localhost ([::1]:58679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1de5rc-0005kT-Ju for ged-emacs-devel@m.gmane.org; Sat, 05 Aug 2017 16:40:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1de5rU-0005jy-Js for emacs-devel@gnu.org; Sat, 05 Aug 2017 16:39:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1de5rQ-00036K-OQ for emacs-devel@gnu.org; Sat, 05 Aug 2017 16:39:52 -0400 Original-Received: from gproxy2-pub.mail.unifiedlayer.com ([69.89.18.3]:50564) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1de5rQ-0002zZ-EM for emacs-devel@gnu.org; Sat, 05 Aug 2017 16:39:48 -0400 Original-Received: from CMOut01 (unknown [10.0.90.82]) by gproxy2.mail.unifiedlayer.com (Postfix) with ESMTP id 583061E2925 for ; Sat, 5 Aug 2017 14:39:30 -0600 (MDT) Original-Received: from box522.bluehost.com ([74.220.219.122]) by CMOut01 with id tYfS1v0052f2jeq01YfVJn; Sat, 05 Aug 2017 14:39:30 -0600 X-Authority-Analysis: v=2.2 cv=XMVAcUpE c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=KeKAF7QvOSUA:10 a=9UO3e9hNO0-N4YsG1WAA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=SvbARsiDzwF0exDhc5zPySqfkNwLTbWEFuwwFZPWkzw=; b=QBV/6QJddgZm8sCikUCJbBlVXg PNKtCVfGXBxitPNkgMg7DP47I+3xx7sHMWNK/Lz/cTx7Y4tf2E1ItcFXXAg6aP8Ey1teVBWlX2pHX UU0s6sreFWhXW26I7z+7IPHwd; Original-Received: from 75-166-24-97.hlrn.qwest.net ([75.166.24.97]:33326 helo=bapiya) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1de5r4-001H3R-M0; Sat, 05 Aug 2017 14:39:26 -0600 X-Attribution: Tom In-Reply-To: (Stefan Monnier's message of "Mon, 29 May 2017 23:25:58 -0400") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box522.bluehost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.24.97 X-Exim-ID: 1de5r4-001H3R-M0 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-24-97.hlrn.qwest.net (bapiya) [75.166.24.97]:33326 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ== X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 69.89.18.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:217329 Archived-At: >>>>> "Stefan" == Stefan Monnier writes: [resurrecting an old thread] >> I looked at this, but I don't really understand this code, and there >> were more spots in the function that seemed to be affected by the setq >> in the snippet above; so consequently I think someone else ought to do >> this, and for my part I'm dropping the patch. Stefan> OK, we can simplify this code later, I keep getting bitten by this problem and I wonder whether here you meant that I could check in the patch as-is, without fixing up all of comment-indent-new-line. Also, I still wonder whether prog-mode should set comment-auto-fill-only-comments to t. I tend to think so. thanks, Tom