GNU bug report logs - #25285
26.0.50; Provide an option to suppress "wrote to file" messages

Previous Next

Package: emacs;

Reported by: Swarnendu Biswas <sbiswas <at> ices.utexas.edu>

Date: Wed, 28 Dec 2016 01:11:02 UTC

Severity: wishlist

Found in version 26.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25285 in the body.
You can then email your comments to 25285 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#25285; Package emacs. (Wed, 28 Dec 2016 01:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Swarnendu Biswas <sbiswas <at> ices.utexas.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 28 Dec 2016 01:11:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Swarnendu Biswas <sbiswas <at> ices.utexas.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.50; Provide an option to suppress "wrote to file" messages
Date: Tue, 27 Dec 2016 17:28:12 -0600
Hi,

This is not exactly a bug, but a request for an option that allows us to
suppress "Wrote to <file>" messages from Emacs. These messages are
distracting to the work flow for example if you use recentf and have
autosave enabled.

The following thread has related discussion: 
emacs.stackexchange.com/questions/14706/suppress-message-in-minibuffer-when-a-buffer-is-saved/.


In GNU Emacs 26.0.50.20 (x86_64-pc-linux-gnu, GTK+ Version 3.22.5)
of 2016-12-26 built on sbiswas-Dell-System-XPS-L502X
Repository revision: a8a24b5be7f8cb6741f28000ae34c5b39ad9644e
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description: Ubuntu 16.10

Recent messages:
Configuring package paradox...done
Importing package-keyring.gpg...done
Package refresh done
2 packages can be upgraded; type ā€˜Uā€™ to mark them for upgrading.
2 packages marked for upgrading.
Install 2 packages, and Delete 2 packages? (y or n) y
Installed 2 packages, and Deleted 2 packages. See the buffer *Paradox 
Report* for more details.
Showing all blocks ... done
Saving file /home/sbiswas/.emacs.d/tmp/recentf...
Wrote /home/sbiswas/.emacs.d/tmp/recentf

Configured using:
'configure CFLAGS=-no-pie'

Configured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY GNUTLS LIBXML2
FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix

Major mode: Paradox Menu

Minor modes in effect:
shell-dirtrack-mode: t
which-key-mode: t
TeX-PDF-mode: t
TeX-source-correlate-mode: t
volatile-highlights-mode: t
global-hl-line-mode: t
hl-line-mode: t
global-whitespace-cleanup-mode: t
global-flycheck-mode: t
yas-global-mode: t
yas-minor-mode: t
immortal-scratch-mode: t
persistent-scratch-autosave-mode: t
global-undo-tree-mode: t
undo-tree-mode: t
smart-mark-mode: t
golden-ratio-mode: t
popwin-mode: t
global-hungry-delete-mode: t
hungry-delete-mode: t
Info-breadcrumbs-in-mode-line-mode: t
projectile-mode: t
show-smartparens-global-mode: t
smartparens-global-mode: t
global-anzu-mode: t
anzu-mode: t
counsel-mode: t
company-quickhelp-mode: t
company-statistics-mode: t
company-flx-mode: t
global-company-mode: t
company-mode: t
recentf-mode: t
global-ace-isearch-mode: t
ace-isearch-mode: t
ivy-mode: t
nyan-mode: t
spaceline-info-mode: t
tabbar-mwheel-mode: t
tabbar-mode: t
diff-auto-refine-mode: t
global-subword-mode: t
subword-mode: t
minibuffer-depth-indicate-mode: t
savehist-mode: t
save-place-mode: t
delete-selection-mode: t
global-auto-revert-mode: t
show-paren-mode: t
display-time-mode: t
override-global-mode: t
global-eldoc-mode: t
electric-layout-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
buffer-read-only: t
line-number-mode: t
transient-mark-mode: t

Load-path shadows:
/home/sbiswas/.emacs.d/elpa/helm-bibtex-20161213.2242/bibtex-completion 
hides 
/home/sbiswas/.emacs.d/elpa/ivy-bibtex-20161213.2242/bibtex-completion

