[Orgmode] Untracked working tree file error with git pull

2008-04-09 Thread Manish
Hello,

While trying to get my latest org-mode fix from git this is what I
got.

,
| lappy:~/elisp/org-mode $ time git pull
| Updating 2537ddc..862f6cb
| fatal: Untracked working tree file 'contrib/ChangeLog' would be
overwritten by merge.
|
| real0m8.943s
| user0m1.140s
| sys 0m1.370s
| lappy:~/elisp/org-mode $ git branch
| * master
| lappy:~/elisp/org-mode $ date
| Wed Apr  9 11:57:14 IST 2008
`

I renamed `CONTRIB/ChangeLog' to `CONTRIB/ChangeLog.old' and tried
again and this time it complained about `contrib/README'.  Are the
errors because of something I did?  I do not create or otherwise edit
any files apart from regular `make' and `texi2html org.texi'.  I tried
`git checkout -f' to no avail.  Any suggestions? Or do I have to do a
fresh clone?

OS: WinXP+Cygwin
git version 1.5.4.34.g053d9
Emacs 22.2.1

-- Manish


___
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


[Orgmode] calendar.el (Was: orgmode.org down ?)

2008-04-09 Thread Gijs Hillenius

Heya

This maybe related, so just in case: 

calendar.el is being worked on in cvs. I was/am experiencing some
glitches with calendar .. see gnus.emacs.help

Gijs
-- 
Smithers: What are you going to do with the million dollars, sir?
Burns:Oh, I dunno.  Throw it on the pile, I suppose.
-- Burns has bet $1 million on the softball team,
   Homer at the Bat


___
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


Re: [Orgmode] Untracked working tree file error with git pull

2008-04-09 Thread Carsten Dominik
I believe this may be caused by the fact that I have renamed CONTRIB  
to contrib.
On a system which has no distinction between upper and lowercase  
names, maybe this leads

to a conflict?

Try removing the entire CONTRIB directory.  If that fails, try to get  
a new clone of the repo.


- Carsten

On Apr 9, 2008, at 8:43 AM, Manish wrote:


Hello,

While trying to get my latest org-mode fix from git this is what I
got.

   ,
   | lappy:~/elisp/org-mode $ time git pull
   | Updating 2537ddc..862f6cb
   | fatal: Untracked working tree file 'contrib/ChangeLog' would be
overwritten by merge.
   |
   | real0m8.943s
   | user0m1.140s
   | sys 0m1.370s
   | lappy:~/elisp/org-mode $ git branch
   | * master
   | lappy:~/elisp/org-mode $ date
   | Wed Apr  9 11:57:14 IST 2008
   `

