emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Wes Hardaker <wjhns209@hardakers.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: git and possibly 6.30 xemacs bug
Date: Wed, 2 Sep 2009 11:33:50 +0200	[thread overview]
Message-ID: <54505377-20D2-468D-A03B-DBA0DF31856D@gmail.com> (raw)
In-Reply-To: <sdbplud9f2.fsf@wes.hardakers.net>

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

      reply	other threads:[~2009-09-02  9:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-01 14:30 git and possibly 6.30 xemacs bug Wes Hardaker
2009-09-02  9:33 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54505377-20D2-468D-A03B-DBA0DF31856D@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wjhns209@hardakers.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).