From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [BUG] read-char arguments: XEmacs incompatibility Date: Thu, 3 Dec 2009 12:47:57 +0100 Message-ID: References: <873a3uxys1.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGAAL-00030h-0d for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 06:48:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGAAG-0002y4-Cn for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 06:48:08 -0500 Received: from [199.232.76.173] (port=39969 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGAAG-0002y1-4R for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 06:48:04 -0500 Received: from pony.ic.uva.nl ([145.18.40.181]:54673) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGAAF-0005g7-M8 for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 06:48:03 -0500 In-Reply-To: <873a3uxys1.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Richard KLINDA Cc: emacs-orgmode@gnu.org 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