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: Fri, 03 Jun 2016 12:39:05 +0100 Message-ID: <874m9awlgm.fsf@russet.org.uk> References: <84vb33j93h.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1464954044 6719 80.91.229.3 (3 Jun 2016 11:40:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Jun 2016 11:40:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Marco Wahl Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 03 13:40:32 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 1b8nSp-0005VI-BZ for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jun 2016 13:40:31 +0200 Original-Received: from localhost ([::1]:54216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8nSo-00051N-Gd for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jun 2016 07:40:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8nSE-0004zK-7z for help-gnu-emacs@gnu.org; Fri, 03 Jun 2016 07:39:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8nS8-0001o0-5U for help-gnu-emacs@gnu.org; Fri, 03 Jun 2016 07:39:53 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:44619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8nS7-0001Mm-S1 for help-gnu-emacs@gnu.org; Fri, 03 Jun 2016 07:39:48 -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:Cc:To:From; bh=10NtkbW5geSiHXSgZBPB1KD3s6D2FiQAsIuQwTlFMZg=; b=RUMPJx6ZU0EG/5Gtcz1PWcCapA QZPI91K6zdkba8gZrVxm9RY3mp4N2quPqEqnCkZUeluB0TJ/mtFizVwxs1QfM+qMr0R+H6kf4/ezm aXohcBzOrDJBaFy2eK5QAQ3oasxlL68Vhda3NSsqUHO0dyFhFcTMeUUxHUr5MwpxZqVIDf05F9s3g mXJrA8w91J1FyX4/AX3d44Ic/cNVgKuH6WmnEFHiTivqie/OFbRWehyQZTTp5Y/E96dRu5EXYhCF5 Xa4e9p2JhJVHm4Hpal3wOPgUZGZP6L9Gvbr2xUoMDBhgKNhlmd5JBY3O0PLdtu99qL8g1RJiBtVge +UChYSoQ==; Original-Received: from janus-nat-128-240-225-60.ncl.ac.uk ([128.240.225.60]:33814 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_1) (envelope-from ) id 1b8nRS-000sdt-5Y; Fri, 03 Jun 2016 12:39:06 +0100 In-Reply-To: <84vb33j93h.fsf@gmail.com> (Marco Wahl's message of "Wed, 27 Apr 2016 18:43:30 +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:110279 Archived-At: Marco Wahl writes: > Hi Tory, > >> Looking at Lentic[1] it seems like something that has been thought out >> and well developed, but I feel I'm missing awesomeness that I know >> must be there. How is it more than only a shortcut for indirect >> buffers? >> >> Footnotes: [1] https://github.com/phillord/lentic > > I think lentic is really great stuff. > > I use lentic for my init.el at https://github.com/marcowahl/.emacs.d. > With lentic I have an additional view on the configuration file as > Orgmode buffer. The latter allows to structure the file with the > features of Orgmode and export parts as documentation e.g. a > readme-file. > > This would not be possible with just use an indirect buffer and switch > on org-mode AFAICS. That is really, really very nice indeed. You're clearly much more of an org-mode user than I have, with quite extensive use of it's facilities. It's the sort of structured commenting that I wanted from lentic in the first place. I'm about to add functionality so that lentic should work out of the box with many forms of script -- I have python, and bash so far, but others are easy to add. Lentic is nice at the moment, but setting it up for a given file is too much of a pain; once this is easier I suspect I will just use it routinely for all my file. 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. Phil