From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error Date: Wed, 20 Apr 2022 08:22:44 +0200 Message-ID: <87tuaoxoi3.fsf@gmail.com> References: <83czhfy583.fsf@gnu.org> <10f8d75a-1c3d-aa83-2cb9-4619df9925ad@gmail.com> <878rs3mm4p.fsf@gnus.org> <874k2qn5pl.fsf@gnus.org> <87zgkilr1i.fsf@gnus.org> <86sfqarzyx.fsf@mail.linkov.net> <87o80xb7e5.fsf@gnus.org> <8635i8opem.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9772"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 54993@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 20 08:23:18 2022 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 1nh3kD-0002L9-0E for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Apr 2022 08:23:17 +0200 Original-Received: from localhost ([::1]:50274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nh3kB-0006x6-VP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Apr 2022 02:23:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nh3jy-0006tS-Kj for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2022 02:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nh3jy-0001HT-Ad for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2022 02:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nh3jy-000269-4r for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2022 02:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Apr 2022 06:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54993 X-GNU-PR-Package: emacs Original-Received: via spool by 54993-submit@debbugs.gnu.org id=B54993.16504357748037 (code B ref 54993); Wed, 20 Apr 2022 06:23:02 +0000 Original-Received: (at 54993) by debbugs.gnu.org; 20 Apr 2022 06:22:54 +0000 Original-Received: from localhost ([127.0.0.1]:44863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nh3jq-00025Y-9T for submit@debbugs.gnu.org; Wed, 20 Apr 2022 02:22:54 -0400 Original-Received: from mail-wr1-f52.google.com ([209.85.221.52]:47016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nh3jo-00025L-7l for 54993@debbugs.gnu.org; Wed, 20 Apr 2022 02:22:52 -0400 Original-Received: by mail-wr1-f52.google.com with SMTP id i20so744927wrb.13 for <54993@debbugs.gnu.org>; Tue, 19 Apr 2022 23:22:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ZMiznio0Oq3PGJFImNRO0fo9GnZFXm7STWMT2o3AUgc=; b=Yr6h0fGV7y65e6hrGg0+OKwlYiWADkeD+1mrJPUDCjxHEABV3rjXtvtbPSc1EUJ+S7 BXJbOc4GUDwq6Vt/7FpKVgbwW8JptLQ/ut3yXvKQyF4V9XYxq1bDNw8aY5/9eqtblRXM ZaaMQyqCY8taIJIlWLCxFwnNU+88pX+/Bfg4hjE26MQ9T1wmAMZoxafRMnNuVgOjo1ir VTKzAQHIjyetUwbsMANam8lRsmnorcy+SXZza4RJRMKiX4I9uHYTIRGsWhlra/KtgfL/ jwllgHIsDwlBwYxfbLP8gyvCmQUtDokTXSljEptMVbRdG1W/RHG0XWKOC37Bi501NIFo sbWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ZMiznio0Oq3PGJFImNRO0fo9GnZFXm7STWMT2o3AUgc=; b=XXWJOrW04kOhG6of8hSr7Io4xi239v5xVXf0KOpYHagabC3UkdOKvF9yUbURgLXSn8 2i0+oZpZkc2umCcL0C58s072hAk5/cY8/UXgWzW38z9Yx1l+eLecwa2rysmQn39w1IQR ATPJ3sMQ8C/uiEONAfGTCSruNbzdYl+jzJYXHsMLKbAbjdMpdUIHsYI5pSF40y2v5DpP XZsqChhzeXpRG0zeq1qM+tZy3IykQ37l2v6ZjlMSX/Sy1NwfltFfOoiQOETP0cTNOdYc jFT/MH6SQa2JvThJ4R9Y92OtCTbMLqM45701vCi7GEAmpW3Gg+URo2lfHo1wRjHu7/eh kOuA== X-Gm-Message-State: AOAM533TKwkt1qjTWJ64dtn2JJ5+Jmqvr46P7DekhfZamqRPDUnDdB4q fDl8Yg7IkNYAv0Mq3sevV/Xt8apEkAk= X-Google-Smtp-Source: ABdhPJysPFMNFCagEHP3R9PlX1s/g2XbAmKbPxmYtAV+FwjgPwd6AgzP2XfODd+gq2Ov5AyYW8kd7w== X-Received: by 2002:a05:6000:1ca:b0:207:acc8:c153 with SMTP id t10-20020a05600001ca00b00207acc8c153mr14504213wrx.165.1650435765878; Tue, 19 Apr 2022 23:22:45 -0700 (PDT) Original-Received: from hirondell ([217.181.152.179]) by smtp.gmail.com with ESMTPSA id n4-20020a1ca404000000b00392965e41d6sm7417169wme.39.2022.04.19.23.22.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Apr 2022 23:22:45 -0700 (PDT) In-Reply-To: <8635i8opem.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 19 Apr 2022 22:15:45 +0300") 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:230271 Archived-At: Juri Linkov writes: >>> there are different outline header colors between Emacs 28 and 29 >>> because of different outline levels. The additional level comes >>> from the space character at the end of outline-regexp "^\\*+ ". >> >> I wanted to avoid having stuff like >> >> ** New thing for help buffers. >> *Help* buffers can be etc... >> >> triggering an outline thing on the second line. Is there a way to do >> that without including the space in outline-regexp? > > I see only 1 way: to set buffer-local outline-level where to subtract 1. FWIW, this is exactly what org-outline-level does, since Org also sets outline-regexp to "\\*+ ". (NB: IIUC from outline-regexp's docstring, it is not necessary to anchor the regexp with "^")