all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* done todos only date stamped, not date-time stamped
@ 2007-07-11 15:55 Brian van den Broek
  2007-07-11 16:09 ` Scott Jaderholm
  0 siblings, 1 reply; 5+ messages in thread
From: Brian van den Broek @ 2007-07-11 15:55 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I'm about a week into using emacs, so I might have overlooked 
something simple. :-)

I've been looking at org-mode and it seems like it will serve me well. 
  I do, however, have a bit of puzzlement over the feature whereby 
todo items can be marked as done.

According to the tutorial 
<http://dto.freeshell.org/notebook/OrgTutorial.html>, when a todo item 
is marked as done via the C-c C-t keystrokes, it should get stamped 
with a date and time of completion (e.g., ``CLOSED: [2006-05-04 Thu 
11:29]'').

Unfortunately, I get only a datestamp, without time data (e.g., `` 
CLOSED: [2007-07-11 Wed]'').

To rule out conflicts with other settings in my .emacs, I have tried 
launching emacs with a .emacs that reads, in its entirety:

(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
(setq org-log-done t)

(The tutorial's suggested ``(require 'org-install)'' produces an error 
message:
``An error has occurred while loading `/home/brian/.emacs':

File error: Cannot open load file, org-install'')

This did not resolve the problem.

I have no org.el on my system, and my weak, largely read-only lisp 
isn't up to the task of making sense of org.elc.

I am using GNU Emacs 22.0.91.1 with Org-mode version 4.56 on ubuntu 7.04.

I am aware that there are more recent version of org-mode available. 
But, as I am very new to emacs, I've never upgraded an emacs package, 
and thought I ought to check here first before forging ahead myself. I 
also am not enthusiastic about updating emacs itself and thus getting 
off my distro's package management. I am willing to try either if it 
is suggested here, though.

A good google and a browse of this lists archives didn't cast any 
light. So, any suggestions for how I can I get time information in the 
timestamp appended to done todo items?

Thanks and best,

Brian vdB

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

* Re: done todos only date stamped, not date-time stamped
  2007-07-11 15:55 done todos only date stamped, not date-time stamped Brian van den Broek
@ 2007-07-11 16:09 ` Scott Jaderholm
  2007-07-11 16:46   ` Brian van den Broek
  0 siblings, 1 reply; 5+ messages in thread
From: Scott Jaderholm @ 2007-07-11 16:09 UTC (permalink / raw)
  To: Brian van den Broek; +Cc: emacs-orgmode

Welcome Brian,

On 7/11/07, Brian van den Broek <broek@cc.umanitoba.ca> wrote:
> Unfortunately, I get only a datestamp, without time data (e.g., ``
> CLOSED: [2007-07-11 Wed]'').

I did M-x apropos-variable RET time done RET and found the variable
org-log-done-with-time. If this variable is t (true) you should be
getting the expected behavior. Since that's the default value, I
suspect its not being set because org isn't loading correctly.

