From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: git and possibly 6.30 xemacs bug Date: Wed, 2 Sep 2009 11:33:50 +0200 Message-ID: <54505377-20D2-468D-A03B-DBA0DF31856D@gmail.com> References: 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 1MimEJ-0005LX-Qj for emacs-orgmode@gnu.org; Wed, 02 Sep 2009 05:34:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MimEE-0005GJ-Ma for emacs-orgmode@gnu.org; Wed, 02 Sep 2009 05:34:15 -0400 Received: from [199.232.76.173] (port=34932 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MimEE-0005Fp-Be for emacs-orgmode@gnu.org; Wed, 02 Sep 2009 05:34:10 -0400 Received: from postduif.ic.uva.nl ([145.18.40.180]:57478) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MimED-0007n3-R5 for emacs-orgmode@gnu.org; Wed, 02 Sep 2009 05:34:10 -0400 In-Reply-To: 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: Wes Hardaker Cc: emacs-orgmode@gnu.org Hi Wes, I have included this fix into Org as well, thanks. - Carsten On Sep 1, 2009, at 4:30 PM, Wes Hardaker wrote: > > The select-frame-set-input-focus function doesn't exist in xemacs, > which > was recently added in org-eval-in-calendar. This seems to be a common > problem as gnus defines this to get around it: > > (defun gnus-select-frame-set-input-focus (frame) > "Select FRAME, raise it, and set input focus, if possible." > (cond ((featurep 'xemacs) > (if (fboundp 'select-frame-set-input-focus) > (select-frame-set-input-focus frame) > (raise-frame frame) > (select-frame frame) > (focus-frame frame))) > ;; `select-frame-set-input-focus' defined in Emacs 21 will not > ;; set the input focus. > ((>= emacs-major-version 22) > (select-frame-set-input-focus frame)) > (t > (raise-frame frame) > (select-frame frame) > (cond ((memq window-system '(x ns mac)) > (x-focus-frame frame)) > ((eq window-system 'w32) > (w32-focus-frame frame))) > (when focus-follows-mouse > (set-mouse-position frame (1- (frame-width frame)) 0))))) > > -- > \ Wes Hardaker http://pontifications.hardakers.net > / > \_____ "In the bathtub of history the truth is harder to hold than > ________/ > \_______ the soap, and much more difficult to find." _______/ > \_________ -- Terry Pratchett ______________/ > \__________________/ > > > _______________________________________________ > 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