bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50224: 27.2; auto-save-visited-mode blanks out the echo area after 5


From: meedstrom
Subject: bug#50224: 27.2; auto-save-visited-mode blanks out the echo area after 5 seconds
Date: Fri, 27 Aug 2021 11:06:53 +0000

Hey heroes,

So this has been troubling me for years, I thought it was just a part of
how Emacs worked.  But it cannot be intended.  Often there are complex
prompts that take time to read, such what lsp-mode asks you upon
visiting a .sh buffer.  Then after 5 seconds, the prompt text
disappears, but the minibuffer is still active and awaiting your reply.

To test it:

- M-x auto-save-visited-mode
- edit any buffer
- eval (message "foo")
- wait 5 secs

You'll see "foo" disappear.

I could look at how to solve this, but I'd need guidance.  The mode
calls save-some-buffers after 5 idle seconds, and I thought we could
wrap it in a let-binding that sets save-silently to t.  But it still
blanks the echo area. I also tried wrapping it in Doom Emacs' extensive
'quiet!' macro, and it still blanks the echo area.  Is this misbehavior
on the part of save-some-buffers?

Martin Edström



In GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo 
version 1.16.0)
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
Recent messages:
Battery status not available
------ (Eva debug) Trying to turn on. ------
org-capture-templates changed!
org-agenda-files changed!
Doom loaded 317 packages across 33 modules in 4.646s
Loading /home/me/doom-emacs/.local/cache/recentf...done
Wrote /tmp/mu4e_lock
[mu4e] Switched to Teknik
[mu4e] Switched context to Teknik
Wrote /tmp/mu4e_lock

Configured using:
 'configure
CONFIG_SHELL=/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash
SHELL=/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash
--prefix=/gnu/store/x8gjhwynxqsgrcd9d91jac6ii943zfdx-emacs-27.2
--enable-fast-install --with-modules --with-cairo
--disable-build-details'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS JSON PDUMPER
GMP

Important settings:
  value of $EMACSLOADPATH: 
/home/kept/guix-profiles/emacs/emacs/share/emacs/site-lisp:/gnu/store/x8gjhwynxqsgrcd9d91jac6ii943zfdx-emacs-27.2/share/emacs/27.2/lisp
  value of $LANG: en_DK.utf8
  locale-coding-system: utf-8-unix

Major mode: Elisp

Minor modes in effect:
  org-roam-db-autosync-mode: t
  whitespace-mode: t
  display-fill-column-indicator-mode: t
  highlight-quoted-mode: t
  rainbow-delimiters-mode: t
  highlight-numbers-mode: t
  hl-todo-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  gcmh-mode: t
  winner-mode: t
  flycheck-popup-tip-mode: t
  global-flycheck-mode: t
  flycheck-mode: t
  ws-butler-global-mode: t
  ws-butler-mode: t
  editorconfig-mode: t
  recentf-mode: t
  global-so-long-mode: t
  global-git-commit-mode: t
  diff-hl-margin-mode: t
  which-key-mode: t
  savehist-mode: t
  better-jumper-mode: t
  better-jumper-local-mode: t
  vertico-mode: t
  all-the-icons-completion-mode: t
  marginalia-mode: t
  company-mode: t
  outline-minor-mode: t
  solaire-global-mode: t
  display-line-numbers-mode: t
  smartparens-global-mode: t
  smartparens-mode: t
  eva-mode: t
  keyfreq-autosave-mode: t
  keyfreq-mode: t
  show-paren-mode: t
  save-place-mode: t
  prism-mode: t
  global-hl-line-mode: t
  hl-line-mode: t
  el-patch-use-package-mode: t
  global-form-feed-mode: t
  form-feed-mode: t
  shell-dirtrack-mode: t
  delete-selection-mode: t
  projectile-mode: t
  general-override-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  prettify-symbols-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  window-divider-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-save-visited-mode: t

Load-path shadows:
---snipped--- (10 times longer than rest of message)

