From: Richard Stallman <rms@gnu.org>
Subject: [amscott1@sedona.ch.intel.com: emacs -g WIDTHxHEIGHT only observed on "odd" frames]
Date: Wed, 18 Oct 2006 06:42:22 -0400 [thread overview]
Message-ID: <E1Ga8sQ-00074a-Vl@fencepost.gnu.org> (raw)
Would someone please fix this, then ack?
------- Start of forwarded message -------
Date: Tue, 17 Oct 2006 06:37:10 -0700
From: "Andrew M. Scott" <amscott1@sedona.ch.intel.com>
To: emacs-pretest-bug@gnu.org
Cc: amscott1@sedona.ch.intel.com
Subject: emacs -g WIDTHxHEIGHT only observed on "odd" frames
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed
version=3.0.4
The command-line section of the Emacs info pages says that WIDTH and
HEIGHT are supposed to apply to *all* frames. Current behavior is that
it only applies to the first, third, fifth, etc. but not second,
fourth, etc. frames:
`-g WIDTHxHEIGHT[{+-}XOFFSET{+-}YOFFSET]]'
`--geometry=WIDTHxHEIGHT[{+-}XOFFSET{+-}YOFFSET]]'
Specify the size WIDTH and HEIGHT (measured in character columns
and lines), and positions XOFFSET and YOFFSET (measured in
pixels). The WIDTH and HEIGHT parameters apply to all frames,
whereas XOFFSET and YOFFSET only to the initial frame.
To reproduce:
My .Xdefaults contains:
Emacs.Geometry: 125x50-5+50
Using an Oct 16, 2006 CVS snapshot and gnu/linux local compile:
% emacs -Q -g 100x38 &
brings up the first frame
(frame-width)100
(frame-height)40
C-x 5 b
brings up the 2nd frame that's much bigger (no longer fitting in my VNC
window)
C-x b *scratch*
(frame-width)125
(frame-height)52 (Hmm, that's *bigger* than the 50 in my .Xdefaults.
Is the vertical delta due to my fvwm2 titlebar width?)
default-frame-alist is a variable defined in `C source code'.
Value:
((tool-bar-lines . 1)
(menu-bar-lines . 1)
(width . 125)
(height . 50)
(right-fringe)
(left-fringe)
(user-size . t)
(height . 38)
(width . 100))
If I open up a third frame:
C-x 5 b
This one is now the right size!
C-x b *scratch*
(frame-width)100
(frame-height)40
Similarly, a fourth frame looks like the second (over-large).
Andy Scott
In GNU Emacs 22.0.50.1 (x86_64-unknown-linux-gnu, X toolkit)
of 2006-10-16 on chlr6708
X server distributor `The XFree86 Project, Inc', version 11.0.40201000
configured using `configure '--prefix=/stor/garray/linux_2.6.5_x86-64' '--x-includes=/usr/intel/pkgs/X11/R7.0/include' '--x-libraries=/usr/intel/pkgs/X11/R7.0/lib' 'CC=gcc' 'CFLAGS=-O2 -I/usr/intel/pkgs/X11/R7.0/include -L/usr/intel/pkgs/X11/R7.0/lib -I/usr/intel/pkgs/zlib/1.2.3/include -L/usr/intel/pkgs/zlib/1.2.3/lib -I/usr/intel/pkgs/ncurses/5.5/include -L/usr/intel/pkgs/ncurses/5.5/lib -I/usr/intel/pkgs/libungif/4.1.4/include -L/usr/intel/pkgs/libungif/4.1.4/lib -I/usr/intel/pkgs/libpng/1.2.12/include -L/usr/intel/pkgs/libpng/1.2.12/lib -I/usr/intel/pkgs/jpeg/6b-2/include -L/usr/intel/pkgs/jpeg/6b-2/lib -I/usr/intel/pkgs/libglade/2.5.1/include -L/usr/intel/pkgs/libglade/2.5.1/lib64 -I/usr/intel/pkgs/gtk+/2.8.17/include -L/usr/intel/pkgs/gtk+/2.8.17/lib64 -I/usr/intel/pkgs/lesstif/0.94.4/include -L/usr/intel/pkgs/lesstif/0.94.4/lib' 'LDFLAGS=-L/usr/intel/pkgs/X11/R7.0/lib -L/usr/inte
l/pkgs/zlib/1.2.3/lib -L/usr/intel/pkgs/ncurses/5.5/lib -L/usr/intel/pkgs/libungif/4.1.4/!
lib -L/usr/intel/pkgs/libpng/1.2.12/lib -L/usr/intel/pkgs/jpeg/6b-2/lib -Wl,-rpath=/usr/intel/pkgs/X11/R7.0/lib:/usr/intel/pkgs/zlib/1.2.3/lib:/usr/intel/pkgs/ncurses/5.5/lib:/usr/intel/pkgs/libungif/4.1.4/lib:/usr/intel/pkgs/libpng/1.2.12/lib:/usr/intel/pkgs/jpeg/6b-2/lib:/usr/intel/pkgs/libglade/2.5.1/lib64:/usr/intel/pkgs/gtk+/2.8.17/lib64:/usr/intel/pkgs/lesstif/0.94.4/lib''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: C
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: en_US.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------
reply other threads:[~2006-10-18 10:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=E1Ga8sQ-00074a-Vl@fencepost.gnu.org \
--to=rms@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.