From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.help Subject: Re: Ctrl-[ ? Date: Fri, 7 Jun 2019 11:17:31 -0400 Message-ID: References: <08AC8151-5911-40FA-8B20-818B839D00AB@traduction-libre.org> <86h892nk2g.fsf@zoho.eu> <9379C01B-80E3-49DD-B830-46CED773DC2C@traduction-libre.org> <83lfydrkde.fsf@gnu.org> <874l51q0s4.fsf@telefonica.net> <83ef45rdij.fsf@gnu.org> <7792DA18-B5EF-48A1-879C-7B2B94A0E1F2@traduction-libre.org> <1B9DC34D-12C1-45E3-9009-18759C1F6488@traduction-libre.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="97555"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Help Gnu Emacs mailing list To: Jean-Christophe Helary Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 07 18:51:15 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hZI5C-000PDj-Ki for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Jun 2019 18:51:14 +0200 Original-Received: from localhost ([::1]:49550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZI5B-0005vf-1N for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Jun 2019 12:51:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47358) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZGcy-0001Sh-Fg for help-gnu-emacs@gnu.org; Fri, 07 Jun 2019 11:18:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hZGcw-0000Az-I3 for help-gnu-emacs@gnu.org; Fri, 07 Jun 2019 11:18:00 -0400 Original-Received: from mail-ot1-x32c.google.com ([2607:f8b0:4864:20::32c]:35552) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hZGcq-0008O8-QO for help-gnu-emacs@gnu.org; Fri, 07 Jun 2019 11:17:58 -0400 Original-Received: by mail-ot1-x32c.google.com with SMTP id j19so2188631otq.2 for ; Fri, 07 Jun 2019 08:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DGclKBJbzBwRx/CzTHS5DDid0rD5xY44amXJH3d/Ln8=; b=DiXLTvYN56H3MSWYAWa2pKeLzRTTiDD+hi17CGZOdpjL2tsjVTK7qU/qnrLjioJgXp aOdKoV+AprU+7w33MdrcKdVjG60ibSw7FK2mDQqKmXk8RAMBNxULbKu5WjY126p3kLPB qQxEI1BC/PAV16PP3Johio85ZYNzw/m8TqB8D8PPRvQOWZi9UKaUTlE1tLPgvnt8yDN3 WVv5GCBBU+Q8WKG9DMFMGCfZazHdhoyWv0hT6LsO58yCY1sIu2Zd4GRFER+hzk8VjQ1t VD6ZxZd7ioeHDCSyiUd8VECkUHNo3bj8RT9kA/De6NrBM4QQ1/++VLqLXHHL//AynCt2 oNeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DGclKBJbzBwRx/CzTHS5DDid0rD5xY44amXJH3d/Ln8=; b=DScFpqkjbvebtpRxwTL4P2CuoD4UcXuipdUOGZ3Fm+n7hgyM4JoQEKkEvy2hYyVh5E ZhxKPh4Ebh0TYwuOufytlhOgM4hBrnmIVDeFYH2YJdvKlxYPKu7husTOxJ4sH3+NXlmO 42aPRcoysAIZJoHZ3uwHb11W3DfrwSYE4vZRYrneKqu38kzn00soz1L8aatOvQHJ1oJ2 HvJG7pJ/9yWgj2tFMUWIMXvtBiXOHQgatgN3Mf2HKnTtvQb/JDJbeCOPU7qyn279I95W jshqRTM1WcH3NCYcsQ08N08TC8/jzzPmaTqI6w/7hURhvvn5Lc0nDkjgyb62ZQ4tWIw4 zNQw== X-Gm-Message-State: APjAAAW0DKWFpTrR3WWlOmLI3lI4e3YBxLyk9DJQp9IhWBbYGEMBxp5y XLfQIZhkgBCD75Nh+eLHQ8e04xBvSqqHy23SY84= X-Google-Smtp-Source: APXvYqyS7A50r5rqj3jMPVLc+/ZZgRhaIh42IHbKDpcXWo3BKmMX+M9c4mhGTxa7AbBuNtDopjzNN/OeDiYfZW+cGA0= X-Received: by 2002:a9d:6644:: with SMTP id q4mr4528760otm.308.1559920669012; Fri, 07 Jun 2019 08:17:49 -0700 (PDT) In-Reply-To: <1B9DC34D-12C1-45E3-9009-18759C1F6488@traduction-libre.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::32c X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:120807 Archived-At: On Fri, 7 Jun 2019 at 11:11, Jean-Christophe Helary wrote: > > (define-key input-decode-map "\C-[" [C-open-square]) > > (define-key global-map [C-open-square] 'forward-char) > > Ok, but the key here (no pun intended) is to use input-decode-map before binding the thing, right ? You need to evaluate the (define-key input-decode-map ...) to let the binding work, but the order you do it in doesn't matter.