unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Trouble with Command for Eshell
@ 2019-07-23 14:35 Lorenzo Isella
  2019-07-23 16:48 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Lorenzo Isella @ 2019-07-23 14:35 UTC (permalink / raw)
  To: help-gnu-emacs

Dear All,
I have recently updated my system (Debian) to the new stable and I am experiencing a few minor glitches.
I have in my .emacs file the following




(fset 'auxiliary
   (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ([21 escape 120 101 115 104 101 108 108 return escape 120 114 101 110 97 109 right right return 97 117 120 105 108 105 97 114 121 return] 0 "%d")) arg)))


Which means that the combination

Alt+x auxiliary

opens a second emacs shell and names it auxiliary.
However, right now, the same command opens something like >20 emacs shells...
Does anyone know how I should fix this?
I am no emacs guru and this is an (ugly) macro I recorded ages ago, but which has served me well until now.
Cheers

Lorenzo



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

* Re: Trouble with Command for Eshell
  2019-07-23 14:35 Trouble with Command for Eshell Lorenzo Isella
@ 2019-07-23 16:48 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2019-07-23 16:48 UTC (permalink / raw)
  To: help-gnu-emacs

> (fset 'auxiliary
>   (lambda (&optional arg) "Keyboard macro." (interactive "p")
> (kmacro-exec-ring-item (quote ([21 escape 120 101 115 104 101 108 108 return
> escape 120 114 101 110 97 109 right right return 97 117 120 105 108 105 97
> 114 121 return] 0 "%d")) arg)))

Hmm... if we print this in a more readable form, we have:

    [?\C-u escape ?x
     ?e ?s ?h ?e ?l ?l return
     escape ?x
     ?r ?e ?n ?a ?m right right return
     ?a ?u ?x ?i ?l ?i ?a ?r ?y return]

and I don't see anything in there that would explain your >20 shells, sorry.

The only funny thing in there is the `right right` which probably relies
on some non-default completion package to get `rename-buffer` from
the `renam` prefix and maybe it ends up selecting something else now?
It's a long shot, tho.


        Stefan




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

end of thread, other threads:[~2019-07-23 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-23 14:35 Trouble with Command for Eshell Lorenzo Isella
2019-07-23 16:48 ` Stefan Monnier

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