From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: [org-src, patch] colored source blocks Date: Wed, 21 Sep 2016 15:22:41 +0100 Message-ID: <878tulqqmm.fsf@gmail.com> References: <87ponxa6ou.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmiRD-000562-Kh for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 10:23:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmiR8-00053M-EZ for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 10:23:51 -0400 Received: from mail-lf0-f45.google.com ([209.85.215.45]:33451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmiR8-00052M-64 for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 10:23:46 -0400 Received: by mail-lf0-f45.google.com with SMTP id b71so16378789lfg.0 for ; Wed, 21 Sep 2016 07:23:44 -0700 (PDT) In-Reply-To: <87ponxa6ou.fsf@gmx.us> 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@gnu.org Sender: "Emacs-orgmode" To: Rasmus , emacs-orgmode@gnu.org Hi Rasmus, The patch in general LGTM. One comment/question, though: 2016ko irailak 21an, Rasmus-ek idatzi zuen: [...] > +(defcustom org-src-block-faces nil > + "Alist of faces to be used for source-block. > +Each element is a cell of the format > + > + (\"language\" FACE-OR-BACKGROUND) > + > +Where FACE-OR-BACKGROUND is either a face, an anonymous face, or > +a string corresponding to a background color. Why do you support a background color string here? I think that it=E2=80= =99s easy to specify faces which consist of a background color only both in lisp [(:background "XXX") vs. "XXX"] and via the customize interface. So this flexibility seems to just introduce additional complications for virtually no benefit in usability. But maybe I=E2=80=99m missing something= ...? --=20 Aaron Ecay