GNU bug report logs - #1373
23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults

Previous Next

Package: emacs;

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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Gregor Zattler <telegraph <at> gmx.net>
Subject: bug#1373 closed by Stefan Monnier <monnier <at> IRO.UMontreal.CA> (Re:
 bug#1373: 23.0.60; --daemon: "emacsclient -c" does not honor 
 +Xoffset+Yoffset in ~/.Xdefaults)
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#1373: 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults

It has been closed by Stefan Monnier <monnier <at> IRO.UMontreal.CA>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Stefan Monnier <monnier <at> IRO.UMontreal.CA> by
replying to this email.


-- 
1373: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1373
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Gregor Zattler <telegraph <at> gmx.net>
Cc: 1373-done <at> debbugs.gnu.org
Subject: Re: bug#1373: 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults
Date: Thu, 20 Nov 2008 10:07:34 -0500
> 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

[Message part 3 (message/rfc822, inline)]
From: Gregor Zattler <telegraph <at> gmx.net>
To: emacs-pretest-bug <at> gnu.org
Cc: rfrancoise <at> debian.org
Subject: 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults
Date: Tue, 18 Nov 2008 19:47:24 -0500
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]



This bug report was last modified 16 years and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.