unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.50; savehist save invalid syntax
Date: Sun, 02 Sep 2007 11:38:45 +0100	[thread overview]
Message-ID: <m2d4x18i8a.fsf@cam.ac.uk> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 6416 bytes --]


Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

`savehist' saves something with invalid syntax and prevents emacs to
start up next time. The error is:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (invalid-read-syntax "#")
  signal(invalid-read-syntax ("#"))
  byte-code("Â\x10à ˆÄ	@	A\"‡" [savehist-mode errvar nil savehist-uninstall signal] 3)
  savehist-mode(t)
  eval-buffer(#<buffer  *load*> nil "/home/leo/.emacs.d/init" nil t)  ; Reading at buffer position 4494
  load-with-code-conversion("/home/leo/.emacs.d/init" "/home/leo/.emacs.d/init" t t)
  load("/home/leo/.emacs.d/init" t t)
  #[nil "\bÂ…¾\0	Æ=ƒ\x11\0Ç\bÈQ‚A\0	É=ƒ3\0ÊÇËÌ#ƒ#\0Í‚A\0ÊÇËÎ#ƒ/\0Ï‚A\0Í‚A\0	Ð=ƒ=\0Ñ‚A\0Ç\bÒQ\x1aÓ\x13Ô\nÓ‰#ˆ\vÓ=ƒi\0ÕÖ×Ç\bØQ!\"\x1cÔ\fÓ‰#ˆ\vÓ=ƒh\0\n\x13)\vƒ®\0Ù\v!Úšƒ®\0Û\v!‰\x1dÜP\x1e$Ý\x0e$!ƒŠ\0\x0e$‚•\0Ý\r!ƒ”\0\r‚•\0ˉ\x15ƒ­\0Þ\r\v\"ƒ«\0ßà\r\v#ˆáâ!ˆ\r\x13*\x0e%?Â…½\0Ë\x1e&ÔãÓ‰#))‡" [init-file-user system-type user-init-file-1 user-init-file otherfile source ms-dos "~" "/_emacs" windows-nt directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" "~/_emacs" vax-vms "sys$login:.emacs" "/.emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default" alt inhibit-default-init inhibit-startup-message] 7]()
  command-line()
  normal-top-level()
--8<---------------cut here---------------end--------------->8---

An example from the history file:

(setq command-history '((eval-expression '(format "%s " nil) nil) (describe-function 'match-string) (switch-to-buffer "gnus") (switch-to-buffer "gnus-util.el") (find-file "/home/leo/.emacs.d/gnus" t) (find-library "gnus-util") (kill-buffer "gnus-msg.el") (switch-to-buffer "gnus-msg.el") (kill-buffer "gnus-util.el") (switch-to-buffer "gnus-util.el") (kill-buffer "Emacs.org") (switch-to-buffer "Emacs.org") (describe-key "^[[" 1 nil) (describe-key '[(down-mouse-1 (#<window 256> 1284 (75 . 30) 23317460 nil 1284 (75 . 30) nil (3 . 0) (1 . 0)))] 1 '(mouse-1 (#<window 256> 1284 (75 . 30) 23317560 nil 1284 (75 . 30) nil (3 . 0) (1 . 0)))) (describe-function 'mouse-drag-track) (switch-to-buffer "*w3m*<2>") (describe-function 'mouse-drag-track) (eval-expression '(ad-update 'mouse-drag-track) nil) (eval-expression '(ad-remove-advice 'mouse-drag-track 'after 'replace-mouse-2-event) nil) (switch-to-buffer "w3m") (switch-to-buffer "Emacs.org") (describe-function 'ad-remove-advice) (switch-to-buffer "w3m") (find-file "/home/leo/Wiki/org/Emacs.org" t) (find-file "/home/leo/.emacs.d/w3m" t) (switch-to-buffer "#emacs") (describe-function 'gnus-emacs-version) (find-library "gnus-msg") (kill-buffer "gnus.el") (kill-buffer "*Customize Option: Gnus User Agent*") (describe-variable 'gnus-user-agent)))

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/packages/emacs/share/emacs/23.0.50/etc/DEBUG for instructions.


In GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.14, multi-tty)
 of 2007-09-01 on Fedora
configured using `configure  '--prefix=/usr/local/packages/emacs' '--with-kerberos5' '--enable-locallisppath=/usr/local/share/emacs/site-lisp' '--without-toolkit-scroll-bars' '--with-xft' '--enable-font-backend' '--with-x-toolkit=yes''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-topic-mode: t
  gnus-undo-mode: t
  erc-spelling-mode: t
  erc-page-mode: t
  erc-menu-mode: t
  erc-services-mode: t
  erc-autojoin-mode: t
  erc-button-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-smiley-mode: t
  erc-readonly-mode: t
  erc-scrolltobottom-mode: t
  dired-omit-mode: t
  recentf-mode: t
  icomplete-mode: t
  show-paren-mode: t
  savehist-mode: t
  xterm-mouse-mode: t
  delete-selection-mode: t
  global-auto-revert-mode: t
  display-time-mode: t
  minibuffer-indicate-depth-mode: t
  partial-completion-mode: t
  which-function-mode: t
  shell-dirtrack-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C 
ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC 
O C ESC O C ESC O B ; SPC u s e SPC s t r i n g - m 
a t c h SPC i n s t e a d . RET ESC O B C-c C-c ESC 
O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B 
ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC 
O B ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A 
ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC 
C-x C-x 5 0 ESC O B ESC O B ESC O B ESC O B ESC O B 
ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC 
O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A 
ESC O A ESC O A ESC O A ESC O A ESC O A C-x k RET C-x 
k RET C-x k RET ESC O B ESC O B ESC O B C-x k RET C-x 
b g r RET g p p p p RET C-x ] ESC O A RET ESC u q n 
n n n n g ESC O A ESC O A ESC O A ESC x r e p o r TAB 
b u TAB RET

