From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: patch for custom colored links in org-mode Date: Tue, 28 Jun 2016 16:44:20 -0400 Message-ID: References: <87twgdxtfm.fsf@saiph.selenimh> <87lh1pazj9.fsf@gmx.us> <877fd9xecw.fsf@saiph.selenimh> <87eg7hawj8.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHzrx-0004Sy-Qz for emacs-orgmode@gnu.org; Tue, 28 Jun 2016 16:44:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHzrt-0000CJ-Ix for emacs-orgmode@gnu.org; Tue, 28 Jun 2016 16:44:29 -0400 Received: from mail-qk0-x22e.google.com ([2607:f8b0:400d:c09::22e]:34387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHzrt-0000C6-E7 for emacs-orgmode@gnu.org; Tue, 28 Jun 2016 16:44:25 -0400 Received: by mail-qk0-x22e.google.com with SMTP id t127so52331107qkf.1 for ; Tue, 28 Jun 2016 13:44:25 -0700 (PDT) In-reply-to: <87eg7hawj8.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 Cc: emacs-orgmode@gnu.org That is also nice looking. Rasmus writes: > Nicolas Goaziou writes: > >> Hello, >> >> Rasmus writes: >> >>> Aside: This is what is done for specially colored source blocks. >> >> Duh. This totally eluded me. >> >>> But we can change that UI if you think. >> >> I think it would be nice to find a decent UI for that feature, indeed. >> With that naming convention rule, you get neither docstring nor >> customization UI. >> >> Of course, this is documented in the manual, but very often, looking at >> defcustoms in a library is of invaluable help. > > Maybe a defcustom consisting of an alist of anonymous faces: > > '((R ((:background "red"))) > (emacs-lisp ((:background "blue")))) -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu