emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: org-capture entry sometimes ends without newline, garbles next headline [9.3.6 (9.3.6-elpa @ /home/arne/Disy/.emacs.d/elpa/org-9.3.6/)]
@ 2020-08-28 13:05 Dr. Arne Babenhauserheide
  2020-08-29  4:49 ` Kyle Meyer
  2020-09-04  9:28 ` Bastien
  0 siblings, 2 replies; 5+ messages in thread
From: Dr. Arne Babenhauserheide @ 2020-08-28 13:05 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1159 bytes --]

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

Sometimes when I use org-capture to create a new headline, that headline
ends with a non-empty partial line that isn’t terminated by a newline.

This causes the next headline to be corrupted, because the * is appended
to the last line of the new entry.

Example:

* new entry
some text * old entry

I tried adding the empty-lines options and empty-lines-before and
empty-lines-after, but this did not fix the problem.

This sometimes causes entries to no longer be recognized as headlines,
so my task planning does not show them (for example in org-agenda view,
clocktable, and kanban.el).

It would be great if it could be ensured that capturing a new entry can
never modify the first line of another entry.

Best wishes,
Arne

-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1076 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: org-capture entry sometimes ends without newline, garbles next headline [9.3.6 (9.3.6-elpa @ /home/arne/Disy/.emacs.d/elpa/org-9.3.6/)]
  2020-08-28 13:05 Bug: org-capture entry sometimes ends without newline, garbles next headline [9.3.6 (9.3.6-elpa @ /home/arne/Disy/.emacs.d/elpa/org-9.3.6/)] Dr. Arne Babenhauserheide
@ 2020-08-29  4:49 ` Kyle Meyer
  2020-08-29 10:36   ` Dr. Arne Babenhauserheide
  2020-09-04  9:28 ` Bastien
  1 sibling, 1 reply; 5+ messages in thread
From: Kyle Meyer @ 2020-08-29  4:49 UTC (permalink / raw)
  To: Dr. Arne Babenhauserheide; +Cc: emacs-orgmode

Dr. Arne Babenhauserheide writes:

> Sometimes when I use org-capture to create a new headline, that headline
> ends with a non-empty partial line that isn’t terminated by a newline.
>
> This causes the next headline to be corrupted, because the * is appended
> to the last line of the new entry.

I believe this issue has already been resolved on the master branch.
There have been a few bug reports and commits in this area; I think
6882478ca (capture: Fix org-capture-place-entry narrow bounds,
2020-05-29) is the most recent fix.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: org-capture entry sometimes ends without newline, garbles next headline [9.3.6 (9.3.6-elpa @ /home/arne/Disy/.emacs.d/elpa/org-9.3.6/)]
  2020-08-29  4:49 ` Kyle Meyer
@ 2020-08-29 10:36   ` Dr. Arne Babenhauserheide
  2020-08-29 12:10     ` Kyle Meyer
  0 siblings, 1 reply; 5+ messages in thread
From: Dr. Arne Babenhauserheide @ 2020-08-29 10:36 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 751 bytes --]


Kyle Meyer <kyle@kyleam.com> writes:

> Dr. Arne Babenhauserheide writes:
>
>> Sometimes when I use org-capture to create a new headline, that headline
>> ends with a non-empty partial line that isn’t terminated by a newline.
>>
>> This causes the next headline to be corrupted, because the * is appended
>> to the last line of the new entry.
>
> I believe this issue has already been resolved on the master branch.
> There have been a few bug reports and commits in this area; I think
> 6882478ca (capture: Fix org-capture-place-entry narrow bounds,
> 2020-05-29) is the most recent fix.

Thank you for the info!

(how can I close the bug?)

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1076 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: org-capture entry sometimes ends without newline, garbles next headline [9.3.6 (9.3.6-elpa @ /home/arne/Disy/.emacs.d/elpa/org-9.3.6/)]
  2020-08-29 10:36   ` Dr. Arne Babenhauserheide
@ 2020-08-29 12:10     ` Kyle Meyer
  0 siblings, 0 replies; 5+ messages in thread
From: Kyle Meyer @ 2020-08-29 12:10 UTC (permalink / raw)
  To: Dr. Arne Babenhauserheide; +Cc: emacs-orgmode

Dr. Arne Babenhauserheide writes:

> (how can I close the bug?)

This list isn't hooked up to a tracker, so there's nothing to close.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: org-capture entry sometimes ends without newline, garbles next headline [9.3.6 (9.3.6-elpa @ /home/arne/Disy/.emacs.d/elpa/org-9.3.6/)]
  2020-08-28 13:05 Bug: org-capture entry sometimes ends without newline, garbles next headline [9.3.6 (9.3.6-elpa @ /home/arne/Disy/.emacs.d/elpa/org-9.3.6/)] Dr. Arne Babenhauserheide
  2020-08-29  4:49 ` Kyle Meyer
@ 2020-09-04  9:28 ` Bastien
  1 sibling, 0 replies; 5+ messages in thread
From: Bastien @ 2020-09-04  9:28 UTC (permalink / raw)
  To: Dr. Arne Babenhauserheide; +Cc: emacs-orgmode

Hi Arne,

"Dr. Arne Babenhauserheide" <arne_bab@web.de> writes:

> Sometimes when I use org-capture to create a new headline, that headline
> ends with a non-empty partial line that isn’t terminated by a newline.

From memory, this has been fixed in the master branch, which will be
released as 9.4 soon.

If you can test master and confirm the fix, that'd be great.

Thanks,

-- 
 Bastien


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-04  9:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-28 13:05 Bug: org-capture entry sometimes ends without newline, garbles next headline [9.3.6 (9.3.6-elpa @ /home/arne/Disy/.emacs.d/elpa/org-9.3.6/)] Dr. Arne Babenhauserheide
2020-08-29  4:49 ` Kyle Meyer
2020-08-29 10:36   ` Dr. Arne Babenhauserheide
2020-08-29 12:10     ` Kyle Meyer
2020-09-04  9:28 ` Bastien

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).