Re: [O] Elisp function for wrapping sexp or region in src-block (was Re: some lisp help)

2014-07-29 Thread Thorsten Jolitz
Xebar Saram writes: > ok ignore above email, i just saw the previous email..damm gmail..grrr RFC is just 'request for comments': , | http://en.wikipedia.org/wiki/Request_for_Comments ` PS I know that feeling, a (too) quick C-c C-c in gnus and that damned email is out ... ;) -- cheer

Re: [O] Elisp function for wrapping sexp or region in src-block (was Re: some lisp help)

2014-07-29 Thread Xebar Saram
Thorsten, thats amazing! thanks so much , really appreciate this i hope other people will also find it useful kind regards Z On Tue, Jul 29, 2014 at 7:23 PM, Xebar Saram wrote: > ok ignore above email, i just saw the previous email..damm gmail..grrr > > z > > > On Tue, Jul 29, 2014 at 7:21

Re: [O] Elisp function for wrapping sexp or region in src-block (was Re: some lisp help)

2014-07-29 Thread Xebar Saram
ok ignore above email, i just saw the previous email..damm gmail..grrr z On Tue, Jul 29, 2014 at 7:21 PM, Xebar Saram wrote: > hi i fell like an idiot but what is RFC, is that a repo of some sorts, > would you mind pasting a link? > > sorry about that > > Z > > > On Tue, Jul 29, 2014 at 5:48 P

Re: [O] Elisp function for wrapping sexp or region in src-block (was Re: some lisp help)

2014-07-29 Thread Xebar Saram
hi i fell like an idiot but what is RFC, is that a repo of some sorts, would you mind pasting a link? sorry about that Z On Tue, Jul 29, 2014 at 5:48 PM, Xebar Saram wrote: > Hi again > > looks great but i think there may be a bug. if there is 1 line then issues > the function works perfect (

Re: [O] Elisp function for wrapping sexp or region in src-block (was Re: some lisp help)

2014-07-29 Thread Thorsten Jolitz
Xebar Saram writes: Hi, > looks great but i think there may be a bug. can you try the new version in my RFC please and let me know if it works as expected. I invested a bit of time into this function because I actually need this quite often too, and I'm happy you pushed me to finally write i

Re: [O] Elisp function for wrapping sexp or region in src-block (was Re: some lisp help)

2014-07-29 Thread Xebar Saram
Hi again looks great but i think there may be a bug. if there is 1 line then issues the function works perfect (although no prompt, which for 1 line is ideal). but using C-u before the M-x dosent seem to do anything at all, it just wraps the current line. do i need any dependencies or doing someth

Re: [O] Elisp function for wrapping sexp or region in src-block (was Re: some lisp help)

2014-07-29 Thread Thorsten Jolitz
Thorsten Jolitz writes: > Xebar Saram writes: This is what I got in my init.el now (improved version with global keybindings). And I like, will probably become one of those commands I use all the time. I already used it to wrap the following code in 3 src-blocks: #+begin_src emacs-lisp (defu

[O] Elisp function for wrapping sexp or region in src-block (was Re: some lisp help)

2014-07-29 Thread Thorsten Jolitz
Xebar Saram writes: > Thx and sorry about not posting to the list, was a gmail mistake (i > really *need* to start with gnus..just to intimidating :)) > > wrapping in parens by marking the region kinda defeats the purpose > sine the original function i posted (in the original post) already > wrap