[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] org-capture adds newline(s) when it should not
From: |
Noorul Islam |
Subject: |
Re: [Orgmode] org-capture adds newline(s) when it should not |
Date: |
Tue, 26 Oct 2010 14:09:48 +0530 |
On Tue, Oct 26, 2010 at 2:05 PM, Marcel van der Boom <address@hidden> wrote:
> On di 26-okt-2010 13:54
> Noorul Islam <address@hidden> wrote:
>
>>On Tue, Oct 26, 2010 at 1:46 PM, Marcel van der Boom
>><address@hidden> wrote:
>>> On di 26-okt-2010 06:35
>>> Carsten Dominik <address@hidden> wrote:
>>>
>>>>>> I find that puzzling. What might have changed in Emacs 24 to
>>>>>> cause such
>>>>>> differences? I do not use Emacs 24 on a day-to-day basis yet.
>>>>>>
>>>>>
>>>>> On emacs 24 (newline 0) inserts a new line which I think is
>>>>> incorrect.
>>>>
>>>>Sounds like a but to me too.
>>>>For now I am working around this in the latest git version.
>>>>
>>>>Marcel, this should be fixed. Could you please submit a bug report
>>>>to Emacs 24, stating that (newline 0) does insert a newline?
>>>
>>> The newlines are indeed fixed, but I have to manually widen the
>>> target buffer before the captured entry is visible.
>>>
>>> Tried this on emacs 23 as well and there it is functioning properly,
>>> so this seems emacs 24 specific too.
>>
>>How did you fix it?
>>
> Sorry, I wasn't clear. Capturing with emacs 23 with the latest git
> version works perfectly.
>
> If I use emacs 24 with the latest git capturing works with respect to
> the newlines, but leaves the captured entry invisible in the target
> buffer until I widen the buffer.
>
I thought it got automatically fixed. But I could see this.
commit 2a58795e1958210b96e9adee52b9dd68f7d1f50e
Author: Carsten Dominik <address@hidden>
Date: Tue Oct 26 06:34:16 2010 +0200
Fix empty line bug in capture
* lisp/org-capture.el (org-capture-empty-lines-before):
(org-capture-empty-lines-after): Make sure the n=0 does not insert any
newlines.
Thanks and Regards
Noorul
- Re: [Orgmode] org-capture adds newline(s) when it should not, (continued)
- Re: [Orgmode] org-capture adds newline(s) when it should not, Noorul Islam, 2010/10/25
- Re: [Orgmode] org-capture adds newline(s) when it should not, Carsten Dominik, 2010/10/25
- Re: [Orgmode] org-capture adds newline(s) when it should not, Noorul Islam, 2010/10/26
- Re: [Orgmode] org-capture adds newline(s) when it should not, Carsten Dominik, 2010/10/26
- Re: [Orgmode] org-capture adds newline(s) when it should not, Noorul Islam, 2010/10/26
- Re: [Orgmode] org-capture adds newline(s) when it should not, Noorul Islam, 2010/10/26
- Re: [Orgmode] org-capture adds newline(s) when it should not, Marcel van der Boom, 2010/10/26
- Re: [Orgmode] org-capture adds newline(s) when it should not, Marcel van der Boom, 2010/10/26
- Re: [Orgmode] org-capture adds newline(s) when it should not, Noorul Islam, 2010/10/26
- Re: [Orgmode] org-capture adds newline(s) when it should not, Marcel van der Boom, 2010/10/26
- Re: [Orgmode] org-capture adds newline(s) when it should not,
Noorul Islam <=