unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36160: 25.2; Emacs does not ask to save modified files when shutting down OS
@ 2019-06-10 18:31 Johan Pretorius
  2019-06-13 15:59 ` Glenn Morris
  0 siblings, 1 reply; 10+ messages in thread
From: Johan Pretorius @ 2019-06-10 18:31 UTC (permalink / raw)
  To: 36160

[-- Attachment #1: Type: text/plain, Size: 14985 bytes --]

Hi there,

1. Open Emacs
2. Open some file in a buffer (C-x C-f)
3. Edit the buffer, DON'T save it to file
4. Shutdown computer (e.g. Ubuntu shutdown)
5. Start it back up again
6. Open the same file again
7. Look for the change you made... it's not there

The file is not saved during OS shutdown, nor is there any complaint
from Emacs in this situation.  It is about to lose data... It should
complain!

Regards,
Johan


In GNU Emacs 25.2.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2017-09-22, modified by Debian built on lgw01-amd64-050
Windowing system distributor 'The X.Org Foundation', version 11.0.12001000
System Description: Ubuntu 18.04.2 LTS

Configured using:
 'configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --build x86_64-linux-gnu
 --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-x=yes --with-x-toolkit=lucid
 --with-toolkit-scroll-bars --without-gsettings 'CFLAGS=-g -O2
 -fdebug-prefix-map=/build/emacs25-jYekUr/emacs25-25.2+1=.
-fstack-protector-strong
 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro''

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS NOTIFY ACL
LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS LUCID X11

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

Major mode: Org

Minor modes in effect:
  org-indent-mode: t
  tooltip-mode: t
  global-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
  auto-fill-function: org-auto-fill-function
  transient-mark-mode: t

Recent messages:
Mark set
Saving file /home/johan/.emacs...
Wrote /home/johan/.emacs
(("d" "Daily Planning Agenda + Next Actions" ((agenda "" ...) (todo
"WAITING") (todo "STARTED") (todo "TODO"))) ("h" tags "@home") ("w" tags
"@work") ("o" tags "@onlinebanking") ("e" tags "@errands"))
Press key for agenda command: [2 times]
[a-z..]:Set [SPC]:clear
TODO state changed to DONE
Note stored
Mark set
Auto-saving...done

Load-path shadows:
/usr/share/emacs/25.2/site-lisp/debian-startup hides
/usr/share/emacs/site-lisp/debian-startup
/home/johan/.emacs.d/elpa/org-9.2.3/ob hides
/usr/share/emacs/25.2/lisp/org/ob
/home/johan/.emacs.d/elpa/org-9.2.3/org-faces hides
/usr/share/emacs/25.2/lisp/org/org-faces
/home/johan/.emacs.d/elpa/org-9.2.3/ob-tangle hides
/usr/share/emacs/25.2/lisp/org/ob-tangle
/home/johan/.emacs.d/elpa/org-9.2.3/ox-ascii hides
/usr/share/emacs/25.2/lisp/org/ox-ascii
/home/johan/.emacs.d/elpa/org-9.2.3/ob-lisp hides
/usr/share/emacs/25.2/lisp/org/ob-lisp
/home/johan/.emacs.d/elpa/org-9.2.3/ob-picolisp hides
/usr/share/emacs/25.2/lisp/org/ob-picolisp
/home/johan/.emacs.d/elpa/org-9.2.3/ob-eval hides
/usr/share/emacs/25.2/lisp/org/ob-eval
/home/johan/.emacs.d/elpa/org-9.2.3/ob-ruby hides
/usr/share/emacs/25.2/lisp/org/ob-ruby
/home/johan/.emacs.d/elpa/org-9.2.3/ob-sql hides
/usr/share/emacs/25.2/lisp/org/ob-sql
/home/johan/.emacs.d/elpa/org-9.2.3/org-macs hides
/usr/share/emacs/25.2/lisp/org/org-macs
/home/johan/.emacs.d/elpa/org-9.2.3/org-attach hides
/usr/share/emacs/25.2/lisp/org/org-attach
/home/johan/.emacs.d/elpa/org-9.2.3/ox-latex hides
/usr/share/emacs/25.2/lisp/org/ox-latex
/home/johan/.emacs.d/elpa/org-9.2.3/org-id hides
/usr/share/emacs/25.2/lisp/org/org-id
/home/johan/.emacs.d/elpa/org-9.2.3/org-mouse hides
/usr/share/emacs/25.2/lisp/org/org-mouse
/home/johan/.emacs.d/elpa/org-9.2.3/ob-exp hides
/usr/share/emacs/25.2/lisp/org/ob-exp
/home/johan/.emacs.d/elpa/org-9.2.3/ox-beamer hides
/usr/share/emacs/25.2/lisp/org/ox-beamer
/home/johan/.emacs.d/elpa/org-9.2.3/org-habit hides
/usr/share/emacs/25.2/lisp/org/org-habit
/home/johan/.emacs.d/elpa/org-9.2.3/ox-texinfo hides
/usr/share/emacs/25.2/lisp/org/ox-texinfo
/home/johan/.emacs.d/elpa/org-9.2.3/ob-ditaa hides
/usr/share/emacs/25.2/lisp/org/ob-ditaa
/home/johan/.emacs.d/elpa/org-9.2.3/org-feed hides
/usr/share/emacs/25.2/lisp/org/org-feed
/home/johan/.emacs.d/elpa/org-9.2.3/ob-io hides
/usr/share/emacs/25.2/lisp/org/ob-io
/home/johan/.emacs.d/elpa/org-9.2.3/ob-shen hides
/usr/share/emacs/25.2/lisp/org/ob-shen
/home/johan/.emacs.d/elpa/org-9.2.3/ox-odt hides
/usr/share/emacs/25.2/lisp/org/ox-odt
/home/johan/.emacs.d/elpa/org-9.2.3/org-clock hides
/usr/share/emacs/25.2/lisp/org/org-clock
/home/johan/.emacs.d/elpa/org-9.2.3/ob-core hides
/usr/share/emacs/25.2/lisp/org/ob-core
/home/johan/.emacs.d/elpa/org-9.2.3/ob-org hides
/usr/share/emacs/25.2/lisp/org/ob-org
/home/johan/.emacs.d/elpa/org-9.2.3/org-loaddefs hides
/usr/share/emacs/25.2/lisp/org/org-loaddefs
/home/johan/.emacs.d/elpa/org-9.2.3/ob-plantuml hides
/usr/share/emacs/25.2/lisp/org/ob-plantuml
/home/johan/.emacs.d/elpa/org-9.2.3/ob-ledger hides
/usr/share/emacs/25.2/lisp/org/ob-ledger
/home/johan/.emacs.d/elpa/org-9.2.3/org-eshell hides
/usr/share/emacs/25.2/lisp/org/org-eshell
/home/johan/.emacs.d/elpa/org-9.2.3/ob-makefile hides
/usr/share/emacs/25.2/lisp/org/ob-makefile
/home/johan/.emacs.d/elpa/org-9.2.3/ob-sqlite hides
/usr/share/emacs/25.2/lisp/org/ob-sqlite
/home/johan/.emacs.d/elpa/org-9.2.3/org-archive hides
/usr/share/emacs/25.2/lisp/org/org-archive
/home/johan/.emacs.d/elpa/org-9.2.3/org-timer hides
/usr/share/emacs/25.2/lisp/org/org-timer
/home/johan/.emacs.d/elpa/org-9.2.3/ob-latex hides
/usr/share/emacs/25.2/lisp/org/ob-latex
/home/johan/.emacs.d/elpa/org-9.2.3/org-protocol hides
/usr/share/emacs/25.2/lisp/org/org-protocol
/home/johan/.emacs.d/elpa/org-9.2.3/org-irc hides
/usr/share/emacs/25.2/lisp/org/org-irc
/home/johan/.emacs.d/elpa/org-9.2.3/ob-lob hides
/usr/share/emacs/25.2/lisp/org/ob-lob
/home/johan/.emacs.d/elpa/org-9.2.3/ob-keys hides
/usr/share/emacs/25.2/lisp/org/ob-keys
/home/johan/.emacs.d/elpa/org-9.2.3/ob-R hides
/usr/share/emacs/25.2/lisp/org/ob-R
/home/johan/.emacs.d/elpa/org-9.2.3/ob-matlab hides
/usr/share/emacs/25.2/lisp/org/ob-matlab
/home/johan/.emacs.d/elpa/org-9.2.3/ob-java hides
/usr/share/emacs/25.2/lisp/org/ob-java
/home/johan/.emacs.d/elpa/org-9.2.3/ox-org hides
/usr/share/emacs/25.2/lisp/org/ox-org
/home/johan/.emacs.d/elpa/org-9.2.3/ob-comint hides
/usr/share/emacs/25.2/lisp/org/ob-comint
/home/johan/.emacs.d/elpa/org-9.2.3/ox-md hides
/usr/share/emacs/25.2/lisp/org/ox-md
/home/johan/.emacs.d/elpa/org-9.2.3/ob-C hides
/usr/share/emacs/25.2/lisp/org/ob-C
/home/johan/.emacs.d/elpa/org-9.2.3/ob-dot hides
/usr/share/emacs/25.2/lisp/org/ob-dot
/home/johan/.emacs.d/elpa/org-9.2.3/ob-js hides
/usr/share/emacs/25.2/lisp/org/ob-js
/home/johan/.emacs.d/elpa/org-9.2.3/org-inlinetask hides
/usr/share/emacs/25.2/lisp/org/org-inlinetask
/home/johan/.emacs.d/elpa/org-9.2.3/ob-haskell hides
/usr/share/emacs/25.2/lisp/org/ob-haskell
/home/johan/.emacs.d/elpa/org-9.2.3/org-info hides
/usr/share/emacs/25.2/lisp/org/org-info
/home/johan/.emacs.d/elpa/org-9.2.3/org-colview hides
/usr/share/emacs/25.2/lisp/org/org-colview
/home/johan/.emacs.d/elpa/org-9.2.3/org-rmail hides
/usr/share/emacs/25.2/lisp/org/org-rmail
/home/johan/.emacs.d/elpa/org-9.2.3/org-install hides
/usr/share/emacs/25.2/lisp/org/org-install
/home/johan/.emacs.d/elpa/org-9.2.3/org-src hides
/usr/share/emacs/25.2/lisp/org/org-src
/home/johan/.emacs.d/elpa/org-9.2.3/ob-emacs-lisp hides
/usr/share/emacs/25.2/lisp/org/ob-emacs-lisp
/home/johan/.emacs.d/elpa/org-9.2.3/org-mobile hides
/usr/share/emacs/25.2/lisp/org/org-mobile
/home/johan/.emacs.d/elpa/org-9.2.3/org-agenda hides
/usr/share/emacs/25.2/lisp/org/org-agenda
/home/johan/.emacs.d/elpa/org-9.2.3/org-bibtex hides
/usr/share/emacs/25.2/lisp/org/org-bibtex
/home/johan/.emacs.d/elpa/org-9.2.3/ob-css hides
/usr/share/emacs/25.2/lisp/org/ob-css
/home/johan/.emacs.d/elpa/org-9.2.3/ob-fortran hides
/usr/share/emacs/25.2/lisp/org/ob-fortran
/home/johan/.emacs.d/elpa/org-9.2.3/org-table hides
/usr/share/emacs/25.2/lisp/org/org-table
/home/johan/.emacs.d/elpa/org-9.2.3/ox-man hides
/usr/share/emacs/25.2/lisp/org/ox-man
/home/johan/.emacs.d/elpa/org-9.2.3/ob-maxima hides
/usr/share/emacs/25.2/lisp/org/ob-maxima
/home/johan/.emacs.d/elpa/org-9.2.3/org-plot hides
/usr/share/emacs/25.2/lisp/org/org-plot
/home/johan/.emacs.d/elpa/org-9.2.3/ox-icalendar hides
/usr/share/emacs/25.2/lisp/org/ox-icalendar
/home/johan/.emacs.d/elpa/org-9.2.3/org-macro hides
/usr/share/emacs/25.2/lisp/org/org-macro
/home/johan/.emacs.d/elpa/org-9.2.3/ob-ref hides
/usr/share/emacs/25.2/lisp/org/ob-ref
/home/johan/.emacs.d/elpa/org-9.2.3/ob-calc hides
/usr/share/emacs/25.2/lisp/org/ob-calc
/home/johan/.emacs.d/elpa/org-9.2.3/ox-html hides
/usr/share/emacs/25.2/lisp/org/ox-html
/home/johan/.emacs.d/elpa/org-9.2.3/org-pcomplete hides
/usr/share/emacs/25.2/lisp/org/org-pcomplete
/home/johan/.emacs.d/elpa/org-9.2.3/ob-ocaml hides
/usr/share/emacs/25.2/lisp/org/ob-ocaml
/home/johan/.emacs.d/elpa/org-9.2.3/ob-octave hides
/usr/share/emacs/25.2/lisp/org/ob-octave
/home/johan/.emacs.d/elpa/org-9.2.3/org-compat hides
/usr/share/emacs/25.2/lisp/org/org-compat
/home/johan/.emacs.d/elpa/org-9.2.3/org-w3m hides
/usr/share/emacs/25.2/lisp/org/org-w3m
/home/johan/.emacs.d/elpa/org-9.2.3/ob-mscgen hides
/usr/share/emacs/25.2/lisp/org/ob-mscgen
/home/johan/.emacs.d/elpa/org-9.2.3/org hides
/usr/share/emacs/25.2/lisp/org/org
/home/johan/.emacs.d/elpa/org-9.2.3/ob-sass hides
/usr/share/emacs/25.2/lisp/org/ob-sass
/home/johan/.emacs.d/elpa/org-9.2.3/org-gnus hides
/usr/share/emacs/25.2/lisp/org/org-gnus
/home/johan/.emacs.d/elpa/org-9.2.3/ob-scheme hides
/usr/share/emacs/25.2/lisp/org/ob-scheme
/home/johan/.emacs.d/elpa/org-9.2.3/org-list hides
/usr/share/emacs/25.2/lisp/org/org-list
/home/johan/.emacs.d/elpa/org-9.2.3/ob-perl hides
/usr/share/emacs/25.2/lisp/org/ob-perl
/home/johan/.emacs.d/elpa/org-9.2.3/org-entities hides
/usr/share/emacs/25.2/lisp/org/org-entities
/home/johan/.emacs.d/elpa/org-9.2.3/ob-gnuplot hides
/usr/share/emacs/25.2/lisp/org/ob-gnuplot
/home/johan/.emacs.d/elpa/org-9.2.3/org-ctags hides
/usr/share/emacs/25.2/lisp/org/org-ctags
/home/johan/.emacs.d/elpa/org-9.2.3/org-mhe hides
/usr/share/emacs/25.2/lisp/org/org-mhe
/home/johan/.emacs.d/elpa/org-9.2.3/org-indent hides
/usr/share/emacs/25.2/lisp/org/org-indent
/home/johan/.emacs.d/elpa/org-9.2.3/ob-clojure hides
/usr/share/emacs/25.2/lisp/org/ob-clojure
/home/johan/.emacs.d/elpa/org-9.2.3/org-element hides
/usr/share/emacs/25.2/lisp/org/org-element
/home/johan/.emacs.d/elpa/org-9.2.3/ox-publish hides
/usr/share/emacs/25.2/lisp/org/ox-publish
/home/johan/.emacs.d/elpa/org-9.2.3/org-capture hides
/usr/share/emacs/25.2/lisp/org/org-capture
/home/johan/.emacs.d/elpa/org-9.2.3/ob-screen hides
/usr/share/emacs/25.2/lisp/org/ob-screen
/home/johan/.emacs.d/elpa/org-9.2.3/ox hides
/usr/share/emacs/25.2/lisp/org/ox
/home/johan/.emacs.d/elpa/org-9.2.3/ob-asymptote hides
/usr/share/emacs/25.2/lisp/org/ob-asymptote
/home/johan/.emacs.d/elpa/org-9.2.3/org-datetree hides
/usr/share/emacs/25.2/lisp/org/org-datetree
/home/johan/.emacs.d/elpa/org-9.2.3/org-bbdb hides
/usr/share/emacs/25.2/lisp/org/org-bbdb
/home/johan/.emacs.d/elpa/org-9.2.3/ob-table hides
/usr/share/emacs/25.2/lisp/org/ob-table
/home/johan/.emacs.d/elpa/org-9.2.3/org-footnote hides
/usr/share/emacs/25.2/lisp/org/org-footnote
/home/johan/.emacs.d/elpa/org-9.2.3/org-docview hides
/usr/share/emacs/25.2/lisp/org/org-docview
/home/johan/.emacs.d/elpa/org-9.2.3/org-version hides
/usr/share/emacs/25.2/lisp/org/org-version
/home/johan/.emacs.d/elpa/org-9.2.3/ob-lilypond hides
/usr/share/emacs/25.2/lisp/org/ob-lilypond
/home/johan/.emacs.d/elpa/org-9.2.3/ob-awk hides
/usr/share/emacs/25.2/lisp/org/ob-awk
/home/johan/.emacs.d/elpa/org-9.2.3/ob-python hides
/usr/share/emacs/25.2/lisp/org/ob-python
/home/johan/.emacs.d/elpa/org-9.2.3/org-crypt hides
/usr/share/emacs/25.2/lisp/org/org-crypt

Features:
(shadow sort mail-extr emacsbug sendmail org-duration diary-lib
diary-loaddefs cal-iso org-agenda org-indent org-eww org-rmail org-mhe
org-irc org-info org-gnus nnir gnus-sum gnus-group gnus-undo gnus-start
gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo
parse-time gnus-spec gnus-int gnus-range message rfc822 mml mml-sec
password-cache epg mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus
gnus-ems nnheader gnus-util mail-utils mm-util help-fns mail-prsvr
wid-edit org-docview doc-view subr-x jka-compr image-mode dired
org-bibtex bibtex org-bbdb org-w3m org-element cl-seq avl-tree org ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src
ob-comint ob-keys org-pcomplete pcomplete comint ansi-color ring
org-list org-faces org-entities noutline outline easy-mmode org-version
ob-emacs-lisp ob-core ob-eval org-compat advice org-macs org-loaddefs
format-spec find-func cal-menu calendar cal-loaddefs edmacro kmacro
finder-inf info package epg-config 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 x-win term/common-win x-dnd tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core 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 charscript case-table epa-hook
jka-cmpr-hook help simple abbrev 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
font-render-setting x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 307108 24519)
 (symbols 48 35164 0)
 (miscs 40 1144 1252)
 (strings 32 80327 8457)
 (string-bytes 1 2461597)
 (vectors 16 30104)
 (vector-slots 8 638129 15835)
 (floats 8 379 408)
 (intervals 56 5133 233)
 (buffers 976 30))

[-- Attachment #2: Type: text/html, Size: 15974 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-08-27  6:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-10 18:31 bug#36160: 25.2; Emacs does not ask to save modified files when shutting down OS Johan Pretorius
2019-06-13 15:59 ` Glenn Morris
2019-06-13 16:56   ` Lars Ingebrigtsen
2019-06-13 17:36     ` Glenn Morris
2019-06-13 18:56       ` Glenn Morris
2019-06-13 19:24       ` Eli Zaretskii
2019-06-13 19:38         ` Glenn Morris
2020-08-26  0:46           ` Stefan Kangas
2020-08-26  6:14             ` Eli Zaretskii
2020-08-27  6:16               ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).