unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* mouse-2 and calc-yank
@ 2007-12-08 21:35 Roland Winkler
  0 siblings, 0 replies; only message in thread
From: Roland Winkler @ 2007-12-08 21:35 UTC (permalink / raw)
  To: bug-gnu-emacs

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
calc-missing-key.

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' '--with-x-toolkit=athena''

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-08 21:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-08 21:35 mouse-2 and calc-yank Roland Winkler

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).