emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] function for inserting a block


From: Carsten Dominik
Subject: Re: [O] function for inserting a block
Date: Wed, 18 Oct 2017 08:45:40 +0200

Dear all,

this is great added functionality that I have missed a lot myself.  Thanks for this!  Also, I like the key binding.

One improvement I can think of it to read the block type with completion (but still allow any word to be used).

Carsten

On Wed, Oct 18, 2017 at 12:03 AM, Eric Abrahamsen <address@hidden> wrote:
Eric Abrahamsen <address@hidden> writes:

> Nicolas Goaziou <address@hidden> writes:
>
>> Eric Abrahamsen <address@hidden> writes:
>>
>>> I'm still not quite seeing this. This chunk should take care of it:
>>>
>>>     (goto-char e)
>>>     (if (bolp)
>>>     (progn
>>>       (skip-chars-backward " \n\t")
>>>       (forward-line))
>>>       (end-of-line)
>>>       (insert "\n"))
>>>
>>> If "e" is EOB, we do `end-of-line' and insert a newline, it should be
>>> taken care of. I added a new clause in the test for this case, and it
>>> seems to work fine... Am I missing anything?
>>
>> I don't think so. It looks correct, indeed.
>>
>> However, you sent the wrong patch. Could you send the updated patch
>> again?
>
> Ooof, maybe I need to take a little vacation from the computer. This
> should be the right one.

Backing away from the keyboard now...



reply via email to

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