emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [RFC] Proposal for rebindings in Org 8.3


From: Bastien
Subject: Re: [O] [RFC] Proposal for rebindings in Org 8.3
Date: Mon, 10 Feb 2014 09:40:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi Thomas,

address@hidden (Thomas S. Dye) writes:

> Bastien <address@hidden> writes:
>
>> A few comments on the last three:
>>
>> - " is not a punctuation character, I find C-c " instead of C-c ' good.
>
> Is it true that " is not a punctuation character?

It is a string in both fundamental-mode and org-mode, that's what I'm
checking.  But it is a punctuation character in other modes and maybe
in our "minds".

I agree the intuition is misleading here, because ' is a punctuation
character.

> In any event, C-c " is likely to pose the same problem as C-c '.  For
> icicle users, C-c " will be shadowed by the keybinding for
> icicle-search-text-property.

... which, strictly speaking, is not an org-mode problem if " is not
a punctuation character.

> At least that's my current working hypothesis.  Feel free to correct me
> if I'm wrong.

It encourages me to find a completely different solution.

The one I have in mind now is to use C-c : (and to move the current
C-c : binding to C-c C-:).  The reasoning is that we have

- fixed-width
- example blocks
- source code blocks

which often achieve a similar goal: to present some code snippets.
Source blocks are more powerful than example blocks which are more
powerful than fixed-width regions.  But you can currently edit them
all with C-c '.

So C-c : would call org-edit-src-code and C-c C-: would convert the
region to fixed-width region.

What you (and others) think?

Eric, what's your take on this, as the "father" of C-c ' ?

-- 
 Bastien



reply via email to

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