Features:
(shadow sort mail-extr emacsbug sendmail mm-archive message rfc822 mml
mml-sec epa derived gnus-util rmail rmail-loaddefs mailabbrev gmm-utils
mailheader mm-decode mm-bodies mm-encode mail-utils network-stream
starttls url-http tls gnutls mail-parse rfc2231 rfc2047 rfc2045 mm-util
ietf-drums mail-prsvr url-gw nsm puny url-cache url-auth url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util epg async paradox paradox-menu paradox-commit-list
paradox-execute paradox-github paradox-core spinner expand-region
text-mode-expansions latex-mode-expansions er-basic-expansions
expand-region-core expand-region-custom pp hideshow colir
counsel-projectile tramp-cache tramp-sh tramp tramp-compat
tramp-loaddefs trampver bash-completion readline-complete shell-command
shell pcomplete parse-time server-init keybindings-init which-key
defuns-init tags-init counsel-gtags git-init svn-init shell-init
python-init py-autopep8 java-init company-emacs-eclim eclim-completion
eclimd eclim eclim-scala eclim-debug gud eclim-java-run eclim-maven
eclim-java eclim-problems eclim-project eclim-ant eclim-common arc-mode
archive-mode cc-init prog-init eldoc-extension make-mode org-init
latex-init company-bibtex bibtex-completion biblio biblio-download
biblio-dissemin biblio-hal biblio-dblp biblio-crossref biblio-arxiv
timezone biblio-doi biblio-core let-alist url-queue f browse-url
parsebib bibtex-utils reftex-cite reftex reftex-loaddefs reftex-vars
bibtex tex-smart-umlauts iso-cvt company-math company-auctex
math-symbol-lists auctex-latexmk tex-buf smartparens-latex latex
tex-ispell tex-style tex dbus xml crm text-init writegood-mode
tramp-init highlight-init volatile-highlights fic-mode highlight-symbol
highlight-numbers parent-mode hlinum linum hl-line whitespace-init
ws-butler whitespace-cleanup-mode whitespace rainbow-init
rainbow-delimiters flycheck-init flycheck-pos-tip flycheck json map
find-func rx yasnippet-init yasnippet misc-init immortal-scratch vc-git
persistent-scratch ignoramus undo-tree diff smart-mark golden-ratio
popwin bug-hunter jgraph-mode move-text hungry-delete vlf-setup vlf
vlf-base vlf-tune help-mode+ help+ info+ fci-init projectile-init
ibuffer-projectile projectile grep ibuf-ext ibuffer ibuffer-loaddefs
kill-ring-init abbrev-init parens-init smartparens-config smartparens
indent-init highlight-indentation aggressive-indent ace-modes-init
spell-init flyspell-popup popup flyspell ispell anzu-init anzu ivy-init
ivy-rich counsel esh-util ivy-hydra hydra lv smex-init smex ido
company-init company-quickhelp pos-tip company-statistics company-flx
company-oddmuse company-keywords company-etags etags xref project
company-gtags company-dabbrev-code company-dabbrev company-files
company-capf company-cmake company-xcode company-clang company-semantic
company-eclim company-template company-css company-nxml company-bbdb
company recentf-init recentf-ext recentf tree-widget search-init
ace-isearch avy ace-jump-mode cl helm-swoop helm-grep helm-regexp
helm-utils helm-help helm helm-source eieio-compat helm-multi-match
helm-lib ag vc-svn compile comint ansi-color ring find-dired swiper ivy
flx ivy-overlay ffap thingatpt isearch-symbol-at-point dired-init
dired-icon mailcap ezimage dired-narrow dired-hacks-utils dired-efap
dired+ image-dired format-spec image-file help-fns+ help-fns radix-tree
dired-aux dired-x ibuffer-init mode-line-init nyan-mode spaceline-config
spaceline-segments s ucs-normalize spaceline powerline
powerline-separators color powerline-themes dash appearance-init tabbar
spacemacs-light-theme spacemacs-common defaults-init smerge-mode
diff-mode doc-view subr-x jka-compr image-mode dired dired-loaddefs
warnings cap-words superword subword mb-depth savehist saveplace delsel
autorevert filenotify xt-mouse user-init packages-init session paren
time cus-edit cus-start cus-load wid-edit use-package diminish bind-key
easy-mmode config-init finder-inf tex-site edmacro kmacro advice info
package epg-config url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt
gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs
pcase cl-lib time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript case-table epa-hook jka-cmpr-hook help
simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button
faces cus-face macroexp files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote dbusbind inotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 2030002 189890)
(symbols 48 55832 49)
(miscs 40 891 582)
(strings 32 237238 74126)
(string-bytes 1 6824859)
(vectors 16 90748)
(vector-slots 8 2212977 115158)
(floats 8 1343 1286)
(intervals 56 217486 11090)
(buffers 976 23))

