emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: org-add-note closes log book drawer
@ 2016-07-20 20:37 N. Jackson
  2016-07-30 22:43 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: N. Jackson @ 2016-07-20 20:37 UTC (permalink / raw)
  To: emacs-orgmode

When org-log-into-drawer is t and the log book drawer is open, using
org-add-note closes the log book drawer.

I think it would be better if org-add-note left the state (open or
closed) of the log book drawer alone.

In comparison org-clock-in and org-clock-out do leave the state of the
log book drawer alone, which is much more satisfactory.

This is with org-20160718 from GNU Elpa (which is Org Mode version
8.3.4) on GNU Emacs 25.0.95 (from the pre-release tarball).

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

* Re: Bug: org-add-note closes log book drawer
  2016-07-20 20:37 Bug: org-add-note closes log book drawer N. Jackson
@ 2016-07-30 22:43 ` Nicolas Goaziou
  2016-07-30 23:42   ` Gregor Zattler
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2016-07-30 22:43 UTC (permalink / raw)
  To: N. Jackson; +Cc: emacs-orgmode

Hello,

nljlistbox2@gmail.com (N. Jackson) writes:

> When org-log-into-drawer is t and the log book drawer is open, using
> org-add-note closes the log book drawer.
>
> I think it would be better if org-add-note left the state (open or
> closed) of the log book drawer alone.
>
> In comparison org-clock-in and org-clock-out do leave the state of the
> log book drawer alone, which is much more satisfactory.

I understand the discrepancy problem. 

However, drawers are meant to remove stuff from view, i.e., their
contents are, more often than not, hidden. So, `org-clock-in' and
`org-clock-out' may be wrong in this case.

WDYT?


Regards,

-- 
Nicolas Goaziou

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

* Re: Bug: org-add-note closes log book drawer
  2016-07-30 22:43 ` Nicolas Goaziou
@ 2016-07-30 23:42   ` Gregor Zattler
  0 siblings, 0 replies; 3+ messages in thread
From: Gregor Zattler @ 2016-07-30 23:42 UTC (permalink / raw)
  To: emacs-orgmode

Hi Nicolas,
* Nicolas Goaziou <mail@nicolasgoaziou.fr> [31. Jul. 2016]:
> Hello,
> 
> nljlistbox2@gmail.com (N. Jackson) writes:
> 
> > When org-log-into-drawer is t and the log book drawer is open, using
> > org-add-note closes the log book drawer.
> >
> > I think it would be better if org-add-note left the state (open or
> > closed) of the log book drawer alone.
> >
> > In comparison org-clock-in and org-clock-out do leave the state of the
> > log book drawer alone, which is much more satisfactory.
> 
> I understand the discrepancy problem. 
> 
> However, drawers are meant to remove stuff from view, i.e., their
> contents are, more often than not, hidden. So, `org-clock-in' and
> `org-clock-out' may be wrong in this case.

For me the reasoning is the other way around: "Since drawers are meant
to remove stuff from view, i.e., their contents are, more often than
not, hidden", I'd say if the drawer is open prior to org-add-note
there might be a reason why so and it would ne nice not to interfere
with the users choice.

I open my org files in show-everything view for performance reasons.
I have turned on note taking for many funtions like changing TODO
states an cklockin out, therefore the really big drawer collapses all
the time although I want it to stay open.

Just my 2, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-

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

end of thread, other threads:[~2016-07-30 23:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-20 20:37 Bug: org-add-note closes log book drawer N. Jackson
2016-07-30 22:43 ` Nicolas Goaziou
2016-07-30 23:42   ` Gregor Zattler

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