unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Some OpenWrt port related problems
@ 2010-12-28 10:15 David Kuehling
  2010-12-28 19:36 ` Stefan Monnier
  0 siblings, 1 reply; 19+ messages in thread
From: David Kuehling @ 2010-12-28 10:15 UTC (permalink / raw)
  To: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 1916 bytes --]

Hi,

I'm currently working on an OpenWrt port [1] for Emacs23 to use on the
Ben NanoNote PDA [2].

OpenWrt packages use cross-compilation, so Emacs is used in a NO_DUMP
configuration, loading loadup.el every time it starts.  This causes at
least one problem with environment variables, that I already fixed [3].

Now I'm hitting another problem when using org-mode:

 File mode specification error: 
 (wrong-type-argument stringp (require . t-mouse))

After some debugging this looks like being caused by variable
load-history containing the element:

  ((require . t-mouse))

This looks a little broken, since all other elements have a
filename-string in front of that cons cell, e.g.:

 ("/usr/share/emacs/23.2/lisp/term/linux.el"
  (defun . terminal-init-linux))

Now org-mode calls eval-after-load which calls
load-history-filename-element which causes the wrong-type-argument error
when using the 'car' of ((require . t-mouse)) with string-match.

I can sanitize load-history in site-start.el, removing the broken entry,
but that's not a very clean fix (also it takes time and memory, what a
waste).

Anybody knows who's fault that error is anyways?  is ((require
. t-mouse)) a valid entry?  Is eval-after-load broken?  How does that
entry get inserted into load-history in the first place?

Full output of C-h v load-history attached.

thanks for any help,

cheers,

David

PS: if it helps I could hand out SSH accounts to the nanonote to
individual developers

[1]
http://projects.qi-hardware.com/index.php/p/openwrt-packages/source/tree/master/emacs
[2] http://en.qi-hardware.com/wiki/Ben_NanoNote
[3]
http://projects.qi-hardware.com/index.php/p/openwrt-packages/source/tree/master/emacs/patches/010-fix-init-env.patch
-- 
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40


[-- Attachment #1.2: load-history.gz --]
[-- Type: application/octet-stream, Size: 24031 bytes --]

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2011-01-03  9:32 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-28 10:15 Some OpenWrt port related problems David Kuehling
2010-12-28 19:36 ` Stefan Monnier
2010-12-28 21:12   ` David Kuehling
2010-12-28 22:02     ` Stefan Monnier
2010-12-29  9:37       ` David Kuehling
2010-12-29  7:47     ` Richard Stallman
2010-12-29  9:28       ` David Kuehling
2010-12-30  4:08         ` Ken Raeburn
2011-01-01 14:20           ` David Kuehling
2011-01-01 15:06             ` Andreas Schwab
2011-01-01 15:34             ` Eli Zaretskii
2011-01-02  1:35               ` Ken Raeburn
2011-01-02 13:53                 ` David Kuehling
2011-01-02 14:44                   ` Stefan Monnier
2011-01-02 14:55                     ` David Kuehling
2011-01-02 20:35                   ` Ken Raeburn
2011-01-02 21:12                     ` David Kuehling
2011-01-03  9:32                       ` David Kuehling
2010-12-30 16:06         ` Richard Stallman

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