From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: PATCH: programming language indicators in HTML export Date: Mon, 14 Mar 2016 16:59:39 +0100 Message-ID: <87shztnj84.fsf@gmx.us> References: <20160314151605.214621e9@pckr150.mpip-mainz.mpg.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afUuW-0001pC-Nw for emacs-orgmode@gnu.org; Mon, 14 Mar 2016 12:00:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afUuS-0006EC-J5 for emacs-orgmode@gnu.org; Mon, 14 Mar 2016 12:00:00 -0400 Received: from plane.gmane.org ([80.91.229.3]:46483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afUuS-0006E3-CD for emacs-orgmode@gnu.org; Mon, 14 Mar 2016 11:59:56 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1afUuL-0005sw-Cn for emacs-orgmode@gnu.org; Mon, 14 Mar 2016 16:59:49 +0100 Received: from 62.80.108.11 ([62.80.108.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Mar 2016 16:59:49 +0100 Received: from rasmus by 62.80.108.11 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Mar 2016 16:59:49 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Robert, Thanks for the patch. Robert Klein writes: > any thoughts about this? Remind me, would this only show up when hovering above the block with the mouse when using this setup? The patch would make the default html header a bit longer, which may or may not be an issue. Perhaps more importantly, it also does not deal with new languages. Maybe it would be possible to add a bit of JS that would look up the language based on the class of the block in question? E.g. the block #+BEGIN_SRC rsgrs #+END_SRC would have class "src-rsgrs". Thanks, Rasmus -- Nothing's wrong with an email that ends in a minor key