> To rule out conflicts with other settings in my .emacs, I have tried
> launching emacs with a .emacs that reads, in its entirety:
>
> (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
> (define-key global-map "\C-cl" 'org-store-link)
> (define-key global-map "\C-ca" 'org-agenda)
> (setq org-log-done t)
>
> (The tutorial's suggested ``(require 'org-install)'' produces an error
> message:
> ``An error has occurred while loading `/home/brian/.emacs':
>
> File error: Cannot open load file, org-install'')

You might need to put a line like this
(add-to-list 'load-path "/path/to/org")
where /path/to/org points to the directory storing org.elc.

After that you should be able to have (require 'org-install) and have
it work fine.

Cheers,
Scott

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

* Re: done todos only date stamped, not date-time stamped
  2007-07-11 16:09 ` Scott Jaderholm
@ 2007-07-11 16:46   ` Brian van den Broek
  2007-07-12  9:09     ` Egli Christian (KIRO 41)
  0 siblings, 1 reply; 5+ messages in thread
From: Brian van den Broek @ 2007-07-11 16:46 UTC (permalink / raw)
  Cc: emacs-orgmode

Scott Jaderholm said unto the world upon 07/11/2007 12:09 PM:
> Welcome Brian,
> 
> On 7/11/07, Brian van den Broek <broek@cc.umanitoba.ca> wrote:
>> Unfortunately, I get only a datestamp, without time data (e.g., ``
>> CLOSED: [2007-07-11 Wed]'').
> 
> I did M-x apropos-variable RET time done RET and found the variable
> org-log-done-with-time. If this variable is t (true) you should be
> getting the expected behavior. Since that's the default value, I
> suspect its not being set because org isn't loading correctly.


Hi all,

Thanks for the reply, Scott.

I had previously tried adding ``(setq org-log-done-with-time t)'' to 
my .emacs, but it didn't help.

<snip>

>> (The tutorial's suggested ``(require 'org-install)'' produces an error
>> message:
>> ``An error has occurred while loading `/home/brian/.emacs':
>>
>> File error: Cannot open load file, org-install'')
> 
> You might need to put a line like this
> (add-to-list 'load-path "/path/to/org")
> where /path/to/org points to the directory storing org.elc.
> 
> After that you should be able to have (require 'org-install) and have
> it work fine.

Since posting, I've seen that the info node ``1.2 Installation'' of 
the org-mode tree says:

``Then add to `.emacs':

      ;; This line only if org-mode is not part of the X/Emacs 
distribution.
      (require 'org-install)''

which makes me think it ought not to matter---org-mode was bundled 
with my emacs as installed.

Nevertheless, I tired what you suggested. I got the same ``File error: 
Cannot open load file, org-install'' line in my *Messages* buffer on 
loading emacs. Typing `locate org-install' at my shell prompt yielded 
no results. So, I don't seem to have the file anywhere.

So, unless I misunderstand something, that didn't help. Thanks, though :-)

Best,

Brian vdB

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

* RE: done todos only date stamped, not date-time stamped
  2007-07-11 16:46   ` Brian van den Broek
@ 2007-07-12  9:09     ` Egli Christian (KIRO 41)
  2007-07-12 14:29       ` RESOLVED " Brian van den Broek
  0 siblings, 1 reply; 5+ messages in thread
From: Egli Christian (KIRO 41) @ 2007-07-12  9:09 UTC (permalink / raw)
  To: Brian van den Broek; +Cc: emacs-orgmode

Hi Brian

From your description it sounds like you are using the org-mode that
comes with Emacs 22, so I doubt you need to set the path/to/org.

Basically since org-mode comes with Emacs 22 you just need to follow the
instructions in
http://staff.science.uva.nl/~dominik/Tools/org/org.html#Activation. 

If you are a user that is just starting with Emacs and wants to tweak
the behaviour of it you might want to look into M-x customize. This is
generally the most straight forward way to change any settings. Org-mode
comes with extensive customize support. In the menu select
Org->Customize->Browse Org Group or try M-x customize-apropos expr
<RET>. See also the Customization section in the manual
http://staff.science.uva.nl/~dominik/Tools/org/org.html#Customization

Hope that helps   
Christian

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

* RESOLVED Re: done todos only date stamped, not date-time stamped
  2007-07-12  9:09     ` Egli Christian (KIRO 41)
@ 2007-07-12 14:29       ` Brian van den Broek
  0 siblings, 0 replies; 5+ messages in thread
From: Brian van den Broek @ 2007-07-12 14:29 UTC (permalink / raw)
  To: emacs-orgmode

Egli Christian (KIRO 41) said unto the world upon 07/12/2007 05:09 AM:
> Hi Brian
> 
>From your description it sounds like you are using the org-mode that
> comes with Emacs 22, so I doubt you need to set the path/to/org.
> 
> Basically since org-mode comes with Emacs 22 you just need to follow the
> instructions in
> http://staff.science.uva.nl/~dominik/Tools/org/org.html#Activation. 
> 
> If you are a user that is just starting with Emacs and wants to tweak
> the behaviour of it you might want to look into M-x customize. This is
> generally the most straight forward way to change any settings. Org-mode
> comes with extensive customize support. In the menu select
> Org->Customize->Browse Org Group or try M-x customize-apropos expr
> <RET>. See also the Customization section in the manual
> http://staff.science.uva.nl/~dominik/Tools/org/org.html#Customization
> 
> Hope that helps   
> Christian


Hi all,

Thanks for the reply, Christian.

I decided to figure out how to upgrade org-mode. It is the first time 
I've added or upgraded an emacs package, and, so far as I can tell, I 
broke nothing :-)

Moving from org-mode 4.56 to 5.02 has resolved the problem.

Your suggestion to explore customize is a good one, Christian. So far, 
I don't much like customize for actually administering my set-up, but 
I have found it to be very useful for discovering what tweaks one can 
effect. When I poked about there to try to resolve this issue before, 
I didn't see anything that I recognized as a solution. But, with my 
inexperience with emacs, that might say more about me than it does 
about the org-mode customize tree.

Anyway, thanks for the help, and I look forward to posting more 
sophisticated problems in the fullness of time :-)

Best to all,

Brian vdB

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

end of thread, other threads:[~2007-07-12 14:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-11 15:55 done todos only date stamped, not date-time stamped Brian van den Broek
2007-07-11 16:09 ` Scott Jaderholm
2007-07-11 16:46   ` Brian van den Broek
2007-07-12  9:09     ` Egli Christian (KIRO 41)
2007-07-12 14:29       ` RESOLVED " Brian van den Broek

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.