From: Sebastien <us021121@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Remove minibuffer message after appending to file
Date: Mon, 5 Oct 2009 23:34:17 -0700 (PDT) [thread overview]
Message-ID: <95b0bbb5-f63b-4428-8b5c-55e159998aa1@r36g2000vbn.googlegroups.com> (raw)
Is it possible to remove the text
"Added to <filename>"
which appears in the minibuffer after appending text to a file via
(append-to-file min max filename)
or
(write-region min max filename t) ?
The souce code generating the message is in "fileio.c" in the
function Fwrite_region .
if (!auto_saving)
message_with_string ((INTEGERP (append)
? "Updated %s"
: ! NILP (append)
? "Added to %s"
: "Wrote %s"),
visit_file, 1);
It would be nice to have a technique to bypass the message_with_string
function.
Regards,
Sebastien
next reply other threads:[~2009-10-06 6:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-06 6:34 Sebastien [this message]
2009-10-06 12:12 ` Remove minibuffer message after appending to file Pascal J. Bourguignon
2009-10-06 20:23 ` Sebastien
2009-10-06 21:12 ` Pascal J. Bourguignon
2009-10-06 23:37 ` Glenn Morris
2009-10-07 19:28 ` Sebastien
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=95b0bbb5-f63b-4428-8b5c-55e159998aa1@r36g2000vbn.googlegroups.com \
--to=us021121@yahoo.com \
--cc=help-gnu-emacs@gnu.org \
/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.
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).