From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.bugs Subject: bug#18336: 24.4.50; When editing externally changed file, Emacs asks too many questions Date: Wed, 27 Aug 2014 09:44:11 +0200 Message-ID: <87mwaq74xg.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1409127559 597 80.91.229.3 (27 Aug 2014 08:19:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2014 08:19:19 +0000 (UTC) To: 18336@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 27 10:19:13 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XMYRk-0000C9-CM for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Aug 2014 10:19:12 +0200 Original-Received: from localhost ([::1]:58197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMYRj-0007Yr-W9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Aug 2014 04:19:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMYRe-0007Ym-Nx for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2014 04:19:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMYRa-0005n4-Ld for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2014 04:19:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMYRa-0005mr-He for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2014 04:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XMYRZ-00049h-Th for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2014 04:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Kastrup Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Aug 2014 08:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18336 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.140912752215944 (code B ref -1); Wed, 27 Aug 2014 08:19:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Aug 2014 08:18:42 +0000 Original-Received: from localhost ([127.0.0.1]:53183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XMYRE-000494-Mc for submit@debbugs.gnu.org; Wed, 27 Aug 2014 04:18:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35926) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XMYRB-00048p-Jp for submit@debbugs.gnu.org; Wed, 27 Aug 2014 04:18:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMYR5-0005kI-0w for submit@debbugs.gnu.org; Wed, 27 Aug 2014 04:18:32 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMYR4-0005kE-Td for submit@debbugs.gnu.org; Wed, 27 Aug 2014 04:18:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMYR3-0007Tj-Fy for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2014 04:18:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMYR1-0005jz-U6 for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2014 04:18:29 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMYR1-0005jv-QS for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2014 04:18:27 -0400 Original-Received: from localhost ([127.0.0.1]:56021 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMYR1-0002z6-D2 for bug-gnu-emacs@gnu.org; Wed, 27 Aug 2014 04:18:27 -0400 Original-Received: by lola (Postfix, from userid 1000) id 37ADFE0C21; Wed, 27 Aug 2014 09:44:11 +0200 (CEST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:92710 Archived-At: When editing an externally changed file (under version control, no idea whether that is related), I get the following questions (see below in the input and output section). It does not make sense at all for Emacs to ask smob-convert.sh changed on disk; really edit the buffer? (y, n, r or C-h) y as a reply to me typing C-x C-s since C-x C-s is _not_ a request to edit the buffer. It is a request to save the file _after_ editing the buffer, and I already discussed the consequences of editing and saving with Emacs previously. Apart from being annoying by asking me the same question several times, the question does not even make any sense the second time round. I=A0never know whether Emacs requires me to answer this quite nonsensical question with "y" or "n" in order to write the changed buffer, and what will happen in either of the two cases of answering this no longer applicable question. In GNU Emacs 24.4.50.1 (i686-pc-linux-gnu, GTK+ Version 3.10.8) of 2014-07-28 on lola Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04.1 LTS Configured using: `configure --without-toolkit-scroll-bars' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Shell-script Minor modes in effect: sh-electric-here-document-mode: t shell-dirtrack-mode: t diff-auto-refine-mode: t TeX-PDF-mode: t desktop-save-mode: t minibuffer-electric-default-mode: t tooltip-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 blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent input: C-x r t # SPC y =20 C-x C-s y e s y Recent messages: smob-convert.sh changed on disk; really edit the buffer? (y, n, r or C-h) y File on disk now will become a backup file if you save these changes. Saving file /usr/local/tmp/lilypond/scripts/auxiliar/smob-convert.sh... smob-convert.sh changed on disk; really edit the buffer? (y, n, r or C-h) y File on disk now will become a backup file if you save these changes. Wrote /usr/local/tmp/lilypond/scripts/auxiliar/smob-convert.sh Load-path shadows: None found. Features: (shadow emacsbug org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view image-mode org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar cal-loaddefs nroff-mode ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff skeleton diff texmathp reftex-parse deuglify talk ffap vc-bzr vc-sccs vc-svn vc-cvs vc-rcs gnus-topic canlock sh-script smie executable rect url-util url-parse url-vars calc-alg calc-ext calc-menu calc calc-loaddefs calc-macs shr-color color sendmail nnir shell pcomplete imenu view woman man gnus-fun debug smerge-mode vc vc-dispatcher shr gnus-dup eieio-opt speedbar sb-image ezimage dframe find-func dabbrev browse-url flyspell ispell git-commit-mode log-edit pcvs-util add-log misearch multi-isearch help-mode git-rebase-mode thingatpt diff-mode gnus-kill qp mule-util sort smiley gnus-cite flow-fill mm-archive mail-extr gnus-async gnus-bcklg gnus-ml disp-table pop3 nndir nndraft nnmh gnutls network-stream auth-source eieio eieio-core starttls nnml nnfolder nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime password-cache dig mailcap nntp gnus-cache gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win jka-compr autorevert filenotify latexenc preview prv-emacs tex-bar toolbar-x noutline outline font-latex byte-opt bytecomp byte-compile cconv latex easy-mmode edmacro kmacro tex-style reftex-dcr reftex-auc reftex reftex-vars tex-buf tex-info texinfo tex dbus xml crm python json message dired-x dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader scheme lilypond-mode compile comint ansi-color ring vc-git cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs info easymenu package advice desktop frameset minibuf-eldef gnus gnus-ems nnheader gnus-util mail-utils mm-util help-fns mail-prsvr wid-edit cl-loaddefs cl-lib cus-start cus-load preview-latex tex-site auto-loads server time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 8 936702 107452) (symbols 24 62111 274) (miscs 20 1517 5186) (strings 16 173785 25925) (string-bytes 1 4819519) (vectors 8 55012) (vector-slots 4 1881617 31930) (floats 8 524 1344) (intervals 28 65318 2112) (buffers 512 230) (heap 1024 73167 13542)) --=20 David Kastrup