From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: numbers instead of accented letters...
Date: Mon, 26 Nov 2018 09:20:12 -0500 [thread overview]
Message-ID: <jwvlg5fq5wk.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: F3E518EC-68DE-4A56-A7D3-9E4771E24EDD@gmail.com
> ;;; Select All : Cmd+A (Meta+A)
> (fset 'selectAll
> (lambda (&optional arg) "Keyboard macro." (interactive "p")
> (kmacro-exec-ring-item '("\274^@\276" 0 "%d") arg)))
> (global-set-key (kbd "M-a") 'selectAll)
>
> If I remove that code, the file behaves properly...
Aha!
Then the fix for you is to write \0 instead of the 0 byte:
(kmacro-exec-ring-item '("\274^@\0\276" 0 "%d") arg)))
Now, could you open a bug report about that: creating a keyboard macro
shouldn't cause that kind of trouble!
Stefan
next prev parent reply other threads:[~2018-11-26 14:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-25 2:55 numbers instead of accented letters Jean-Christophe Helary
2018-11-25 3:38 ` Eli Zaretskii
2018-11-25 4:22 ` Jean-Christophe Helary
2018-11-25 16:21 ` Eli Zaretskii
2018-11-25 16:42 ` Jean-Christophe Helary
2018-11-26 8:09 ` Jean-Christophe Helary
2018-11-25 16:56 ` Stefan Monnier
2018-11-26 7:22 ` Jean-Christophe Helary
2018-11-26 8:10 ` Jean-Christophe Helary
2018-11-26 13:20 ` Stefan Monnier
2018-11-26 14:09 ` Jean-Christophe Helary
2018-11-26 14:20 ` Stefan Monnier [this message]
2018-11-26 14:46 ` Jean-Christophe Helary
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvlg5fq5wk.fsf-monnier+gmane.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.