From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Alexandrov Newsgroups: gmane.emacs.help Subject: Re: diff-goto-source hi-jacks my M-o Date: Mon, 06 Jul 2020 22:37:19 +0300 Message-ID: References: <87imf2gdnp.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> <87y2nx5472.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38633"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Tomas Nordin Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 06 21:40:18 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 1jsWyQ-0009yJ-M1 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 06 Jul 2020 21:40:18 +0200 Original-Received: from localhost ([::1]:37560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jsWyP-00040O-Br for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 06 Jul 2020 15:40:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsWvm-0003vd-Hg for help-gnu-emacs@gnu.org; Mon, 06 Jul 2020 15:37:34 -0400 Original-Received: from relay-2.mailobj.net ([213.182.54.5]:35066) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsWvk-0008Dy-Iq for help-gnu-emacs@gnu.org; Mon, 06 Jul 2020 15:37:34 -0400 Original-Received: from v-1c.localdomain (unknown [192.168.90.161]) by relay-2.mailobj.net (Postfix) with SMTP id B44121294; Mon, 6 Jul 2020 21:37:29 +0200 (CEST) Original-Received: by mail-1.net-c.com [213.182.54.15] with ESMTP Mon, 6 Jul 2020 21:37:29 +0200 (CEST) X-EA-Auth: 1taT8D0fVqcVGxHZovoibNgJFZFsdUJrI3uowLLBA/k3XekVDR+q65PFHaYAzMfP/LxhannwXZ6sDRLzgs4mRWABNQ5Q3cy7 In-Reply-To: <87y2nx5472.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> (Tomas Nordin's message of "Mon, 06 Jul 2020 12:27:13 +0200") OpenPGP: id=525F7E60AD812C2361752BB4C8B0F8548EE7F3E7; url=https://openpgpkey.gnui.org/.well-known/openpgpkey/gnui.org/hu/hr4k5tkxm6shwdc18su4bkm34w3dctjd Mail-Copies-To: always Received-SPF: pass client-ip=213.182.54.5; envelope-from=dag@gnui.org; helo=relay-2.mailobj.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/06 15:37:29 X-ACL-Warn: Detected OS = Linux 3.1-3.10 X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN 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:123519 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Tomas Nordin wrote: > Dmitry Alexandrov writes: >> Tomas Nordin wrote: >>> And if one is to be voted away, I vote for my precious M-o to be left a= lone. >> >> (define-minor-mode my-precious-keys-mode "" t) >> (defvar my-precious-keys-map (make-sparse-keymap)) >> (add-to-list 'emulation-mode-map-alists >> (list (cons 'my-precious-keys-mode my-precious-keys-map))) >> (define-key my-precious-keys-map (kbd "M-o") #'other-window) > define-dummy-mode-and-dummy-key-map-=E2=80=A6 I am not sure, what =E2=80=98dummy=E2=80=99 is supposed to mean here? Mino= r mode is fully functional, that is you are free to disable and reenable it= at will: (define-key global-map (kbd "") #'my-precious-keys-mode) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYIACsWIQRSX35grYEsI2F1K7TIsPhUjufz5wUCXwN9bw0cZGFnQGdudWku b3JnAAoJEMiw+FSO5/Pn5McBAKwO+EA6OxCXjAroArbGhqdcRRQutri27VCMf3XV 2MCYAQD0gWqli/L8RSvv1bX6XzNq30GpiNKTWxqdnb4+m+EKDQ== =AsgZ -----END PGP SIGNATURE----- --=-=-=--