Re: [Orgmode] XEmacs complains about a few define-key sequences in org-mouse.el

2009-04-03 Thread Andreas Röhler
Tony E. Bennett wrote:
> XEmacs complains about a few define-key sequences in org-mouse.el.
> For example:
>
>   (define-key org-agenda-keymap [C-mouse-4] 'org-agenda-earlier)
>
>   

Try it this way for XEmacs:
 [(control mouse-4)]

Regards

Andreas Roehler

> These sequences are using a GNU emacs form that XEmacs does not support.
> I've patched it like this, which stopped the errors at least:
>
>   (define-key org-agenda-keymap (if (featurep 'xemacs) [(control mouse-4)] 
> [C-mouse-4]) 'org-agenda-earlier)
>
> Here is full set:
>
>
>   
> 
>
>
>
> thanks
>
> --tony
>   
> 
>
> ___
> 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
>   



___
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


Re: [Orgmode] XEmacs complains about a few define-key sequences in org-mouse.el

2009-03-31 Thread Carsten Dominik

Applied, thanks.

- Carsten

P.S.  If you know how to fix the context menus,
be my guest. :-)

On Mar 30, 2009, at 10:45 PM, Tony E. Bennett wrote:



XEmacs complains about a few define-key sequences in org-mouse.el.
For example:

 (define-key org-agenda-keymap [C-mouse-4] 'org-agenda-earlier)

These sequences are using a GNU emacs form that XEmacs does not  
support.

I've patched it like this, which stopped the errors at least:

 (define-key org-agenda-keymap (if (featurep 'xemacs) [(control  
mouse-4)] [C-mouse-4]) 'org-agenda-earlier)


Here is full set:




thanks

--tony
___
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


___
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