all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* calendar/cal-menu.el
@ 2006-07-10  6:25 Frank Kulow
  2006-07-10 14:52 ` calendar/cal-menu.el Kevin Rodgers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Frank Kulow @ 2006-07-10  6:25 UTC (permalink / raw)


hallo ng,


(define-key calendar-mode-map [menu-bar diary view]
   '("Cursor Date" . view-diary-entries))
(define-key calendar-mode-map [menu-bar diary view]
   '("Other File" . view-other-diary-entries))


dont work


this work:

(define-key calendar-mode-map [menu-bar diary view]
   '("Cursor Date" . view-diary-entries))
(define-key calendar-mode-map [menu-bar diary viewo]
   '("Other File" . view-other-diary-entries))


frank

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

* Re: calendar/cal-menu.el
  2006-07-10  6:25 calendar/cal-menu.el Frank Kulow
@ 2006-07-10 14:52 ` Kevin Rodgers
  2006-07-10 18:21 ` calendar/cal-menu.el Richard Stallman
       [not found] ` <mailman.3935.1152543237.9609.bug-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2006-07-10 14:52 UTC (permalink / raw)


Frank Kulow wrote:
> (define-key calendar-mode-map [menu-bar diary view]
>   '("Cursor Date" . view-diary-entries))
> (define-key calendar-mode-map [menu-bar diary view]
>   '("Other File" . view-other-diary-entries))
> 
> 
> dont work

In what way don't they work?

> this work:
> 
> (define-key calendar-mode-map [menu-bar diary view]
>   '("Cursor Date" . view-diary-entries))
> (define-key calendar-mode-map [menu-bar diary viewo]
>   '("Other File" . view-other-diary-entries))

The only difference between the first pair of forms and the second pair
is that you've specified a different key for the
view-other-diary-entries command in the second pair (viewo vs. view).
Assuming you want both commands available in the menu bar, it is obvious
they must be bound to different keys.

-- 
Kevin

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

* Re: calendar/cal-menu.el
  2006-07-10  6:25 calendar/cal-menu.el Frank Kulow
  2006-07-10 14:52 ` calendar/cal-menu.el Kevin Rodgers
@ 2006-07-10 18:21 ` Richard Stallman
       [not found] ` <mailman.3935.1152543237.9609.bug-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2006-07-10 18:21 UTC (permalink / raw)
  Cc: bug-gnu-emacs

    (define-key calendar-mode-map [menu-bar diary view]
       '("Cursor Date" . view-diary-entries))
    (define-key calendar-mode-map [menu-bar diary view]
       '("Other File" . view-other-diary-entries))

This is not a bug.
The second binding replaces the first,
because they both specify the same key.

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

* Re: calendar/cal-menu.el
       [not found] ` <mailman.3935.1152543237.9609.bug-gnu-emacs@gnu.org>
@ 2006-07-11  6:13   ` Frank Kulow
  0 siblings, 0 replies; 4+ messages in thread
From: Frank Kulow @ 2006-07-11  6:13 UTC (permalink / raw)



> Assuming you want both commands available in the menu bar,


what else


 >> (define-key calendar-mode-map [menu-bar diary view]
 >>   '("Cursor Date" . view-diary-entries))


???


Frank

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

end of thread, other threads:[~2006-07-11  6:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-10  6:25 calendar/cal-menu.el Frank Kulow
2006-07-10 14:52 ` calendar/cal-menu.el Kevin Rodgers
2006-07-10 18:21 ` calendar/cal-menu.el Richard Stallman
     [not found] ` <mailman.3935.1152543237.9609.bug-gnu-emacs@gnu.org>
2006-07-11  6:13   ` calendar/cal-menu.el Frank Kulow

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.