GNU bug report logs -
#1373
23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults
Previous Next
Reported by: Gregor Zattler <telegraph <at> gmx.net>
Date: Wed, 19 Nov 2008 00:55:05 UTC
Severity: normal
Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1373 in the body.
You can then email your comments to 1373 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1373
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Gregor Zattler <telegraph <at> gmx.net>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Hi,
the actions:
$ killall emacs-snapshot
$ xrdb ~/.Xdefaults
$ emacs-snapshot -Q --daemon
$ emacsclient.emacs-snapshot -c /home/grfz/.Xdefaults
when started like this Emacs creates a new frame. The frames width
and heigth are determined by the emacs.geometry ressource in
~/.Xdefaults, whereas the -Xoffset+Yoffset values are ignored. Emacs
positions the frame in the top left corner. But I want it in the top
right corner. Therefore I hve the following line in my ~/.Xdefaults
file:
emacs-snapshot.geometry:82x188-0+0
When started like this:
$ killall emacs-snapshot
$ xrdb ~/.Xdefaults
$ emacs-snapshot -Q /home/grfz/.Xdefaults
Emacs creates the frame in the top right corner of the display.
It would be nice if emacs would honor the full geometry settings in
the X ressources.
Thank you for emacs, the awesome --daemon feature and your attention,
Gregor
In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
of 2008-11-18 on del, modified by Debian
(emacs-snapshot package, version 1:20081113-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''
Important settings:
value of $LC_ALL:
value of $LC_COLLATE: de_DE.utf8
value of $LC_CTYPE: de_DE.utf8
value of $LC_MESSAGES: POSIX
value of $LC_MONETARY: de_DE.utf8
value of $LC_NUMERIC: de_DE.utf8
value of $LC_TIME: de_DE.utf8
value of $LANG:
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Conf[Xdefaults]
Minor modes in effect:
show-paren-mode: t
global-hl-line-mode: t
desktop-save-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
blink-cursor-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
size-indication-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
M-x r e p <tab> o <tab> r <tab> <return>
Recent messages:
.bash_profile has auto save data; consider M-x recover-this-file
Setting up indent for shell type bash
setting up indent stuff
Indentation variables are now local.
Indentation setup for shell type bash
Wrote /home/grfz/.emacs.desktop.lock
Desktop: 9 buffers restored.
Loading /home/grfz/.emms-cache...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list... [2 times]
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1373
; Package
emacs
.
Full text and
rfc822 format available.
Message #8 received at 1373 <at> emacsbugs.donarmstrong.com (full text, mbox):
Gregor Zattler <telegraph <at> gmx.net> writes:
> Hi,
>
> the actions:
> $ killall emacs-snapshot
> $ xrdb ~/.Xdefaults
> $ emacs-snapshot -Q --daemon
> $ emacsclient.emacs-snapshot -c /home/grfz/.Xdefaults
>
> when started like this Emacs creates a new frame. The frames width
> and heigth are determined by the emacs.geometry ressource in
> ~/.Xdefaults, whereas the -Xoffset+Yoffset values are ignored. Emacs
> positions the frame in the top left corner. But I want it in the top
> right corner. Therefore I hve the following line in my ~/.Xdefaults
> file:
>
> emacs-snapshot.geometry:82x188-0+0
>
>
> When started like this:
>
> $ killall emacs-snapshot
> $ xrdb ~/.Xdefaults
> $ emacs-snapshot -Q /home/grfz/.Xdefaults
>
> Emacs creates the frame in the top right corner of the display.
>
>
> It would be nice if emacs would honor the full geometry settings in
> the X ressources.
It does not look like doing
emacs -Q -f server-start&
emacsclient -c
respects the position parameter, so this might not be related to --daemon
Reply sent to
Stefan Monnier <monnier <at> IRO.UMontreal.CA>
:
You have taken responsibility.
Full text and
rfc822 format available.
Notification sent to
Gregor Zattler <telegraph <at> gmx.net>
:
bug acknowledged by developer.
Full text and
rfc822 format available.
Message #13 received at 1373-done <at> emacsbugs.donarmstrong.com (full text, mbox):
> when started like this Emacs creates a new frame. The frames width
> and heigth are determined by the emacs.geometry ressource in
> ~/.Xdefaults, whereas the -Xoffset+Yoffset values are ignored. Emacs
> positions the frame in the top left corner. But I want it in the top
> right corner. Therefore I hve the following line in my ~/.Xdefaults
> file:
> emacs-snapshot.geometry:82x188-0+0
> When started like this:
> $ killall emacs-snapshot
> $ xrdb ~/.Xdefaults
> $ emacs-snapshot -Q /home/grfz/.Xdefaults
> Emacs creates the frame in the top right corner of the display.
> It would be nice if emacs would honor the full geometry settings in
> the X ressources.
> Thank you for emacs, the awesome --daemon feature and your attention,
> Gregor
I believe this is "on purpose": the size part of the geometry argument
applies to all frames (i.e. it's put into default-frame-alist) where the
position part only applies to the first frame (i.e. it's put into
initial-frame-alist). But with a daemon, there's simply no
initial frame.
You can still get what you want by specifying the position in
default-frame-alist (in your .emacs).
Stefan
bug archived.
Request was from
Debbugs Internal Request <don <at> donarmstrong.com>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Thu, 18 Dec 2008 15:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 years and 245 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.