From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Campbell Barton Newsgroups: gmane.emacs.bugs Subject: bug#43481: 27.1; cc-mode's c-context-line-break fails, inserting a new-line into the previous comment Date: Fri, 27 Nov 2020 11:11:44 +1100 Message-ID: <7365f9fa-b999-1a2b-84d2-ab31edf15668@gmail.com> References: <20201124150246.GA30574@ACM> <73c01ad8-4546-c059-1b5d-6edc4aca1d14@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35608"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 Cc: 43481-done@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 27 01:12:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kiRMw-00099R-B1 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 01:12:10 +0100 Original-Received: from localhost ([::1]:49870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiRMv-0005uT-2m for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Nov 2020 19:12:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiRMo-0005uA-7B for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2020 19:12:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59928) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kiRMn-0004Gc-VG for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2020 19:12:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kiRMn-0002Mg-PB for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2020 19:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Campbell Barton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Nov 2020 00:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43481 X-GNU-PR-Package: emacs Original-Received: via spool by 43481-done@debbugs.gnu.org id=D43481.16064359189081 (code D ref 43481); Fri, 27 Nov 2020 00:12:01 +0000 Original-Received: (at 43481-done) by debbugs.gnu.org; 27 Nov 2020 00:11:58 +0000 Original-Received: from localhost ([127.0.0.1]:43241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiRMk-0002MO-H3 for submit@debbugs.gnu.org; Thu, 26 Nov 2020 19:11:58 -0500 Original-Received: from mail-pf1-f172.google.com ([209.85.210.172]:44051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiRMh-0002MA-Sb for 43481-done@debbugs.gnu.org; Thu, 26 Nov 2020 19:11:57 -0500 Original-Received: by mail-pf1-f172.google.com with SMTP id y7so2898509pfq.11 for <43481-done@debbugs.gnu.org>; Thu, 26 Nov 2020 16:11:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=cESyygHoOS9AvUX+oEcNKJ21XsD+GDpmHQcPlZdKM2M=; b=u+gZ6mOfn5YMCt70bxAT5H2CIHky318wJbxmjHwFyKPYcTd7J5BKqvdtXOwgkqxb66 1f7nDUc+dsc0svuXJXotHitoZ5hHg6D7xb4trea/6wskL5SFgMowN4/uLs7uDh3o6zCE YY4611R4CV+kUrVSLFJJmnxt4lIJxKVrvxxx/Byiv/aQjt8jVK4HpOAC4EKmQpzBYsW7 5nS8Lbq6fApDqInJinxOj4rmYmon7FDswDkTaXptGiySNaUsuX3VC407hI7bClfSI8My ZMR1krmiAqUwR+TsOer54jhv2Jz5Lecx9pOzfigxPYsdL348r/sPKZKavro8k+DK4Pak qF5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cESyygHoOS9AvUX+oEcNKJ21XsD+GDpmHQcPlZdKM2M=; b=tDZot/OQ7ujiRPxnam9pfbAiDwm359Vh3yPAXrl4kVLW2L8i/Q8ZTz7EB4vOUeP1A5 HHMeTVev40sCNVDmbK5/qntPnbOx3o77DmAO/V9kztzbHSlZJssP9Pe6aJbLs38Qpfeo Fr0z++0SurBaQZNOEdY6c2x4vJ5L9IlfwJTzHEqKFM35C/tx7TAC+A1q6Q9NpiX1Ckch kWytrviktqZJelkxCT1weSeIrFG9C3I9U34yIsqHWsUjfjf8DLJWRUORQ03whENM2HcI oSSeSCdFG9JUhzy9KBdAutfNnKgNtraGqwkck4SPuqPRGimoq1LzlsT1/6AAs2sPZ1T4 GaYw== X-Gm-Message-State: AOAM533mwDr8S4eKOOejyMXu6Y0VYvxszs3dIqT8frPXCqpTMXXVre9c uJy/nylayffW5faJy+4QVULITf8fdkg= X-Google-Smtp-Source: ABdhPJxa2M0q1cpLm2aFvUqjMSVYIZYNL2oCuH9JLeS4fIgMVnp0Ad/cmfrb8J+wDwpVQYXlBfkF0Q== X-Received: by 2002:a17:90a:4408:: with SMTP id s8mr6590396pjg.69.1606435909912; Thu, 26 Nov 2020 16:11:49 -0800 (PST) Original-Received: from ?IPv6:2402:b801:2844:2100::1? ([2402:b801:2844:2100::1]) by smtp.gmail.com with ESMTPSA id b15sm7653527pjz.38.2020.11.26.16.11.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Nov 2020 16:11:49 -0800 (PST) In-Reply-To: Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:194381 Archived-At: Great, any reason this isn't in master? On 11/26/20 10:43 PM, Alan Mackenzie wrote: > Hello, Campbell. > > On Thu, Nov 26, 2020 at 15:58:20 +1100, Campbell Barton wrote: >> Hi Alan, thanks for fixing this, > >> Tested this both with `emacs -Q` and my personal (evil) config. > >> When your fix is applied, in both cases this works as expected. > > Thanks indeed for testing this. I have committed the fix to the > emacs-27 branch at savannah, and am closing the bug with this post. >