From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <831tyx68u4.fsf@gnu.org> References: <86sirhspex.fsf@somewhere.org> <83ob2590nf.fsf@gnu.org> <86mwhpv41s.fsf@somewhere.org> <83wqgt7862.fsf@gnu.org> <86a9dpv3go.fsf@somewhere.org> <83txbx77ev.fsf@gnu.org> <861tz1v2p6.fsf@somewhere.org> <83r47176os.fsf@gnu.org> <86lhx8u886.fsf@somewhere.org> <831tz070w0.fsf@gnu.org> <86ioscw8xn.fsf@somewhere.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1392914172 5982 80.91.229.3 (20 Feb 2014 16:36:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Feb 2014 16:36:12 +0000 (UTC) Cc: 16440@debbugs.gnu.org To: Sebastien Vauban , Bastien Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 20 17:36:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WGWbk-0002Nu-6V for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Feb 2014 17:36:20 +0100 Original-Received: from localhost ([::1]:39534 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGWbj-0004HS-Mq for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Feb 2014 11:36:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGWbb-0004AP-DF for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 11:36:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGWbT-0000kP-9o for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 11:36:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGWbT-0000kK-1p for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 11:36:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WGWbS-0000vN-Ej for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 11:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Feb 2014 16:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16440 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16440-submit@debbugs.gnu.org id=B16440.13929141163478 (code B ref 16440); Thu, 20 Feb 2014 16:36:02 +0000 Original-Received: (at 16440) by debbugs.gnu.org; 20 Feb 2014 16:35:16 +0000 Original-Received: from localhost ([127.0.0.1]:33818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGWad-0000tv-6e for submit@debbugs.gnu.org; Thu, 20 Feb 2014 11:35:12 -0500 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:45400) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGWaZ-0000tR-8L for 16440@debbugs.gnu.org; Thu, 20 Feb 2014 11:35:08 -0500 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0N1A00H00Z67J500@mtaout26.012.net.il> for 16440@debbugs.gnu.org; Thu, 20 Feb 2014 18:33:18 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1A00E39ZBI3A40@mtaout26.012.net.il>; Thu, 20 Feb 2014 18:33:18 +0200 (IST) In-reply-to: <86ioscw8xn.fsf@somewhere.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85946 Archived-At: > From: "Sebastien Vauban" > 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.)