unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Rogério Brito" <rbrito@ime.usp.br>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, 18902@debbugs.gnu.org
Subject: bug#18902: Emacs 24.4 doesn't respect X resources
Date: Sat, 04 Sep 2021 09:47:24 +0200	[thread overview]
Message-ID: <874kb0srxv.fsf@gnus.org> (raw)
In-Reply-To: <20141031192122.GA12893@ime.usp.br> ("Rogério Brito"'s message of "Fri, 31 Oct 2014 17:21:22 -0200")

Rogério Brito <rbrito@ime.usp.br> writes:

> This is from my .Xresources file, but they are also spit with xrdb -query.
> *BUT*, in the mean time, I did the following:
>
> * I am using the MATE desktop environment (essentially, GNOME 2) and I get
>   the X resources ignored with Emacs 24.4, but everything worked just fine
>   with Emacs 24.3.
>
> * I tried installing and seeing the behavior with LXDE, GNOME 3 Classic
>   (regular GNOME 3 just crashed), and  XFCE.  Emacs 24.4 loaded the
>   resources just fine with these.
>
> * Then, I became more adventurous and spent a lot of time git bisecting the
>   emacs tree and after a lot of electrical energy/heat, I discovered that
>   the first bad commit is, indeed, related to faces and X resources.
>
>   The commit is 15e14b165dcbc6566a0459b0d5e66f89080f569e and right at the
>   bottom of the comment is
>
>     * faces.el (face-spec-set): Use face-spec-recalc in all cases.
>     (face-spec-reset-face): Don't assign extra properties in temacs.
>     (face-spec-recalc): Apply X resources too.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

This was

commit aac2b673c3083ab612bcd57fbcd9d370078bd8da
Author:     Chong Yidong <cyd@gnu.org>
AuthorDate: Sat Dec 21 23:31:09 2013 +0800

Looking at the code in face-spec-recalc in the current Emacs, it looks
quite different from what it did in 2013.  Are you still seeing this
issue in recent versions of Emacs?  (I can't recall seeing any similar
reports.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  parent reply	other threads:[~2021-09-04  7:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-30  9:01 bug#18902: Emacs 24.4 doesn't respect X resources Rogério Brito
2014-10-31  3:28 ` Glenn Morris
2014-10-31 18:11   ` Stefan Monnier
2014-10-31 19:21     ` Rogério Brito
2014-11-23 16:24       ` Rogério Brito
2021-09-04  7:47       ` Lars Ingebrigtsen [this message]
2021-10-03  9:44         ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874kb0srxv.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=18902@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rbrito@ime.usp.br \
    /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 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).