From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> Subject: Re: org-babel - utility to ease chopping src chunks into smaller org entries Date: Sun, 19 Sep 2010 23:24:37 +0200 Message-ID: <87mxrdzasq.fsf@mundaneum.com> References: <i73q4m$hgi$1@dough.gmane.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org> List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request-mXXj517/zsQ@public.gmane.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode-mXXj517/zsQ@public.gmane.org> List-Help: <mailto:emacs-orgmode-request-mXXj517/zsQ@public.gmane.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request-mXXj517/zsQ@public.gmane.org?subject=subscribe> Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Richard, Richard Riley wrote: > I often find myself chopping a large source code block into smaller > entities with their own notes, tags and comments etc. This small utility > facilitates that by wrapping the current region with org entry markers > and src code delimiters. It assumes you are in a currently src block. > > http://splash-of-open-sauce.blogspot.com/2010/09/mark-region-as-src-code-= if-prefix-used.html That seems very interesting... and promising. It's the sort of thing I often need to do as well, though maybe with slight differences from your code. > Its currently hardcoded for emacs-lisp but it might be useful nonetheless. Just a question (that could, maybe, make this limitation disappear): did you try using Yasnippet (with its =3Dyas/selected-text=3D possibilities) for th= is job? Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode