From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: Remapping keys and creating my own keymap \\ too complicated\\ Date: Wed, 04 Dec 2024 17:40:25 +0100 Message-ID: <87h67jcsg6.fsf@gmail.com> References: <87plm7cu05.fsf@gmail.com> <48d40943-c50f-6cfe-21a5-b6ea8a9662c0@gmail.com> 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="32760"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Tatsu Takamaro Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 04 17:40:58 2024 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 1tIsQs-0008Qk-H7 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 04 Dec 2024 17:40:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIsQS-0003sL-Tm; Wed, 04 Dec 2024 11:40:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tIsQR-0003ru-Hx for help-gnu-emacs@gnu.org; Wed, 04 Dec 2024 11:40:31 -0500 Original-Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIsQQ-0003c2-6o for help-gnu-emacs@gnu.org; Wed, 04 Dec 2024 11:40:31 -0500 Original-Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-434a852bb6eso64629695e9.3 for ; Wed, 04 Dec 2024 08:40:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733330427; x=1733935227; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=aC5HiIh9k8YVzlmpplwRVl/3WanGyXwDaKHyan8UUKo=; b=SsF3L3e4FNnIdlhibrk8IlLJFjaz01JPzSCM0n3ZbsRFOXAxswultRIAgL3azClCOh 4QBOwT5KfawbMEL+YVuRAdlMSux4HjclZF5FSiGqqea+UWvn8ananUQmaiqvkUH/dHmC 36GTF2X6uZAmpX85l9TVtsAlMtR2T5TTGNv0qrGi3A4qLNmC06KqcAloIzFG1bHeK76y qSQN08oeeeffRCQUEjbMmhrc2z19jdr/bjUAGhaBjcEHx/GKZfADpiJ2XRYXWzNyiyR8 rnvepSJuHYBmdgcKp0wslxhI3A3Oo6cabddDapLb1INZtWLmJsWH9DOqvuUsMVvy4nQu xhQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733330427; x=1733935227; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aC5HiIh9k8YVzlmpplwRVl/3WanGyXwDaKHyan8UUKo=; b=C0lqhmGnE9ppsyetUQhc2VXiuDB5tdgniGCa2PdGUYFqgbp9ZOZqryIWiZn08/DKxX b8tNtFMy4EZNLnYPKUu65anPOFxSxUwKr7rgO9cAyNYEBDatpPtJ3XqQaSBWrsfCN9tu DcZCDEkiW59T90eAhjinNqF1/4haSmed4zm2qL1JQTH0WsTEJBd8Ul67LI5mxNBbUwhl nEM/r1pPEiW0ImopZG+fRtXyT6+ELOTdQK4+aHg5ib5whsDRNT46bYkrP3JI4/72db8k qSm0T0zXY9MH9qXsQmues3ca9dHfjk5JKCvZjct2/EmvS8umakaWw7ifAuSzb77uLpzd zM2Q== X-Gm-Message-State: AOJu0YwcjQeUA7VO9Nr5LMA3KRzFyuXyV6YrIklKOlvQPKOTSR+wICXS 2TcynvuLoqbBgKrivEeikpNJPqBn7Da6rl30vAsHHqqEikrVePxbwLQn+A== X-Gm-Gg: ASbGnctKXQlrfdujFXXkqhGpTY88zVBuVVfxIH0IUdIx/O7yz7j4QWThc+IEDBnp6Qf SmqfNYB2W1zW2bVoazXrbMHMkKVqeYlXNwT6SESVwJ14yjmJt2Hcgu8zVkcp3uwg3k8hMdiLsBl aei3lz6i8Ni9gXMhKWPGRT6A/luCYIdwDYSXYe+nXzDk17RMQSL5EdRd8jmDKJ8QZccI9+rw9Qi cv7WdHMEkp0Z6ses5FOnMbC85397PqwqoJAKw== X-Google-Smtp-Source: AGHT+IEQDZEApEC/AdsmVeJ9leO11tlOKFKVao+3GJAnfG6QL4dJ1gWITWXoxLlqR5asKt9sHv7KIg== X-Received: by 2002:a05:6000:1a88:b0:385:df5d:622c with SMTP id ffacd0b85a97d-385fd3ed8c4mr5284923f8f.30.1733330427026; Wed, 04 Dec 2024 08:40:27 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb51:b3e6:15b0:9869:5220]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-385ccd3a5f7sm18734092f8f.54.2024.12.04.08.40.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2024 08:40:26 -0800 (PST) In-Reply-To: <48d40943-c50f-6cfe-21a5-b6ea8a9662c0@gmail.com> (Tatsu Takamaro's message of "Wed, 4 Dec 2024 19:37:11 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32e.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.29 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148603 Archived-At: >>>>> On Wed, 4 Dec 2024 19:37:11 +0300, Tatsu Takamaro said: Tatsu> Thank you! OK, so once again, am I right that if I just want to = set my Tatsu> own key bindings (not changing all of them, but just some), then= it's Tatsu> better to just use keymap-global-set (anticipated by Tatsu> keymap-global-unset)? And I may don't care about touching and ch= anging Tatsu> the default settings? Yes. Tatsu> And can I be sure that everything is all right when I change the Tatsu> global keymap, won't I be necessarily have to reinstall Emacs Tatsu> everytime I do something wrong (if I do...) with the global key Tatsu> assignment? Tatsu> Is it just a matter of the ".emacs" file, and all wiil turn righ= t if I Tatsu> just zeroize the ".emacs" settings? Right. You can always move the .emacs file out of the way, or start emacs with the "-Q" flag, which will prevent it from loading .emacs Tatsu> And if so, I can just have my own settings inside of the ".emacs" Tatsu> file, and if I go to another computer I can just bring my ".emac= s" Tatsu> file with me and it will work the way I want? And so it means I = don't Tatsu> need a separate keymap file, do I? Exactly. I=CA=BCve been carrying my .emacs around for decades over dozens of machines. Robert --=20