emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org-mode version 6.31trans (release_6.31.33.ge59e.dirty); org-time-stamp problem with fix
@ 2009-10-06 19:55 Mikael Fornius
  2009-10-07  6:13 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Mikael Fornius @ 2009-10-06 19:55 UTC (permalink / raw)
  To: emacs-orgmode

Emacs  : GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.16.5)
 of 2009-07-30 on home.sergej.pp.ru
Package: Org-mode version 6.31trans (release_6.31.33.ge59e.dirty)

I got error when writing numbers in the interactive time-stamp function:
"void function prog" and think this is a typo in org-read-date-analyze:

;-)

diff --git a/lisp/org.el b/lisp/org.el
index 03b067b..f577a06 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -12826,7 +12826,7 @@ user."
 	  month (or (nth 4 tl)
 		    (if (and org-read-date-prefer-future
 			     (nth 3 tl) (< (nth 3 tl) (nth 3 defdecode)))
-			(prog (1+ (nth 4 defdecode)) (setq futurep t))
+			(prog1 (1+ (nth 4 defdecode)) (setq futurep t))
 		      (nth 4 defdecode)))
 	  year (or (nth 5 tl)
 		   (if (and org-read-date-prefer-future

                   
-- 
Mikael Fornius

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

* Re: Org-mode version 6.31trans (release_6.31.33.ge59e.dirty); org-time-stamp problem with fix
  2009-10-06 19:55 Org-mode version 6.31trans (release_6.31.33.ge59e.dirty); org-time-stamp problem with fix Mikael Fornius
@ 2009-10-07  6:13 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-10-07  6:13 UTC (permalink / raw)
  To: Mikael Fornius; +Cc: emacs-orgmode

Thanks for catchicng this, Mikael.

I have applied your patch.

- Carsten

On Oct 6, 2009, at 9:55 PM, Mikael Fornius wrote:

> Emacs  : GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.16.5)
> of 2009-07-30 on home.sergej.pp.ru
> Package: Org-mode version 6.31trans (release_6.31.33.ge59e.dirty)
>
> I got error when writing numbers in the interactive time-stamp  
> function:
> "void function prog" and think this is a typo in org-read-date- 
> analyze:
>
> ;-)
>
> diff --git a/lisp/org.el b/lisp/org.el
> index 03b067b..f577a06 100644
> --- a/lisp/org.el
> +++ b/lisp/org.el
> @@ -12826,7 +12826,7 @@ user."
> 	  month (or (nth 4 tl)
> 		    (if (and org-read-date-prefer-future
> 			     (nth 3 tl) (< (nth 3 tl) (nth 3 defdecode)))
> -			(prog (1+ (nth 4 defdecode)) (setq futurep t))
> +			(prog1 (1+ (nth 4 defdecode)) (setq futurep t))
> 		      (nth 4 defdecode)))
> 	  year (or (nth 5 tl)
> 		   (if (and org-read-date-prefer-future
>
>
> -- 
> Mikael Fornius
>
>
> _______________________________________________
> 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

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

end of thread, other threads:[~2009-10-07  6:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-06 19:55 Org-mode version 6.31trans (release_6.31.33.ge59e.dirty); org-time-stamp problem with fix Mikael Fornius
2009-10-07  6:13 ` Carsten Dominik

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