From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.help Subject: Re: numbers instead of accented letters... Date: Mon, 26 Nov 2018 23:46:21 +0900 Message-ID: References: <4E21DAC8-443B-4BFF-9C1A-2B6AB49AF3D5@gmail.com> <75046691-E3EE-453A-AF94-7FDC12241FE9@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1543243510 8673 195.159.176.226 (26 Nov 2018 14:45:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2018 14:45:10 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 26 15:45:05 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gRI8G-00025R-GU for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Nov 2018 15:45:04 +0100 Original-Received: from localhost ([::1]:37152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRIAM-0007St-W0 for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Nov 2018 09:47:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRI9h-0007RA-Fg for help-gnu-emacs@gnu.org; Mon, 26 Nov 2018 09:46:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRI9c-0006n2-GX for help-gnu-emacs@gnu.org; Mon, 26 Nov 2018 09:46:33 -0500 Original-Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:41831) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gRI9c-0006ls-8B for help-gnu-emacs@gnu.org; Mon, 26 Nov 2018 09:46:28 -0500 Original-Received: by mail-pg1-x536.google.com with SMTP id 70so6267288pgh.8 for ; Mon, 26 Nov 2018 06:46:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=31+Iu/nQl5gtNdY0Iz/ovXq/L550QsdPwpvS4Ttn5Jw=; b=mKIaR2kSmMoq0lXWCkzdEcqr5h2qVj1qGhRNXJFbY7wyTQCvRFOJJ2P79u+UA4/P5J rNRyqlnULat+dQqrzsDqpAhnKFcS2btYtyv+4GStGE+5SBVaP8La9jiZraxXwO1ma3L6 OE6UOZ+4JRJmrQx4RvoZiJndD6Mo2FmSEDMu0rDavH2DroZ741NiclPHN53glz5HTzmn a8IvCF4UL/3Q0pw1bptLqpsAMic5Rn3RyUN6n8lPVKvMw6fVF+7o8Om+18CTDG3I0ly8 aw0p7upInp/g9tMpZw09tzMyfzNsKrt/+zdug9js7F8IRdVwnzI7dRpWubVDacjlZuJE xCcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=31+Iu/nQl5gtNdY0Iz/ovXq/L550QsdPwpvS4Ttn5Jw=; b=sXVmqPpwxj7OGDqrvfv+Hb5XGxu3pSn30PmSlA8oV7pUKgmZEr38q1tbWW+1mowk6z stMRJnN2lMs1hU1XI/QzKW5jEo6E8PVZ8HicojF5AzOArCaDeehgjzl0xvNN2wxkIp5r BLI8PCX0nntsQ+Kks1BTHi2CJ94C+fe7TRZkKzhAZ7N7tN98gyRD2Iw3qfBlhRel+n25 J0K44kb6k9sYlLXEqQvksBJ2DHEcHpNL0GJBnK90TICTyBqFtGFzPvtpAab88DvbvRZX JuqZc7r0xeWY31FWulTCdDEHbW13Vehg2Gc6rFAncam8+h+T8Xl4/jvhYRKVKefLyn0i RUvQ== X-Gm-Message-State: AA+aEWYv0su5tJIQ/3gk8qxV5SomvUw9aHEkDserzSxBDj6QG232gS0K cnswXnhFzIRHi+zYdVVoHXS2UoiO X-Google-Smtp-Source: AFSGD/Xqg1PFyxyANnNcKt6uAmtFr8XqQxIbQI1Q3QW746qQFDHNJckLaLNvfooIQbkvb9V2eg71/w== X-Received: by 2002:a62:33c1:: with SMTP id z184mr22920009pfz.104.1543243586660; Mon, 26 Nov 2018 06:46:26 -0800 (PST) Original-Received: from [192.168.1.11] (pl16832.ag0304.nttpc.ne.jp. [128.53.251.192]) by smtp.gmail.com with ESMTPSA id q199sm2244350pfc.97.2018.11.26.06.46.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Nov 2018 06:46:25 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3445.9.1) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::536 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118764 Archived-At: > On Nov 26, 2018, at 23:20, Stefan Monnier = wrote: >=20 >> ;;; 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) >>=20 >> If I remove that code, the file behaves properly... >=20 > Aha! >=20 > Then the fix for you is to write \0 instead of the 0 byte: >=20 > (kmacro-exec-ring-item '("\274^@\0\276" 0 "%d") arg))) >=20 > 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