unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: dick.r.chiang@gmail.com
Cc: 58788@debbugs.gnu.org
Subject: bug#58788: 29.0.50; [PATCH] Respect inhibit-message
Date: Sun, 13 Nov 2022 19:39:44 +0200	[thread overview]
Message-ID: <86mt8udbl7.fsf@mail.linkov.net> (raw)
In-Reply-To: <87y1t3aa4m.fsf@dick> (dick r. chiang's message of "Tue, 25 Oct 2022 17:03:53 -0400")

tags 58788 notabug
close 58788 29.0.50
quit

> (let ((dont \"dont clear me\!\")) \
>   (message dont) \
>   (let ((inhibit-message t)) \
>     (message \"nice try\") \
>     (cl-assert (equal (current-message) dont) t)))"

(setq clear-message-function
      (lambda () (when inhibit-message 'dont-clear-message)))

Problem solved.





  parent reply	other threads:[~2022-11-13 17:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-25 21:03 bug#58788: 29.0.50; [PATCH] Respect inhibit-message dick.r.chiang
2022-10-26  5:36 ` Stefan Kangas
2022-10-27 16:50 ` Eli Zaretskii
2022-11-13 17:39 ` Juri Linkov [this message]
2022-11-13 18:24   ` dick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86mt8udbl7.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=58788@debbugs.gnu.org \
    --cc=dick.r.chiang@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).