From: Jean-Christophe Helary <brandelune@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: numbers instead of accented letters...
Date: Mon, 26 Nov 2018 23:46:21 +0900 [thread overview]
Message-ID: <ADB3E5C5-A151-4A3E-848A-CDE50B4A58D4@gmail.com> (raw)
In-Reply-To: <jwvlg5fq5wk.fsf-monnier+gmane.emacs.help@gnu.org>
> On Nov 26, 2018, at 23:20, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>
>> ;;; 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!
:) Yep, that's what I thought too. Although I'll also probably just remap mark-whole-buffer to Cmd-A.
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
prev parent reply other threads:[~2018-11-26 14:46 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
2018-11-26 14:46 ` Jean-Christophe Helary [this message]
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=ADB3E5C5-A151-4A3E-848A-CDE50B4A58D4@gmail.com \
--to=brandelune@gmail.com \
--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.