Recent messages:
nnimap: Checking mailboxes...
nnimap: Mailbox INBOX modified
nnimap: Checking mailboxes...done
Reading active file from nus via nnimap...
Opening nnimap server on nus...done
nnimap: Checking mailboxes...
nnimap: Mailbox INBOX modified
nnimap: Checking mailboxes...done
Reading active file from archive via nnfolder...done
Checking new news...done

             reply	other threads:[~2007-09-02 10:38 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-02 10:38 Leo [this message]
2007-09-02 13:21 ` 23.0.50; savehist save invalid syntax Drew Adams
2007-09-03  3:04 ` Richard Stallman
2007-09-04 22:48   ` Davis Herring
2007-09-05  3:20     ` Stefan Monnier
2007-09-05  6:16     ` Richard Stallman
2007-09-05 18:16       ` Davis Herring
2007-09-06  5:00         ` Richard Stallman
2007-09-09 21:58         ` Drew Adams
2007-09-09 23:14           ` Andreas Schwab
2007-09-10  3:01             ` Drew Adams
2007-09-10  3:07               ` Drew Adams
2007-09-10 22:11               ` Davis Herring
2007-09-10 23:42                 ` Drew Adams
2007-09-10 23:54               ` Richard Stallman
2007-09-11 20:27                 ` Davis Herring
2007-09-10 21:59           ` Davis Herring
2007-09-10 23:42             ` Drew Adams
2007-09-11  0:55               ` Davis Herring
2007-09-11  1:11                 ` Stefan Monnier
2007-09-11 21:06                   ` [Released] " Davis Herring
2007-09-11 21:29                     ` Stefan Monnier
2007-09-14  7:04                     ` Richard Stallman
2007-09-11  1:18                 ` Drew Adams
2007-09-05 19:57       ` Leo
2007-10-18 21:08 ` Leo
2007-10-19  8:15   ` Leo
2007-10-19 14:01     ` Stefan Monnier

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=m2d4x18i8a.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=emacs-pretest-bug@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).