From: Edward Welbourne <eddy@opera.no>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: recover-session doesn't
Date: Tue, 30 Jul 2002 18:30:42 +0200 [thread overview]
Message-ID: <E17ZZtS-0002fs-00@whorl.intern.opera.no> (raw)
In-Reply-To: <200207111201.g6BC1og16997@aztec.santafe.edu> (message from Richard Stallman on Thu, 11 Jul 2002 06:01:50 -0600 (MDT))
> If you can tell us how to reproduce this problem, we will investigate.
So this afternoon emacs hung terminally and had to be shot down. Once
I'd done failing to reproduce problems with customize, I duly had a go
at trying to reproduce problems with recover-session.
I turned my ~/.emacs into <quote src="~/.emacs">
;; -*- lisp -*-
(setq eddy-home-dir (or (getenv "HOME") "/home/eddy")
eddy-elisp-dir (concat eddy-home-dir "/.sys/elisp"))
(add-to-list 'load-path eddy-elisp-dir)
;;(load "init") ; recursively inlined below
;; see /usr/share/doc/emacs21/etc/NEWS for lots of neato features
(server-start) ;; emacsclient [ +line[:column] ] filename
(setq server-kill-new-buffers t) ;; server-temp-file-regexp
(tool-bar-mode 0) ;; worthless *junk* buttons
(menu-bar-mode 0) ;; +ve value to get menus
(mouse-wheel-mode t) ;; configure: mouse-wheel-follow-mouse, mouse-wheel-scroll-amount
(auto-compression-mode 1)
(global-font-lock-mode 1)
(set-language-environment "Latin-9") ;; want UTF-8 as encoding
(setq next-line-add-newlines t
require-final-newline "ask"
default-indicate-empty-lines "red")
;; also NB region command: M-x delete-trailing-whitespace RET
(setq-default show-trailing-whitespace t)
(set-face-background 'trailing-whitespace "grey18")
(setenv "QTDIR") ;; i.e. unset it
(set 'rmail-file-name "/home/eddy/mail/pending/primary")
(set 'rmail-primary-inbox-list (list "/var/mail/eddy" "po:eddy"))
(set 'rmail-user-mail-address-regexp "eddy\(\|@opera.\(no\|com\)\|@chaos.org.uk\)")
(set 'rmail-confirm-expunge nil)
(set 'rmail-pop-password-required t)
(set 'rmail-delete-after-output t)
(autoload 'html-mode "sgml-mode" "Edit HTML docs" t)
(setq auto-mode-alist (cons (cons "\\.html?$" 'html-mode) auto-mode-alist))
;; testing ...
(open-dribble-file "~/e-session")
</quote> and fired up a new session, <quote src="~/e-session">
0x8000078reco<tab>se<tab><return>
\x03\x03yyes<return>
\x18\x02\x18\x06<backspace><return>
\x18o 0x800003c 0x800003e 0x8000077\x18\x17BufferList<return>
\x18\x03y
</quote> (all one line, no newline at end, newlines added to quote
after each <return>, plus blank lines at start and end, for legibility
and kindness to mailers). I don't know what the dribble-file thinks
it's saying at the start: I clicked on the window furniture for
maximising both vertically and horizontally, then typed M-x reco TAB
and the rest went as reported, up to the subsequent 0x800... bits,
which again flummox me.
This achieved more than I've ever seen before from M-x
recover-session: I didn't get the message I reported previously, "No
files can be recovered from this session now". However, all I did get
was <quote src="~/BufferList">
MR Buffer Size Mode File
-- ------ ---- ---- ----
.* *ecma glitches*#386g1R 258 Fundamental ~/*ecma glitches*#386g1R
*% .saves-* 319 Dired by date ~/.emacs.d/auto-save-list/.saves-*
*scratch* 191 Lisp Interaction
* *Messages* 839 Fundamental
% *Directory* 152 Help
</quote> where the session being recovered from had lots of files
open, along with several (renamed) compilation buffers, one of which
was still running (or, perhaps, something had gone so wrong with it as
to be the cause of emacs' hang). The save file said: <quote
src="~/.emacs.d/auto-save-list/.saves-386-whorl.intern.opera.no~">
/home/eddy/work/c2-stb/Makefile.config
/home/eddy/work/c2-stb/#Makefile.config#
/home/eddy/work/notes.c2
/home/eddy/work/#notes.c2#
/home/eddy/work/qte-release6/Makefile.config
/home/eddy/work/qte-release6/#Makefile.config#
/home/eddy/work/qt-embed/Makefile.config
/home/eddy/work/qt-embed/#Makefile.config#
/home/eddy/work/i3-release/Makefile.config
/home/eddy/work/i3-release/#Makefile.config#
/home/eddy/work/qt-desktop/Makefile.config
/home/eddy/work/qt-desktop/#Makefile.config#
/home/eddy/work/notes
/home/eddy/work/#notes#
/home/eddy/work/qt-embed/linux/embed/example2/package.sh
/home/eddy/work/qt-embed/linux/embed/example2/#package.sh#
/home/eddy/#*ecma glitches*#386g1R#
/home/eddy/#*mail*#386jND#
</quote> so it clearly *did* know about the assorted files I had open,
albeit I had no #...# files open (I assume those are artefacts, aside
from the two open #*...*# mail buffers). [Each Makefile.config's
buffer was re-named to Makefile.config/* for some project-specific *.]
Recovering from it didn't open them: then again, I believe I'd saved
all of them before starting the last compile, during which emacs hung.
So all I lost was the session state ... which is what I wanted to
recover.
Hope this is some help, even though it doesn't reproduce the problem I
originally reported.
Eddy.
next prev parent reply other threads:[~2002-07-30 16:30 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-10 17:03 recover-session doesn't Edward Welbourne
2002-07-11 12:01 ` Richard Stallman
2002-07-30 16:30 ` Edward Welbourne [this message]
2002-07-31 5:55 ` Richard Stallman
2002-07-31 8:27 ` Edward Welbourne
2002-08-01 5:26 ` Eli Zaretskii
2002-08-01 8:58 ` Edward Welbourne
2002-08-01 16:20 ` Eli Zaretskii
2002-08-02 6:12 ` Richard Stallman
2002-08-02 8:25 ` Edward Welbourne
2002-08-02 9:03 ` Andreas Schwab
2002-08-02 13:52 ` Edward Welbourne
2002-08-02 11:21 ` fabrice bauzac
2002-08-02 13:44 ` Paul D. Smith
2002-08-02 6:12 ` Richard Stallman
2002-08-01 16:51 ` Richard Stallman
2002-08-16 14:26 ` Edward Welbourne
2002-08-17 4:51 ` Richard Stallman
2002-08-19 8:29 ` Edward Welbourne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E17ZZtS-0002fs-00@whorl.intern.opera.no \
--to=eddy@opera.no \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).