all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* customizing emacs at compile time (or with dump-emacs?)
@ 2004-02-21  1:43 Joe Corneli
  0 siblings, 0 replies; 4+ messages in thread
From: Joe Corneli @ 2004-02-21  1:43 UTC (permalink / raw)


I was reading in the GNU Emacs Lisp Reference Manual about ways to
change the Emacs binary.  My .emacs has gotten fairly big, and I
think it would be nice to put together a new version of emacs that
incorporates my changes but that doesn't take a long time to load.
Would 

% emacs -batch -f (dump-emacs my-emacs /full/path/to/emacs/)

do this for me?

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

* Re: customizing emacs at compile time (or with dump-emacs?)
       [not found] <mailman.223.1077327893.340.help-gnu-emacs@gnu.org>
@ 2004-02-21  2:19 ` Billy O'Connor
  0 siblings, 0 replies; 4+ messages in thread
From: Billy O'Connor @ 2004-02-21  2:19 UTC (permalink / raw)


Joe Corneli <jcorneli@math.utexas.edu> writes:

> I was reading in the GNU Emacs Lisp Reference Manual about ways to
> change the Emacs binary.  My .emacs has gotten fairly big, and I
> think it would be nice to put together a new version of emacs that
> incorporates my changes but that doesn't take a long time to load.
> Would 
>
> % emacs -batch -f (dump-emacs my-emacs /full/path/to/emacs/)
>
> do this for me?

http://www.emacswiki.org/cgi-bin/wiki/DumpingEmacs

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

* Re: customizing emacs at compile time (or with dump-emacs?)
       [not found] <200402211702.i1LH2B102501@dell3.ma.utexas.edu>
@ 2004-02-21 18:58 ` Joe Corneli
  2004-02-22  6:07   ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Joe Corneli @ 2004-02-21 18:58 UTC (permalink / raw)
  Cc: Billy O'Connor

How to debug this?

% demacs /Users/arided/emacs/src/emacs-21.3.50.1
Loading sml-mode-startup...
Loading inf-lisp...
Loading mspools...
Loading compile...
Loading sort...
Loading tnt...
Loading emacs-wiki (source)...
Loading ratpoison-cmd...
Loading ratpoison-extras...
Loading info-look...
Loading find-func...
Loading JOESMACROS...
Loading FORTUNES...
Loading xi...
Loading GREEK...
Loading bbdb...
Loading super...
Loading hyper_super...
Loading delete...
Loading userkeymap...
Loading w3...
Loading tex-macros...
Loading advanced-tex-mode...
Loading joes_ratpoison...
Loading joes_w3...
Loading joes_keyboard (compiled; note, source file is newer)...
Loading joes_parens...
--- List of All Regions ---
   address     size prot maxp
         0   0x1000 none none
Fatal error (11)/Users/arided/bin//demacs: line 5:  7965 Segmentation fault      $MYEMACS --batch --load ~/site-lisp/joes_loads.el --execute "(dump-emacs \"femacs\" \"$MYEMACS\")"


Here is the script I used

#!/bin/sh
MYEMACS=$1
$MYEMACS --batch \
 --load ~/site-lisp/joes_loads.el \
 --execute "(dump-emacs \"femacs\" \"$MYEMACS\")"

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

* Re: customizing emacs at compile time (or with dump-emacs?)
  2004-02-21 18:58 ` customizing emacs at compile time (or with dump-emacs?) Joe Corneli
@ 2004-02-22  6:07   ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2004-02-22  6:07 UTC (permalink / raw)


> From: Joe Corneli <jcorneli@math.utexas.edu>
> Date: Sat, 21 Feb 2004 12:58:40 -0600
> 
> How to debug this?

Run Emacs under a debugger and when it gets SIGSEGV, look around to
see what went wrong.  The file etc/DEBUG in the Emacs distro has
several hints on debugging Emacs.

> Here is the script I used
> 
> #!/bin/sh
> MYEMACS=$1
> $MYEMACS --batch \
>  --load ~/site-lisp/joes_loads.el \
>  --execute "(dump-emacs \"femacs\" \"$MYEMACS\")"

Replace $MYEMACS with "gdb $MYEMACS --args", that will run Emacs
under GDB.

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

end of thread, other threads:[~2004-02-22  6:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200402211702.i1LH2B102501@dell3.ma.utexas.edu>
2004-02-21 18:58 ` customizing emacs at compile time (or with dump-emacs?) Joe Corneli
2004-02-22  6:07   ` Eli Zaretskii
     [not found] <mailman.223.1077327893.340.help-gnu-emacs@gnu.org>
2004-02-21  2:19 ` Billy O'Connor
2004-02-21  1:43 Joe Corneli

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.