unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#426: 23.0.60; C-h k <down-mouse-2> in *Calendar* does not work
@ 2008-06-16  9:12 ` Peter Dyballa
  2008-06-16 18:24   ` Glenn Morris
  2008-06-17  6:10   ` bug#426: marked as done (23.0.60; C-h k <down-mouse-2> in *Calendar* does not work) Emacs bug Tracking System
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Dyballa @ 2008-06-16  9:12 UTC (permalink / raw
  To: emacs-pretest-bug

Hello!

I was wondering why the mouse-2 menu ("Calendar") does not provide  
anymore the option to view the diary entries of the selected day. In  
GNU Emacs 22.2.1 the pop-up menu is titled "<date>" of that day and  
offers to view this day's diary entries, which is now on mouse-3.

Typing C-h k and then pressing mouse-2 does to tell the key binding  
but lets the menu pop up. (Actually the behaviour is the same with C- 
h k <down-mouse-3> in GNU Emacs 22.2's *Calendar* buffer: in echo  
area down-mouse-3- [or down-mouse-2-] is printed, obviously waiting  
for further input.)


In GNU Emacs 23.0.60.1 (powerpc-apple-darwin8.11.0, X toolkit, Xaw3d  
scroll bars)
  of 2008-06-15 on Latsche.local
Windowing system distributor `The XFree86 Project, Inc', version  
11.0.40400000
configured using `configure  '--without-sound' '--without-pop' '-- 
with-dbus' '--with-libotf' '--with-x-toolkit=athena' '--enable- 
locallisppath=/Library/Application Support/Emacs/calendar23:/Library/ 
Application Support/Emacs/caml:/Library/Application Support/Emacs:/sw/ 
share/emacs21/site-lisp/elib' 'PKG_CONFIG_PATH=/sw/lib/freetype219/ 
lib/pkgconfig:/sw/lib/fontconfig2/lib/pkgconfig:/sw/lib/qt4-x11/lib/ 
pkgconfig:/sw/lib/pkgconfig:/sw/share/pkgconfig:/usr/lib/pkgconfig:/ 
usr/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig' 'CFLAGS=-ggdb - 
gfull -H -Wno-pointer-sign -bind_at_load -pipe -fPIC -mcpu=7450 - 
mtune=7450 -mno-powerpc64 -O0 -mpim-altivec -ftree-vectorize -fno- 
crossjumping' 'CPPFLAGS=-no-cpp-precomp -I/sw/include -I/usr/local/ 
include -idirafter /usr/X11R6/include' 'LDFLAGS=-bind_at_load - 
dead_strip -multiply_defined suppress -L/sw/lib/ncurses -L/sw/lib -L/ 
usr/local/lib -L/usr/X11R6/lib''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: de_DE.UTF-8
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: de_DE.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default-enable-multibyte-characters: t

Major mode: Calendar

Minor modes in effect:
   show-paren-mode: t
   display-time-mode: t
   tooltip-mode: t
   tool-bar-mode: t
   mouse-wheel-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
<down-mouse-1> <mouse-1> C-x b <return> <escape> x
c a l e n d a r <return> m <help-echo> <down-mouse-1>
<mouse-1> C-h k <down-mouse-2> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <help-menu> <se
nd-emacs-bug-report>


--
Greetings

   Pete

One doesn't expect governments to obey the law because of some higher  
moral development.  One expects them to obey the law because they  
know that if they don't, those who aren't shot will be hanged.
				– Michael Shirley









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

* bug#426: 23.0.60; C-h k <down-mouse-2> in *Calendar* does not work
  2008-06-16  9:12 ` bug#426: 23.0.60; C-h k <down-mouse-2> in *Calendar* does not work Peter Dyballa
@ 2008-06-16 18:24   ` Glenn Morris
  2008-06-16 20:22     ` Stefan Monnier
  2008-06-16 21:38     ` Peter Dyballa
  2008-06-17  6:10   ` bug#426: marked as done (23.0.60; C-h k <down-mouse-2> in *Calendar* does not work) Emacs bug Tracking System
  1 sibling, 2 replies; 6+ messages in thread