I renamed `CONTRIB/ChangeLog' to `CONTRIB/ChangeLog.old' and tried
again and this time it complained about `contrib/README'.  Are the
errors because of something I did?  I do not create or otherwise edit
any files apart from regular `make' and `texi2html org.texi'.  I tried
`git checkout -f' to no avail.  Any suggestions? Or do I have to do a
fresh clone?

OS: WinXP+Cygwin
git version 1.5.4.34.g053d9
Emacs 22.2.1

-- Manish


___
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




___
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


Re: [Orgmode] Untracked working tree file error with git pull

2008-04-09 Thread Manish
  While trying to get my latest org-mode fix from git this is what I
  got.
 
,
| lappy:~/elisp/org-mode $ time git pull
| Updating 2537ddc..862f6cb
| fatal: Untracked working tree file 'contrib/ChangeLog' would be
  overwritten by merge.
|
| real0m8.943s
| user0m1.140s
| sys 0m1.370s
| lappy:~/elisp/org-mode $ git branch
| * master
| lappy:~/elisp/org-mode $ date
| Wed Apr  9 11:57:14 IST 2008
`
 
  I renamed `CONTRIB/ChangeLog' to `CONTRIB/ChangeLog.old' and tried
  again and this time it complained about `contrib/README'.  Are the
  errors because of something I did?  I do not create or otherwise edit
  any files apart from regular `make' and `texi2html org.texi'.  I tried
  `git checkout -f' to no avail.  Any suggestions? Or do I have to do a
  fresh clone?
 
  OS: WinXP+Cygwin
  git version 1.5.4.34.g053d9
  Emacs 22.2.1
 
  -- Manish
 

  On Wed, Apr 9, 2008 at 2:11 PM, Carsten Dominik wrote:
   I believe this may be caused by the fact that I have renamed CONTRIB to
   contrib.
On a system which has no distinction between upper and lowercase names,
   maybe this leads
to a conflict?
  
Try removing the entire CONTRIB directory.  If that fails, try to get a new
   clone of the repo.

This fixed it.  Thanks.

-- Manish


___
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


Re: [Orgmode] [PATCH 2/5] Add a way to set a user-defined function to generate descriptions for links.

2008-04-09 Thread Carsten Dominik
Applied, but with renaming org-make-link-description to org-make-link- 
description-function.


Thanks.

- Carsten

On Mar 16, 2008, at 5:29 PM, James TD Smith wrote:


From: James TD Smith [EMAIL PROTECTED]

Below is an example which uses w3m to retrieve the titles of web  
pages to use as

link descriptions.

(require 'w3m)

(defun make-link-description (link desc)
 Link description generator for orgmode
 (cond ((string-match https?: link)
 (with-temp-buffer
   (w3m-retrieve link)
   (goto-char (point-min))
	   (if (search-forward-regexp title\\([^]*\\)/title (point- 
max) t)

   (url-unhex-string (match-string 1)
(t (or desc link

(setq org-make-link-description 'make-link-description)

---

org.el |   37 +++--
1 files changed, 27 insertions(+), 10 deletions(-)


diff --git a/org.el b/org.el
index 8fe8edd..021bd59 100644
--- a/org.el
+++ b/org.el
@@ -1209,6 +1209,15 @@ Changing this variable requires a restart of  
Emacs to become effective.

  (const :tag Tags tag)
  (const :tag Timestamps date)))

+(defcustom org-make-link-description nil
+  Function to use to generate link descriptions from links. If
+nil the link location will be used. This function must take two
+parameters; the first is the link and the second the description
+org-insert-link has generated, and should return the description
+to use.
+  :group 'org-link
+  :type 'function)
+
(defgroup org-link-store nil
  Options concerning storing links in Org-mode
  :tag Org Store Link
@@ -12475,16 +12484,21 @@ be displayed in the buffer instead of the  
link.
If there is already a link at point, this command will allow you to  
edit link

and description parts.

-With a \\[universal-argument] prefix, prompts for a file to link  
to.  The file name can be

-selected using completion.  The path to the file will be relative to
-the current directory if the file is in the current directory or a
-subdirectory.  Otherwise, the link will be the absolute path as
-completed in the minibuffer (i.e. normally ~/path/to/file).
-
-With two \\[universal-argument] prefixes, enforce an absolute path  
even if the file

-is in the current directory or below.
-With three \\[universal-argument] prefixes, negate the meaning of
-`org-keep-stored-link-after-insertion'.
+With a \\[universal-argument] prefix, prompts for a file to link
+to. The file name can be selected using completion. The path to
+the file will be relative to the current directory if the file is
+in the current directory or a subdirectory. Otherwise, the link
+will be the absolute path as completed in the minibuffer (i.e.
+normally ~/path/to/file).
+
+With two \\[universal-argument] prefixes, enforce an absolute
+path even if the file is in the current directory or below. With
+three \\[universal-argument] prefixes, negate the meaning of
+`org-keep-stored-link-after-insertion'.
+
+If `org-make-link-description' is non-nil, this function will be
+called with the link target, and the result will be the default
+link description.
  (interactive P)
  (let* ((wcf (current-window-configuration))
 (region (if (org-region-active-p)
@@ -12605,6 +12619,9 @@ With three \\[universal-argument] prefixes,  
negate the meaning of

(if (equal desc origpath)
(setq desc path

+(if org-make-link-description
+   (setq desc (funcall org-make-link-description link desc)))
+
(setq desc (read-string Description:  desc))
(unless (string-match \\S- desc) (setq desc nil))
(if remove (apply 'delete-region remove))



___
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




___
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


Re: [Orgmode] [PATCH 5/5] clipboard handling in remember templats

2008-04-09 Thread Carsten Dominik

Hi James,

I am going to accept this patch, but I do have a question about it:

On Mar 16, 2008, at 5:31 PM, James TD Smith wrote:


From: James TD Smith [EMAIL PROTECTED]

Fix the X clipboard handling so it works properly, and so it works  
in XEmacs,and

add a new % expansion for adding links.

This patch reverts the %c expansion to its original function (head  
of kill

ring), and adds three new % expansions as follows:

%x - Contents of the X clipboard. This is the first non-empty value  
from the

PRIMARY, SECONDARY and CLIPBOARD X clipboards.

%^C - This allows the user to choose between any of the clipboard  
values

available, the kill ring head, and the initial region if set.

%^L - Like %^C, but this inserts an org link using the selected value.
---

org.el |   56 +---
1 files changed, 41 insertions(+), 15 deletions(-)


[...]


(cond
 ((org-in-regexp org-bracket-link-regexp 1)
  ;; We do have a link at point, and we are going to edit it.
@@ -12579,7 +12583,7 @@ link description.
  (setq link  (org-make-link
   file: (match-string 1 (expand-file-name file)
 (t (setq link (org-make-link file: file))
- (t
+ ((not link)
  ;; Read link, with completion for stored links.



If you set it up like this, `link' will be overwritten be any link  
found at point.
Is you intention not to make the new argument link-location *overrule*  
anything

that might be at point?
So maybe the first alternative in the cond should be just (link), to  
bypass any parsing


- Carsten



___
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


Re: [Orgmode] [PATCH 4/5] Add a new sort option, which sorts items by todo keyword

2008-04-09 Thread Carsten Dominik
Cool.  I like this on a lot.  And I don't have a good idea how to fix  
the problem

with equal keywords in different sequences.

Accepted, thanks.

- Carsten

On Mar 16, 2008, at 5:30 PM, James TD Smith wrote:

This is a somewhat simple implementation which just uses the  
position of the
keyword in org-todo-keywords-1, so if you have multiple sequences  
containing the

same todo keyword you may not get the ordering you expect.
---

org.el |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)


diff --git a/org.el b/org.el
index dee8471..d67024f 100644
--- a/org.el
+++ b/org.el
@@ -982,7 +982,6 @@ table, obtained by prompting the user.
  :group 'org-table-settings
   :type 'string)

-
(defcustom org-table-number-regexp
  ^\\([]?[-+^.0-9]*[0-9][-+^.0-9eEdDx()%:]*\\|\\(0[xX]\\)[0-9a-fA- 
F]+\\|nan\\)$

  Regular expression for recognizing numbers in table columns.
@@ -6993,7 +6992,7 @@ WITH-CASE, the sorting considers case as well.
  (message
   (if plain-list-p
	   Sort %s: [a]lpha [n]umeric [t]ime [f]unc  A/N/T/F means  
reversed:
-	 Sort %s: [a]lpha [n]umeric [t]ime [p]riority p[r]operty [f]unc   
A/N/T/P/F means reversed:)
+	 Sort %s: [a]lpha [n]umeric [t]ime [p]riority p[r]operty [f]unc  
keyword [o]rder  A/N/T/P/F/O means reversed:)

   what)
  (setq sorting-type (read-char-exclusive))

@@ -7084,6 +7083,10 @@ WITH-CASE, the sorting considers case as well.
 org-default-priority))
  ((= dcst ?r)
   (or (org-entry-get nil property) ))
+ ((= dcst ?o)
+  (if (looking-at org-complex-heading-regexp)
+		   (or (position (match-string 2) org-todo-keywords-1 :test  
'string=)

+   )))
  ((= dcst ?f)
   (if getkey-func
   (progn



___
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




___
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


Re: [Orgmode] [PATCH 3/5] Some improvements to org-table-export

2008-04-09 Thread Carsten Dominik

Also this is a fine addition, thank you very much.

- Carsten

On Mar 16, 2008, at 5:29 PM, James TD Smith wrote:


From: James TD Smith [EMAIL PROTECTED]

Specify the file to export to as parameter or property
Use the export mechanisms from orgtbl instead of the simple export.
Specify the table output format in property.

---

org.el |   91  
+---

1 files changed, 64 insertions(+), 27 deletions(-)


diff --git a/org.el b/org.el
index 021bd59..dee8471 100644
--- a/org.el
+++ b/org.el
@@ -965,6 +965,13 @@ table, obtained by prompting the user.
  (list (symbol :tag Major mode)
(string :tag Format

+(defcustom org-table-export-default orgtbl-to-generic :splice  
t :sep \\t\

+  Default export parameters for org-table-export. These can be
+  overridden on for a specific table by setting the
+  TABLE_EXPORT_FORMAT parameter. See orgtbl-export for the
+  different export transforms and available parameters.
+  :group 'org-table)
+
(defgroup org-table-settings nil
  Settings for tables in Org-mode.
  :tag Org Table Settings
@@ -975,6 +982,7 @@ table, obtained by prompting the user.
  :group 'org-table-settings
   :type 'string)

+
(defcustom org-table-number-regexp
  ^\\([]?[-+^.0-9]*[0-9][-+^.0-9eEdDx()%:]*\\|\\(0[xX]\\)[0-9a-fA- 
F]+\\|nan\\)$

  Regular expression for recognizing numbers in table columns.
@@ -8568,41 +8576,70 @@ are found, lines will be split on whitespace  
into fields.

(insert-file-contents file)
(org-table-convert-region beg (+ (point) (- (point-max) pm))  
arg)))


-(defun org-table-export ()
+(defun org-table-export (optional target)
  Export table as a tab-separated file.
-Such a file can be imported into a spreadsheet program like Excel.
+Such a file can be imported into a spreadsheet program like
+Excel. If TARGET is set, the table is exported to that file. If
+the property TABLE_EXPORT_FILE is set on the entry the table is
+in, the table will be exported to that file. Otherwise the user
+is prompted for a file to write the table to.
+
+If the TABLE_EXPORT_FORMAT property is set, the contents of this
+property will control export format in the same way as radio
+tables in OrgTbl mode.
+
  (interactive)
  (let* ((beg (org-table-begin))
 (end (org-table-end))
-(table (buffer-substring beg end))
-(file (read-file-name Export table to: ))
+(txt (buffer-substring-no-properties beg end))
+(file (or target (org-entry-get beg TABLE_EXPORT_FILE)
+  (read-file-name Export table to: )))
+(format (or (org-entry-get beg TABLE_EXPORT_FORMAT)
+org-table-export-default))
 buf)
(unless (or (not (file-exists-p file))
(y-or-n-p (format Overwrite file %s?  file)))
  (error Abort))
-(with-current-buffer (find-file-noselect file)
-  (setq buf (current-buffer))
-  (erase-buffer)
-  (fundamental-mode)
-  (insert table)
-  (goto-char (point-min))
-  (while (re-search-forward ^[ \t]*|[ \t]* nil t)
-   (replace-match  t t)
-   (end-of-line 1))
-  (goto-char (point-min))
-  (while (re-search-forward [ \t]*|[ \t]*$ nil t)
-   (replace-match  t t)
-   (goto-char (min (1+ (point)) (point-max
-  (goto-char (point-min))
-  (while (re-search-forward ^-[-+]*$ nil t)
-   (replace-match )
-   (if (looking-at \n)
-   (delete-char 1)))
-  (goto-char (point-min))
-  (while (re-search-forward [ \t]*|[ \t]* nil t)
-   (replace-match \t t t))
-  (save-buffer))
-(kill-buffer buf)))
+(message format)
+
+(if (string-match \\([^ \t\r\n]+\\)\\( +.*\\)? format)
+   (let* ((transform (intern (match-string 1 format)))
+  (params (if (match-end 2)
+  (read (concat ( (match-string 2 format) )
+  (skip (plist-get params :skip))
+  (skipcols (plist-get params :skipcols))
+	   (lines (nthcdr (or skip 0) (org-split-string txt [ \t]* 
\n[ \t]*)))

+  (lines (org-table-clean-before-export lines))
+  (i0 (if org-table-clean-did-remove-column 2 1))
+  (table (mapcar
+  (lambda (x)
+(if (string-match org-table-hline-regexp x)
+'hline
+  (org-remove-by-index
+   (org-split-string (org-trim x) \\s-*|\\s-*)
+   skipcols i0)))
+  lines))
+  (fun (if (= i0 2) 'cdr 'identity))
+  (org-table-last-alignment
+   (org-remove-by-index (funcall fun org-table-last-alignment)
+skipcols i0))
+  (org-table-last-column-widths
+   (org-remove-by-index (funcall fun org-table-last-column-widths)
+skipcols i0)))
+
+ (unless (fboundp transform)
+ 

Re: [Orgmode] Agenda view for logging?

2008-04-09 Thread Carsten Dominik


On Apr 9, 2008, at 7:00 PM, Jose Robins wrote:



Thanks Manish for the response. I didn't realize I had to schedule  
it as well. Now it works...


Well, how else should the agenda know on which date the entry should  
be shown...


- Carsten




Thanks,
Manish wrote:


On Wed, Apr 9, 2008 at 1:01 AM, Jose Robins wrote:

  I'm slowly getting familiar with the agenda view. I see that  
the agenda

 view shows the time-of-day-specification in the time column.
Is there any
 way to show the time stamps based on the logbook entries? So  
e.g. If the
 clock properties for a headline1 is from 9:20 am to 9:55 am,  
and headline2

 has 10:15 to 10:44 am, then  the agenda view should show ...

  9:20-9:55   headline1
  10:15-10:44 headline2


You do get this if you create a task like so:

*** TODO 1pm-14:30 another test task for Jose
   SCHEDULED: 2008-04-09 Wed
   CREATED: [2008-04-09 Wed 12:30]
*** TODO test task for Jose 12:30-8:00pm
   SCHEDULED: 2008-04-09 Wed
   CREATED: [2008-04-09 Wed 12:15]

And the agenda (with time grid turned on) looks like this:

Day-agenda (W15):
Wednesday   9 April 2008
8:00.. -
9:00.. -
   10:00.. -
   11:00.. -
   12:00.. -
  braindump:   12:30-20:00 Scheduled:  TODO test task for Jose
   13:00.. -
   14:00.. -
  braindump:   13:00-14:30 Scheduled:  TODO another test task  
for Jose

   15:00.. -
   16:00.. -
   17:00.. -
   18:00.. -
   19:00.. -
   20:00.. -
   21:00.. -
   22:00.. 

  (instead of the time-of-day). Is that possible?

  Also, the manual says in page 67 of the pdf : a time range  
may appear as

 plain text (like '12:45' or a 8:30-1pm).

This is in section 10.4.2 / page marked #70 or page 77 as reported by
PDF reader (at least in manual for Release 6.00pre-2).

 If I understood this correctly, I
 should be able to put...

  *task1 8:30-1:00pm

  in an org file and if I go to the agenda view, I should see
this listed in
 today's agenda from 8:30 am to 1:00pm. However I don't seem  
to be able to
 see that happening. Did I get that wrong? I'm using verson  
5.23a

of or-mode
 in emacs 22.1


I think you either have not added SCHEDULED (C-c C-s) or have not
turned the time grid on (`G' in agenda view).

HTH,
-- Manish



___
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




___
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


Re: [Orgmode] Agenda view for logging?

2008-04-09 Thread Jose Robins


Thanks Manish for the response. I didn't realize I had to schedule it 
as well. Now it works...


Thanks,
Manish wrote:

On Wed, Apr 9, 2008 at 1:01 AM, Jose Robins wrote:

  I'm slowly getting familiar with the agenda view. I see that the agenda
 view shows the time-of-day-specification in the time column.
Is there any
 way to show the time stamps based on the logbook entries? So e.g. If the
 clock properties for a headline1 is from 9:20 am to 9:55 am, and headline2
 has 10:15 to 10:44 am, then  the agenda view should show ...

  9:20-9:55   headline1
  10:15-10:44 headline2


You do get this if you create a task like so:

*** TODO 1pm-14:30 another test task for Jose
   SCHEDULED: 2008-04-09 Wed
   CREATED: [2008-04-09 Wed 12:30]
*** TODO test task for Jose 12:30-8:00pm
   SCHEDULED: 2008-04-09 Wed
   CREATED: [2008-04-09 Wed 12:15]

And the agenda (with time grid turned on) looks like this:

Day-agenda (W15):
Wednesday   9 April 2008
8:00.. -
9:00.. -
   10:00.. -
   11:00.. -
   12:00.. -
  braindump:   12:30-20:00 Scheduled:  TODO test task for Jose
   13:00.. -
   14:00.. -
  braindump:   13:00-14:30 Scheduled:  TODO another test task for Jose
   15:00.. -
   16:00.. -
   17:00.. -
   18:00.. -
   19:00.. -
   20:00.. -
   21:00.. -
   22:00.. 

  (instead of the time-of-day). Is that possible?

  Also, the manual says in page 67 of the pdf : a time range may appear as
 plain text (like '12:45' or a 8:30-1pm).

This is in section 10.4.2 / page marked #70 or page 77 as reported by
PDF reader (at least in manual for Release 6.00pre-2).

 If I understood this correctly, I
 should be able to put...

  *task1 8:30-1:00pm

  in an org file and if I go to the agenda view, I should see
this listed in
 today's agenda from 8:30 am to 1:00pm. However I don't seem to be able to
 see that happening. Did I get that wrong? I'm using verson 5.23a
of or-mode
 in emacs 22.1


I think you either have not added SCHEDULED (C-c C-s) or have not
turned the time grid on (`G' in agenda view).

HTH,
-- Manish

  
___
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


Re: [Orgmode] [PATCH 5/5] clipboard handling in remember templats

2008-04-09 Thread James TD Smith
On 2008-04-09 17:32:22(+0200), Carsten Dominik wrote:
 Hi James,
 
 I am going to accept this patch, but I do have a question about it:
 
 On Mar 16, 2008, at 5:31 PM, James TD Smith wrote:
 
 From: James TD Smith [EMAIL PROTECTED]
 
 org.el |   56 +---
 1 files changed, 41 insertions(+), 15 deletions(-)
 
 [...]
 
 (cond
  ((org-in-regexp org-bracket-link-regexp 1)
   ;; We do have a link at point, and we are going to edit it.
 @@ -12579,7 +12583,7 @@ link description.
(setq link  (org-make-link
 file: (match-string 1 (expand-file-name file)
   (t (setq link (org-make-link file: file))
 - (t
 + ((not link)
   ;; Read link, with completion for stored links.
 
 If you set it up like this, `link' will be overwritten be any link found at 
 point.
 Is you intention not to make the new argument link-location *overrule* 
 anything
 that might be at point?
No, it should override any links at point. 
 So maybe the first alternative in the cond should be just (link), to bypass 
 any parsing
Yes.

James


___
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


Re: [Orgmode] Agenda view for logging?

2008-04-09 Thread Jose Robins



Carsten Dominik wrote:


On Apr 9, 2008, at 7:00 PM, Jose Robins wrote:



Thanks Manish for the response. I didn't realize I had to schedule 
it as well. Now it works...


Well, how else should the agenda know on which date the entry should 
be shown...


- Carsten

My (apparently flawed) reasoning was that, the feature was meant to 
provide a quick and dirty way to show tasks meant for today in the 
agenda view and would show up on today's agenda regardless of whether it 
was scheduled or not.


Jose



Thanks,
Manish wrote:


On Wed, Apr 9, 2008 at 1:01 AM, Jose Robins wrote:

  I'm slowly getting familiar with the agenda view. I see that 
the agenda

 view shows the time-of-day-specification in the time column.
Is there any
 way to show the time stamps based on the logbook entries? So 
e.g. If the
 clock properties for a headline1 is from 9:20 am to 9:55 am, 
and headline2

 has 10:15 to 10:44 am, then  the agenda view should show ...

  9:20-9:55   headline1
  10:15-10:44 headline2


You do get this if you create a task like so:

*** TODO 1pm-14:30 another test task for Jose
   SCHEDULED: 2008-04-09 Wed
   CREATED: [2008-04-09 Wed 12:30]
*** TODO test task for Jose 12:30-8:00pm
   SCHEDULED: 2008-04-09 Wed
   CREATED: [2008-04-09 Wed 12:15]

And the agenda (with time grid turned on) looks like this:

Day-agenda (W15):
Wednesday   9 April 2008
8:00.. -
9:00.. -
   10:00.. -
   11:00.. -
   12:00.. -
  braindump:   12:30-20:00 Scheduled:  TODO test task for Jose
   13:00.. -
   14:00.. -
  braindump:   13:00-14:30 Scheduled:  TODO another test task 
for Jose

   15:00.. -
   16:00.. -
   17:00.. -
   18:00.. -
   19:00.. -
   20:00.. -
   21:00.. -
   22:00.. 

  (instead of the time-of-day). Is that possible?

  Also, the manual says in page 67 of the pdf : a time range 
may appear as

 plain text (like '12:45' or a 8:30-1pm).

This is in section 10.4.2 / page marked #70 or page 77 as reported by
PDF reader (at least in manual for Release 6.00pre-2).

 If I understood this correctly, I
 should be able to put...

  *task1 8:30-1:00pm

  in an org file and if I go to the agenda view, I should see
this listed in
 today's agenda from 8:30 am to 1:00pm. However I don't seem to 
be able to

 see that happening. Did I get that wrong? I'm using verson 5.23a
of or-mode
 in emacs 22.1


I think you either have not added SCHEDULED (C-c C-s) or have not
turned the time grid on (`G' in agenda view).

HTH,
-- Manish



___
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



___
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


Re: [Orgmode] Agenda view for logging?

2008-04-09 Thread Manish
On Thu, Apr 10, 2008 at 1:26 AM, Jose Robins wrote:
  Carsten Dominik wrote:

  On Apr 9, 2008, at 7:00 PM, Jose Robins wrote:

  Thanks Manish for the response. I didn't realize I had to schedule it as
 well. Now it works...

  Well, how else should the agenda know on which date the entry should be
 shown...

  - Carsten

  My (apparently flawed) reasoning was that, the feature was meant to provide
 a quick and dirty way to show tasks meant for today in the agenda view and
 would show up on today's agenda regardless of whether it was scheduled or
 not.


That sounds quite reasonable and should be default, I guess.  I would
like to request this if others also see it that way.

-- Manish


___
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