all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How To Resize Window To Specific Size ??
@ 2004-08-25 21:10 Tennis Smith
  0 siblings, 0 replies; 5+ messages in thread
From: Tennis Smith @ 2004-08-25 21:10 UTC (permalink / raw)


Hi,

The subject says it all.  I would like to be able to set the exact screen
coordinates of my emacs window.  Is that possible?

TIA,
-Tennis

--
Remove "-remove-to-reply" to respond to my  email address directly.

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

* How To Resize Window To Specific Size ??
@ 2004-08-26  1:02 Tennis Smith
  2004-08-26  1:03 ` Vektor
  2004-08-26  7:04 ` Pascal Bourguignon
  0 siblings, 2 replies; 5+ messages in thread
From: Tennis Smith @ 2004-08-26  1:02 UTC (permalink / raw)


Hi,

The subject says it all.  I would like to be able to set the exact screen
coordinates of my emacs window.  Is that possible?

TIA,
-Tennis


--
Remove "-remove-to-reply" to respond to my  email address directly.

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

* Re: How To Resize Window To Specific Size ??
  2004-08-26  1:02 Tennis Smith
@ 2004-08-26  1:03 ` Vektor
  2004-08-26  3:57   ` Eli Zaretskii
  2004-08-26  7:04 ` Pascal Bourguignon
  1 sibling, 1 reply; 5+ messages in thread
From: Vektor @ 2004-08-26  1:03 UTC (permalink / raw)


for example:

(if window-system
    (setq default-frame-alist
          (append
           '(
	     ;; for 800x600
	     ;; (font . "8x13")
             (top . 0)
             (left . 0)
             (width . 95)
	     (height . 36)
	     )
           default-frame-alist)))

"Tennis Smith" <tennis_smith@yahoo-remove-to-reply.com> writes:

> Hi,
>
> The subject says it all.  I would like to be able to set the exact screen
> coordinates of my emacs window.  Is that possible?
>
> TIA,
> -Tennis
>
>
> --
> Remove "-remove-to-reply" to respond to my  email address directly.
>
>

-- 
Remove all XYZ from my email to get the real one.

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

* Re: How To Resize Window To Specific Size ??
  2004-08-26  1:03 ` Vektor
@ 2004-08-26  3:57   ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2004-08-26  3:57 UTC (permalink / raw)


> From: Vektor <XYZvektorXYZ@XYZyeahXYZ.net>
> Date: Thu, 26 Aug 2004 09:03:06 +0800
> 
> (if window-system
>     (setq default-frame-alist

One should use

  (if (display-multi-frame-p)

instead of

  (if window-system

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

* Re: How To Resize Window To Specific Size ??
  2004-08-26  1:02 Tennis Smith
  2004-08-26  1:03 ` Vektor
@ 2004-08-26  7:04 ` Pascal Bourguignon
  1 sibling, 0 replies; 5+ messages in thread
From: Pascal Bourguignon @ 2004-08-26  7:04 UTC (permalink / raw)


"Tennis Smith" <tennis_smith@yahoo-remove-to-reply.com> writes:

> Hi,
> 
> The subject says it all.  I would like to be able to set the exact screen
> coordinates of my emacs window.  Is that possible?

For example:

(defun current-frame ()  (car (frame-list)))

(defun single-window ()
  "Reduce the frame, to one 80-columns window."
  (interactive)
  (let ((cf (current-frame)))
    (set-frame-width cf 81)
    (set-frame-height cf 40)
    (set-frame-position cf -64 0)))

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

Our enemies are innovative and resourceful, and so are we. They never
stop thinking about new ways to harm our country and our people, and
neither do we.

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

end of thread, other threads:[~2004-08-26  7:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-25 21:10 How To Resize Window To Specific Size ?? Tennis Smith
  -- strict thread matches above, loose matches on Subject: below --
2004-08-26  1:02 Tennis Smith
2004-08-26  1:03 ` Vektor
2004-08-26  3:57   ` Eli Zaretskii
2004-08-26  7:04 ` Pascal Bourguignon

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.