unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs 21.2 Frame Parameters
@ 2002-08-06 19:02 Joseph W. Jackson
  0 siblings, 0 replies; 2+ messages in thread
From: Joseph W. Jackson @ 2002-08-06 19:02 UTC (permalink / raw)


I recently upgraded to Emacs 21.2.1 and now find that several of my frame 
customizations don't work.  In particular, the frame-parameters "top" and 
"left" get ignored.

For example:
In version 20.7 I used the following command to create a second frame 
positioned all the way to the right of my screen:
        (make-frame '((height . 70) (width .  93) (top . 0) (left .  581)))

under emacs 21.2.1 the command above produces a frame of height=70 and 
width=93 but the windoe is positioned at top=0 and left=0.  I get an 
identical result when I try to set "top" or "left" values for the variables 
"special-display-frame-alist" and "default-frame-alist"

Can someone tell me what has changed and how to work around the problem?

I am operating under Redhat Linux 7.3 and I'm using either the Gnome 
interface or a WRQ Reflection Suite for X connection.


"No Single Raindrop Believes It Is Responsible For The Flood"  - Despair.com

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

* Re: Emacs 21.2 Frame Parameters
@ 2002-08-07  1:32 ÖÜÄþ
  0 siblings, 0 replies; 2+ messages in thread
From: ÖÜÄþ @ 2002-08-07  1:32 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1917 bytes --]


> I recently upgraded to Emacs 21.2.1 and now find that several of my frame 
> customizations don't work.  In particular, the frame-parameters "top" and 
> "left" get ignored.
> 
> For example:
> In version 20.7 I used the following command to create a second frame 
> positioned all the way to the right of my screen:
>         (make-frame '((height . 70) (width .  93) (top . 0) (left .  581)))
> 
> under emacs 21.2.1 the command above produces a frame of height=70 and 
> width=93 but the windoe is positioned at top=0 and left=0.  I get an 
> identical result when I try to set "top" or "left" values for the variables 
> "special-display-frame-alist" and "default-frame-alist"
> 
> Can someone tell me what has changed and how to work around the problem?
> 
> I am operating under Redhat Linux 7.3 and I'm using either the Gnome 
> interface or a WRQ Reflection Suite for X connection.
> 
> 
> "No Single Raindrop Believes It Is Responsible For The Flood"  - Despair.com
> 
> 
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 
NTEmacs FAQ says that:
Emacs uses two alists to determine the default appearances of frames, default- frame-alist and initial-frame-alist. The default-frame- alist variable sets the basic defaults of all frames. Since it is a common Emacs usage to have the initial frame have slightly different properties than other frames (e.g., its position), you can use the initial-frame-alist variable to override properties in default-frame-alist specially for the initial frame.
(setq default-frame-alist
      '((top . 200) (left . 400)
        (width . 80) (height . 40)
        (cursor-color . "white")
        (cursor-type . box)
        (foreground-color . "yellow")
        (background-color . "black")
        (font . "-*-Courier-normal-r-*-*-13-*-*-*-c-*-iso8859-1")))
^_^

[-- Attachment #2: Type: text/html, Size: 2753 bytes --]

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

end of thread, other threads:[~2002-08-07  1:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-06 19:02 Emacs 21.2 Frame Parameters Joseph W. Jackson
  -- strict thread matches above, loose matches on Subject: below --
2002-08-07  1:32 ÖÜÄþ

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