From: Lars Ingebrigtsen <larsi@gnus.org>
To: npostavs@users.sourceforge.net
Cc: Frank Roland <frokrecik@gmail.com>, 24920@debbugs.gnu.org
Subject: bug#24920: 24.5; Error on customize-update-all
Date: Fri, 03 Sep 2021 11:03:51 +0200 [thread overview]
Message-ID: <87lf4eyqrs.fsf@gnus.org> (raw)
In-Reply-To: <87zil6nayi.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net's message of "Thu, 10 Nov 2016 18:59:01 -0500")
npostavs@users.sourceforge.net writes:
> Running "M-x customize-option Tex-auto-global" works fine. However, it
> throws an error if I hit "Save for future sessions":
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> file-name-directory(nil)
> (expand-file-name "../var/auctex" (file-name-directory load-file-name))
> eval((expand-file-name "../var/auctex" (file-name-directory load-file-name)))
> custom-push-theme(theme-value TeX-auto-global user set
> "d:/home/.emacs.d/var/auctex")
[...]
> AFAICT, the problem is that auctex uses a standard-value for
> Tex-auto-global that includes (file-name-directory load-file-name) as
> part of the expression.
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
Hm... this is the definition of that variable:
(defcustom TeX-auto-global
(if (file-writable-p "/usr/local/var/auctex") "/usr/local/var/auctex" "~/.emacs.d/auctex")
"Directory containing automatically generated information.
For storing automatic extracted information about the TeX macros
shared by all users of a site."
:group 'TeX-file
:type 'directory)
Doesn't seem to be any mention of load-file-name. There's stuff like
(defvar TeX-lisp-directory
(file-name-directory load-file-name)
but that shouldn't affect this user option, surely? Hm... anybody know
what's going on? (Or has this been fixed in the years since it was
reported? I haven't tried to reproduce the problem.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-09-03 9:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-10 16:52 bug#24920: 24.5; Error on customize-update-all Frank Roland
2016-11-10 19:29 ` Noam Postavsky
2016-11-10 22:59 ` Drew Adams
2016-11-10 23:59 ` npostavs
2021-09-03 9:03 ` Lars Ingebrigtsen [this message]
2022-05-02 10:12 ` Lars Ingebrigtsen
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=87lf4eyqrs.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=24920@debbugs.gnu.org \
--cc=frokrecik@gmail.com \
--cc=npostavs@users.sourceforge.net \
/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.