From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Francesco Pizzolante" Newsgroups: gmane.emacs.orgmode,gmane.emacs.devel Subject: Re: Fontification of org code block not printed Date: Fri, 01 Aug 2014 09:31:44 +0200 Organization: Mission Critical IT Message-ID: <8738dgk6n3.fsf@somewhere.org> References: <20140728160232.GG17977@pille.home> <87lhrdtmyq.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1406878359 12795 80.91.229.3 (1 Aug 2014 07:32:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Aug 2014 07:32:39 +0000 (UTC) Cc: emacs-orgmode-mXXj517/zsQ@public.gmane.org, "Stefan-W. Hahn" , emacs-devel-mXXj517/zsQ@public.gmane.org To: Bastien Original-X-From: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Fri Aug 01 09:32:32 2014 Return-path: Envelope-to: geo-emacs-orgmode@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 1XD7KH-0004j3-I7 for geo-emacs-orgmode@m.gmane.org; Fri, 01 Aug 2014 09:32:29 +0200 Original-Received: from localhost ([::1]:60277 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD7KH-0006Bv-5Y for geo-emacs-orgmode@m.gmane.org; Fri, 01 Aug 2014 03:32:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD7Jv-0005uM-AK for emacs-orgmode-mXXj517/zsQ@public.gmane.org; Fri, 01 Aug 2014 03:32:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XD7Jq-0004tx-5w for emacs-orgmode-mXXj517/zsQ@public.gmane.org; Fri, 01 Aug 2014 03:32:07 -0400 Original-Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:6695 helo=mail.missioncriticalit.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD7Ja-0004qN-Fk; Fri, 01 Aug 2014 03:31:46 -0400 Original-Received: from WITTGENSTEIN.i-did-not-set--mail-host-address--so-tickle-me (unknown [10.10.10.53]) by mail.missioncriticalit.com (Postfix) with ESMTPSA id 66BD5500685; Fri, 1 Aug 2014 09:31:44 +0200 (CEST) X-Url: http://www.missioncriticalit.com X-Archive: encrypt In-Reply-To: <87lhrdtmyq.fsf-E3UqQZAQFPqWIDz0JBNUog@public.gmane.org> (Bastien's message of "Mon, 28 Jul 2014 18:57:37 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 213.224.53.58 X-BeenThere: emacs-orgmode-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.orgmode:89331 gmane.emacs.devel:173345 Archived-At: Hi Bastien, > This is the fault of Org. > > I fixed this in master by removing `org-block-background'. > > This is radical but I think this is really better: > http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=f8b42e8 > > Sebastien, let's think about another way of getting a > color for the background, if that's really needed. I have to say that I'm surprised about the way this issue has been fixed. Let me tell you why. 1) The fix 'simply' removes a useful Org functionality, which I use for 3 years now, without providing any alternative. 2) The first approach would have been to try to fix the issue instead of completely removing the functionality which, as I already said, is present since a long time. 3) A possible workaround, without completely removing org-block-background, would have been to add a variable in order for people to activate (or de-activate) it and use it (or avoid the issue). 4) To conclude, according to Stefan Monnier (see his answser from 2014-07-29 11:38), the issue is due to a bug in ps-def.el and not in Org: > It's a problem in the ps-def.el code which handles the `face' property > in a "naive" way: it fails to merge the various active face properties > (from the various overlays and the text-property). Could you, then, put org-block-background back and let the fix be done in Emacs and not in Org? Thanks a lot. Regards, Francesco