GNU bug report logs - #19008
25.0.50; (wrong-type-argument stringp (require . fit-frame))

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Mon, 10 Nov 2014 02:52:02 UTC

Severity: normal

Tags: moreinfo

Found in version 25.0.50

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19008 in the body.
You can then email your comments to 19008 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#19008; Package emacs. (Mon, 10 Nov 2014 02:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 10 Nov 2014 02:52:02 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; (wrong-type-argument stringp (require . fit-frame))
Date: Sun, 9 Nov 2014 18:51:03 -0800 (PST)
For some reason, `load-history-filename-element' was passed a cons cell
instead of a string.  That cons cell was apparently returned by
(load-history-regexp "cl-indent"), but I don't understand how that was
possible.

The relevant part of `lisp-indentation-hack', which is on
`emacs-lisp-mode-hook', is this:

(unless (if (fboundp 'load-history-regexp) ; Emacs 22+
            (load-history-filename-element (load-history-regexp "cl-indent"))
          (assoc "cl-indent" load-history))
    (load "cl-indent" nil t))

I don't understand why this happened, but here is a backtrace:

Debugger entered--Lisp error: (wrong-type-argument stringp (require . fit-frame))
  string-match("\\(\\`\\|/\\)cl-indent\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'"
               (require . fit-frame))
  load-history-filename-element("\\(\\`\\|/\\)cl-indent\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'")
  lisp-indentation-hack()
  run-hooks(change-major-mode-after-body-hook prog-mode-hook emacs-lisp-mode-hook)
  ...

I have never seen this happen before.  But I just checked the definition
of `load-history-filename-element' in Emacs 23, and it has not changed.


In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2014-10-20 on LEG570
Bzr revision: 118168 rgm <at> gnu.org-20141020195941-icp42t8ttcnud09g
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19008; Package emacs. (Sat, 26 Dec 2015 16:28:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 19008 <at> debbugs.gnu.org
Subject: Re: bug#19008: 25.0.50;
 (wrong-type-argument stringp (require . fit-frame))
Date: Sat, 26 Dec 2015 17:26:46 +0100
Drew Adams <drew.adams <at> oracle.com> writes:

> For some reason, `load-history-filename-element' was passed a cons cell
> instead of a string.  That cons cell was apparently returned by
> (load-history-regexp "cl-indent"), but I don't understand how that was
> possible.
>
> The relevant part of `lisp-indentation-hack', which is on
> `emacs-lisp-mode-hook', is this:
>
> (unless (if (fboundp 'load-history-regexp) ; Emacs 22+
>             (load-history-filename-element (load-history-regexp "cl-indent"))
>           (assoc "cl-indent" load-history))
>     (load "cl-indent" nil t))
>
> I don't understand why this happened, but here is a backtrace:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp (require . fit-frame))
>   string-match("\\(\\`\\|/\\)cl-indent\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'"
>                (require . fit-frame))
>   load-history-filename-element("\\(\\`\\|/\\)cl-indent\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'")
>   lisp-indentation-hack()
>   run-hooks(change-major-mode-after-body-hook prog-mode-hook emacs-lisp-mode-hook)
>   ...

Do you have a recipe starting from emacs -Q?

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19008; Package emacs. (Sat, 26 Dec 2015 17:12:01 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 19008 <at> debbugs.gnu.org
Subject: RE: bug#19008: 25.0.50; (wrong-type-argument stringp (require .
 fit-frame))
Date: Sat, 26 Dec 2015 09:11:37 -0800 (PST)
> Do you have a recipe starting from emacs -Q?

No; sorry.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19008; Package emacs. (Sat, 26 Dec 2015 17:54:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 19008 <at> debbugs.gnu.org
Subject: Re: bug#19008: 25.0.50;
 (wrong-type-argument stringp (require . fit-frame))
Date: Sat, 26 Dec 2015 18:52:59 +0100
Drew Adams <drew.adams <at> oracle.com> writes:

>> Do you have a recipe starting from emacs -Q?
>
> No; sorry.

In that case I think it's unlikely that we'll be able to proceed with
further debugging.  Closing.

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




bug closed, send any further explanations to 19008 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 26 Dec 2015 17:54:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 24 Jan 2016 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 152 days ago.

Previous Next


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