emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Re: Outlook replacement


From: Sébastien Vauban
Subject: [O] Re: Outlook replacement
Date: Sat, 26 Mar 2011 09:16:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)

Hi Eric,

Eric Abrahamsen wrote:
> Sébastien Vauban <address@hidden> writes:
>> Chris Malone wrote:
>>> Hi Henri-Paul,
>>>
>>> While you've brought the topic up I /have/ been recently curious about
>>> others' email setup and how they incorporate that into Emacs/org-mode? I
>>> notice several users send emails from within Emacs using org-mode syntax -
>>> any tips on setting such a thing up?
>>
>> For "Org-mode syntax" (putting codes as the above):
>>
>> - simply copy/paste,
>> - select region with C-x C-x,
>> - demarcate block with C-c C-v C-d and insert the correct language (here:
>>   emacs-lisp).
>
> Where does that last keybinding come from? I run (turn-on-orgstruct++), but
> org-babel-demarcate-block isn't bound to anything,

True. I've made a global binding of it:

#+begin_src emacs-lisp*
  (global-set-key (kbd "C-c C-v C-d") 'org-babel-demarcate-block)
#+end_src

> and C-c C-v runs message-delete-not-region…

True. I've removed that binding from Message -- never used it anyway.

#+begin_src emacs-lisp*
  ;; remove the binding of `C-c C-v', used by Org-Babel commands
  (add-hook 'message-mode-hook
            (lambda ()
              (define-key message-mode-map (kbd "C-c C-v") nil)))
#+end_src

Best regards,
  Seb

-- 
Sébastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]