unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: Dan Nicolaescu <dann@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: running ./temacs
Date: Wed, 17 Nov 2010 08:43:00 +0100	[thread overview]
Message-ID: <87fwv0v1iz.fsf@telefonica.net> (raw)
In-Reply-To: <yxq8w0ssaih.fsf@fencepost.gnu.org> (Dan Nicolaescu's message of "Wed, 17 Nov 2010 01:57:10 -0500")

Dan Nicolaescu <dann@gnu.org> writes:

> Running just ./temacs is currently not very useful.

Yep.

> The first think it does when starting up is complain that /.emacs.d/
> cannot be found.

[snip]

On a related topic, it would be nice to have a working emacs when
CANNOT_DUMP is defined.

IIRC some time ago I built such a beast on GNU/Linux after hard-coding
some macro values on epaths.h and applying the following patch. Please
consider it for inclusion on the mainline sources.

diff --git a/src/eval.c b/src/eval.c
index 06888ca..91f75dd 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -2184,9 +2184,11 @@ do_autoload (Lisp_Object fundef, Lisp_Object funname)
 
   /* This is to make sure that loadup.el gives a clear picture
      of what files are preloaded and when.  */
+#ifndef CANNOT_DUMP
   if (! NILP (Vpurify_flag))
     error ("Attempt to autoload %s while preparing to dump",
           SDATA (SYMBOL_NAME (funname)));
+#endif
 
   fun = funname;
   CHECK_SYMBOL (funname);
diff --git a/src/fns.c b/src/fns.c
index 3d4c07a..dc1a181 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2809,9 +2809,11 @@ The normal messages at start and end of loading FILENAME are suppressed.  *
 
       /* This is to make sure that loadup.el gives a clear picture
         of what files are preloaded and when.  */
+#ifndef CANNOT_DUMP
       if (! NILP (Vpurify_flag))
        error ("(require %s) while preparing to dump",
               SDATA (SYMBOL_NAME (feature)));
+#endif
 
       /* A certain amount of recursive `require' is legitimate,
         but if we require the same feature recursively 3 times,



  reply	other threads:[~2010-11-17  7:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17  6:57 running ./temacs Dan Nicolaescu
2010-11-17  7:43 ` Óscar Fuentes [this message]
2010-11-18  4:44 ` Dan Nicolaescu
2010-11-18 14:26   ` Stefan Monnier
2010-11-18 21:20     ` Dan Nicolaescu
2010-11-18 22:17       ` Stefan Monnier
2010-11-18 22:19         ` Dan Nicolaescu
2010-11-19  7:51           ` Eli Zaretskii
2010-11-20  7:28             ` Dan Nicolaescu
2010-11-21  5:48             ` Stefan Monnier
2011-05-31  5:19               ` Dan Nicolaescu
2011-05-31  6:36                 ` Dan Nicolaescu
2011-05-31  6:47                   ` Eli Zaretskii
2011-05-31  6:55                     ` Dan Nicolaescu
2011-05-31  8:44                       ` Eli Zaretskii
2011-05-31 14:53                         ` Dan Nicolaescu
2011-05-31  6:40                 ` Eli Zaretskii

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=87fwv0v1iz.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --cc=dann@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).