all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Eduardo Ochs <eduardoochs@gmail.com>
Cc: 34226@debbugs.gnu.org
Subject: bug#34226: Running (defface my-face-foo ...) just after emacs -Q creates a face whose face-id is 0
Date: Mon, 28 Jan 2019 17:26:14 +0200	[thread overview]
Message-ID: <835zu84xd5.fsf@gnu.org> (raw)
In-Reply-To: <CADs++6jBKqFjb5UEzsf4Frjs=dE1uGHRLXcWGSZPnu12a=EBBQ@mail.gmail.com> (message from Eduardo Ochs on Sun, 27 Jan 2019 19:42:32 -0200)

> From: Eduardo Ochs <eduardoochs@gmail.com>
> Date: Sun, 27 Jan 2019 19:42:32 -0200
> 
> In emacs from git the faces that are created in the .emacs receive bad
> face-ids - in particular, the first one gets face-id 0, which is the
> same as the face-id for the "default" face.
> 
> I discovered this bug because the first face that my .emacs creates is
> used to make "^O"s be displayed as red stars, and in git emacs these
> red stars were not being displayed in red.
> 
> The shell script below creates an elisp file - with some code in its
> comments meant be executed by hand - and loads and edits that elisp
> file from both emacs24 and emacs-27.0.50 with "-Q" to show the (bad)
> behaviour that I was getting from my .emacs.

Thanks for the easy test case.  Should be fixed now.





  reply	other threads:[~2019-01-28 15:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-27 21:42 bug#34226: Running (defface my-face-foo ...) just after emacs -Q creates a face whose face-id is 0 Eduardo Ochs
2019-01-28 15:26 ` Eli Zaretskii [this message]
2019-04-17  0:14   ` Noam Postavsky

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=835zu84xd5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=34226@debbugs.gnu.org \
    --cc=eduardoochs@gmail.com \
    /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.