unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13695: 24.2; kp-multiply in isearch is not recorded by kbd macro
@ 2013-02-12 16:27 Vandrus Zoltán
  2013-02-13 17:54 ` Juri Linkov
  0 siblings, 1 reply; 4+ messages in thread
From: Vandrus Zoltán @ 2013-02-12 16:27 UTC (permalink / raw)
  To: 13695

If I try to define a keyboard macro where I search for *, and I use the
<kp-multiply> then the * is not present in the macro as a
self-inserting command.

Recording <kp-multiply> in normal text (not in isearch mode) works,
and using the not-numpad * also works even in isearch mode.
Just the <kp-multiply> + isearch combination has this problem.

Recipe after emacs -Q:

<f3> <kp-multiply> C-s <kp-multiply> <return> <f4>

The relevant output of C-x C-k C-e:
(Note the missing * after C-s.)

   Macro:

   * ;; self-insert-command
   C-s ;; isearch-forward
   RET ;; help-follow

The value of last-kbd-macro:
[kp-multiply 19 13]

------------------------------------------------------------------------

In GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4)
of 2013-01-20 on eric
Windowing system distributor `The X.Org Foundation', version 11.0.11302000
Configured using:
`configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib'
'--localstatedir=/var' '--with-x-toolkit=gtk3' '--with-xft'
'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro''

Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
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: hu_HU.utf8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t

Major mode: Lisp Interaction

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

Recent input:
<f3> <kp-multiply> C-s <kp-multiply> <return> <f4>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <help-menu> <send-emacs-bug
-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Defining kbd macro...
Keyboard macro defined
goto-history-element: End of history; no default available

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils misearch multi-isearch kmacro
time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)






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

* bug#13695: 24.2; kp-multiply in isearch is not recorded by kbd macro
  2013-02-12 16:27 bug#13695: 24.2; kp-multiply in isearch is not recorded by kbd macro Vandrus Zoltán
@ 2013-02-13 17:54 ` Juri Linkov
  2013-02-18 21:58   ` Juri Linkov
  0 siblings, 1 reply; 4+ messages in thread
From: Juri Linkov @ 2013-02-13 17:54 UTC (permalink / raw)
  To: Vandrus Zoltán; +Cc: 13695

> If I try to define a keyboard macro where I search for *, and I use the
> <kp-multiply> then the * is not present in the macro as a
> self-inserting command.
>
> Recording <kp-multiply> in normal text (not in isearch mode) works,
> and using the not-numpad * also works even in isearch mode.
> Just the <kp-multiply> + isearch combination has this problem.
>
> Recipe after emacs -Q:
>
> <f3> <kp-multiply> C-s <kp-multiply> <return> <f4>
>
> The relevant output of C-x C-k C-e:
> (Note the missing * after C-s.)
>
>   Macro:
>
>   * ;; self-insert-command
>   C-s ;; isearch-forward
>   RET ;; help-follow
>
> The value of last-kbd-macro:
> [kp-multiply 19 13]

When I tried your recipe, I see:

In 24.2.1  `last-kbd-macro' is [kp-multiply 19 13]
In 24.2.92 `last-kbd-macro' is [kp-multiply 19 42 13]

So something has changed between these versions
and now is better than before.  The question remains
does `42' instead of `kp-multiply' present a problem?





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

* bug#13695: 24.2; kp-multiply in isearch is not recorded by kbd macro
  2013-02-13 17:54 ` Juri Linkov
@ 2013-02-18 21:58   ` Juri Linkov
  2013-02-19  1:42     ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Juri Linkov @ 2013-02-18 21:58 UTC (permalink / raw)
  To: Vandrus Zoltán; +Cc: 13695

> In 24.2.1  `last-kbd-macro' is [kp-multiply 19 13]
> In 24.2.92 `last-kbd-macro' is [kp-multiply 19 42 13]

Thanks to Yidong, this was fixed 2012-10-30 in bug#4894.

> The question remains does `42' instead of `kp-multiply' present a problem?

Evaluating (lookup-key local-function-key-map [kp-multiply]) returns [42]
in `isearch-other-meta-char', and this value is recorded in kbd macro.

If this is not a real issue, then this bug can be closed.





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

* bug#13695: 24.2; kp-multiply in isearch is not recorded by kbd macro
  2013-02-18 21:58   ` Juri Linkov
@ 2013-02-19  1:42     ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2013-02-19  1:42 UTC (permalink / raw)
  To: 13695-done

Version: 24.3

Juri Linkov wrote:

> If this is not a real issue, then this bug can be closed.

Let's assume it's not a problem until there is evidence otherwise.





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

end of thread, other threads:[~2013-02-19  1:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-12 16:27 bug#13695: 24.2; kp-multiply in isearch is not recorded by kbd macro Vandrus Zoltán
2013-02-13 17:54 ` Juri Linkov
2013-02-18 21:58   ` Juri Linkov
2013-02-19  1:42     ` Glenn Morris

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