all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: help-gnu-emacs@gnu.org
Subject: Re: Linux: .Xdefaults, geometry not recognized
Date: Thu, 08 Jan 2015 10:23:26 +0100	[thread overview]
Message-ID: <87bnm97hip.fsf@mat.ucm.es> (raw)
In-Reply-To: 20150107152841757917829@bob.proulx.com

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

>> "Bob" == Bob Proulx <bob@proulx.com> writes:

   > Uwe Brauer wrote:
   >> I have the following setting in my .Xdefaults
   >> Emacs.foreground:                       black
   >> Emacs.background:                       grey98
   >> Emacs.font:     -*-courier-bold-r-*-*-18-180-*-*-*-*-*-*
   >> Emacs.geometry:                         105x63+20+5
   >> File the font is recognized by emacs but the geometry not.

Thanks for this very detailed answer.

   > First things first.  As I am sure you are aware the .Xdefaults is the
   > old, old, old way and the file is ignored if the xrdb is non-empty.
   > Please verify that your xrdb database is completely empty.

Well I always run xrdb -merge ~/.Xdefaults

   >   xrdb -q

   > If that lists anything then the .Xdefaults won't be used.  Almost
   > every desktop environment sets xrdb resources these days.  It is
   > better IMNHO to use it instead.

It lists for example 
Emacs.geometry: 105x63+20+5

   > I would verify that the resources you want are set in the xrdb
   > correctly.  Note that the lower case name "emacs" is more specific
   > than the class name "Emacs" and therefore a emacs.font setting will
   > override an Emacs.font setting.

   >   xrdb -q | grep -i emacs

   > For debugging I would try it explicitly on the command line.  Then
   > with the -q option.

   >   emacs --xrm Emacs.geometry:105x63+20+5

   >   emacs -q --xrm Emacs.geometry:105x63+20+5

   >   emacs -q --xrm emacs.geometry:105x63+20+5


All work!

But again when I change 

Emacs.geometry: 105x63+20+5

To 
Emacs.geometry: 105x63+20+5
in my .Xdefaults file
run xrdb -merge .Xdefaults
check whether the change is updated (which it is)

And then start emacs without the xrm option the geometry setting is
ignored!!!
So all xrdb setting seen by xrbd -q | grep -i emacs 
are used but not the Emacs.geometry (emacs.geometry) parameter

Very odd.

Uwe 

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 6007 bytes --]

  reply	other threads:[~2015-01-08  9:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-07 21:14 Linux: .Xdefaults, geometry not recognized Uwe Brauer
2015-01-07 22:40 ` Bob Proulx
2015-01-08  9:23   ` Uwe Brauer [this message]
2015-01-08 18:03     ` Bob Proulx
2015-01-08 20:56       ` Uwe Brauer
     [not found] <mailman.17431.1420665379.1147.help-gnu-emacs@gnu.org>
2015-01-07 23:04 ` Will Parsons

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=87bnm97hip.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=help-gnu-emacs@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.