unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* eval, load and -l
@ 2016-07-05 11:42 Stephen Berman
  2016-07-05 14:00 ` Clément Pit--Claudel
  2016-07-05 14:52 ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen Berman @ 2016-07-05 11:42 UTC (permalink / raw)
  To: emacs-devel

If I understand the Emacs and Lisp reference manuals correctly, I expect
that, when I have a file foo.el containing Lisp code, the following
procedures should produce the same results:

1. emacs -Q
   C-x C-f foo.el RET
   M-x eval-buffer RET

2. emacs -Q
   M-x load-file RET foo.el RET

3. emacs -Q -l foo.el

But I have code where the result of doing 1 or 2 differs from the result
of doing 3.  This is the sexp attached to this posting:

http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00154.html

As I noted there, when I evaluate the code in a running Emacs session,
i.e. as in 1 or 2, I see frame-widening; but when I load the code by
doing 3, there is no frame-widening.  Is this difference expected, and
if so could someone point me to the relevant documentation or part of
the code that makes the difference?

Steve Berman



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

end of thread, other threads:[~2016-07-05 16:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-05 11:42 eval, load and -l Stephen Berman
2016-07-05 14:00 ` Clément Pit--Claudel
2016-07-05 14:52 ` Eli Zaretskii
2016-07-05 15:37   ` Stephen Berman
2016-07-05 16:40     ` Eli Zaretskii

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