unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19008: 25.0.50; (wrong-type-argument stringp (require . fit-frame))
@ 2014-11-10  2:51 Drew Adams
  2015-12-26 16:26 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2014-11-10  2:51 UTC (permalink / raw)
  To: 19008

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@gnu.org-20141020195941-icp42t8ttcnud09g
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#19008: 25.0.50; (wrong-type-argument stringp (require . fit-frame))
  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
  2015-12-26 17:11   ` Drew Adams
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2015-12-26 16:26 UTC (permalink / raw)
  To: Drew Adams; +Cc: 19008

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#19008: 25.0.50; (wrong-type-argument stringp (require . fit-frame))
  2015-12-26 16:26 ` Lars Ingebrigtsen
@ 2015-12-26 17:11   ` Drew Adams
  2015-12-26 17:52     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2015-12-26 17:11 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 19008

> Do you have a recipe starting from emacs -Q?

No; sorry.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#19008: 25.0.50; (wrong-type-argument stringp (require . fit-frame))
  2015-12-26 17:11   ` Drew Adams
@ 2015-12-26 17:52     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2015-12-26 17:52 UTC (permalink / raw)
  To: Drew Adams; +Cc: 19008

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-12-26 17:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-12-26 17:11   ` Drew Adams
2015-12-26 17:52     ` Lars Ingebrigtsen

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).