all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jeremiah Peschka <jeremiah.peschka@gmail.com>
To: 32213@debbugs.gnu.org
Subject: bug#32213: savehist displays the message “Symbol’s value as variable is void” on startup
Date: Sat, 21 Jul 2018 13:39:33 -0700	[thread overview]
Message-ID: <d774f3fd-f2c6-423c-802d-ea5aca52f1c5@Spark> (raw)
In-Reply-To: <2678ce62-c255-4410-8fb4-d11d88166943@Spark>

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

This bug can be closed. The issue occurred on my system due to misconfiguration of macOS’s newsyslogd.

By default, newsyslogd inserts a timestamp into a file after the log has been rotated - the new file receives the timestamp. Since emacs expects savehist files to be formatted correctly as elisp, this leads to the error I saw on startup.

The fix for this is to modify the newsyslogd command to use the “B” flag. For example:

# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num]
/Users/username/.emacs.d/.cache/savehist username: 644 5 * $W0 JB



Jeremiah Peschka

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

  parent reply	other threads:[~2018-07-21 20:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-19 14:24 bug#32213: emacs 26.1; savehist display the message “Symbol’s value as variable is void” on startup Jeremiah Peschka
2018-07-19 16:21 ` bug#32213: " Jeremiah Peschka
2018-07-20  1:48   ` Noam Postavsky
2018-07-21 20:39 ` Jeremiah Peschka [this message]
2018-07-21 21:03   ` bug#32213: savehist displays " Noam Postavsky

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d774f3fd-f2c6-423c-802d-ea5aca52f1c5@Spark \
    --to=jeremiah.peschka@gmail.com \
    --cc=32213@debbugs.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.