From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Budi Newsgroups: gmane.emacs.help Subject: How to set key binding in script run-time Date: Sun, 9 Jun 2019 18:34:47 +0700 Message-ID: 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="41649"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 09 13:35:00 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 1hZw6F-000Aaa-Jw for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Jun 2019 13:34:59 +0200 Original-Received: from localhost ([::1]:34916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZw6D-0005hC-Ui for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Jun 2019 07:34:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60062) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZw66-0005h5-0G for help-gnu-emacs@gnu.org; Sun, 09 Jun 2019 07:34:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hZw65-0002MY-7N for help-gnu-emacs@gnu.org; Sun, 09 Jun 2019 07:34:49 -0400 Original-Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]:38886) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hZw64-0002Ld-UQ for help-gnu-emacs@gnu.org; Sun, 09 Jun 2019 07:34:49 -0400 Original-Received: by mail-io1-xd29.google.com with SMTP id k13so4775596iop.5 for ; Sun, 09 Jun 2019 04:34:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=cj3UFXbI2wa2TEYmdwl3M7JM8nmnrJ5/ssR5EvJU26M=; b=iWlS7fUE2/9AA+WbU8DQQq57pQe59HoeoY0m5MhyhiacvXL99pje7KtvVG0XIARV+9 +uSWQHpsmEjT1qYKvGE0wDpq4CQCa1orACpASp3Ckpx9ilY5neVDv3Fw1ZSOmx8TUxHh aNSBfWlnCxF6sdIDiPvpyzOKnCZW/fQawvjo21PJBs1R/5IiLvXrLnc5z0KqYWeEtl6C sc0UDOVcA/Q7IJBMnXu1ktuij0dLyuZMJGUqeoowT8HTWQIhAg8v3mV4pG9uZlxbYHEP Wr1Jv8dMPArlV8dbvnQXDTvQTbQv+fFbaVLWwkF3uWGlV2tm6s7xWzk2kXixX1xn80Cu Cs8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=cj3UFXbI2wa2TEYmdwl3M7JM8nmnrJ5/ssR5EvJU26M=; b=UuurDvQ2OGJRywXUFFgSf5yVkRznBNSc3eeF4nuYKKRHWG6DBZnsRJtpUOKOSVSJWR yFvhCb8TXAYBO0980XbX3NnLhlYhkutRAfcUmr7gNOqVOjqzftf43hhmlVmmM6/9UEMc HirTvVTExH8U3M4FfGf/iLJokRv/jwTGWjtnCBoUCK/KfnDJIkKZZOoha2PgII7lT/ix 3MwsFr2LKJqMgiOq8YONaOXCGjGmGrwrqWqdT8kRFCrrMudXjv55X/vG4/DvYU21vS3Z CuDtRAbCVjVvIFYO3sroLbgXa9+otOhhdJQ2ygqNej8Ea39KITLZEtzKJbU4pEG8hvRB 5B1Q== X-Gm-Message-State: APjAAAVTBYlg2JTWkBN1XQOPzNbKFdg8EjNYdSn+JXa0cL3n9LzU2IdX Vbp00q0J5DQO7ntDo6Su7kscN64gIJxLUeZ45aIjzQZa X-Google-Smtp-Source: APXvYqzIma7wg3k8SAEgm1AE4y+6rsvuqmkaeN2uq8THigKbu0IJeyaO6LrFwLPbDBftzq8zZs9ONHm2hKLbJnb+1uY= X-Received: by 2002:a6b:fa04:: with SMTP id p4mr20423879ioh.273.1560080087699; Sun, 09 Jun 2019 04:34:47 -0700 (PDT) Original-Received: by 2002:a02:93cd:0:0:0:0:0 with HTTP; Sun, 9 Jun 2019 04:34:47 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d29 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:120867 Archived-At: How to set key binding in lisp script run-time of emacs ? if a key binding only will be created with late decision as a function is running, how should that key binding be constructed and accomplished in the run time inside that function ?