all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: WalterGR <waltergr@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to set window size in .emacs and have that size respected?
Date: Tue, 13 Jan 2009 08:24:55 -0800 (PST)	[thread overview]
Message-ID: <44992162-29e4-48ed-8610-4e94d9fc8edc@x16g2000prn.googlegroups.com> (raw)
In-Reply-To: 9510acb6-f545-4f3c-8935-633b7b0fee69@w1g2000prk.googlegroups.com

On Jan 13, 8:17 am, WalterGR <walte...@gmail.com> wrote:
> Oh, I get it now...  Your message led me to the right Google
> incantation, and I found
>
> http://osdir.com/ml/emacs.bugs/2002-11/msg00143.html
>
> which suggests "This is a known problem, but nobody knows how to fix
> it."  [snip]

...which doesn't seem to be true.  I solved the problem satisfactorily
by adapting a solution from [1]:

(defun maximize-window-vertically ()
  (interactive)
  (x-send-client-message nil 0 nil "_NET_WM_STATE" 32
	    		 '(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0)))
(maximize-window-vertically)

Thanks,

Walter

[1] http://ubuntuforums.org/showthread.php?t=782196


  reply	other threads:[~2009-01-13 16:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-13  9:45 How to set window size in .emacs and have that size respected? WalterGR
2009-01-13 16:03 ` Peter Dyballa
     [not found] ` <mailman.4768.1231862617.26697.help-gnu-emacs@gnu.org>
2009-01-13 16:08   ` WalterGR
2009-01-13 16:17     ` WalterGR
2009-01-13 16:24       ` WalterGR [this message]
2009-01-14  9:50         ` Torben Knudsen

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=44992162-29e4-48ed-8610-4e94d9fc8edc@x16g2000prn.googlegroups.com \
    --to=waltergr@gmail.com \
    --cc=help-gnu-emacs@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.