From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.help Subject: Re: Any cool uses of Lentic? Date: Mon, 06 Jun 2016 10:41:28 +0100 Message-ID: <8760tmhcxj.fsf@russet.org.uk> References: <84vb33j93h.fsf@gmail.com> <841t4d89pt.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1465206172 28651 80.91.229.3 (6 Jun 2016 09:42:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Jun 2016 09:42:52 +0000 (UTC) To: Marco Wahl , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 06 11:42:41 2016 Return-path: Envelope-to: geh-help-gnu-emacs@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 1b9r3R-00033M-6p for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Jun 2016 11:42:41 +0200 Original-Received: from localhost ([::1]:41017 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9r3Q-0003UK-4v for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Jun 2016 05:42:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9r31-0003U1-A9 for help-gnu-emacs@gnu.org; Mon, 06 Jun 2016 05:42:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9r2w-0006Qr-Ul for help-gnu-emacs@gnu.org; Mon, 06 Jun 2016 05:42:14 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:40254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9r2w-0006HE-LO for help-gnu-emacs@gnu.org; Mon, 06 Jun 2016 05:42:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:To:From; bh=9G7VG6b0VKfT1JseY99ux7+NAU1LdreI6MTp8KCGuzE=; b=fYrc9Ji3P9f7crVrC0jPfTlN2e wW17QGBS999A0ZSwZMdqpW/jF3SBKfgsa1JvZ1Wjh0oQ7p2WyHGVgBNq6KV0ZkNvGrX8DnytOtKeQ ddFV9sg8QfxOSfgp+SAdEeJy/aej1jFVQaNBQs0+zzBx8UA8acnJMM5kOM1Fw2BZYU7wcbyrgnqi3 Og359ljNTrJG3bFt/OIpAN1FTe8gaaB1W56OrkYp1WIBUgsH8QL5/GNv4aUQ32FG7D4XaUdFtRZ8h AmzrUmroJrjRUBdmCJiVNb3iAvtAEEM702twNEKuF9RiWAX7TGa4/26b038wTLfHa+qK9KpddecPC Q8zfdfiQ==; Original-Received: from janus-nat-128-240-225-60.ncl.ac.uk ([128.240.225.60]:33044 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_1) (envelope-from ) id 1b9r2G-002GDZ-VF; Mon, 06 Jun 2016 10:41:29 +0100 In-Reply-To: <841t4d89pt.fsf@gmail.com> (Marco Wahl's message of "Sat, 04 Jun 2016 13:38:54 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.94 (gnu/linux) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 31.216.48.48 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110329 Archived-At: Marco Wahl writes: >>>> Footnotes: [1] https://github.com/phillord/lentic >> I'm about to add functionality so that lentic should work out of the box >> with many forms of script [...] > > I am looking forward to seeing your developments. They should be pushed fairly soon. Essentially, it means that lentic can cope with a magic shebang line. Once you've done this, many scripts just work automatically. >> Just looking at your repo, you have "compile-docu.org". I do something >> like this - you might find the `lentic-batch-clone-and-save-with-config' >> function works for you. > > Unfortunately I do not understand this function. Could you please > elaborate on `lentic-batch-clone-and-save-with-config'? Yeah -- as the name suggests it was meant for in batch use, but it can be used interactively. You just do (lentic-batch-clone-and-save-with-config "~/.emacs.d/init.el" 'lentic-orgel-org-init) It should then open init.el, process it, and save the lentic form (so "init.org" should appear). That section of the code could be neated. Never enough time! Phil