all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 34707@debbugs.gnu.org
Subject: bug#34707: Failure to find the associated pdump file
Date: Sat, 02 Mar 2019 21:58:54 -0500	[thread overview]
Message-ID: <E1h0HL4-0007EK-G9@fencepost.gnu.org> (raw)
In-Reply-To: <83pnr9hhth.fsf@gnu.org> (message from Eli Zaretskii on Sat, 02 Mar 2019 09:11:06 +0200)

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

load_pdump returns to main with PDUMPER_LOAD_FILE_NOT_FOUND.
I do not see any code there that ought to exit with an error message.
If there is some, where is it?

So main continues and tries to initialize Emacs.

Don't we want this?

    #ifdef HAVE_PDUMPER
      if (attempt_load_pdump)
	{
	  load_pdump (argc, argv);
	  fatal ("cannot find portable dumper memory file");
	}
    #endif

However, it should show the file name it looked for.
Why is it useful for load_pdump return if it fails?


Regarding the secondary bug:

  > If Emacs already set up the terminal,

It has not done so yet.

					  then I think it did find the
  > pdump file and loaded it successfully, because loading the pdump file
  > happens before the call to init_display.

main continues and calls init_display.

That gets to init_display_interactive, which calls init_tty at line 6138.
That turns off echo, right?  Then it calls init_faces_initial at line 6193,
which tries to call tty-set-up-initial-frame-faces.

-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







  parent reply	other threads:[~2019-03-03  2:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-02  3:27 bug#34707: Failure to find the associated pdump file Richard Stallman
2019-03-02  7:11 ` Eli Zaretskii
2019-03-03  2:58   ` Richard Stallman
2019-03-03  3:45     ` Eli Zaretskii
2019-03-04  3:28       ` Richard Stallman
2019-03-03  2:58   ` Richard Stallman [this message]
2019-03-03  3:41     ` Eli Zaretskii
2019-03-03 17:08       ` Eli Zaretskii
2019-03-04  3:26       ` Richard Stallman
2019-03-04  3:36         ` Eli Zaretskii
2019-03-03 17:06     ` Eli Zaretskii
2019-06-17 18:56 ` Lars Ingebrigtsen
2019-06-17 19:23   ` Eli Zaretskii
2019-06-18  3:07   ` Richard Stallman
2019-06-28  6:42     ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1h0HL4-0007EK-G9@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=34707@debbugs.gnu.org \
    --cc=eliz@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 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.