emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Benjamin Andresen <benny@in-ulm.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] agenda startup: log-mode should be customizable as well
Date: Thu, 14 May 2009 13:36:01 +0200	[thread overview]
Message-ID: <C6792FF5-2172-4927-BBD4-B09EE49B1E2C@gmail.com> (raw)
In-Reply-To: <87prec9w0y.fsf@in-ulm.de>


[-- Attachment #1.1: Type: text/plain, Size: 1893 bytes --]

Applied, thanks.

- Carsten

On May 14, 2009, at 5:57 AM, Benjamin Andresen wrote:

> Hey there,
>
> I was curious as to why a value such log-mode wasn't customizable
> to be run on start-up as follow-mode and clock-report-mode are.
>
> If Carsten thinks this is a good idea, I've attached a patch that may
> shave of 5 seconds of him adding it. It applies cleanly to current git
> HEAD.
>
> br,
> benny
>
> diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
> index 7622f6a..e52fdbc 100644
> --- a/lisp/org-agenda.el
> +++ b/lisp/org-agenda.el
> @@ -628,6 +628,7 @@ Needs to be set before org.el is loaded."
>   :group 'org-agenda-startup
>   :type 'boolean)
>
> +
> (defvar org-agenda-include-inactive-timestamps nil
>   "Non-nil means, include inactive time stamps in agenda and  
> timeline.")
>
> @@ -789,6 +790,12 @@ agenda display."
>   :group 'org-agenda-daily/weekly
>   :type 'boolean)
>
> +(defcustom org-agenda-start-with-log-mode nil
> +  "The initial value of log-mode in a newly created agenda window."
> +  :group 'org-agenda-startup
> +  :group 'org-agenda-daily/weekly
> +  :type 'boolean)
> +
> (defcustom org-agenda-start-with-clockreport-mode nil
>   "The initial value of clockreport-mode in a newly created agenda  
> window."
>   :group 'org-agenda-startup
> @@ -1252,7 +1259,7 @@ The following commands are available:
>   (unless org-agenda-keep-modes
>     (setq org-agenda-follow-mode org-agenda-start-with-follow-mode
> 	  org-agenda-clockreport-mode org-agenda-start-with-clockreport-mode
> -	  org-agenda-show-log nil))
> +	  org-agenda-show-log org-agenda-start-with-log-mode))
>   (easy-menu-change
>    '("Agenda") "Agenda Files"
>    (append
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[-- Attachment #1.2: Type: text/html, Size: 2591 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2009-05-14 11:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-14  3:57 [PATCH] agenda startup: log-mode should be customizable as well Benjamin Andresen
2009-05-14 11:36 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C6792FF5-2172-4927-BBD4-B09EE49B1E2C@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=benny@in-ulm.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).