unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1373: 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults
@ 2008-11-19  0:47 ` Gregor Zattler
  2008-11-20  7:56   ` Dan Nicolaescu
  2008-11-20 15:15   ` bug#1373: marked as done (23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults) Emacs bug Tracking System
  0 siblings, 2 replies; 3+ messages in thread
From: Gregor Zattler @ 2008-11-19  0:47 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: rfrancoise

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]






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#1373: 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults
  2008-11-19  0:47 ` bug#1373: 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults Gregor Zattler
@ 2008-11-20  7:56   ` Dan Nicolaescu
  2008-11-20 15:15   ` bug#1373: marked as done (23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults) Emacs bug Tracking System
  1 sibling, 0 replies; 3+ messages in thread
From: Dan Nicolaescu @ 2008-11-20  7:56 UTC (permalink / raw)
  To: Gregor Zattler; +Cc: 1373, rfrancoise

Gregor Zattler <telegraph@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






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#1373: marked as done (23.0.60; --daemon: "emacsclient -c"  does not honor +Xoffset+Yoffset in ~/.Xdefaults)
  2008-11-19  0:47 ` bug#1373: 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults Gregor Zattler
  2008-11-20  7:56   ` Dan Nicolaescu
@ 2008-11-20 15:15   ` Emacs bug Tracking System
  1 sibling, 0 replies; 3+ messages in thread
From: Emacs bug Tracking System @ 2008-11-20 15:15 UTC (permalink / raw)
  To: Stefan Monnier

[-- Attachment #1: Type: text/plain, Size: 959 bytes --]


Your message dated Thu, 20 Nov 2008 10:07:34 -0500
with message-id <jwvtza2phjq.fsf-monnier+emacsbugreports@gnu.org>
and subject line Re: bug#1373: 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults
has caused the Emacs bug report #1373,
regarding 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
1373: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1373
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 4995 bytes --]

From: Gregor Zattler <telegraph@gmx.net>
To: emacs-pretest-bug@gnu.org
Cc: rfrancoise@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
Message-ID: <E1L2bE4-0006Po-3z@monty-python.gnu.org>

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]



[-- Attachment #3: Type: message/rfc822, Size: 2721 bytes --]

From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Gregor Zattler <telegraph@gmx.net>
Cc: 1373-done@emacsbugs.donarmstrong.com
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
Message-ID: <jwvtza2phjq.fsf-monnier+emacsbugreports@gnu.org>

> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-20 15:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <jwvtza2phjq.fsf-monnier+emacsbugreports@gnu.org>
2008-11-19  0:47 ` bug#1373: 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults Gregor Zattler
2008-11-20  7:56   ` Dan Nicolaescu
2008-11-20 15:15   ` bug#1373: marked as done (23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults) Emacs bug Tracking System

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).