From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#13752: Suggestions regarding the minibuffer Date: Thu, 03 Jun 2021 09:30:41 +0200 Message-ID: <87a6o7be1q.fsf@gnus.org> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34693"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: juri@linkov.net, 13752@debbugs.gnu.org, esabof@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 03 09:32:45 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 1lohqO-0008pO-IR for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Jun 2021 09:32:44 +0200 Original-Received: from localhost ([::1]:42892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lohqN-0002ES-L1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Jun 2021 03:32:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lohol-0000wo-SL for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 03:31:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lohol-0007h2-15 for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 03:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lohok-0000AH-Uo for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 03:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Jun 2021 07:31:02 +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.162270545432424 (code B ref 13752); Thu, 03 Jun 2021 07:31:02 +0000 Original-Received: (at 13752) by debbugs.gnu.org; 3 Jun 2021 07:30:54 +0000 Original-Received: from localhost ([127.0.0.1]:41991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lohob-0008Qb-Mw for submit@debbugs.gnu.org; Thu, 03 Jun 2021 03:30:54 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:39274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lohoZ-0008JL-HZ for 13752@debbugs.gnu.org; Thu, 03 Jun 2021 03:30:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vGgRDj7+Id0wAKw4Wov6dSFjSb5c/3gO2osBIdY400Q=; b=qUCpNWznfR2aXdqFWd247Vk8Z2 XK5GLR9zymOxGSeTVhi/xMa92ICapvAwZFJ51iNUjbjOJ5J+KqCQ0gkKMEATxPEfMJVuDEyWrlkTE 4xcxc6wp5VfSZV3ft1Pny6VFCMh0DQIqb/Jv63Y0F617We7NQalD1+k0o4+0f4mM19xA=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lohoQ-0007mj-Bq; Thu, 03 Jun 2021 09:30:45 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAKlBMVEUWEhAhHRokIR4w LCpFQT5BPTtRTUpwbm2ioaBiX12Cf33S0M5AP0D////jKYWoAAAAAWJLR0QN9rRh9QAAAAd0SU1F B+UGAwY5IsjByjMAAAEhSURBVDjL3VK9asMwEJZ8YNrtJJPOiQ2eZR9kLoSGjoW8QIhKoHMGpy9Q FOjQUHBT+gh9gYJerrJdWsexBg9Z+k06fafvfj4x9q/B0ccI75PBxDkxvP9A+Rjy1YiqKnx8WgMq LegIJpwJUd3JTnosBQo8bk04oJQTFL/DIK/OMo9jrCOXVBOCw41iPKGcZlXsvMtqKWCpniFL1hlt l41I0xKn/OE1Y6NyND48NdI/+4L7TMcUlG/RrdmLFuGaC4E07Myn2Sxggi1XQzVPV1NrjdlfIbbW D3fhcnr9Ya19WXSHngeP7wfzVWh9bBgPVVqyiNakuoZpQe1d/1kMOXdR3z+LkJ0HA3V5Y9opLoti 00tcGLPrf2G2z71EQG5lvu/9DcTpK8x/LFvbAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA2LTAz VDA2OjU3OjM0KzAwOjAw5g72xQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNi0wM1QwNjo1Nzoz NCswMDowMJdTTnkAAAAASUVORK5CYII= X-Now-Playing: Little Simz's _Grey Area_: "Offence" In-Reply-To: <83y2bsxx99.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 02 Jun 2021 15:32:34 +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:207898 Archived-At: Eli Zaretskii writes: > 'set_message' isn't called to display errors signaled by 'signal', > because those messages don't go the 'message' route. Those messages > go through cmd_error, which eventually calls command-error-function. > The latter is by default bound to command-error-default-function, > which displays the error message via print_error_message. Thanks! That's the missing piece of the puzzle. I've now extended the doc strings of these two variables to mention each other. > 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. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no