GNU bug report logs - #76687
global-hi-lock-mode prompts on its own help

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Daniel Colascione <dancol@HIDDEN>; dated Sun, 2 Mar 2025 15:50:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 76687 <at> debbugs.gnu.org:


Received: (at 76687) by debbugs.gnu.org; 2 Mar 2025 16:34:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 02 11:34:01 2025
Received: from localhost ([127.0.0.1]:33750 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tomGO-0001XM-Vc
	for submit <at> debbugs.gnu.org; Sun, 02 Mar 2025 11:34:01 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:50362)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tomGM-0001Wc-4D
 for 76687 <at> debbugs.gnu.org; Sun, 02 Mar 2025 11:33:58 -0500
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 <eliz@HIDDEN>)
 id 1tomGF-0005Iy-7k; Sun, 02 Mar 2025 11:33:51 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=9R9UwGCy2roGX6tCGxYty9vgciiT7uFt+i84IVmeXAg=; b=Rw8AmFSswlS0
 H6cIV0hrWyOC6KDjtdAFT7ykLFalVm8jckVWnY3qTBXLmO6Kt8VOtLziIGyrj/ZqXasEW9Afw74RX
 6K2HUNd9d3gg0rq2gqPt1loN2jPyPel9Em04ngunihlZOaQd5wY6Zrv3Hakebxt3yo6aF6L1k7JSe
 RTd1v6LZ9gSLxdjs69tutiDMYSXqnmO8DvNqZ4ZN9GH0TydCEt9tyRYdnH3eH+oeYAs59zUiCPBip
 1F4bRfptQJ2MrGqbE4D5MvoSSvDvB5bdPWxxyy0bBV+DyNQpMechvBMbSjBBcoq59E9bTBNIcKR3h
 oD+RhllbQSJW1SGMv1KKVA==;
Date: Sun, 02 Mar 2025 18:33:46 +0200
Message-Id: <86wmd7mlxx.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Daniel Colascione <dancol@HIDDEN>
In-Reply-To: <m14j0b77r8.fsf@HIDDEN> (message from Daniel Colascione on
 Sun, 02 Mar 2025 10:49:15 -0500)
Subject: Re: bug#76687: global-hi-lock-mode prompts on its own help
References: <m14j0b77r8.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76687
Cc: 76687 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Daniel Colascione <dancol@HIDDEN>
> Date: Sun, 02 Mar 2025 10:49:15 -0500
> 
> >From emacs -Q, M-x global-hi-lock-mode, then C-h m, then quit the help
> buffer, and type C-h m again.  You'll get prompted about whether you
> want to apply the hi-lock patterns in the help buffer.  And then,
> because for some reason we don't actually clear the help buffer but just
> narrow it to what we want, the next time you ask for help, even on
> something unrelated to hi-lock (e.g. progn), hi-lock will ask you
> whether you want to apply hi-lock patterns.

That's the default of hi-lock-file-patterns-policy, no?  IIUC, hi-lock
asks this question for every file you visit, if it finds the patterns
there.

Or what am I missing?





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76687; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Mar 2025 15:49:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 02 10:49:30 2025
Received: from localhost ([127.0.0.1]:33213 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tolZJ-0002NZ-MY
	for submit <at> debbugs.gnu.org; Sun, 02 Mar 2025 10:49:30 -0500
Received: from lists.gnu.org ([2001:470:142::17]:48668)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dancol@HIDDEN>) id 1tolZG-0002MU-B9
 for submit <at> debbugs.gnu.org; Sun, 02 Mar 2025 10:49:26 -0500
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 <dancol@HIDDEN>) id 1tolZA-00016y-Cz
 for bug-gnu-emacs@HIDDEN; Sun, 02 Mar 2025 10:49:20 -0500
Received: from dancol.org ([2600:3c01:e000:3d8::1])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dancol@HIDDEN>) id 1tolZ8-0001FG-8W
 for bug-gnu-emacs@HIDDEN; Sun, 02 Mar 2025 10:49:20 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; 
 s=x;
 h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From:Sender:
 Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description:
 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
 In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=NZKz3qatX1fJBL9GRlDpmxCWalHFNAJ9lSNpm6gMCMI=; b=QmjH22YEt1UOaoma/BcQl34Xty
 imdOVoDvA1UM9wwhWOqbCVLlJvTfCjfXwQLIiMEbWUNdNTKtizwBIyGt8EabH5jOiMXW6BW9qxHTo
 IIz87KDROk5wc+6iKh1g9tcBniuhFEbcm2FrrCQgeVN9v4AXFTcDI5EukgUuWdqlHJxQJAPGEqotY
 Nd5fqbXDwS4npz3fhUUMRsMJncVDAC5EYgAZM0Fl8TEMaRFa0nascP0nfhPtgMieOCILMEWi/r9lh
 XnBHMeAzIlzPn5EePYBnzKWI8V8pLbMUWMxmVHvbed+10GLGWzq9eQpD89Oa6kUqe+3eyVmOmCX+q
 FEOY2eDw==;
Received: from dancol by dancol.org with local (Exim 4.96)
 (envelope-from <dancol@HIDDEN>) id 1tolYy-001c6f-0k
 for bug-gnu-emacs@HIDDEN; Sun, 02 Mar 2025 10:49:08 -0500
From: Daniel Colascione <dancol@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: global-hi-lock-mode prompts on its own help
User-Agent: mu4e 1.12.8; emacs 31.0.50
Date: Sun, 02 Mar 2025 10:49:15 -0500
Message-ID: <m14j0b77r8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2600:3c01:e000:3d8::1;
 envelope-from=dancol@HIDDEN; helo=dancol.org
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

From emacs -Q, M-x global-hi-lock-mode, then C-h m, then quit the help
buffer, and type C-h m again.  You'll get prompted about whether you
want to apply the hi-lock patterns in the help buffer.  And then,
because for some reason we don't actually clear the help buffer but just
narrow it to what we want, the next time you ask for help, even on
something unrelated to hi-lock (e.g. progn), hi-lock will ask you
whether you want to apply hi-lock patterns.




Acknowledgement sent to Daniel Colascione <dancol@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#76687; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 2 Mar 2025 16:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.