[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] function for inserting a block
From: |
Eric Abrahamsen |
Subject: |
Re: [O] function for inserting a block |
Date: |
Tue, 17 Oct 2017 14:43:40 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) |
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.
Thanks,
Eric
- Re: [O] function for inserting a block, Nicolas Goaziou, 2017/10/05
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/07
- Re: [O] function for inserting a block, Nicolas Goaziou, 2017/10/14
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/16
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/16
- Re: [O] function for inserting a block, Nicolas Goaziou, 2017/10/17
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/17
- Re: [O] function for inserting a block, Nicolas Goaziou, 2017/10/17
- Re: [O] function for inserting a block,
Eric Abrahamsen <=
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/17
- Re: [O] function for inserting a block, Carsten Dominik, 2017/10/18
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/18
- Re: [O] function for inserting a block, Carsten Dominik, 2017/10/19
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/20
- Re: [O] function for inserting a block, Kaushal Modi, 2017/10/20
- Re: [O] function for inserting a block, Kaushal Modi, 2017/10/20
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/20
- Re: [O] function for inserting a block, Eric Abrahamsen, 2017/10/20
- Re: [O] function for inserting a block, Kaushal Modi, 2017/10/20