From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Terje Larsen Newsgroups: gmane.emacs.bugs Subject: bug#33490: 27.0.50; auto-save-visited-mode clears the echo area every time the save interval is hit Date: Sat, 24 Nov 2018 12:56:19 +0100 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 12.1 \(3445.101.1\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1543082294 19429 195.159.176.226 (24 Nov 2018 17:58:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Nov 2018 17:58:14 +0000 (UTC) To: 33490@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 24 18:58:09 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gQcC1-0004ti-28 for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Nov 2018 18:58:09 +0100 Original-Received: from localhost ([::1]:57366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQcE7-00013M-Mm for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Nov 2018 13:00:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQcDv-0000yu-KW for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2018 13:00:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQcDs-0004iC-7j for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2018 13:00:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41528) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gQcDs-0004i4-0T for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2018 13:00:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gQcDr-0007LB-Tg for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2018 13:00:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Terje Larsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Nov 2018 18:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33490 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.154308238628142 (code B ref -1); Sat, 24 Nov 2018 18:00:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Nov 2018 17:59:46 +0000 Original-Received: from localhost ([127.0.0.1]:45784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gQcDZ-0007Jp-KD for submit@debbugs.gnu.org; Sat, 24 Nov 2018 12:59:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gQWYE-0004gk-22 for submit@debbugs.gnu.org; Sat, 24 Nov 2018 06:56:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQWY7-0005hy-Tz for submit@debbugs.gnu.org; Sat, 24 Nov 2018 06:56:36 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46550) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gQWY7-0005hd-RD for submit@debbugs.gnu.org; Sat, 24 Nov 2018 06:56:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQWY6-0002Dn-O2 for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2018 06:56:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQWY2-0005bf-2j for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2018 06:56:34 -0500 Original-Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:39470) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gQWY1-0005TP-OW for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2018 06:56:30 -0500 Original-Received: by mail-lf1-x12e.google.com with SMTP id n18so10314492lfh.6 for ; Sat, 24 Nov 2018 03:56:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klarna.com; s=google; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=xAvH6yHsEKTL8Y6FlCAwVJNHDF1RtyIIF3ggTPsX7oQ=; b=VooUB5FzciTqnckSH1gDET5kHbMBH6FRcp/uAullO4dettsGwIM1ec6WZLjsSz4WF3 AWUpEzpFyzf8FQNeQwGNH6V7hRbmWsiTVwPfvY3WKLq0ZoQSKtd+JF5amjDPGlVsBI4g W9llRLIm/6J6AIyePjBiOayhdyKuZA0Pqg9Tv7mreN46z1/Xya3+S1Vluo3byCZYvb3N NXLyqxMPyqcVu8EbsTKeABlus1fX2BdIA3Ilf4sRqtGs7F4rmtse/ygPgOnhLaFO1T7T au3AKrueBk3cBFn9iVovwwOm/5Od+QC0Pok32ZwHukdkyFgC7a6o/ySWqGsEb+XoIe0E QARA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=xAvH6yHsEKTL8Y6FlCAwVJNHDF1RtyIIF3ggTPsX7oQ=; b=TbcizP42jRHHcNY7y2QrX7KpNFWfw2FCTgkQ3bJI72sPg5wsSOBu8wAm7M1V2QuH0/ qBZDId/l7MwfdpU3B2dre5xZOIOhSVTK1JXMaFXUy44YI8I78rqvA3xgXN3ruI4lbsyY d46UBneDHqFzdlzzH0LgXtMpn41WF8oOmxlUwTgAKNtix2p8Ojgck+LgaSLsZrgM8koR rW/eIpXypl2SOVuNzvjbMQ5OH8rLlxmgOYY26emEBLu748QG83j1BWNS7ou/3WIXFtNU w9mkAS49j7ROtT3wpxhKcO3QmhWS9rcCZnqHd6Lp3GOhvhCfN6BVmIsFgff5vxzIRSky Y2Xw== X-Gm-Message-State: AGRZ1gKEwgbOuwpumlgWoPoe/FarjlRFBIepBofHTk21j5BAgsja5jR3 wyIozAgASNlaJovUTCDmnrKb+7HLlQY= X-Google-Smtp-Source: AJdET5c/MLZvJRSY2WHG/WezFqDCMU0OXUbl9OtTPZbie7sItNvSYn3UnkzfKncHYZKOeJNPxR3P+g== X-Received: by 2002:a19:6f0a:: with SMTP id k10mr11150312lfc.119.1543060581425; Sat, 24 Nov 2018 03:56:21 -0800 (PST) Original-Received: from [10.0.1.6] (h-155-4-130-49.NA.cust.bahnhof.se. [155.4.130.49]) by smtp.gmail.com with ESMTPSA id x16sm8139583lff.26.2018.11.24.03.56.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 Nov 2018 03:56:20 -0800 (PST) X-Mailer: Apple Mail (2.3445.101.1) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Sat, 24 Nov 2018 12:59:44 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:152739 Archived-At: M-x auto-save-visited-mode M-: (message "%s" "hello") ... Wait 5 seconds ... Now the message buffer gets cleared and you lose the message. This is causing usability issues when using eldoc/reading some output message as it continously gets cleared. I would expect the `auto-save-visited' feature to not change the = behaviour of the Echo Area. If you compare this to the `auto-save-mode' which outputs a message indicating a save, but restores the Echo Area after. I have tracked down this to the `save-some-buffers' function or more specifically the `map-y-or-n-p' function that it calls. In this function there is a call to message like `(message "")`. In GNU Emacs 27.0.50 (build 2, x86_64-apple-darwin18.0.0, NS = appkit-1671.00 Version 10.14 (Build 18A391)) of 2018-11-07 built on C02V91MHHV2Q.local Repository revision: 811d9291fcfb12d87bad277d4e8b25152129d73d Windowing system distributor 'Apple', version 10.3.1671 System Description: Mac OS X 10.14.1 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Auto-Save-Visited mode enabled You can run the command =E2=80=98auto-save-visited-mode=E2=80=99 with = M-x au-v RET Auto-Save-Visited mode enabled hello "hello" Making completion list... [2 times] Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=3D/usr/local/share/emacs/site-lisp --infodir=3D/usr/local/Cellar/emacs/HEAD-811d929_1/share/info/emacs --prefix=3D/usr/local/Cellar/emacs/HEAD-811d929_1 --with-gnutls --without-x --with-xml2 --without-dbus --with-imagemagick --with-rsvg --with-ns --disable-ns-self-contained' Configured features: RSVG IMAGEMAGICK GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS THREADS LCMS2 GMP Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-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: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cus-start cus-load elec-pair tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win 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 charprop 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 threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 211301 10028) (symbols 48 20869 1) (strings 32 30416 1948) (string-bytes 1 793438) (vectors 16 35289) (vector-slots 8 725548 23404) (floats 8 47 72) (intervals 56 245 0) (buffers 992 12))