From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Executing part of the code instead of another Date: Wed, 7 Oct 2020 02:19:41 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25853"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 07 02:26:04 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPxHQ-0006d3-3o for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 07 Oct 2020 02:26:04 +0200 Original-Received: from localhost ([::1]:49510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPxHO-00052l-Vo for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 06 Oct 2020 20:26:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPxBJ-0002A2-Nb for help-gnu-emacs@gnu.org; Tue, 06 Oct 2020 20:19:45 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:39791) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPxBH-0004c6-NC for help-gnu-emacs@gnu.org; Tue, 06 Oct 2020 20:19:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1602029981; bh=PLZy8LaZkTcNmFn8Pmb0g4UAQxgrNMZQFLVjYiAd0S8=; h=X-UI-Sender-Class:From:To:Subject:Date; b=PlaNx8Qh0BJfZbDcYhJmzU/e8qONq/Fvl+94v7+tdKtJDla0jurnbMcW0WKWZlWj6 lQncXwXZKxXiXoqCY/27FHuKniPFmn0+IU9Jb3i1xjWLG0x+yQIXQuP5VKEy+p69Rv G3BGcYNahMVu/am6f8ZFIL8Wm5/EiDjJC8d4z4fY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs01.server.lan [172.19.170.58]) (via HTTP); Wed, 7 Oct 2020 02:19:41 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:PyT/IahqwQn+z9iwOBWQHTd1/ZYbnymfu5QA/6aRck0hZMaeMyDhw+gthtXfInkElUNjk 8RjEelJEEbNGy/GIE0ONr7JZ8m7l60ECo8EruZ0JnNU73TIy4wpcD+LqQZgAOtWyqsEmMQsqOoCH hBf9rcYu97IDkgn/hC5i1Yqduj/NUlFoBPvOs1pHAV7JSuS56gz4tlcfk7YcisZD49Zt1Q45u1z/ YbEe03CIjKRfSj77qAWZsNe+WW3hGrAJx0JksDHR4RyUK3EBytNpBYKAoqq5OO3qHksx4jMExoiF lk= X-UI-Out-Filterresults: notjunk:1;V03:K0:MzDMgyUC8E0=:3LvysmBGo23t4DaRpThogo oSp8BuPhqhaLNdmOlPfeDrPi+W+kR98DNmJ2mew/f3jgUQj2/qNE2PFlicB8NXo3xhv13SkO8 6yyJeIzFzrY85F3dSFI41OSuEO+qEWkN5aAdXSMueLnfvXchEtAYTz1o9TgeheaNoxvRxu4Gs X4IG/MYOYqJi2PfpJrmuZlxon6KtpBl1Gyp4DLM4U5roX01PHNm0mQqcBLP/uKUn+hyxn6Z9N 80i9xm/yC/0rDH6azYb5QtCDnH8ebjgAEWZebyck8ppWlzpUbDsmmRrm/ML7w3Y9D1ERMEpLN R8ZMUx3hg0zCJP2Y4GzwVcfxL4vr+lf2UazJ6Ooss8NhahJR4jyJb34EEbh6+pb3kegIU9dtb x0GsK7jomXgc0gy7OoHotPAPFMscF+VQVzjg9I02nja2ovXzpi4BZqnauPh1jmIh/Jpk2O/se g/KVwvhTu0ip/KCfTRwMPOZuCm/KdS6yvyh7hB7XBD5aiTflBDMFq5lKDJLOMLDPX3D10yfLB q9w3jVAkBeyvBv491DesUnquJHfD+5xx8XbE1nN2+/kWl1LNSkDrKA1m+57t46OdOCY6h38FO HhPwBeN8dJ4RyVUofYeEyQJUw7yApUzGOb1JukI5P5fGJ1MRXQdlUF8YH3j38HxmvaNaReDzi 2qDoM+eUc51lWlKzOmevj+9QSTFSeuQoIL1MaQZMmTxJF/KpCosovvrDQQxwrdrjz80o= Received-SPF: pass client-ip=212.227.17.20; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/06 20:19:41 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:124341 Archived-At: I would like to have some numeric if condition so I can set some keybindings when variable a has value 1, but if variable a is 2, I want to set a different set of keybindings. How can I do it? Regards C*