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#3465: 23.0.94; feature request: be able to log minibuffer messages Date: Fri, 21 Aug 2020 02:05:44 +0200 Message-ID: <87eeo0j21z.fsf@gnus.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> <87tuwwhnq8.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7438"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 3465@debbugs.gnu.org, bojohan@gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 21 02:08:35 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 1k8ubi-0001pQ-P2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Aug 2020 02:08:34 +0200 Original-Received: from localhost ([::1]:55570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8ubh-0003VP-Nz for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 20:08:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8uaI-0001yT-JJ for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 20:07:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8uaE-0000KL-Kn for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 20:07:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k8uaE-00005B-Ef for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 20:07: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: Fri, 21 Aug 2020 00:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 3465 X-GNU-PR-Package: emacs Original-Received: via spool by 3465-submit@debbugs.gnu.org id=B3465.159796836832721 (code B ref 3465); Fri, 21 Aug 2020 00:07:02 +0000 Original-Received: (at 3465) by debbugs.gnu.org; 21 Aug 2020 00:06:08 +0000 Original-Received: from localhost ([127.0.0.1]:44478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8uZL-0008Vf-4d for submit@debbugs.gnu.org; Thu, 20 Aug 2020 20:06:08 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:35564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8uZF-0008V3-D1 for 3465@debbugs.gnu.org; Thu, 20 Aug 2020 20:06:05 -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=UI7oyUqPQsk7edqxPz4YwmeZ7SD1/tSkX7PCqg3dYVU=; b=ppzfKm/71tux69UWCkSEQK3D9K JaM7pTwfibaXcCKkdkmzgDVbIEgx59MJ1eE8JBzU9bt1FAIxqrPl6MBMIgPX+yIBKPt7+VJHrQq1C zqMjwAYXxCgw93hG1x9zxcKKJT/r+MbwxCstcXln6BmIOE3db/UHjdx47Mzo9/zOWZR8=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8uZ0-0004eZ-8y; Fri, 21 Aug 2020 02:05:55 +0200 X-Now-Playing: Fly Pan Am's _C'est =?UTF-8?Q?=C3=83=C2=A7a=5F:?= "Discreet Channeling" In-Reply-To: <87tuwwhnq8.fsf@mail.linkov.net> (Juri Linkov's message of "Fri, 21 Aug 2020 02:40:31 +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:185802 Archived-At: Juri Linkov writes: >> 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. > > This was already implemented in 8693611136 (see "Record message in the > *Messages* buffer" > in 'minibuffer-message'), but later reverted in 7254b63462. The reversion refers to Revert aa89c84e00d8dc85100e6fedab7631c415e6364d (bug#38457) which is a very long thread. What was the reason for removing the *Messages* logging? The patch had other things in addition to the logging... But I liked the way to log to the buffer: + ;; Record message in the *Messages* buffer + (let ((inhibit-message t)) + (if args + (apply #'message message args) + (message "%s" message))) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no