[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to set C-o back to open-line?
From: |
Christopher Allan Webber |
Subject: |
Re: [O] How to set C-o back to open-line? |
Date: |
Fri, 17 May 2013 07:26:27 -0500 |
User-agent: |
mu4e 0.9.9.5-dev5; emacs 24.1.50.1 |
Andreas Röhler writes:
> Installing this instead should fix it:
>
> (defun org-open-line (n)
> "Insert a new row in tables, call `open-line' elsewhere.
> With \C-u NUMBER `open-line' is called the common way also in table context"
> (interactive "*P")
> (cond (n
> (open-line (prefix-numeric-value n)))
> ((org-at-table-p)
> (org-table-insert-row))
> (t (open-line (prefix-numeric-value n)))))
>
> Cheers,
>
> Andreas
Hm, alright. Sadly there seems to be no way to change the key (very
un-emacs like?) So if redefining it is the way, I replaced with the
much simpler:
(setq org-open-line 'open-line)
Much better! Hopefully no tooling ever makes use of org-open-line,
shooting me in the foot... :)
Re: [O] How to set C-o back to open-line?, Carsten Dominik, 2013/05/17