* [BABEL] C-v C-v M-x?
@ 2010-10-30 11:04 Jambunathan K
2010-11-04 13:44 ` Eric Schulte
0 siblings, 1 reply; 3+ messages in thread
From: Jambunathan K @ 2010-10-30 11:04 UTC (permalink / raw)
To: emacs-orgmode
Is there a C-c C-v M-x? Can this be made available. I will find it
useful.
Jambunathan K.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BABEL] C-v C-v M-x?
2010-10-30 11:04 [BABEL] C-v C-v M-x? Jambunathan K
@ 2010-11-04 13:44 ` Eric Schulte
2010-11-04 17:21 ` Jambunathan K
0 siblings, 1 reply; 3+ messages in thread
From: Eric Schulte @ 2010-11-04 13:44 UTC (permalink / raw)
To: Jambunathan K; +Cc: emacs-orgmode
What behavior would you want this bound to?
Jambunathan K <kjambunathan@gmail.com> writes:
> Is there a C-c C-v M-x? Can this be made available. I will find it
> useful.
>
> Jambunathan K.
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BABEL] C-v C-v M-x?
2010-11-04 13:44 ` Eric Schulte
@ 2010-11-04 17:21 ` Jambunathan K
0 siblings, 0 replies; 3+ messages in thread
From: Jambunathan K @ 2010-11-04 17:21 UTC (permalink / raw)
To: Eric Schulte; +Cc: emacs-orgmode
>> Is there a C-c C-v M-x? Can this be made available. I will find it
>> useful.
>>
> What behavior would you want this bound to?
C-c C-v C-x does this today:
#+begin_src emacs-lisp
(org-babel-do-key-sequence-in-edit-buffer KEY)
#+end_src
In similar I vein, I would like C-c C-v M-x to do
#+begin_src emacs-lisp
(org-babel-do-command-in-edit-buffer INTERACTIVE-COMMAND)
#+end_src
To be specific, I have a custom interactive function in my .emacs, that
cleans up or prettifies an XML buffer that is part of an OpenOffice file
which is invoked with M-x my-xml-cleanup in an XML buffer.
It basically converts "ugly / non-readable / long" xml stuff of the form
#+begin_src xml
<text:p> blah blah blah </text:p>
#+end_src
to
#+begin_src xml
<text:p>
blah blah blah
</text:p>
#+end_src
Typical way I go about this is
1. C-c '
2. M-x my-xml-cleanup (in src buffer)
3. C-c '
I want all of 1,2,3 to be collapsed in to a single sequence,
- C-c C-v M-x my-xml-cleanup
Today if I have to get the above behaviour I would be required to bind
my-xml-cleanup to be bound to a key-sequence which I would like to
avoid.
Jambunathan K.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-04 17:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-30 11:04 [BABEL] C-v C-v M-x? Jambunathan K
2010-11-04 13:44 ` Eric Schulte
2010-11-04 17:21 ` Jambunathan K
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).