[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mouse-2 and calc-yank

From: Roland Winkler
Subject: mouse-2 and calc-yank
Date: Sat, 08 Dec 2007 22:35:57 +0100

Start a fresh calc session in a fresh emacs -q. Most keys are then
bound to calc-missing-key. However, mouse-2 has its global binding
mouse-yank-at-click which doesn't do anything useful inside calc.
(mouse-yank-at-click gives the error message
"Buffer is read-only: #<buffer *Calculator*>".)

When any of the keys bound to calc-missing-key is used for the first
time, all the keys bound to this command get their "real"
definition. Also, this binds mouse-2 to calc-yank (which is a useful
keybinding for mouse-2 inside calc). The bottom line is that mouse-2
becomes a useful key inside calc only after running the command

I suggest that mouse-2 should be bound to calc-yank from the very
beginning. (It seems that binding mouse-2 initially to
calc-missing-key does not work.)

In GNU Emacs 22.1.2 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2007-10-15 on tfkp07
configured using `configure  '--with-gcc' '--with-pop' '--with-x' 

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.iso885915
  locale-coding-system: iso-8859-15
  default-enable-multibyte-characters: nil

reply via email to

[Prev in Thread] Current Thread [Next in Thread]