all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* can't maximize emacs at startup
@ 2010-05-26  8:24 Jean Felder
  2010-05-26 18:10 ` Gary
  0 siblings, 1 reply; 3+ messages in thread
From: Jean Felder @ 2010-05-26  8:24 UTC (permalink / raw)
  To: help-gnu-emacs

Hi Everyone,

I'm currently using emacs 23.2 on debian sid.

I like starting emacs maximized using a trick from fvwm
( http://fvwmwiki.xteddy.org/cookbook/#index3h2 )
This feature works fine with emacs 23.1 .
However, since I've upgraded from emacs 23.1 to 23.2, it doesn't work
anymore : emacs doesn't start maximized.

In fact, I'm launching emacs daemon at startup with the command "emacs --daemon"
Then, I'm using "emacsclient -c"
The first time, I'm using emacsclient, the window is launched but not maximized.
The second time, everything works fine : the second window is maximized.

It seems that the first time, the window size is reset. Is this some
kind of side effect
from a change from 23.1 to 23.2 ?

Does anyone have any ideas ?

Thanks,

Jean FELDER



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

* Re: can't maximize emacs at startup
  2010-05-26  8:24 Jean Felder
@ 2010-05-26 18:10 ` Gary
  0 siblings, 0 replies; 3+ messages in thread
From: Gary @ 2010-05-26 18:10 UTC (permalink / raw)
  To: Help-gnu-emacs

Jean Felder wrote:
> I'm currently using emacs 23.2 on debian sid.
>
> I like starting emacs maximized using a trick from fvwm

If it's really a "trick" then maybe it shouldn't work? I don't know,
since I don't use fvwm.

> In fact, I'm launching emacs daemon at startup with the command "emacs
> --daemon" Then, I'm using "emacsclient -c"

What happens if you don't use --daemon and emacsclient? I've found
several things* that work using emacs "normally" but not when using
emacsclient :( I get the impression (and it really is just that) that
less testing is done with emacsclient than with the main emacs program.

* For example only today I had the situation that emacsclient would
  always say "Entering debugger"´(and then hung) when I started it, even
  though /usr/bin/emacs worked just fine, without complaint. Eventually,
  clearing my .desktop fixed it. Just an example.

-- 
Gary



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

* Re: can't maximize emacs at startup
       [not found] <mailman.7.1274886889.18145.help-gnu-emacs@gnu.org>
@ 2010-05-27 14:05 ` Pascal J. Bourguignon
  0 siblings, 0 replies; 3+ messages in thread
From: Pascal J. Bourguignon @ 2010-05-27 14:05 UTC (permalink / raw)
  To: help-gnu-emacs

Jean Felder <jean.felder@gmail.com> writes:

> Hi Everyone,
>
> I'm currently using emacs 23.2 on debian sid.
>
> I like starting emacs maximized using a trick from fvwm
> ( http://fvwmwiki.xteddy.org/cookbook/#index3h2 )
> This feature works fine with emacs 23.1 .
> However, since I've upgraded from emacs 23.1 to 23.2, it doesn't work
> anymore : emacs doesn't start maximized.
>
> In fact, I'm launching emacs daemon at startup with the command "emacs --daemon"
> Then, I'm using "emacsclient -c"
> The first time, I'm using emacsclient, the window is launched but not maximized.
> The second time, everything works fine : the second window is maximized.
>
> It seems that the first time, the window size is reset. Is this some
> kind of side effect
> from a change from 23.1 to 23.2 ?
>
> Does anyone have any ideas ?

Emacs itself sets its frame size, from the default-frame-alist.
And you may have a set-frame-size form in your ~/.emacs file.

Actually, my solution is to use ratpoison (or a similar window
manager).  Then I don't have to bother with window sizes anymore.

-- 
__Pascal Bourguignon__
http://www.informatimago.com


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

end of thread, other threads:[~2010-05-27 14:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.7.1274886889.18145.help-gnu-emacs@gnu.org>
2010-05-27 14:05 ` can't maximize emacs at startup Pascal J. Bourguignon
2010-05-26  8:24 Jean Felder
2010-05-26 18:10 ` Gary

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.