From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master 9aa18659263: Fix c-ts-common-comment-indent-new-line (bug#73900) Date: Tue, 29 Oct 2024 14:32:44 +0200 Message-ID: <864j4v6qdv.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30082"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 29 13:34:20 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t5lQR-0007dD-O3 for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Oct 2024 13:34:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5lP8-0002Hf-Jk; Tue, 29 Oct 2024 08:32:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5lP1-0002GO-5d for emacs-devel@gnu.org; Tue, 29 Oct 2024 08:32:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5lP0-0001Bx-Tk; Tue, 29 Oct 2024 08:32:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Subject:To:From:Date:mime-version:in-reply-to: references; bh=ZlV97FmiMOXRDeXeZTwsQOFKEg9JpHE/hi/EabMYYHU=; b=EaVqUTaPQh6tit FNBun1ScHYI1IsnAyHFhb7uB2C3AHJTZG+4IS6hHEhC+lW7mIyLVxzsq6rwrUtwJgvLXIoAaxRXNA LbC20tP5PhzbBuHlZ2gdQlMAWtgJo/n495UDM84zSa+ohSE7IpzPeh7rTDJ/tMw4RRuPe4DV0pg9l kW9uhKX48zWrK45p5hD37zZok5fro257kE2PQEzkxN9+v3ZoTuJqI1EF1IeXqhgCNLo48FOWfaHdP pAc8AJ77zYdrih3WUDFlcV3yYnGhjK+P4tW+xidRz/hJ6D3KQlg0LBfEbMQ2sTjArdXxIs6H3K7tx odnNhkTnn70DDRIBPpzQ==; X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324908 Archived-At: > branch: master > commit 9aa186592634212fcdb2dbafdfd0c52a2475ba96 > Author: Yuan Fu > Commit: Yuan Fu > > Fix c-ts-common-comment-indent-new-line (bug#73900) > > * lisp/progmodes/c-ts-common.el: > (c-ts-common-comment-indent-new-line): Delete trailing > whitespace before inserting newline. The insert-line-break > function is the same as in c-indent-new-comment-line. This triggers the following byte-compilation warning: In c-ts-common-comment-indent-new-line: progmodes/c-ts-common.el:339:27: Warning: reference to free variable `allow-auto-fill' I'm guessing that in c-ts-mode case allow-auto-fill is always nil.