[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
address@hidden: emacs -g WIDTHxHEIGHT only observed on "odd" frames]
From: |
Richard Stallman |
Subject: |
address@hidden: emacs -g WIDTHxHEIGHT only observed on "odd" frames] |
Date: |
Wed, 18 Oct 2006 06:42:22 -0400 |
Would someone please fix this, then ack?
------- Start of forwarded message -------
Date: Tue, 17 Oct 2006 06:37:10 -0700
From: "Andrew M. Scott" <address@hidden>
To: address@hidden
Cc: address@hidden
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/intel/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
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- address@hidden: emacs -g WIDTHxHEIGHT only observed on "odd" frames],
Richard Stallman <=