From: Glenn Morris @ 2008-06-16 18:24 UTC (permalink / raw
  To: Stefan Monnier; +Cc: Peter Dyballa, 426

Peter Dyballa wrote:

> I was wondering why the mouse-2 menu ("Calendar") does not provide  
> anymore the option to view the diary entries of the selected day. In  
> GNU Emacs 22.2.1 the pop-up menu is titled "<date>" of that day and  
> offers to view this day's diary entries, which is now on mouse-3.

Stefan,


I think the above means "why have mouse-2 and mouse-3 swapped bindings
in the calendar".

This exchange was part of your 2007-07-25 change. Was there a reason
for it, or was it just a slip?


> Typing C-h k and then pressing mouse-2 does to tell the key binding  
> but lets the menu pop up. (Actually the behaviour is the same with C- 
> h k <down-mouse-3> in GNU Emacs 22.2's *Calendar* buffer: in echo  
> area down-mouse-3- [or down-mouse-2-] is printed, obviously waiting  
> for further input.)

It's waiting for you to select a menu item, then you will be told the
binding of that item.






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

* bug#426: 23.0.60; C-h k <down-mouse-2> in *Calendar* does not work
  2008-06-16 18:24   ` Glenn Morris
@ 2008-06-16 20:22     ` Stefan Monnier
  2008-06-16 21:38     ` Peter Dyballa
  1 sibling, 0 replies; 6+ messages in thread
From: Stefan Monnier @ 2008-06-16 20:22 UTC (permalink / raw
  To: Glenn Morris; +Cc: Peter Dyballa, 426

>> I was wondering why the mouse-2 menu ("Calendar") does not provide  
>> anymore the option to view the diary entries of the selected day. In  
>> GNU Emacs 22.2.1 the pop-up menu is titled "<date>" of that day and  
>> offers to view this day's diary entries, which is now on mouse-3.

> I think the above means "why have mouse-2 and mouse-3 swapped bindings
> in the calendar".

> This exchange was part of your 2007-07-25 change.  Was there a reason
> for it, or was it just a slip?

Ah, I see.  I first thought you had installed that change and concluded
that "great minds think alike".  It was a slip.  I do think that the
mouse-2 binding is closer to the usual "context menu" traditionally
bound to mouse-3, since it is context-dependent contrary to the mouse-3
binding which is a buffer-global binding, which is why I had switched
them in my local tree, with the intention to propose this change.
Then I mistakenly installed it as part of something else.

Feel free to revert it, although I do think it's a good change.


        Stefan






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

* bug#426: 23.0.60; C-h k <down-mouse-2> in *Calendar* does not work
  2008-06-16 18:24   ` Glenn Morris
  2008-06-16 20:22     ` Stefan Monnier
@ 2008-06-16 21:38     ` Peter Dyballa
  2008-06-17  0:50       ` Stefan Monnier
  1 sibling, 1 reply; 6+ messages in thread
From: Peter Dyballa @ 2008-06-16 21:38 UTC (permalink / raw
  To: Glenn Morris; +Cc: 426


Am 16.06.2008 um 20:24 schrieb Glenn Morris:

> Peter Dyballa wrote:
>
>> I was wondering why the mouse-2 menu ("Calendar") does not provide
>> anymore the option to view the diary entries of the selected day. In
>> GNU Emacs 22.2.1 the pop-up menu is titled "<date>" of that day and
>> offers to view this day's diary entries, which is now on mouse-3.

Sorry, I think I *now* finally realised that the two menus where just  
swapped. And there *is* the option to view a date's diary entries I  
missed earlier today ...

>
>> Typing C-h k and then pressing mouse-2 does to tell the key binding
>> but lets the menu pop up. (Actually the behaviour is the same with C-
>> h k <down-mouse-3> in GNU Emacs 22.2's *Calendar* buffer: in echo
>> area down-mouse-3- [or down-mouse-2-] is printed, obviously waiting
>> for further input.)
>
> It's waiting for you to select a menu item, then you will be told the
> binding of that item.

There must be more changed. In GNU Emacs 22.2 I can 'C-h k <down- 
mouse-2>' and a *Help* buffer opens telling me (excerpt, <mouse-2>  
left out):

	<down-mouse-2> at that spot runs the command calendar-mouse-2-date-menu
	  which is an interactive Lisp function in `cal-menu.el'.
	It is bound to <down-mouse-2>.
	(calendar-mouse-2-date-menu EVENT)

'C-h k <down-mouse-3>' in GNU Emacs 23.0.60 does not produce the same  
(telling cal-menu-context-mouse-menu's name). This is consistent with  
<down-mouse-3> in GNU Emacs 22.2, although another menu (or just a  
key mapping, calendar-mouse-3-map?). GNU Emacs 22.2 at least tells me  
what one menu is ...


And the swap introduced a bug: in a floating tip window I get told  
that mouse-2 will open a menu of operations for this date, which is  
wrong.

--
Greetings

   Pete

"What do you think of Western Civilisation?"
"I think it would be a good idea!"
				– Mohandas Karamchand Gandhi









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

* bug#426: 23.0.60; C-h k <down-mouse-2> in *Calendar* does not work
  2008-06-16 21:38     ` Peter Dyballa
@ 2008-06-17  0:50       ` Stefan Monnier
  0 siblings, 0 replies; 6+ messages in thread
From: Stefan Monnier @ 2008-06-17  0:50 UTC (permalink / raw
  To: Peter Dyballa; +Cc: 426

> There must be more changed. In GNU Emacs 22.2 I can 'C-h
> k <down-mouse-2>' and a *Help* buffer opens telling me (excerpt,
> <mouse-2> left out):

> 	<down-mouse-2> at that spot runs the command calendar-mouse-2-date-menu
> 	  which is an interactive Lisp function in `cal-menu.el'.
> 	It is bound to <down-mouse-2>.
> 	(calendar-mouse-2-date-menu EVENT)

> 'C-h k <down-mouse-3>' in GNU Emacs 23.0.60 does not produce the same
> (telling cal-menu-context-mouse-menu's name). This is consistent with

That's a deliberate change.  Emacs-22 allowed you to figure out which
command brings up a menu whereas Emacs-23 allows you to figure out which
command is triggered by any particular menu entry.

Sadly, you can't easily have both.  But in case you want to know: there
is now *no* command that brings up the menu.  Instead mouse-3 is
directly bound to the menu, without any intervening command.


        Stefan






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

* bug#426: marked as done (23.0.60; C-h k <down-mouse-2> in  *Calendar* does not work)
  2008-06-16  9:12 ` bug#426: 23.0.60; C-h k <down-mouse-2> in *Calendar* does not work Peter Dyballa
  2008-06-16 18:24   ` Glenn Morris
@ 2008-06-17  6:10   ` Emacs bug Tracking System
  1 sibling, 0 replies; 6+ messages in thread
From: Emacs bug Tracking System @ 2008-06-17  6:10 UTC (permalink / raw
  To: Glenn Morris

[-- Attachment #1: Type: text/plain, Size: 888 bytes --]


Your message dated Tue, 17 Jun 2008 02:00:01 -0400
with message-id <ts63s8sise.fsf@fencepost.gnu.org>
and subject line Re: bug#426: 23.0.60; C-h k <down-mouse-2> in *Calendar* does not work
has caused the Emacs bug report #426,
regarding 23.0.60; C-h k <down-mouse-2> in *Calendar* does not work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
426: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=426
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 5366 bytes --]

From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; C-h k <down-mouse-2> in *Calendar* does not work
Date: Mon, 16 Jun 2008 11:12:13 +0200
Message-ID: <864BDE42-961C-4996-9065-3A40D15963DF@Freenet.DE>

Hello!

I was wondering why the mouse-2 menu ("Calendar") does not provide  
anymore the option to view the diary entries of the selected day. In  
GNU Emacs 22.2.1 the pop-up menu is titled "<date>" of that day and  
offers to view this day's diary entries, which is now on mouse-3.

Typing C-h k and then pressing mouse-2 does to tell the key binding  
but lets the menu pop up. (Actually the behaviour is the same with C- 
h k <down-mouse-3> in GNU Emacs 22.2's *Calendar* buffer: in echo  
area down-mouse-3- [or down-mouse-2-] is printed, obviously waiting  
for further input.)


In GNU Emacs 23.0.60.1 (powerpc-apple-darwin8.11.0, X toolkit, Xaw3d  
scroll bars)
  of 2008-06-15 on Latsche.local
Windowing system distributor `The XFree86 Project, Inc', version  
11.0.40400000
configured using `configure  '--without-sound' '--without-pop' '-- 
with-dbus' '--with-libotf' '--with-x-toolkit=athena' '--enable- 
locallisppath=/Library/Application Support/Emacs/calendar23:/Library/ 
Application Support/Emacs/caml:/Library/Application Support/Emacs:/sw/ 
share/emacs21/site-lisp/elib' 'PKG_CONFIG_PATH=/sw/lib/freetype219/ 
lib/pkgconfig:/sw/lib/fontconfig2/lib/pkgconfig:/sw/lib/qt4-x11/lib/ 
pkgconfig:/sw/lib/pkgconfig:/sw/share/pkgconfig:/usr/lib/pkgconfig:/ 
usr/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig' 'CFLAGS=-ggdb - 
gfull -H -Wno-pointer-sign -bind_at_load -pipe -fPIC -mcpu=7450 - 
mtune=7450 -mno-powerpc64 -O0 -mpim-altivec -ftree-vectorize -fno- 
crossjumping' 'CPPFLAGS=-no-cpp-precomp -I/sw/include -I/usr/local/ 
include -idirafter /usr/X11R6/include' 'LDFLAGS=-bind_at_load - 
dead_strip -multiply_defined suppress -L/sw/lib/ncurses -L/sw/lib -L/ 
usr/local/lib -L/usr/X11R6/lib''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: de_DE.UTF-8
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: de_DE.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default-enable-multibyte-characters: t

Major mode: Calendar

Minor modes in effect:
   show-paren-mode: t
   display-time-mode: t
   tooltip-mode: t
   tool-bar-mode: t
   mouse-wheel-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
<down-mouse-1> <mouse-1> C-x b <return> <escape> x
c a l e n d a r <return> m <help-echo> <down-mouse-1>
<mouse-1> C-h k <down-mouse-2> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <help-menu> <se
nd-emacs-bug-report>


--
Greetings

   Pete

One doesn't expect governments to obey the law because of some higher  
moral development.  One expects them to obey the law because they  
know that if they don't, those who aren't shot will be hanged.
				– Michael Shirley






[-- Attachment #3: Type: message/rfc822, Size: 1932 bytes --]

From: Glenn Morris <rgm@gnu.org>
To: 426-done@emacsbugs.donarmstrong.com
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, Peter_Dyballa@Freenet.DE
Subject: Re: bug#426: 23.0.60; C-h k <down-mouse-2> in *Calendar* does not work
Date: Tue, 17 Jun 2008 02:00:01 -0400
Message-ID: <ts63s8sise.fsf@fencepost.gnu.org>

Stefan Monnier wrote:

> I do think that the mouse-2 binding is closer to the usual "context
> menu" traditionally bound to mouse-3, since it is context-dependent
> contrary to the mouse-3 binding which is a buffer-global binding,
> which is why I had switched them in my local tree, with the intention
> to propose this change.

Fine by me. I have updated various related bits of documentation and
am closing this.


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

end of thread, other threads:[~2008-06-17  6:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <ts63s8sise.fsf@fencepost.gnu.org>
2008-06-16  9:12 ` bug#426: 23.0.60; C-h k <down-mouse-2> in *Calendar* does not work Peter Dyballa
2008-06-16 18:24   ` Glenn Morris
2008-06-16 20:22     ` Stefan Monnier
2008-06-16 21:38     ` Peter Dyballa
2008-06-17  0:50       ` Stefan Monnier
2008-06-17  6:10   ` bug#426: marked as done (23.0.60; C-h k <down-mouse-2> in *Calendar* does not work) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).