GNU bug report logs - #53856
elisp errors with filename infarmation

Previous Next

Package: emacs;

Reported by: goncholden <goncholden <at> protonmail.com>

Date: Mon, 7 Feb 2022 17:36:01 UTC

Severity: wishlist

Tags: moreinfo, wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 53856 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: goncholden <goncholden <at> protonmail.com>
Cc: 53856 <at> debbugs.gnu.org
Subject: Re: bug#53856: elisp errors with filename infarmation
Date: Tue, 08 Feb 2022 07:44:22 +0100
goncholden <goncholden <at> protonmail.com> writes:

> For instance, I have a file that defines a minor-mode.  Introducing an arbitrary
> string "idi" on a line by itself, I get the following warning
>
> --------
>
> Warning (initialization): An error occurred while loading
> ‘/home/hagbard/.emacs’:
>
> Symbol's value as variable is void: idi
>
> To ensure normal operation, you should investigate and remove the
> cause of the error in your initialization file.  Start Emacs with
> the ‘--debug-init’ option to view a complete error backtrace.

You want Emacs to say that the error was in whatever file you're loading
instead of where the error appears (which is ~/.emacs, which Emacs
reports)?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.