From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.devel Subject: Re: new package? Date: Fri, 18 Jul 2014 01:46:02 +0400 Message-ID: <86r41joe05.fsf@W2139SPB.PlayTeam.ru> References: <86r41kp1ai.fsf@W2139SPB.PlayTeam.ru> <874myfu1xh.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1405633593 17806 80.91.229.3 (17 Jul 2014 21:46:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jul 2014 21:46:33 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 17 23:46:28 2014 Return-path: Envelope-to: ged-emacs-devel@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 1X7tVT-00061P-He for ged-emacs-devel@m.gmane.org; Thu, 17 Jul 2014 23:46:27 +0200 Original-Received: from localhost ([::1]:46504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7tVT-0005sL-43 for ged-emacs-devel@m.gmane.org; Thu, 17 Jul 2014 17:46:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7tVJ-0005hh-Dr for emacs-devel@gnu.org; Thu, 17 Jul 2014 17:46:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7tVC-00088D-VV for emacs-devel@gnu.org; Thu, 17 Jul 2014 17:46:17 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:44234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7tVC-000883-Ni for emacs-devel@gnu.org; Thu, 17 Jul 2014 17:46:10 -0400 Original-Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 5B71521A3B for ; Thu, 17 Jul 2014 17:46:06 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 17 Jul 2014 17:46:06 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= from:to:subject:references:date:in-reply-to:message-id :mime-version:content-type; s=mesmtp; bh=j4C8hJ6Kyail8H5rPLJmffm V0LI=; b=HHFWeooWeHrjRsvS3YQU2MHXXn2bGtq8iXYUkmq15JNo4GkCF2ECYnO vf0VhO0D/1PQw2/EMtz9OSwBE0XTFgyKjDyuljG9bvUjjgDuuag/5dDoZY33ZuF0 N0iQu/L/qbpxG2FZ+R55zLWdp9wSzxXz4nrye3sjYbec5joLRlhg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:references:date :in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=j4C8hJ6Kyail8H5rPLJmffmV0LI=; b=V3vWIA73it/knlFKaJXyL0umv1p3 VIUHSEkoNlubIeqIdCJ/IgYYgkTSr2CjCgOj0+q7BR2isITEbzp4NHs2WKrxWIVI QvoT2vNxlXkMLqo6eWd3/Gna9O/6GhZGCw+suV/lYvrU0ieMCxv6WEkJNsGEGt0P TkDyrANY8wPNahE= X-Sasl-enc: RUvXnvLsDEJ6+C2fCvyLLl7aOhr5MVow6bHcqz6we7Zr 1405633565 Original-Received: from W2139SPB.PlayTeam.ru (unknown [178.66.158.187]) by mail.messagingengine.com (Postfix) with ESMTPA id 9246C680181 for ; Thu, 17 Jul 2014 17:46:05 -0400 (EDT) In-Reply-To: <874myfu1xh.fsf@gnu.org> (Tassilo Horn's message of "Thu, 17 Jul 2014 23:10:18 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (cygwin) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.27 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173051 Archived-At: Hi Tassilo, On 18/07/2014 01:10 +0400, Tassilo Horn wrote: > It seems like it's a bit too specialized to your own habits to be useful > in general. I assume you have a file organized using outline mode with > lots of handy shell snippets you regularly use, and then it's surely > convenient to you. Oh yes, I have such a file (it's in outline mode but it doesn't have to be for this command). If there are few lines and they depend on each other than that goes to a separate script file and one-liners (or multiple independent commmands) I run directly. I agree that's specialized a bit, that's why I asked here. > The same could be done with org-mode and its org-babel library that > already come with emacs, and then you're not restricted to one-liners > and you can use other languages than your shell, too. > > Have a look at its documentation, especially these sections: > > (info "(org)Working with source code") > (info "(org)Evaluating code blocks") > (info "(org)Library of Babel") Thanks! I'll definitely check it when I get to org-mode :) I don't have enough tasks for it to solve for me now, so I was kind of avoiding it.. -- Filipp