unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* initial-frame-alist
@ 2009-02-05 11:24 Stephen Berman
  2009-02-05 14:46 ` initial-frame-alist Dan Nicolaescu
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Stephen Berman @ 2009-02-05 11:24 UTC (permalink / raw)
  To: emacs-devel

It appears that setting initial-frame-alist has no effect if Emacs is
started with --daemon; is this intended?  Here's a case in point:

Let ~/.emacs consist of this sexp:

(setq initial-frame-alist
      (append initial-frame-alist '((width . 85) (height . 58))))

Then do this:

$ emacs --daemon
$ emacsclient -c

The resulting frame has default width and height, not those specified in
~/.emacs.  If instead I start Emacs like this:

$ emacs

then the resulting frame does width 85 and height 58.

I note that after starting Emacs like this:

$ emacs -nw -f server-start

and then in another xterm typing:

$ emacsclient -c

the resulting frame has default width and height, not those specified in
~/.emacs.  But this would be expected if the initial frame is the one in
the xterm.  Whereas with --daemon, the apparent initial frame is the one
produced by emacsclient -c.  So is this a bug or expected behavior?  If
the latter, shouldn't it be documented?  (I hope it's relatively easily
fixed bug, since I would like to have setting initial-frame-alist take
effect if Emacs is started with --daemon.)

Steve Berman





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

end of thread, other threads:[~2009-02-05 23:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-05 11:24 initial-frame-alist Stephen Berman
2009-02-05 14:46 ` initial-frame-alist Dan Nicolaescu
2009-02-05 15:13   ` initial-frame-alist Will Farrington
2009-02-05 15:51   ` initial-frame-alist Stephen Berman
2009-02-05 16:13 ` initial-frame-alist mail
2009-02-05 23:19   ` initial-frame-alist Stephen Berman
2009-02-05 19:38 ` initial-frame-alist Stefan Monnier

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