dump-emacsしたらSEGVりやすいからtemacsから作ろうとしたがダメだ…
d:id:rubikitch:20070730 にて dump-emacs したライブラリは落ちやすい。じゃあ通常のEmacsのようにtemacsから作ろうと思ったが、temacsによるdumpではrequireやautoloadやdefadviceが使えないことがソースより判明した。
void do_autoload (fundef, funname) Lisp_Object fundef, funname; { 略 /* This is to make sure that loadup.el gives a clear picture of what files are preloaded and when. */ if (! NILP (Vpurify_flag)) error ("Attempt to autoload %s while preparing to dump", SDATA (SYMBOL_NAME (funname)));
DEFUN ("require", Frequire, Srequire, 1, 3, 0, doc: /* If feature FEATURE is not loaded, load it from FILENAME. 略 The normal messages at start and end of loading FILENAME are suppressed. */) (feature, filename, noerror) Lisp_Object feature, filename, noerror; { 略 /* This is to make sure that loadup.el gives a clear picture of what files are preloaded and when. */ if (! NILP (Vpurify_flag)) error ("(require %s) while preparing to dump", SDATA (SYMBOL_NAME (feature)));
んー、どうしようか…