From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#74404: [PATCH] Give Completion Preview bindings higher precedence Date: Fri, 22 Nov 2024 18:08:47 +0800 Message-ID: <87mshry40g.fsf@melete.silentflame.com> References: <86ttc5vljy.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3416"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: Eli Zaretskii , Stefan Monnier , 74404@debbugs.gnu.org, Eshel Yaron Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 22 11:09:52 2024 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 1tEQbl-0000ho-S8 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Nov 2024 11:09:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEQb4-0007i9-7J; Fri, 22 Nov 2024 05:09:06 -0500 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 1tEQb2-0007hO-Ee for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 05:09:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEQb2-0003nd-2j for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 05:09:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=USAXQSunbmgj1jCBzj3/UTxESyONAXlmwSyoj8bPlC8=; b=BmFNL16dmrU3QudQvz3eqC45oYWYF/ZI/ou9GBhpqXxB28KvpkIzhA+/igeEFrhtUZIfURYBoOAD8W2QWX4XvcZoEh8O1EmgCNnSME+kiDdc8GbKL+I5QYiSKW9XMq0Go0BJBUjfjYY5IyORC+9MeDLxSmPHOLPzes1YduzDWLF+JrY3gSv4UeWymodzjfjAm9B8OU8VU2LwGNZqdrLqBSZAo46vT5hH2I+VHh3tk/VVaj0zMsYxLwJtoRi7OBPEzS7UVzCnFQ4xZ7HCzvUQ+Bmz7MvQlGd8U33OueYXo+9EH0QedwSZaxEmPIe6NdRcjBh657MJySmgOCXDEg4oXw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEQaz-0001NX-QI for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 05:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Nov 2024 10:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74404 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74404-submit@debbugs.gnu.org id=B74404.17322701395290 (code B ref 74404); Fri, 22 Nov 2024 10:09:01 +0000 Original-Received: (at 74404) by debbugs.gnu.org; 22 Nov 2024 10:08:59 +0000 Original-Received: from localhost ([127.0.0.1]:53105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEQaw-0001NG-LS for submit@debbugs.gnu.org; Fri, 22 Nov 2024 05:08:58 -0500 Original-Received: from sendmail.purelymail.com ([34.202.193.197]:35066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEQau-0001Mw-0b for 74404@debbugs.gnu.org; Fri, 22 Nov 2024 05:08:57 -0500 DKIM-Signature: a=rsa-sha256; b=yeEJGu947eHh7U5PnO4DtphC7Kpf+ajF1aJxay7Yf36SZmfcp4sIT+h5odLiTAXaR2OoTzCsqx4lNv8ZULoGQj1jCbdpH5NrSXP21ue005+9jjXUUEWSnaL61xfm3q1q1K7agWvDbI2CE9Hj2mCDjbzeQA44+izVaRotAM5DjamYcNZ06wK27+MNfdqrtZYOk4WT/IQXu+YFqrEXOoFRDnYTk9fBVMSNQ1SYzFXeeyryvVr6FquG1jdKND1iOAQs1t5+pji9dwjm4zwGlAIXCYejVq1cbwhnLAtZFtCgGIg8sdTXpzVSXbyMR0dvqXybXmvQxIJEjNcOcs+LQRWnbA==; s=purelymail3; d=spwhitton.name; v=1; bh=+8GrkYWqain6r8lg81wAw6hDpIfEu1C0L4hIeQXaRso=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=jddjnLZmTIzI3uhNpLM0J6WbDTKTizj4/qu0/A58St66qkC2+yrDYtqscwvGJ7YTHgcXJkya9U9HoD3MdZNxcZvW4jBRzVyoU7nE4sUnQBCnzNfmvqdfQkOYK3AeWJej/t4bUFJXHbZDNWKuDABiBWV+75hqmNkbdbIxv8Otmb/KzUQt2dr0lMxC12nKhgD9spHrdSsgwl1f+6qonRCa2Lg18VHhg4zs83vkVZGC7b7rWsYUcdRg7l68Tse8CpVmh2tZs77wogWMrRUCkTrKGwwRdJLAl5yIJOErS/rRJaexLrW+hl/7pKRV9PYuU/gwIbHlaVGZfPSVEpcA1u0/jw==; s=purelymail3; d=purelymail.com; v=1; bh=+8GrkYWqain6r8lg81wAw6hDpIfEu1C0L4hIeQXaRso=; h=Feedback-ID:Received:Received:From:To:Subject:Date; Feedback-ID: 20115:3760:null:purelymail X-Pm-Original-To: 74404@debbugs.gnu.org Original-Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1054700279; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Fri, 22 Nov 2024 10:08:49 +0000 (UTC) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id 234C47E10B1; Fri, 22 Nov 2024 18:08:47 +0800 (CST) In-Reply-To: (Stefan Monnier via's message of "Sun, 17 Nov 2024 12:16:29 -0500") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295784 Archived-At: Hello, On Sun 17 Nov 2024 at 12:16pm -05, Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: > BTW, maybe we should add some notion of minor mode precedence since such > problems are actually fairly common. We could do something similar to > what we do with `add-hook`, so `add-minor-mode` takes care of obeying > the ordering constraints. We could also have a customisation option that allows the user to override the default priorities. As minor modes are always interned symbols, this would be possible in a way that it isn't for hook priorities. -- Sean Whitton