Features:
(shadow emacsbug mu4e-alert time ht alert log4e notifications dbus gntp
mu4e mu4e-org mu4e-main mu4e-view mu4e-view-gnus gnus-art mm-uu mml2015
mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start
gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int
gnus-range gnus-win gnus nnheader mu4e-view-common mu4e-headers
mu4e-compose mu4e-context mu4e-draft mu4e-actions ido rfc2368 smtpmail
sendmail mu4e-mark mu4e-proc mu4e-utils doc-view jka-compr image-mode
exif mu4e-lists mu4e-message shr svg xml dom flow-fill mu4e-vars
org-agenda org-roam-migrate org-roam-mode org-roam-capture org-roam-node
org-roam-db org-roam-utils org-roam org-roam-compat org-capture org-id
org-refile smartparens-org org-yt org-element avl-tree generator org
org-list org-entities org-version ob-emacs-lisp org-table org-loaddefs
ob ob-tangle ol ob-ref ob-lob ob-table ob-exp org-macro org-footnote
org-src org-keys oc org-cite ob-comint ob-core ob-eval org-pcomplete
disp-table whitespace flycheck-cask display-fill-column-indicator
highlight-quoted rainbow-delimiters highlight-numbers parent-mode
hl-todo org-faces org-compat org-macs cal-menu calendar cal-loaddefs
emacsql-sqlite url-http url-auth url-gw nsm url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
mailcap emacsql emacsql-compiler yasnippet elisp-mode mule-util
auto-minor-mode editorconfig-core editorconfig-core-handle
editorconfig-fnmatch consult-flycheck consult-vertico consult bookmark
gcmh winner flycheck-popup-tip popup flycheck-package package-lint imenu
finder finder-inf lisp-mnt core-packages package browse-url url-handlers
url-parse url-vars flycheck ws-butler editorconfig recentf tree-widget
so-long git-commit with-editor log-edit message rmc puny rfc822 mml
mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs
text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils
gmm-utils mailheader add-log magit-git magit-section magit-utils crm
vc-hg diredfl diff-hl-margin diff-hl-dired diff-hl log-view pcvs-util
vc-dir ewoc all-the-icons-dired vertico-directory vertico-repeat
cursor-sensor which-key savehist better-jumper vertico orderless
all-the-icons-completion all-the-icons all-the-icons-faces data-material
data-weathericons data-octicons data-fileicons data-faicons
data-alltheicons marginalia company-capf company autorevert filenotify
cus-edit cus-start cus-load wid-edit exwm exwm-input xcb-keysyms xcb-xkb
exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout
exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xproto xcb-types
xcb-debug server goto-addr vc-git diff-mode vc-svn vc vc-dispatcher
ess-r-mode ess-r-flymake flymake-proc flymake ess-r-xref xref ess-trns
ess-r-package ess-r-completion ess-roxy ess-r-syntax ess-rd noutline
outline hideshow ess-s-lang ess-help info ess-mode ess-inf ess-tracebug
doom-themes-ext-org solaire-mode doom-Iosvkem-theme doom-themes
doom-themes-base display-line-numbers adaptive-wrap smartparens-config
smartparens-text smartparens-ess smartparens dtrt-indent warnings
eva-builtin eva pfuture inline ess ess-utils ess-custom project ts
advice find-func keyfreq f dired-git-info dired dired-loaddefs
two-column iso-transl paren cua-base deianira named-timer concurrent
deferred defrepeater s repeat key-chord battery saveplace prism dash
face-remap color hl-line hydra lv el-patch form-feed crux docker-tramp
tramp-cache tramp tramp-loaddefs trampver tramp-integration files-x
tramp-compat shell pcomplete parse-time iso8601 time-date ls-lisp
auth-source password-cache twee-mode subed derived subed-vtt subed-srt
subed-common subed-mpv json map subed-debug subed-config my-transients
my-lib-shells my-lib transient format-spec eieio my-lib-unprefixed
my-lib-mothball delsel projectile grep compile comint ansi-color ring
ibuf-ext ibuffer ibuffer-loaddefs thingatpt mu4e-meta html2text
let-alist edmacro kmacro core-editor core-projects core-ui easy-mmode
core-keybinds pp general cl-extra help-mode easymenu cl-seq
use-package-core core-modules eieio-core eieio-loaddefs rx
mu4e-autoloads guix-emacs seq byte-opt bytecomp byte-compile cconv core
core-lib pcase cl-macs gv cl-loaddefs cl-lib subr-x chemacs 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 lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer 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 charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray 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 threads dbusbind inotify dynamic-setting system-font-setting
font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 743512 83428)
 (symbols 48 72838 2)
 (strings 32 191029 10595)
 (string-bytes 1 6505080)
 (vectors 16 90995)
 (vector-slots 8 2046927 72200)
 (floats 8 1431 231)
 (intervals 56 3942 360)
 (buffers 1000 23))






reply via email to

[Prev in Thread] Current Thread [Next in Thread]