all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Sebastien Vauban <sva-news@mygooglest.com>, Bastien <bzg@altern.org>
Cc: 16440@debbugs.gnu.org
Subject: bug#16440: bug#16780: 24.2.91; Emacs crash when C-c C-c on captured item
Date: Thu, 20 Feb 2014 18:35:15 +0200	[thread overview]
Message-ID: <831tyx68u4.fsf@gnu.org> (raw)
In-Reply-To: <86ioscw8xn.fsf@somewhere.org>

> From: "Sebastien Vauban" <sva-news@mygooglest.com>
> Cc: 16440@debbugs.gnu.org,  rgm@gnu.org
> Date: Tue, 18 Feb 2014 19:51:48 +0100
> 
> >> >> See http://screencast.com/t/m2urFNhsSrN for a comparison, with all
> >> >> parameters identical (same config file, same theme file), but the
> >> >> version of the Emacs binary...
> >> >
> >> > What faces?  Can you provide a simple, small, self-contained test
> >> > case?
> >> 
> >> New screenshot: http://screencast.com/t/LDKtOSOB.
> >> 
> >> Test file:
> >> 
> >> --8<---------------cut here---------------start------------->8---
> >> * Code block
> >> 
> >> #+begin_src emacs-lisp
> >> ;; the above line must be displayed as `org-block-begin-line'
> >> (message "echo")                        ; a line of code, such as this one, is
> >>                                         ; displayed as `org-block-background'
> >> ;; the line below this one must be displayed as `org-block-end-line'
> >> #+end_src
> >> 
> >> * Mail contents
> >> 
> >> #+begin_verse
> >> The "borders" of this block must be displayed as `org-block-begin/end-line'.
> >> 
> >> The "inside" must be displayed as `org-verse'...
> >> 
> >> Foo
> >> Bar
> >> Baz
> >> #+end_verse
> >> --8<---------------cut here---------------end--------------->8---
> >
> > OK, but what should one do with this file, starting with "emacs -Q",
> > to reproduce the problem?  The screenshot only shows the results, not
> > what you did to achieve them.
> 
> As stated in the beginning of the thread, simply launch a minimal Emacs
> file (see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16440#10), and
> open the above test file, for you to reproduce the problem.

If you reload the theme after visiting the Org file, those faces
change their looks to what you expect.

This seems to be the consequence of the change described in NEWS like
this:

  *** Face specs set via Custom themes now replace the `defface' spec
  rather than inheriting from it (as do face specs set via Customize).

Org uses org-copy-face to define the faces that you show in your
screencast, and org-copy-face assumes the face it inherits from
already exists.  But loading a theme now doesn't create the faces, it
only prepares the data for when the face will be created.  So :inherit
in org-copy-face doesn't do what you expect.

I guess either some change is needed in how themes are handled, or
org-copy-face needs to change to follow suit.  (CC to Bastien for
that.)





  reply	other threads:[~2014-02-20 16:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.11884.1389702917.10748.bug-gnu-emacs@gnu.org>
2014-01-22  9:39 ` bug#16440: 24.3.50; Some colors of the theme aren't respected in latest Emacs Sebastien Vauban
     [not found] ` <86d2jubv6d.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2014-01-22  9:39   ` Sebastien Vauban
2014-02-18  8:37   ` bug#16440: bug#16780: 24.2.91; Emacs crash when C-c C-c on captured item Sebastien Vauban
2014-02-18 18:04     ` Eli Zaretskii
     [not found]       ` <831tz070w0.fsf-mXXj517/zsQ@public.gmane.org>
2014-02-18 18:51         ` Sebastien Vauban
2014-02-20 16:35           ` Eli Zaretskii [this message]
     [not found] <mailman.15328.1392652455.10748.bug-gnu-emacs@gnu.org>
     [not found] ` <mailman.15328.1392652455.10748.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2014-02-17 15:57   ` Sebastien Vauban
2014-02-17 16:14     ` Eli Zaretskii
     [not found]       ` <83ob2590nf.fsf-mXXj517/zsQ@public.gmane.org>
2014-02-17 21:10         ` Sebastien Vauban
2014-02-17 21:15           ` Eli Zaretskii
     [not found]             ` <83wqgt7862.fsf-mXXj517/zsQ@public.gmane.org>
2014-02-17 21:23               ` Sebastien Vauban
2014-02-17 21:31                 ` Eli Zaretskii
     [not found]                   ` <83txbx77ev.fsf-mXXj517/zsQ@public.gmane.org>
2014-02-17 21:39                     ` bug#16440: " Sebastien Vauban
2014-02-17 21:47                       ` Eli Zaretskii
     [not found]             ` <mailman.15395.1392672252.10748.bug-gnu-emacs@gnu.org>
     [not found]               ` <mailman.15395.1392672252.10748.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2014-02-17 21:33                 ` bug#16440: " Sebastien Vauban
2014-02-18  0:59             ` Glenn Morris

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=831tyx68u4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=16440@debbugs.gnu.org \
    --cc=bzg@altern.org \
    --cc=sva-news@mygooglest.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.