emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrg@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-babel - utility to ease chopping src chunks into smaller org entries
Date: Sun, 19 Sep 2010 23:44:14 +0200	[thread overview]
Message-ID: <i7607f$r52$1@dough.gmane.org> (raw)
In-Reply-To: 87mxrdzasq.fsf@mundaneum.com

Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
writes:

> 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 =yas/selected-text= possibilities) for this job?
>
> Best regards,
>   Seb

Nope. I never once managed to get yasnippet working in any way that
didnt conflict with tabbing for indentation or somehow start inserting
templates where I didnt want them. But I must admit I didn't try very
hard ;) If you want to share you yasnippet setup I will try it.

-- 
☘ http://www.shamrockirishbar.com, http://splash-of-open-sauce.blogspot.com/ http://www.richardriley.net

  reply	other threads:[~2010-09-19 21:44 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-19  1:48 org-babel - utility to ease chopping src chunks into smaller org entries Richard Riley
2010-09-19 18:21 ` Eric Schulte
2010-09-19 22:03   ` Richard Riley
2010-09-19 23:20     ` Richard Riley
2010-09-20  3:41       ` Eric Schulte
2010-09-20  5:18         ` Richard Riley
2010-09-20 14:30           ` Eric Schulte
2010-09-20 15:15             ` Sébastien Vauban
2010-09-20 22:21               ` Sébastien Vauban
2010-09-21 12:46                 ` Eric Schulte
2010-09-21 13:49                   ` Dan Davison
2010-09-21 14:37                   ` Sébastien Vauban
2010-09-21 12:44               ` Eric Schulte
2010-09-21 15:19                 ` Sébastien Vauban
2010-09-20 20:09             ` Dan Davison
2010-09-21  7:58               ` Christian Moe
2010-09-21 11:17                 ` Richard Riley
2010-09-21 13:04                 ` Eric Schulte
2010-09-21 14:35                   ` Christian Moe
2010-09-21 14:50                     ` Dan Davison
2010-09-21 15:35                       ` Eric Schulte
2010-09-24 13:24                         ` Requests about the code demarcation Sébastien Vauban
2010-09-27 13:18                           ` Eric Schulte
2010-09-27 13:47                             ` Sébastien Vauban
2010-09-27 14:36                               ` Sébastien Vauban
2010-09-27 14:58                                 ` Eric Schulte
2010-09-30 18:17                             ` Achim Gratz
2010-09-30 22:19                               ` Eric Schulte
2010-10-01 19:28                                 ` Achim Gratz
2010-10-17 11:53                               ` Richard Riley
2010-09-21  6:33         ` org-babel - utility to ease chopping src chunks into smaller org entries Achim Gratz
2010-09-21 13:01           ` Eric Schulte
2010-09-21 17:03             ` Achim Gratz
2010-09-19 21:24 ` Sébastien Vauban
2010-09-19 21:44   ` Richard Riley [this message]
2010-09-19 21:52     ` Sébastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='i7607f$r52$1@dough.gmane.org' \
    --to=rileyrg@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).