* org-capture adds newline(s) when it should not
@ 2010-10-25 10:51 Marcel van der Boom
2010-10-25 11:18 ` Noorul Islam
0 siblings, 1 reply; 13+ messages in thread
From: Marcel van der Boom @ 2010-10-25 10:51 UTC (permalink / raw)
To: emacs-orgmode
Hi all,
I'm in the process of migrating from org-remember to org-capture.
Pretty easy going so far, but it seems org-capture adds newlines, which
I think it should not do.
My (test) capture-template is:
(("t" "Todo" entry
(file "~/.outlet/GTD.org")
"* TODO %?" :prepend t :empty-lines 0)
with the intention of inserting the captured task on the
first line of the file ~/.outlet/GTD.org. What happens when I capture
an task is this:
<beginning of file>
* TODO Captured task
<original first line of file here>
....
Both before and after the task is a newline. Also, when capturing and
cancelling the capture with C-c C-k the newlines remain whereas the
task is removed.
I'm using the latest git version with emacs 24.0.50.1 on Ubuntu 10.10
Am I doing something wrong or is this a bug?
marcel
--
Marcel van der Boom -- http://hsdev.com/mvdb.vcf11
So! web applications -- http://make-it-so.info
Cobra build -- http://cobra.mrblog.nl
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: org-capture adds newline(s) when it should not
2010-10-25 10:51 org-capture adds newline(s) when it should not Marcel van der Boom
@ 2010-10-25 11:18 ` Noorul Islam
2010-10-25 11:58 ` Noorul Islam
0 siblings, 1 reply; 13+ messages in thread
From: Noorul Islam @ 2010-10-25 11:18 UTC (permalink / raw)
To: Marcel van der Boom; +Cc: emacs-orgmode
On Mon, Oct 25, 2010 at 4:21 PM, Marcel van der Boom <marcel@hsdev.com> wrote:
> Hi all,
>
> I'm in the process of migrating from org-remember to org-capture.
> Pretty easy going so far, but it seems org-capture adds newlines, which
> I think it should not do.
>
> My (test) capture-template is:
>
> (("t" "Todo" entry
> (file "~/.outlet/GTD.org")
> "* TODO %?" :prepend t :empty-lines 0)
>
> with the intention of inserting the captured task on the
> first line of the file ~/.outlet/GTD.org. What happens when I capture
> an task is this:
>
> <beginning of file>
>
> * TODO Captured task
>
> <original first line of file here>
> ....
>
> Both before and after the task is a newline. Also, when capturing and
> cancelling the capture with C-c C-k the newlines remain whereas the
> task is removed.
>
> I'm using the latest git version with emacs 24.0.50.1 on Ubuntu 10.10
>
> Am I doing something wrong or is this a bug?
>
I do not have Emacs 24 as of now.
With the same template I am not able to re-create this on
Org-mode version 7.01trans (release_7.01h.832.gf7094)
GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
of 2010-01-30 on noorul
Thanks and Regards
Noorul
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: org-capture adds newline(s) when it should not
2010-10-25 11:18 ` Noorul Islam
@ 2010-10-25 11:58 ` Noorul Islam
2010-10-25 12:16 ` Carsten Dominik
0 siblings, 1 reply; 13+ messages in thread
From: Noorul Islam @ 2010-10-25 11:58 UTC (permalink / raw)
To: Marcel van der Boom; +Cc: emacs-orgmode
On Mon, Oct 25, 2010 at 4:48 PM, Noorul Islam <noorul@noorul.com> wrote:
> On Mon, Oct 25, 2010 at 4:21 PM, Marcel van der Boom <marcel@hsdev.com> wrote:
>> Hi all,
>>
>> I'm in the process of migrating from org-remember to org-capture.
>> Pretty easy going so far, but it seems org-capture adds newlines, which
>> I think it should not do.
>>
>> My (test) capture-template is:
>>
>> (("t" "Todo" entry
>> (file "~/.outlet/GTD.org")
>> "* TODO %?" :prepend t :empty-lines 0)
>>
>> with the intention of inserting the captured task on the
>> first line of the file ~/.outlet/GTD.org. What happens when I capture
>> an task is this:
>>
>> <beginning of file>
>>
>> * TODO Captured task
>>
>> <original first line of file here>
>> ....
>>
>> Both before and after the task is a newline. Also, when capturing and
>> cancelling the capture with C-c C-k the newlines remain whereas the
>> task is removed.
>>
>> I'm using the latest git version with emacs 24.0.50.1 on Ubuntu 10.10
>>
>> Am I doing something wrong or is this a bug?
>>
>
> I do not have Emacs 24 as of now.
>
> With the same template I am not able to re-create this on
>
> Org-mode version 7.01trans (release_7.01h.832.gf7094)
> GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
> of 2010-01-30 on noorul
>
On emacs 24 I am able to re-create the problem Marcel reported.
Thanks and Regards
Noorul
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: org-capture adds newline(s) when it should not
2010-10-25 11:58 ` Noorul Islam
@ 2010-10-25 12:16 ` Carsten Dominik
2010-10-26 4:29 ` Noorul Islam
0 siblings, 1 reply; 13+ messages in thread
From: Carsten Dominik @ 2010-10-25 12:16 UTC (permalink / raw)
To: Noorul Islam; +Cc: emacs-orgmode
On Oct 25, 2010, at 1:58 PM, Noorul Islam wrote:
> On Mon, Oct 25, 2010 at 4:48 PM, Noorul Islam <noorul@noorul.com>
> wrote:
>> On Mon, Oct 25, 2010 at 4:21 PM, Marcel van der Boom <marcel@hsdev.com
>> > wrote:
>>> Hi all,
>>>
>>> I'm in the process of migrating from org-remember to org-capture.
>>> Pretty easy going so far, but it seems org-capture adds newlines,
>>> which
>>> I think it should not do.
>>>
>>> My (test) capture-template is:
>>>
>>> (("t" "Todo" entry
>>> (file "~/.outlet/GTD.org")
>>> "* TODO %?" :prepend t :empty-lines 0)
>>>
>>> with the intention of inserting the captured task on the
>>> first line of the file ~/.outlet/GTD.org. What happens when I
>>> capture
>>> an task is this:
>>>
>>> <beginning of file>
>>>
>>> * TODO Captured task
>>>
>>> <original first line of file here>
>>> ....
>>>
>>> Both before and after the task is a newline. Also, when capturing
>>> and
>>> cancelling the capture with C-c C-k the newlines remain whereas the
>>> task is removed.
>>>
>>> I'm using the latest git version with emacs 24.0.50.1 on Ubuntu
>>> 10.10
>>>
>>> Am I doing something wrong or is this a bug?
>>>
>>
>> I do not have Emacs 24 as of now.
>>
>> With the same template I am not able to re-create this on
>>
>> Org-mode version 7.01trans (release_7.01h.832.gf7094)
>> GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
>> of 2010-01-30 on noorul
>>
>
> On emacs 24 I am able to re-create the problem Marcel reported.
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.
- Carsten
>
> Thanks and Regards
> Noorul
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: org-capture adds newline(s) when it should not
2010-10-25 12:16 ` Carsten Dominik
@ 2010-10-26 4:29 ` Noorul Islam
2010-10-26 4:35 ` Carsten Dominik
0 siblings, 1 reply; 13+ messages in thread
From: Noorul Islam @ 2010-10-26 4:29 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
On Mon, Oct 25, 2010 at 5:46 PM, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
>
> On Oct 25, 2010, at 1:58 PM, Noorul Islam wrote:
>
>> On Mon, Oct 25, 2010 at 4:48 PM, Noorul Islam <noorul@noorul.com> wrote:
>>>
>>> On Mon, Oct 25, 2010 at 4:21 PM, Marcel van der Boom <marcel@hsdev.com>
>>> wrote:
>>>>
>>>> Hi all,
>>>>
>>>> I'm in the process of migrating from org-remember to org-capture.
>>>> Pretty easy going so far, but it seems org-capture adds newlines, which
>>>> I think it should not do.
>>>>
>>>> My (test) capture-template is:
>>>>
>>>> (("t" "Todo" entry
>>>> (file "~/.outlet/GTD.org")
>>>> "* TODO %?" :prepend t :empty-lines 0)
>>>>
>>>> with the intention of inserting the captured task on the
>>>> first line of the file ~/.outlet/GTD.org. What happens when I capture
>>>> an task is this:
>>>>
>>>> <beginning of file>
>>>>
>>>> * TODO Captured task
>>>>
>>>> <original first line of file here>
>>>> ....
>>>>
>>>> Both before and after the task is a newline. Also, when capturing and
>>>> cancelling the capture with C-c C-k the newlines remain whereas the
>>>> task is removed.
>>>>
>>>> I'm using the latest git version with emacs 24.0.50.1 on Ubuntu 10.10
>>>>
>>>> Am I doing something wrong or is this a bug?
>>>>
>>>
>>> I do not have Emacs 24 as of now.
>>>
>>> With the same template I am not able to re-create this on
>>>
>>> Org-mode version 7.01trans (release_7.01h.832.gf7094)
>>> GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
>>> of 2010-01-30 on noorul
>>>
>>
>> On emacs 24 I am able to re-create the problem Marcel reported.
>
> 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.
Thanks and Regards
Noorul
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: org-capture adds newline(s) when it should not
2010-10-26 4:29 ` Noorul Islam
@ 2010-10-26 4:35 ` Carsten Dominik
2010-10-26 5:04 ` Noorul Islam
2010-10-26 8:16 ` Marcel van der Boom
0 siblings, 2 replies; 13+ messages in thread
From: Carsten Dominik @ 2010-10-26 4:35 UTC (permalink / raw)
To: Noorul Islam; +Cc: emacs-orgmode
On Oct 26, 2010, at 6:29 AM, Noorul Islam wrote:
> On Mon, Oct 25, 2010 at 5:46 PM, Carsten Dominik
> <carsten.dominik@gmail.com> wrote:
>>
>> On Oct 25, 2010, at 1:58 PM, Noorul Islam wrote:
>>
>>> On Mon, Oct 25, 2010 at 4:48 PM, Noorul Islam <noorul@noorul.com>
>>> wrote:
>>>>
>>>> On Mon, Oct 25, 2010 at 4:21 PM, Marcel van der Boom <marcel@hsdev.com
>>>> >
>>>> wrote:
>>>>>
>>>>> Hi all,
>>>>>
>>>>> I'm in the process of migrating from org-remember to org-capture.
>>>>> Pretty easy going so far, but it seems org-capture adds
>>>>> newlines, which
>>>>> I think it should not do.
>>>>>
>>>>> My (test) capture-template is:
>>>>>
>>>>> (("t" "Todo" entry
>>>>> (file "~/.outlet/GTD.org")
>>>>> "* TODO %?" :prepend t :empty-lines 0)
>>>>>
>>>>> with the intention of inserting the captured task on the
>>>>> first line of the file ~/.outlet/GTD.org. What happens when I
>>>>> capture
>>>>> an task is this:
>>>>>
>>>>> <beginning of file>
>>>>>
>>>>> * TODO Captured task
>>>>>
>>>>> <original first line of file here>
>>>>> ....
>>>>>
>>>>> Both before and after the task is a newline. Also, when
>>>>> capturing and
>>>>> cancelling the capture with C-c C-k the newlines remain whereas
>>>>> the
>>>>> task is removed.
>>>>>
>>>>> I'm using the latest git version with emacs 24.0.50.1 on Ubuntu
>>>>> 10.10
>>>>>
>>>>> Am I doing something wrong or is this a bug?
>>>>>
>>>>
>>>> I do not have Emacs 24 as of now.
>>>>
>>>> With the same template I am not able to re-create this on
>>>>
>>>> Org-mode version 7.01trans (release_7.01h.832.gf7094)
>>>> GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
>>>> of 2010-01-30 on noorul
>>>>
>>>
>>> On emacs 24 I am able to re-create the problem Marcel reported.
>>
>> 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?
Thanks!
- Carsten
>
> Thanks and Regards
> Noorul
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: org-capture adds newline(s) when it should not
2010-10-26 4:35 ` Carsten Dominik
@ 2010-10-26 5:04 ` Noorul Islam
2010-10-26 5:36 ` Noorul Islam
2010-10-26 8:16 ` Marcel van der Boom
1 sibling, 1 reply; 13+ messages in thread
From: Noorul Islam @ 2010-10-26 5:04 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
On Tue, Oct 26, 2010 at 10:05 AM, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
>
> On Oct 26, 2010, at 6:29 AM, Noorul Islam wrote:
>
>> On Mon, Oct 25, 2010 at 5:46 PM, Carsten Dominik
>> <carsten.dominik@gmail.com> wrote:
>>>
>>> On Oct 25, 2010, at 1:58 PM, Noorul Islam wrote:
>>>
>>>> On Mon, Oct 25, 2010 at 4:48 PM, Noorul Islam <noorul@noorul.com> wrote:
>>>>>
>>>>> On Mon, Oct 25, 2010 at 4:21 PM, Marcel van der Boom <marcel@hsdev.com>
>>>>> wrote:
>>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I'm in the process of migrating from org-remember to org-capture.
>>>>>> Pretty easy going so far, but it seems org-capture adds newlines,
>>>>>> which
>>>>>> I think it should not do.
>>>>>>
>>>>>> My (test) capture-template is:
>>>>>>
>>>>>> (("t" "Todo" entry
>>>>>> (file "~/.outlet/GTD.org")
>>>>>> "* TODO %?" :prepend t :empty-lines 0)
>>>>>>
>>>>>> with the intention of inserting the captured task on the
>>>>>> first line of the file ~/.outlet/GTD.org. What happens when I capture
>>>>>> an task is this:
>>>>>>
>>>>>> <beginning of file>
>>>>>>
>>>>>> * TODO Captured task
>>>>>>
>>>>>> <original first line of file here>
>>>>>> ....
>>>>>>
>>>>>> Both before and after the task is a newline. Also, when capturing and
>>>>>> cancelling the capture with C-c C-k the newlines remain whereas the
>>>>>> task is removed.
>>>>>>
>>>>>> I'm using the latest git version with emacs 24.0.50.1 on Ubuntu 10.10
>>>>>>
>>>>>> Am I doing something wrong or is this a bug?
>>>>>>
>>>>>
>>>>> I do not have Emacs 24 as of now.
>>>>>
>>>>> With the same template I am not able to re-create this on
>>>>>
>>>>> Org-mode version 7.01trans (release_7.01h.832.gf7094)
>>>>> GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
>>>>> of 2010-01-30 on noorul
>>>>>
>>>>
>>>> On emacs 24 I am able to re-create the problem Marcel reported.
>>>
>>> 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?
>
I filed a bug report.
Thank you!
Noorul
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: org-capture adds newline(s) when it should not
2010-10-26 5:04 ` Noorul Islam
@ 2010-10-26 5:36 ` Noorul Islam
2010-10-26 7:38 ` Marcel van der Boom
0 siblings, 1 reply; 13+ messages in thread
From: Noorul Islam @ 2010-10-26 5:36 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
On Tue, Oct 26, 2010 at 10:34 AM, Noorul Islam <noorul@noorul.com> wrote:
> On Tue, Oct 26, 2010 at 10:05 AM, Carsten Dominik
> <carsten.dominik@gmail.com> wrote:
>>
>> On Oct 26, 2010, at 6:29 AM, Noorul Islam wrote:
>>
>>> On Mon, Oct 25, 2010 at 5:46 PM, Carsten Dominik
>>> <carsten.dominik@gmail.com> wrote:
>>>>
>>>> On Oct 25, 2010, at 1:58 PM, Noorul Islam wrote:
>>>>
>>>>> On Mon, Oct 25, 2010 at 4:48 PM, Noorul Islam <noorul@noorul.com> wrote:
>>>>>>
>>>>>> On Mon, Oct 25, 2010 at 4:21 PM, Marcel van der Boom <marcel@hsdev.com>
>>>>>> wrote:
>>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I'm in the process of migrating from org-remember to org-capture.
>>>>>>> Pretty easy going so far, but it seems org-capture adds newlines,
>>>>>>> which
>>>>>>> I think it should not do.
>>>>>>>
>>>>>>> My (test) capture-template is:
>>>>>>>
>>>>>>> (("t" "Todo" entry
>>>>>>> (file "~/.outlet/GTD.org")
>>>>>>> "* TODO %?" :prepend t :empty-lines 0)
>>>>>>>
>>>>>>> with the intention of inserting the captured task on the
>>>>>>> first line of the file ~/.outlet/GTD.org. What happens when I capture
>>>>>>> an task is this:
>>>>>>>
>>>>>>> <beginning of file>
>>>>>>>
>>>>>>> * TODO Captured task
>>>>>>>
>>>>>>> <original first line of file here>
>>>>>>> ....
>>>>>>>
>>>>>>> Both before and after the task is a newline. Also, when capturing and
>>>>>>> cancelling the capture with C-c C-k the newlines remain whereas the
>>>>>>> task is removed.
>>>>>>>
>>>>>>> I'm using the latest git version with emacs 24.0.50.1 on Ubuntu 10.10
>>>>>>>
>>>>>>> Am I doing something wrong or is this a bug?
>>>>>>>
>>>>>>
>>>>>> I do not have Emacs 24 as of now.
>>>>>>
>>>>>> With the same template I am not able to re-create this on
>>>>>>
>>>>>> Org-mode version 7.01trans (release_7.01h.832.gf7094)
>>>>>> GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
>>>>>> of 2010-01-30 on noorul
>>>>>>
>>>>>
>>>>> On emacs 24 I am able to re-create the problem Marcel reported.
>>>>
>>>> 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?
>>
>
> I filed a bug report.
>
Here is the link
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7281
- Noorul
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: org-capture adds newline(s) when it should not
2010-10-26 5:36 ` Noorul Islam
@ 2010-10-26 7:38 ` Marcel van der Boom
0 siblings, 0 replies; 13+ messages in thread
From: Marcel van der Boom @ 2010-10-26 7:38 UTC (permalink / raw)
To: Noorul Islam; +Cc: emacs-orgmode, Carsten Dominik
On di 26-okt-2010 11:06
Noorul Islam <noorul@noorul.com> wrote:
[...]
>>> 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?
>>>
>>
>> I filed a bug report.
>>
>
> Here is the link
>
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7281
>
Thanks guys! You're way too fast for me.
marcel
--
Marcel van der Boom -- http://hsdev.com/mvdb.vcf
HS-Development BV -- http://www.hsdev.com
So! web applications -- http://make-it-so.info
Cobra build -- http://cobra.mrblog.nl
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: org-capture adds newline(s) when it should not
2010-10-26 4:35 ` Carsten Dominik
2010-10-26 5:04 ` Noorul Islam
@ 2010-10-26 8:16 ` Marcel van der Boom
2010-10-26 8:24 ` Noorul Islam
1 sibling, 1 reply; 13+ messages in thread
From: Marcel van der Boom @ 2010-10-26 8:16 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode, Noorul Islam
On di 26-okt-2010 06:35
Carsten Dominik <carsten.dominik@gmail.com> 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.
marcel
--
Marcel van der Boom -- http://hsdev.com/mvdb.vcf
HS-Development BV -- http://www.hsdev.com
So! web applications -- http://make-it-so.info
Cobra build -- http://cobra.mrblog.nl
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: org-capture adds newline(s) when it should not
2010-10-26 8:16 ` Marcel van der Boom
@ 2010-10-26 8:24 ` Noorul Islam
2010-10-26 8:35 ` Marcel van der Boom
0 siblings, 1 reply; 13+ messages in thread
From: Noorul Islam @ 2010-10-26 8:24 UTC (permalink / raw)
To: Marcel van der Boom; +Cc: emacs-orgmode, Carsten Dominik
On Tue, Oct 26, 2010 at 1:46 PM, Marcel van der Boom <marcel@hsdev.com> wrote:
> On di 26-okt-2010 06:35
> Carsten Dominik <carsten.dominik@gmail.com> 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?
Thanks and Regards
Noorul
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: org-capture adds newline(s) when it should not
2010-10-26 8:24 ` Noorul Islam
@ 2010-10-26 8:35 ` Marcel van der Boom
2010-10-26 8:39 ` Noorul Islam
0 siblings, 1 reply; 13+ messages in thread
From: Marcel van der Boom @ 2010-10-26 8:35 UTC (permalink / raw)
To: Noorul Islam; +Cc: emacs-orgmode, Carsten Dominik
On di 26-okt-2010 13:54
Noorul Islam <noorul@noorul.com> wrote:
>On Tue, Oct 26, 2010 at 1:46 PM, Marcel van der Boom
><marcel@hsdev.com> wrote:
>> On di 26-okt-2010 06:35
>> Carsten Dominik <carsten.dominik@gmail.com> 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.
marcel
--
Marcel van der Boom -- http://hsdev.com/mvdb.vcf
HS-Development BV -- http://www.hsdev.com
So! web applications -- http://make-it-so.info
Cobra build -- http://cobra.mrblog.nl
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: org-capture adds newline(s) when it should not
2010-10-26 8:35 ` Marcel van der Boom
@ 2010-10-26 8:39 ` Noorul Islam
0 siblings, 0 replies; 13+ messages in thread
From: Noorul Islam @ 2010-10-26 8:39 UTC (permalink / raw)
To: Marcel van der Boom; +Cc: emacs-orgmode, Carsten Dominik
On Tue, Oct 26, 2010 at 2:05 PM, Marcel van der Boom <marcel@hsdev.com> wrote:
> On di 26-okt-2010 13:54
> Noorul Islam <noorul@noorul.com> wrote:
>
>>On Tue, Oct 26, 2010 at 1:46 PM, Marcel van der Boom
>><marcel@hsdev.com> wrote:
>>> On di 26-okt-2010 06:35
>>> Carsten Dominik <carsten.dominik@gmail.com> 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 <carsten.dominik@gmail.com>
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
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2010-10-26 8:39 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-25 10:51 org-capture adds newline(s) when it should not Marcel van der Boom
2010-10-25 11:18 ` Noorul Islam
2010-10-25 11:58 ` Noorul Islam
2010-10-25 12:16 ` Carsten Dominik
2010-10-26 4:29 ` Noorul Islam
2010-10-26 4:35 ` Carsten Dominik
2010-10-26 5:04 ` Noorul Islam
2010-10-26 5:36 ` Noorul Islam
2010-10-26 7:38 ` Marcel van der Boom
2010-10-26 8:16 ` Marcel van der Boom
2010-10-26 8:24 ` Noorul Islam
2010-10-26 8:35 ` Marcel van der Boom
2010-10-26 8:39 ` Noorul Islam
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).