これがここにあるのか、スーパーユーザーにあるのかはわかりませんが、ここにあります。
最新の Emacs でデスクトップ パッケージを使用しようとしています。(desktop-save-mode 1) を .emacs に追加しましたが、emacs を起動すると次のエラーが発生します。
Error (frameset): Wrong type argument: number-or-marker-p, nil
これのデバッグをどこから開始すればよいか、私は少し迷っており、Google は役に立ちません。
何か案は?
要求に応じて追加されたスタック トレース
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
2 +(nil 80 -1)
3 frameset-move-onscreen(#<frame F1 0xb53310> t)
4 frameset--restore-frame(((tty-type . "xterm-256color") (tty . "/dev/tty") (display-type . color) (background-mode . dark) (foreground-color . "#808080") (cursor-color . "#808080") (background-col$
5 #[0 "\307\306@\236A\211A^A@\205^M^@\211\310\302!\203^[^@\302\306@\305\"\202^\^@\302\311\211\312^C!\203*^@\311^V \202J^@\313\311\314\"\314\306@\236A=\203=^@\311^V \202J^@\314\313\311\314\"B\211^V $
6 funcall(#[0 "\307\306@\236A\211A^A@\205^M^@\211\310\302!\203^[^@\302\306@\305\"\202^\^@\302\311\211\312^C!\203*^@\311^V \202J^@\313\311\314\"\314\306@\236A=\203=^@\311^V \202J^@\314\313\311\314\"$
7 frameset-restore([frameset 1 (21031 10481 847348 292000) (desktop . "206") "shomer@rubydev" nil nil ((((tty-type . "xterm-256color") (tty . "/dev/tty") (display-type . color) (background-mode . d$
8 (progn (frameset-restore desktop-saved-frameset :reuse-frames desktop-restore-reuses-frames :force-display desktop-restore-in-current-display :force-onscreen desktop-restore-forces-onscreen))
9 (if (desktop-restoring-frameset-p) (progn (frameset-restore desktop-saved-frameset :reuse-frames desktop-restore-reuses-frames :force-display desktop-restore-in-current-display :force-onscreen de$
10 desktop-restore-frameset()
11 (if (and owner (memq desktop-load-locked-desktop (quote (nil ask))) (or (null desktop-load-locked-desktop) (daemonp) (not (y-or-n-p (format "Warning: desktop file appears to be in use by PID %s.\$
12 (let ((desktop-first-buffer nil) (desktop-buffer-ok-count 0) (desktop-buffer-fail-count 0) (owner (desktop-owner)) (desktop-save nil)) (if (and owner (memq desktop-load-locked-desktop (quote (nil$
13 (if (file-exists-p (desktop-full-file-name)) (let ((desktop-first-buffer nil) (desktop-buffer-ok-count 0) (desktop-buffer-fail-count 0) (owner (desktop-owner)) (desktop-save nil)) (if (and owner $
14 (if noninteractive nil (setq desktop-dirname (file-name-as-directory (expand-file-name (or (and (< 0 (length dirname)) dirname) (let ((dirs desktop-path)) (while (and dirs ...) (setq dirs ...)) ($
15 desktop-read()
16 (progn (desktop-read) (desktop-auto-save-set-timer) (setq inhibit-startup-screen t))
17 (if desktop-save-mode (progn (desktop-read) (desktop-auto-save-set-timer) (setq inhibit-startup-screen t)))
18 (closure (auto-insert desktop-buffer-locals desktop-buffer-major-mode desktop-buffer-fail-count desktop-buffer-ok-count desktop-first-buffer t) nil (let ((key "--no-desktop")) (if (member key com$
19 run-hooks(after-init-hook)
20 command-line()
21 normal-top-level()