unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: 13278@debbugs.gnu.org
Subject: bug#13278: 24.3.50; Attributes aren't inherited in a copied face across frames
Date: Wed, 26 Dec 2012 14:43:40 -0500	[thread overview]
Message-ID: <weobhg7g5v.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <b4m623pmv9j.fsf@jpl.org> (Katsumi Yamaoka's message of "Wed, 26 Dec 2012 10:56:08 +0900")

Katsumi Yamaoka wrote:

> (This happens in not only 24.3.50 but also at least 24.2.)

In everything since at least 22.3.

> Say copy the built-in face `bold' to `my-bold' as follows:
>
> (copy-face 'bold 'my-bold)
>  = my-bold
> (face-attribute 'my-bold :weight)
>  => bold
>
> That is normal.  However, if `(face-attribute ...)' is done again
> in a newly created frame (by `C-x 5 2'), it returns `unspecified',
> i.e., that is not a bold face in the new frame.

Something to do with the FRAME argument of both these functions,
I imagine.





  reply	other threads:[~2012-12-26 19:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-26  1:56 bug#13278: 24.3.50; Attributes aren't inherited in a copied face across frames Katsumi Yamaoka
2012-12-26 19:43 ` Glenn Morris [this message]
2012-12-30  1:28   ` Katsumi Yamaoka
2012-12-30  3:13     ` Chong Yidong
2012-12-31  0:16       ` Katsumi Yamaoka
2012-12-31  3:14         ` Drew Adams
2012-12-31  4:03         ` Chong Yidong

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=weobhg7g5v.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=13278@debbugs.gnu.org \
    --cc=yamaoka@jpl.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 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).