emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* #+STARTUP keywords for several variables
@ 2012-11-21 19:17 John J Foerch
  2012-12-23 17:54 ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: John J Foerch @ 2012-11-21 19:17 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I did not find #+STARTUP keywords for several variables that configure
the format of an org file:

  org-log-into-drawer
  org-log-states-order-reversed
  org-treat-insert-todo-heading-as-state-change

I think that there should be keywords that correspond to these variables
because it would make it easier to share org files among different
emacses with different org configurations.  File-local variables can
currently be used to configure these variables, but #+STARTUP keywords
would be more elegant.

Thank you,

John Foerch

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

* Re: #+STARTUP keywords for several variables
  2012-11-21 19:17 #+STARTUP keywords for several variables John J Foerch
@ 2012-12-23 17:54 ` Bastien
  2012-12-24 17:31   ` John J Foerch
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2012-12-23 17:54 UTC (permalink / raw)
  To: John J Foerch; +Cc: emacs-orgmode

Hi John,

John J Foerch <jjfoerch@earthlink.net> writes:

> I did not find #+STARTUP keywords for several variables that configure
> the format of an org file:
>
>   org-log-into-drawer
>   org-log-states-order-reversed

I added logdrawer / nologdrawer and logstatesreversed / nologstatesreversed

>   org-treat-insert-todo-heading-as-state-change

For this one, I think it falls into the "really-just-an-option-
and-we-cannot-have-startup-keywords-for-every-option" category :)

> I think that there should be keywords that correspond to these variables
> because it would make it easier to share org files among different
> emacses with different org configurations.  File-local variables can
> currently be used to configure these variables, but #+STARTUP keywords
> would be more elegant.

Note that you can also bind variables with #+BIND.

Thanks,

-- 
 Bastien

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

* Re: #+STARTUP keywords for several variables
  2012-12-23 17:54 ` Bastien
@ 2012-12-24 17:31   ` John J Foerch
  2012-12-25  3:18     ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: John J Foerch @ 2012-12-24 17:31 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@altern.org> writes:
> Hi John,
>
> John J Foerch <jjfoerch@earthlink.net> writes:
>
>> I did not find #+STARTUP keywords for several variables that configure
>> the format of an org file:
>>
>>   org-log-into-drawer
>>   org-log-states-order-reversed
>
> I added logdrawer / nologdrawer and logstatesreversed / nologstatesreversed
>
>>   org-treat-insert-todo-heading-as-state-change
>
> For this one, I think it falls into the "really-just-an-option-
> and-we-cannot-have-startup-keywords-for-every-option" category :)
>
>> I think that there should be keywords that correspond to these variables
>> because it would make it easier to share org files among different
>> emacses with different org configurations.  File-local variables can
>> currently be used to configure these variables, but #+STARTUP keywords
>> would be more elegant.
>
> Note that you can also bind variables with #+BIND.
>
> Thanks,

Thank you.  I think of org-treat-insert-todo-heading-as-state-change as
part of the format of a given file, as it is analogous to 'logdone', but
deals with newly opened items as opposed to closed ones.  I didn't know
about #+BIND - will check it out.

Thanks again,

-- 

John Foerch

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

* Re: #+STARTUP keywords for several variables
  2012-12-24 17:31   ` John J Foerch
@ 2012-12-25  3:18     ` Bastien
  2012-12-25  3:29       ` John J Foerch
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2012-12-25  3:18 UTC (permalink / raw)
  To: John J Foerch; +Cc: emacs-orgmode

Hi John,

John J Foerch <jjfoerch@earthlink.net> writes:

> Thank you.  I think of org-treat-insert-todo-heading-as-state-change as
> part of the format of a given file, as it is analogous to 'logdone', but
> deals with newly opened items as opposed to closed ones. 

There is a trade-off here: I understand it would make sense from your
problem's point of vue (sharing files and config easily) but I don't
want to add to many #+STARTUP keywords, there are already too many to
my taste.  If you can use #+BIND for this, it's better IMHO.

-- 
 Bastien

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

* Re: #+STARTUP keywords for several variables
  2012-12-25  3:18     ` Bastien
@ 2012-12-25  3:29       ` John J Foerch
  0 siblings, 0 replies; 5+ messages in thread
From: John J Foerch @ 2012-12-25  3:29 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@altern.org> writes:
> Hi John,
>
> John J Foerch <jjfoerch@earthlink.net> writes:
>
>> Thank you.  I think of org-treat-insert-todo-heading-as-state-change as
>> part of the format of a given file, as it is analogous to 'logdone', but
>> deals with newly opened items as opposed to closed ones. 
>
> There is a trade-off here: I understand it would make sense from your
> problem's point of vue (sharing files and config easily) but I don't
> want to add to many #+STARTUP keywords, there are already too many to
> my taste.  If you can use #+BIND for this, it's better IMHO.

Okay, works for me.  Thank you for your work.

-- 
John Foerch

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

end of thread, other threads:[~2012-12-25  3:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-21 19:17 #+STARTUP keywords for several variables John J Foerch
2012-12-23 17:54 ` Bastien
2012-12-24 17:31   ` John J Foerch
2012-12-25  3:18     ` Bastien
2012-12-25  3:29       ` John J Foerch

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