From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: new package? Date: Thu, 17 Jul 2014 23:10:18 +0200 Message-ID: <874myfu1xh.fsf@gnu.org> References: <86r41kp1ai.fsf@W2139SPB.PlayTeam.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1405631557 26513 80.91.229.3 (17 Jul 2014 21:12:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jul 2014 21:12:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: Filipp Gunbin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 17 23:12:32 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 1X7syZ-0000YQ-H6 for ged-emacs-devel@m.gmane.org; Thu, 17 Jul 2014 23:12:27 +0200 Original-Received: from localhost ([::1]:46381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7syZ-0004bl-29 for ged-emacs-devel@m.gmane.org; Thu, 17 Jul 2014 17:12:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7syQ-0004Xb-PA for emacs-devel@gnu.org; Thu, 17 Jul 2014 17:12:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7syL-0004u4-98 for emacs-devel@gnu.org; Thu, 17 Jul 2014 17:12:18 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:50752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7syL-0004ro-21 for emacs-devel@gnu.org; Thu, 17 Jul 2014 17:12:13 -0400 Original-Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 9A76722636 for ; Thu, 17 Jul 2014 17:12:12 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Thu, 17 Jul 2014 17:12:12 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:cc:subject:references:date :in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=3uJsJnuA8RdVJRtzUYkODwFNSiM=; b=GYnj2MJfsmLQDNkjkbp54fHES3Qo km+NQPhM9RESdnuNPbp1M70AtSqAlCEQvXYWrkX6OW3iT191wMbwjbqi5A4+MWkI x+7BS9htT+iZYJ/VMb8rOL89KL/4nbjBinv5XeR7lmUw7vI6e4sqJypLd7fdfSAw 7ie5haYskth2kAc= X-Sasl-enc: t5IIhEdZ9J8Q4kxbb8GClIlXQVUQqIPVBnx0TuN73VVg 1405631532 Original-Received: from thinkpad-t440p (unknown [80.187.102.92]) by mail.messagingengine.com (Postfix) with ESMTPA id A17AB68013E; Thu, 17 Jul 2014 17:12:11 -0400 (EDT) Mail-Followup-To: Filipp Gunbin , emacs-devel@gnu.org In-Reply-To: <86r41kp1ai.fsf@W2139SPB.PlayTeam.ru> (Filipp Gunbin's message of "Thu, 17 Jul 2014 17:23:01 +0400") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) 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:173050 Archived-At: Filipp Gunbin writes: Hi Filipp, > I wrote this little function: > https://github.com/fgunbin/sandbox/blob/master/exekit/exekit.el , I > could add it as an elpa package, but it seems to me there are too few > lines for a package :) > > What do you think? 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. 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") Bye, Tassilo