From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eHHIFq/q115XDgAA0tVLHw (envelope-from ) for ; Wed, 03 Jun 2020 18:23:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UAjCEq/q114POAAAB5/wlQ (envelope-from ) for ; Wed, 03 Jun 2020 18:23:43 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BAB1C940665 for ; Wed, 3 Jun 2020 18:23:42 +0000 (UTC) Received: from localhost ([::1]:50326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgY39-0003VX-Mk for larch@yhetil.org; Wed, 03 Jun 2020 14:23:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgY2k-0003UA-IF for emacs-orgmode@gnu.org; Wed, 03 Jun 2020 14:23:14 -0400 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:41649) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgY2i-0003Uc-Ot for emacs-orgmode@gnu.org; Wed, 03 Jun 2020 14:23:14 -0400 Received: by mail-ed1-x52a.google.com with SMTP id ce8so2553076edb.8 for ; Wed, 03 Jun 2020 11:23:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zzamboni-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gEFqH3wvjS64BKnMYvCygL7xiPYbhYo7X2irndw04qo=; b=TtruRSno3tOuPQlidakoON/+BJWbCOF1PIcnRTrW33oWVPrceqemVboRhNt79icn6U abOk5PsYNoPuJN1pjNuiagWDaUT7CAAlBccFXfcxapuzBbln7rjmE30NWHDBKbikKPX1 Yl7lBiaRJFh4SsfajEAvKxtKUO+3IzMsOdYb+Oo4ZyMMu9pydWZLwAZ/wo/lwSMFoOOj e9yYifzqgkJfEJUzcUNzBS+UAQFtk4ZOOzuqI7FRKbSezPqBhB69bXy96XM3yaDxZ/xl ZuTXF0B+jDkRuwE7Cgxo+Y5nZcrzk9t4Q1riBd5eEgXWdXVnqrFIc+74QRviLwYKFFFf dGNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gEFqH3wvjS64BKnMYvCygL7xiPYbhYo7X2irndw04qo=; b=MS1Gv4RsSv1FU0j7DMBvZt6HSZ6/Vqrgk//DmZI7XHAJeLJzem3OjRi9qi3wxtbYfj o1RTPKBR1KkZaLXVwI3YTVoRh6XTGLd5dSrrxkmwoMbsMlqc8a/NWocy58e4YX44sWHn mAYGhpNMS2mJI0eVAkuq8qZi6cE3vxb/erhkv/ijlckSmignNsJPso1YUuGWOoKXZyIf +QRHQY41zaI4f0I4AvZEULjts6Z1SzIRx/ucyntsP1w+euKkV9TDntBi0w1mafbBHJdq 93FNVbMQeu/mfXwp9jUfxYVpBENvZR8fjb1XUwYAsmgjFw00qfzVspn8TnTEeqv0Hz6h aV2Q== X-Gm-Message-State: AOAM5326z2Rbh7X9aLp+UV6Ksmt8vXkSnV2ZW2wVsmGg+pErPY437fyl XRa3+n6i+cJf7J5EEx9wZLbDYV1DG3CwVFeiawXUbQ== X-Google-Smtp-Source: ABdhPJxeO2+hKKJtE+0HleEnvumr/dPrYegH/PHBj7R2BRZV8VgRWXOL503INfv7BkmCaijMurjPJiOLXSe8r4/j8kw= X-Received: by 2002:a50:d7c7:: with SMTP id m7mr702893edj.101.1591208591246; Wed, 03 Jun 2020 11:23:11 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Diego Zamboni Date: Wed, 3 Jun 2020 20:23:00 +0200 Message-ID: Subject: Re: Anyone doing any fancy customizations of source blocks? To: William Denton Content-Type: text/plain; charset="UTF-8" Received-SPF: none client-ip=2a00:1450:4864:20::52a; envelope-from=diego@zzamboni.org; helo=mail-ed1-x52a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: org-mode-email Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=zzamboni-org.20150623.gappssmtp.com header.s=20150623 header.b=TtruRSno; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.21 X-TUID: +RRrIVyN2Ut/ I use the config John mentioned and I like it - though I use different symbols. Here's my config if you want an example: https://github.com/zzamboni/dot-emacs/blob/master/init.org#source-code-blocks --Diego On Tue, Jun 2, 2020 at 9:24 PM John Kitchin wrote: > > Here is one approach: > > https://pank.eu/blog/pretty-babel-src-blocks.html > > I feel like I have seen some work that used ruby and python icons as displays over #+begin_src, but I can't find it now. > > John > > ----------------------------------- > 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 > > > > On Tue, Jun 2, 2020 at 2:54 PM William Denton wrote: >> >> Is anyone doing any fancy formatting of source blocks, such as putting a line >> in the left fringe, or a box around them, or having some interesting background? >> >> I ask because I recently changed the theme I use to get the dark Solarized look >> I like,[1] and all of a sudden my #+begin_src lines were underlined and >> #+end_src had a line above it. These come from org-block-begin-line and >> org-block-end-line, and are shown here, but I'd never noticed them in >> documentation or had them on my screen before: >> >> https://orgmode.org/worg/org-contrib/babel/examples/fontify-src-code-blocks.html >> >> Aside from fontifying the source blocks I've never done anything special about >> them (except wonder how I ever did anything without them), but seeing this made >> me wonder if anyone here has really customized them so they look like medieval >> manuscripts or something from a futuristic video game. (If any of that is >> possible---but in Emacs, anything is possible ...) >> >> Bill >> >> [1] Now I'm using https://github.com/bbatsov/solarized-emacs, with variable >> pitch turned off and Org headline resizing turned off. >> >> -- >> William Denton :: Toronto, Canada --- Listening to Art: https://listeningtoart.org/ >> https://www.miskatonic.org/ --- GHG.EARTH: https://ghg.earth/ >> Caveat lector. --- STAPLR: https://staplr.org/ >>