From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Stefan_M=C3=B6ding?= Newsgroups: gmane.emacs.help Subject: Re: Which modifier to use? Date: Sat, 05 Dec 2020 13:25:19 +0100 Message-ID: References: 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="33216"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 05 13:26:09 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 1klWdd-0008Yx-EY for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 05 Dec 2020 13:26:09 +0100 Original-Received: from localhost ([::1]:58328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klWdc-00026S-Gu for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 05 Dec 2020 07:26:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klWcx-00025v-9F for help-gnu-emacs@gnu.org; Sat, 05 Dec 2020 07:25:27 -0500 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:40868) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klWcv-00072X-AQ for help-gnu-emacs@gnu.org; Sat, 05 Dec 2020 07:25:26 -0500 Original-Received: by mail-wr1-x434.google.com with SMTP id 91so3978093wrj.7 for ; Sat, 05 Dec 2020 04:25:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-transfer-encoding; bh=sGbqzAHO5Mv9M3HkxrPrk8OlUverzJvZejg6gmPXR+E=; b=UlFEeLXVzAvHXOLggTwOZeKjUhR0dsg30XhrzJIFLXgrEof/rxzGrsocZJUqiKewYN KSRwWJCPUv+sd6ne/V2WCQTAp2pNNpfkDk1/oyy7IC6u46gna1y/TbOB99jIUBbxHgz1 y2+2bDrMN8OVMe+nlfrdH1j0JA8jX8hqiKqQ+lRiKVj8Q2EZz2zdmOXYaARJciWQImUM ZY9Q5rK8dKX51Goq56FgK8GSP1eeeGFvGSFrLJOY1jkk5lnl7NxrrncH2QwCHyMr2k10 VIc+SQC0rkoSOgSUHvclUkcyYWGhUgD5vZ+s4aoJpf3FYIUGn/y/zil7jt1I8n9N9jHe yLfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=sGbqzAHO5Mv9M3HkxrPrk8OlUverzJvZejg6gmPXR+E=; b=UEtsK9vsu5ut/lYZf9UFVfgiftvd5p6cy9kgf9LVEIu3w6g4uOFT/DuDuybPtievjr dvopJs+L1mqXd3olF6RfB5OStGjQ5b2CPV7tm1hel+Bh0Cmfoy8fENOWddryQLqIU4XJ EQl79yWmvJe/DT9e/yJ/lTdrJwfdvBVB/YMrKtkJgIcqlYw8O/VzNFByVc9g/BuJU/g/ 5BbDWLT17jGy2OEzV1ZJibJudhuBCQwm1In/PTxwYF31z3R4vuLfTVUTir/zL3lUidSq 3HOq1OMPLx2LT+R4C+1z+8g5IGHbH+mu6+fUgkc4e8BmITwOrM/09ZI3D37BxjU6pvt0 a1zQ== X-Gm-Message-State: AOAM5320uOpa9EPOMakWr0FZC4gEw7xNVW+IIQD/CkUGDoOP9g9Letng R39gtoXuwgGB9vzdWyV+2Nzod25kYXE= X-Google-Smtp-Source: ABdhPJw2107pCYlfw9X1I32qSN7OFEoV8nqIpdEmAjivx9VLTXQLMZ/RiRbqAIfPY9krqPqbZIarsw== X-Received: by 2002:a5d:620e:: with SMTP id y14mr10378356wru.111.1607171120424; Sat, 05 Dec 2020 04:25:20 -0800 (PST) Original-Received: from athena.moeding.net (ip-176-199-80-138.hsi06.unitymediagroup.de. [176.199.80.138]) by smtp.gmail.com with ESMTPSA id i5sm7758358wrw.45.2020.12.05.04.25.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2020 04:25:20 -0800 (PST) In-Reply-To: (Jean Louis's message of "Sat, 05 Dec 2020 14:28:05 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=s.moeding@gmail.com; helo=mail-wr1-x434.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:126017 Archived-At: Jean Louis writes: > I have too many keys on Hyper modifier and need a keys for many > functions. Emacs is mostly not modal and I am not using viper mode, > but as modal it would offer me quick access to key bindings such as: > - / a > - / s > Maybe CapsLk can be used as modifier or prefix key? I=E2=80=99m using a keybinding to switch to a new keymap which has many add= itional commands (Sorry for not being able to give credit for the original code): ;; launch command keymap (define-prefix-command 'stm-launcher-map) (global-set-key (kbd "C-x l") 'stm-launcher-map) (define-key stm-launcher-map (kbd "=3D") #'ipcalc-at-point) (define-key stm-launcher-map (kbd "#") #'generate-password) (define-key stm-launcher-map (kbd "c") #'calendar) (define-key stm-launcher-map (kbd "d") #'ediff-buffers) (define-key stm-launcher-map (kbd "g") #'lgrep) (define-key stm-launcher-map (kbd "m") #'man) (define-key stm-launcher-map (kbd "n") #'gnus) I can press "C-x l n" to open Gnus from everywhere. Is this what you want? --=20 Stefan