emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] read-char arguments: XEmacs incompatibility
@ 2009-12-01 19:46 Richard KLINDA
  2009-12-03 11:47 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Richard KLINDA @ 2009-12-01 19:46 UTC (permalink / raw)
  To: emacs-orgmode

In org-clock.el there is a call to read-char with 3 arguments, but
XEmacs's version only takes 0 arguments, so it signals error (upon using
org-clock-in, for example).

,----
| 	      (let (char-pressed)
| 		(while (null char-pressed)
| 		  (setq char-pressed
| 			(read-char (concat (funcall prompt-fn clock)
| 					   " [(kK)eep (sS)ubtract (C)ancel]? ")
| 				   nil 45)))
| 		char-pressed))))
`----

-- 
Udv, Richard

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

* Re: [BUG] read-char arguments: XEmacs incompatibility
  2009-12-01 19:46 [BUG] read-char arguments: XEmacs incompatibility Richard KLINDA
@ 2009-12-03 11:47 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-12-03 11:47 UTC (permalink / raw)
  To: Richard KLINDA; +Cc: emacs-orgmode

Fixed, thanks.

- Carsten

On Dec 1, 2009, at 8:46 PM, Richard KLINDA wrote:

> In org-clock.el there is a call to read-char with 3 arguments, but
> XEmacs's version only takes 0 arguments, so it signals error (upon  
> using
> org-clock-in, for example).
>
> ,----
> | 	      (let (char-pressed)
> | 		(while (null char-pressed)
> | 		  (setq char-pressed
> | 			(read-char (concat (funcall prompt-fn clock)
> | 					   " [(kK)eep (sS)ubtract (C)ancel]? ")
> | 				   nil 45)))
> | 		char-pressed))))
> `----
>
> -- 
> Udv, Richard
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

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

end of thread, other threads:[~2009-12-03 11:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-01 19:46 [BUG] read-char arguments: XEmacs incompatibility Richard KLINDA
2009-12-03 11:47 ` 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).