From: Krishnakumar B <kitty@dre.vanderbilt.edu>
Subject: GNU Emacs no longer honours top and left parameters to make-frame
Date: Tue, 19 Sep 2006 23:42:13 -0500 [thread overview]
Message-ID: <87ac4vxi6y.fsf@dre.vanderbilt.edu> (raw)
Hi,
The following code that I had in my .emacs no longer works, i.e., the top
and left values are not honoured by Emacs, and Emacs places my frames at
arbitrary locations on startup.
/----
| ;; Sizes for the various frames
|
| (if window-system
| (let (top left height)
| (if (= (display-pixel-width) 1600)
| (setq top 12
| left 753
| height 69)
| (setq top 14
| left 637
| height 56))
| (setq default-frame-alist `((width . 80)
| (left . ,left)
| (top . ,top)
| (height . ,height)
| (tool-bar-lines . 0)))
| (setq initial-frame-alist default-frame-alist))
| (menu-bar-mode 0))
|
|
| ;; ;; Create the smaller frame on the left side of the screen.
|
| (if window-system
| (let (top left height)
| (if (= (display-pixel-width) 1600)
| (setq top 27
| left 0
| height 68)
| (setq top 48
| left 0
| height 54))
| (make-frame `((width . 80)
| (left . ,left)
| (top . ,top)
| (height . ,height)
| (tool-bar-lines . 0))))
| (menu-bar-mode 0))
\----
I also noticed that once Emacs is initialized, if I try to execute the
second function, i.e., the smaller frame one, it places it over my right
frame. Are top and left no longer supported?
I am using GNU Emacs compiled from CVS with version reported as:
In GNU Emacs 22.0.50.1 (i386-msvc-nt5.2.3790)
of 2006-09-19 on EQUUS
X server distributor `Microsoft Corp.', version 5.2.3790
configured using `configure --with-msvc (13.10)'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ENU
locale-coding-system: cp1252
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
display-time-mode: t
recentf-mode: t
icomplete-mode: t
auto-image-file-mode: t
delete-selection-mode: t
partial-completion-mode: t
shell-dirtrack-mode: t
encoded-kbd-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Any pointers on how to get back the old behavior which used to place the
frames in a non-overlapping fashion is much appreciated.
-kitty.
--
Krishnakumar B <kitty at dre dot vanderbilt dot edu>
Institute for Software Integrated Systems, Dept. of EECS, Vanderbilt University
next reply other threads:[~2006-09-20 4:42 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-20 4:42 Krishnakumar B [this message]
2006-09-20 17:15 ` GNU Emacs no longer honours top and left parameters to make-frame Ralf Angeli
2006-09-21 20:30 ` Ralf Angeli
2006-09-22 9:19 ` YAMAMOTO Mitsuharu
2006-10-07 19:28 ` Ralf Angeli
2006-10-07 20:10 ` Jason Rumney
2006-10-07 22:46 ` GNU Emacs no longer honours top and left parameterstomake-frame mituharu
2006-10-08 7:27 ` Ralf Angeli
2006-10-28 22:38 ` Ralf Angeli
2006-10-29 4:26 ` Eli Zaretskii
2006-10-29 11:10 ` Ralf Angeli
2006-11-04 12:21 ` Eli Zaretskii
2006-09-22 9:28 ` GNU Emacs no longer honours top and left parameters to make-frame Kim F. Storm
2006-09-24 20:02 ` Ralf Angeli
2006-09-22 12:49 ` Eli Zaretskii
2006-09-24 19:48 ` Ralf Angeli
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ac4vxi6y.fsf@dre.vanderbilt.edu \
--to=kitty@dre.vanderbilt.edu \
/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 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).