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: Re: Reset C-, only for the org-mode case Date: Wed, 5 May 2021 10:31:19 +0200 Message-ID: References: <83lf8x8wxw.fsf@gnu.org> <87h7jjmkvr.fsf@zoho.eu> <87y2ctbsa9.fsf@zoho.eu> 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="33762"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: moasenwood@zoho.eu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 05 10:37:09 2021 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 1leD1o-0008cQ-Hh for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 10:37:08 +0200 Original-Received: from localhost ([::1]:42036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leD1n-0001dz-Jv for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 04:37:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leCwH-0006VH-1E for help-gnu-emacs@gnu.org; Wed, 05 May 2021 04:31:25 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:59523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leCwE-0000Yg-F0 for help-gnu-emacs@gnu.org; Wed, 05 May 2021 04:31:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620203480; bh=hJ/E8JsF0dxzz+EK+YK2o2pseALK7PETMqpu2EusWRg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=UQqjjTeLvCy673R25WUeKQoatVBhWY12DCno7RkLJU1AudYd4hD8FmHbZB/rY8orS 1WtBDGdRP5IZrZgDoTmBXjhEqtsO2MsZombifHulF383rbgv1mpoe8j0nYyifuvNkr Dx8VDEIIBMzrDUV7wQZ3C07sfBxxIlt2QkMQqI/A= 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, 5 May 2021 10:31:19 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87y2ctbsa9.fsf@zoho.eu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:E9tq0MAFIRCpRJ4Uv/x9t+QXyc871cvkn3XJwWcIf/TVm1qHok7L8UIcJBzA+/1DC2n17 NSUYUnP1BA0KYW6PyjNnoDjNxRtsPmrWa66LFXeEd9RXj0qtW60z/Xurm2otqonr0unODG9DVWW1 3BK+lASEJ18dYE1m4cGQFj398x8WjqVZjZqw/zo+FRMexcgAgUDCtWWx10c2naZJsJuhCdssg/pT 3KvfDv74CNOqfQ//6TbdVOmINR1NVPIZxB7Ba1LYj/wmwAbLEgR0qVqXZl/kSz+cGURvd1SBOfEF Jg= X-UI-Out-Filterresults: notjunk:1;V03:K0:kK7bcWN5am8=:SQtJTiYRRSNG6lx7vjBbq/ p6tbXLCU2+4S6K/F9VENfMjE7SbSsbMbpm5QO5tRveYLMwPxG3IH60SR22hqaeTZhE1xcFXNA BuTRcbozgNUOz8hux+evSGE5+Y3HD70gYzgt25L5sgsy/KrfbUaQh0TA5a0/PKEXgrnrqtxK4 DWvPxLLm8ShadmQkVUYUDYW1djCP+0Ne+w3Ml1myf/uYDcX3NpM8VqxU+zz10fjLVoAMgatRM +G8x312ivut+hts1K8poYH5xa9dXbxDuu63J9fIBdqy5F37iBaKSHW4wAaz3aPxktdnZ88nYw oeLdN4YcIkH9gb+jbITmhGBJNdeC5stgy9TxixVgbTTl1G2nnzrdYNPrcjabII/d28xWgARG4 J59WWdzISBOZLUV1d+EKOYi0pq7Ywcoiefj96czWXPkc/pPDKA8L8sSOgWUpfMsOugIxm66cR qMMr9RZNZYPq4GoGdoF96EfOtzi067vY2fLSN98mhvhTTQgTyyXkHMqbYYdJA5aeXTvyVPFNL JT0XnY/zxuurPPyHm9i6igq//wBdW+yI5FaQzj/qt5UCkwvbVjhmLVjwHaqG8m4QaWHX6NUJ6 kITzM8UhkrFVBf1aUAigeZbsApl40ZZYSl3B6u3lz2GlsEc8RR15MbC/8xkYhJnvMMZM/ljEd wBQzewHMoiusEUBJ3DeQBFNSRDwxg/lSV2By8zttKn3pyWRCSSDx8bT8pLo63lzsVj6o92Auz Eq2dl6eFN5x5q0qyI2jfipkVEIj3Hwbs0i51TD+V/rRxdaRESnpBP2ho3dPEcroHwQeOBr2z Received-SPF: pass client-ip=212.227.15.15; envelope-from=dimech@gmx.com; helo=mout.gmx.net 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:129452 Archived-At: =2D-------------------- Christopher Dimech General Administrator - Naiad Informatics - GNU Project (Geocomputation) - Geophysical Simulation - Geological Subsurface Mapping - Disaster Preparedness and Mitigation - Natural Resource Exploration and Production - Free Software Advocacy > Sent: Wednesday, May 05, 2021 at 6:37 PM > From: "Emanuel Berg via Users list for the GNU Emacs text editor" > To: help-gnu-emacs@gnu.org > Subject: Re: Reset C-, only for the org-mode case > > Christopher Dimech wrote: > > >>> Is it good enough? > >>> > >>> (define-key org-mode-map (kbd "C-,") 'undefined) > >>> (define-key org-mode-map (kbd "C-,") 'text-scale-decrease) > > > > "C-," in already bound in org-mode > > Doesn't matter, you don't have to bind it to `undefined' > first :) So it is a bit different than with the usual "unset-key" or "set-key" to nil. (global-set-key (kbd "C-e") nil) (global-unset-key (kbd "C-e")) > > Was not aware one can use #' with emacs code, but only with > > user defined code. > > Oh no, it is the same code, the part of Emacs that is Lisp, > that's the same Lisp. > > -- > underground experts united > https://dataswamp.org/~incal > > >