Hello,
when using the pc-select mode, normal keystrokes are recorded in the
history which is usually unwanted.
Example:
| $ xemacs -nw -vanilla
| M-x version
| XEmacs 21.5 (beta28) "fuki" [Lucid] (i386-redhat-linux, Mule) of Fri Jun 29
2007 on
xenbuilder4.fedora.phx.redhat.com
| M-x load-library pc-select
| M-x pc-select-mode
| M-% foo bar
| up up up
| C-x M-: --> the '(previous-line 1)' commands are recorded but the
| wanted '(query-replace ...)' is lot of entries away
This seems to be caused by calling (call-interactively) with an 'arg'
argument like in:
| (defun pc-select-move-line-up (&optional arg)
| ...
| (interactive "p")
| (setq zmacs-region-stays pc-select-keep-regions)
| (setq this-command 'previous-line)
| (call-interactively 'previous-line arg))
Attached patch removes 'arg' from all these calls.
Enrico
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta