From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#4477: bug#3465: 23.0.94; feature request: be able to log minibuffer messages Date: Sat, 22 Aug 2020 20:02:53 +0300 Message-ID: <834kouaa0y.fsf@gnu.org> References: <87a8keeufp.fsf@gnus.org> <87r3dq248n.fsf@gnu.org> <87ziseu7bh.fsf@gnus.org> <87zh6pkv4b.fsf@gnus.org> <83364hceou.fsf@gnu.org> <87k0xtktxc.fsf@gnus.org> <83wo1taywj.fsf@gnu.org> <871rk1ksob.fsf@gnus.org> <83sgchaydm.fsf@gnu.org> <87sgchjd9r.fsf@gnus.org> <83tuwv9mm2.fsf@gnu.org> <87ft8en62j.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8698"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 3465@debbugs.gnu.org, larsi@gnus.org, 4477@debbugs.gnu.org, bojohan@gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 22 19:04:09 2020 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 1k9Ww5-000288-I6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Aug 2020 19:04:09 +0200 Original-Received: from localhost ([::1]:55394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9Ww4-00069b-JZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Aug 2020 13:04:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9Wvy-00069I-Hq for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2020 13:04:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39746) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9Wvy-0008Qy-94 for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2020 13:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k9Wvy-0004IG-5Z for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2020 13:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Aug 2020 17:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4477 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 4477-submit@debbugs.gnu.org id=B4477.159811579416433 (code B ref 4477); Sat, 22 Aug 2020 17:04:02 +0000 Original-Received: (at 4477) by debbugs.gnu.org; 22 Aug 2020 17:03:14 +0000 Original-Received: from localhost ([127.0.0.1]:51289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9WvC-0004Gx-9N for submit@debbugs.gnu.org; Sat, 22 Aug 2020 13:03:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9Wv7-0004Gd-IK; Sat, 22 Aug 2020 13:03:13 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40473) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9Wv2-0008NN-04; Sat, 22 Aug 2020 13:03:04 -0400 Original-Received: from [176.228.60.248] (port=1455 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k9Wv0-00072h-D4; Sat, 22 Aug 2020 13:03:02 -0400 In-Reply-To: (message from Drew Adams on Sat, 22 Aug 2020 09:54:14 -0700 (PDT)) 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:185978 Archived-At: > Date: Sat, 22 Aug 2020 09:54:14 -0700 (PDT) > From: Drew Adams > Cc: 3465@debbugs.gnu.org, bojohan@gnu.org, 4477@debbugs.gnu.org > > > >> There's no problem with logging in general. The request is to also have > > >> the messages output by the minibuffer-message function also end up in > > >> the *Messages* buffer. > > No. The request is to _be able_ to also log > `minibuffer-message' feedback. > > > > By default? I'd object to that. As an option, maybe; > > The bug requested to _be able to_ do it. > Not to do it by default. I was responding to Lars, not to your original request. > > > but then I > > > don't understand why this is requested as a core feature, since any > > > Lisp program that wants this can simply call 'message' with the same > > > string, and be done. > > No. `minibuffer-message' has an entirely different > UI effect. You are coupling the UI effect (messaging) > with the logging effect. It is you, even in your "but > then" (i.e., NOT by default), who are saying that > every time logging is wanted the UI effect of `message' > is also wanted. Yes, yes, everyone knows that. No need to reiterate the trivia. Please focus on the real issues at hand. > That's exactly the point of this bug: > > 1. `message' and `minibuffer-message' have different UI > effects. They are used for different things. > > 2. `message' can be logged. `minibuffer-message' cannot. > > The point is to be able to log `minibuffer-message', > WITHOUT getting the different UI effect of `message'. Yes, we understood that. No need to reiterate. > Please reread the bug report. I don't think it's hard > to understand the request: Be able to also log > `minibuffer-message' output. Please re-read what I responded. Which part of it contradicts what you requested? > And obviously WITHOUT calling `message', which is not > logging `minibuffer-message' but logging `message', > and which adds the UI effect of `message'. The UI effect of 'message' can be easily disabled by the Lisp program which calls 'message', which in effect converts 'message' into a logging function. Include that in the code that calls 'minibuffer-message', and you have what you wanted, no? > Eli seems to have clearly misunderstood the request. Please don't second-guess my misunderstandings. It is rude, to say the least. > Please reopen this enhancement request. It's simply > a request to _be able to_ log `minibuffer-message' > output. Not a big deal. You are already able to do that, AFAICT.