unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 19008@debbugs.gnu.org
Subject: bug#19008: 25.0.50; (wrong-type-argument stringp (require . fit-frame))
Date: Sat, 26 Dec 2015 17:26:46 +0100	[thread overview]
Message-ID: <87d1ttp455.fsf@gnus.org> (raw)
In-Reply-To: <c131e29a-e5de-4126-beb8-43ff643af50b@default> (Drew Adams's message of "Sun, 9 Nov 2014 18:51:03 -0800 (PST)")

Drew Adams <drew.adams@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





  reply	other threads:[~2015-12-26 16:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-10  2:51 bug#19008: 25.0.50; (wrong-type-argument stringp (require . fit-frame)) Drew Adams
2015-12-26 16:26 ` Lars Ingebrigtsen [this message]
2015-12-26 17:11   ` Drew Adams
2015-12-26 17:52     ` 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

  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=87d1ttp455.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=19008@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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).