-- 
Regards,
Swarnendu Biswas.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25285; Package emacs. (Wed, 28 Dec 2016 15:04:01 GMT) Full text and rfc822 format available.

Message #8 received at 25285 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: Swarnendu Biswas <sbiswas <at> ices.utexas.edu>
Cc: 25285 <at> debbugs.gnu.org
Subject: Re: bug#25285: 26.0.50;
 Provide an option to suppress "wrote to file" messages
Date: Wed, 28 Dec 2016 10:04:19 -0500
severity 25285 wishlist
quit

Swarnendu Biswas <sbiswas <at> ices.utexas.edu> writes:

>
> This is not exactly a bug, but a request for an option that allows us to
> suppress "Wrote to <file>" messages from Emacs. These messages are
> distracting to the work flow for example if you use recentf and have
> autosave enabled.
>
> The following thread has related discussion:
> emacs.stackexchange.com/questions/14706/suppress-message-in-minibuffer-when-a-buffer-is-saved/.

Is the suggestion there to use `inhibit-message' not enough?




Severity set to 'wishlist' from 'normal' Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Wed, 28 Dec 2016 15:04:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25285; Package emacs. (Thu, 29 Dec 2016 03:56:02 GMT) Full text and rfc822 format available.

Message #13 received at 25285 <at> debbugs.gnu.org (full text, mbox):

From: Swarnendu Biswas <sbiswas <at> ices.utexas.edu>
To: npostavs <at> users.sourceforge.net
Cc: 25285 <at> debbugs.gnu.org
Subject: Re: bug#25285: 26.0.50; Provide an option to suppress "wrote to file"
 messages
Date: Wed, 28 Dec 2016 21:55:44 -0600
Hi,

On 12/28/2016 09:04 AM, npostavs <at> users.sourceforge.net wrote:
> severity 25285 wishlist
> quit
>
> Swarnendu Biswas <sbiswas <at> ices.utexas.edu> writes:
>
>> This is not exactly a bug, but a request for an option that allows us to
>> suppress "Wrote to <file>" messages from Emacs. These messages are
>> distracting to the work flow for example if you use recentf and have
>> autosave enabled.
>>
>> The following thread has related discussion:
>> emacs.stackexchange.com/questions/14706/suppress-message-in-minibuffer-when-a-buffer-is-saved/.
> Is the suggestion there to use `inhibit-message' not enough?
I was wondering whether it made more sense and is possible to not 
disable (message ) globally, but instead only say in write-region.

--Regards,
Swarnendu Biswas.

>





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25285; Package emacs. (Tue, 06 Jul 2021 15:20:02 GMT) Full text and rfc822 format available.

Message #16 received at 25285 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Swarnendu Biswas <sbiswas <at> ices.utexas.edu>
Cc: 25285 <at> debbugs.gnu.org
Subject: Re: bug#25285: 26.0.50; Provide an option to suppress "wrote to
 file" messages
Date: Tue, 06 Jul 2021 17:19:39 +0200
Swarnendu Biswas <sbiswas <at> ices.utexas.edu> writes:

> This is not exactly a bug, but a request for an option that allows us to
> suppress "Wrote to <file>" messages from Emacs. These messages are
> distracting to the work flow for example if you use recentf and have
> autosave enabled.

In more recent Emacs versions, this can be controlled by
`set-message-function' -- you can match on the message you want to
suppress.  So I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 25285 <at> debbugs.gnu.org and Swarnendu Biswas <sbiswas <at> ices.utexas.edu> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 06 Jul 2021 15:20:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 04 Aug 2021 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 258 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.