From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#13752: Suggestions regarding the minibuffer Date: Thu, 03 Jun 2021 23:29:48 +0300 Organization: LINKOV.NET Message-ID: <874kee21cj.fsf@mail.linkov.net> References: <87zgwbidqs.fsf@gnus.org> <87v96ylmew.fsf@linkov.net> <87czt6f6rm.fsf@gnus.org> <87eedle5vs.fsf@mail.linkov.net> <87wnrc95ur.fsf@gnus.org> <83y2bsxx99.fsf@gnu.org> <87a6o7be1q.fsf@gnus.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="4678"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: esabof@gmail.com, 13752@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 03 22:34:18 2021 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 1lou2j-0000pk-1K for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Jun 2021 22:34:17 +0200 Original-Received: from localhost ([::1]:47894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lou2i-0004Cy-0F for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Jun 2021 16:34:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lou2U-0004Br-6x for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 16:34:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33216) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lou2T-0004CN-Uv for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 16:34:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lou2T-0002ah-Qr for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 16:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Jun 2021 20:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13752 X-GNU-PR-Package: emacs Original-Received: via spool by 13752-submit@debbugs.gnu.org id=B13752.16227524119918 (code B ref 13752); Thu, 03 Jun 2021 20:34:01 +0000 Original-Received: (at 13752) by debbugs.gnu.org; 3 Jun 2021 20:33:31 +0000 Original-Received: from localhost ([127.0.0.1]:44762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lou1y-0002Zu-OQ for submit@debbugs.gnu.org; Thu, 03 Jun 2021 16:33:30 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:59923) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lou1x-0002ZU-J6 for 13752@debbugs.gnu.org; Thu, 03 Jun 2021 16:33:29 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 360781BF203; Thu, 3 Jun 2021 20:33:21 +0000 (UTC) In-Reply-To: <87a6o7be1q.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 03 Jun 2021 09:30:41 +0200") 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:207967 Archived-At: >> I think Lisp programs that want to control this should bind >> command-error-function to the function of their liking. > > Indeed. For future reference, the feature request can be achieved by > something like > > (setq command-error-function > (lambda (data string func) > (unless (eq (car data) 'end-of-buffer) > (command-error-default-function data string func)))) > > to display all error messages except `end-of-buffer'. > > So I'm closing this bug report. Maybe then bug#42865 could be closed for the same reason? Because in its last message https://debbugs.gnu.org/42865#86 I demonstrated a similar example how to disable messages selectively using set-message-function.