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 08:30:29 +0200 Message-ID: References: <83lf8x8wxw.fsf@gnu.org> <87h7jjmkvr.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="31857"; 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 08:31:58 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 1leB4g-0008A6-BQ for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 08:31:58 +0200 Original-Received: from localhost ([::1]:33652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leB4f-0002FT-7i for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 02:31:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leB3Q-0002Ei-8x for help-gnu-emacs@gnu.org; Wed, 05 May 2021 02:30:42 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:43807) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leB3L-0005V7-Rk for help-gnu-emacs@gnu.org; Wed, 05 May 2021 02:30:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620196229; bh=vTOK1nK9vJC3Y5oWBJMzu9SeBiTNOr2XtGN0uqkgJu0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=k5KbBdYvQFrLbQIeoB97r3u/kxwUPYkcdOFXzqMazz0iu17Z9tWNWRaeTO/lglqAg 3S64z0tF0HFJzUotcVtmRZ8LwSLSdc0zgBSVqdnhkc02uqZcSaWE3jSuWh/oCAeavB SI+/yyopBnZOc3NmgbULyp17hvMp8lPFv+AEQP+8= 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-bs02.server.lan [172.19.170.129]) (via HTTP); Wed, 5 May 2021 08:30:29 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87h7jjmkvr.fsf@zoho.eu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:Y3LbqK0mbUmDeriZRaufiTrDUuKK1dNwsbFEa2WKjTmy0wbrbtfC4EbjofCi8hl/AKV0i JGGajD08ZQ3DTH3t4gxhZin/zOA17eLMqqesPrgJMncb2fvw9jCLX7csRLnt81K3Ky+6g4EtCpf1 FvWn073Oc6a5uCVlyS7I3UfQNO0/IIyl8RdMqwCKTJgz/Ti1n+7BKVNZQM5ZnrK56G5FF8bnbKbn 0b2Rsvry25T7KsIRFnuBVKClQuFPpkoG05BhvNbgrN+T8cN5n8taZFeobfxmmgFs6kZoZFR3MCab Hw= X-UI-Out-Filterresults: notjunk:1;V03:K0:oaYLNBAppbU=:y1s7416lqrozi77wP86dZF vwTapPxBbWj9k8gelhxtp/DaEm8yHkSp9Z1UhlR5iRYvwz52x5ln24a88frLd1aYBwbdNH3qy gzUYGkrZ0bRkGwPTSoS66kYL+Y0Df4lCR/KHTofiWwUneObFFcYeKCi3fDrX8hY4BFNWkAPMm AY8PlQzm9UH3KTZsqZpr2OFY1fOwDc8aZpSDqoTEF8VuCnMJfdzYR/Qdy3XlCBkYONnAhk7ym G+ztq3gxu3BnoT3yHh5MPqNtL5Es0f3Ef+IzESKej7sIkrKnwJ3rSoV+Uwxr3iztg+0kY8Quu S0Jv3b8tn3BhNPejQ0L+mHhYPuHl0pqOt5dvZW24Iepfs1a53YAzgeGdcZvZkABs8527U3F2m zkiG/a6Nq7BR/M3SDL/owQrOwk0HjdiiC0LqIN9Oaq7/Bq56kxgm1VwYFLDjz3Ew7uJePwYa3 I4fq5dBPYuUfdz4P2rO3Sc+9wUqNLfZIorIebOgGlDXbakuZFQcmupyMw2s3R5ALec8ymBYYe MNNLlbgEOQkBKKl3u6RKgqQvNzgP1nK5H9aSpMHP3EfbmoKf4DTmQkt6lohLun5kQkgf3TL9U RUs6g9zT+/cQdUT2eSUSfq58p+lFDGw8HDwiF9h9qS/AvLohM6EdX2sxEo8Z8BsTbxQB49abw g1Omg1TsIG2/6bchR8+f24Pr12vkIazwijtIeTsNPa4h2rsuUFFTeuMVNx+7Ks5I95fnbGKg1 FHDvotrSVHaxilIm/51UNgsAOibzCS1ZiQYSt50fbWMAnkQoNUx/SYSM3hKo4vZh0g2u/4Q/ Received-SPF: pass client-ip=212.227.17.21; envelope-from=dimech@gmx.com; helo=mout.gmx.net 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:129445 Archived-At: > Sent: Tuesday, May 04, 2021 at 11:56 AM > 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 > > michael-franzese 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 > The first line doesn't do anything as you bind the same key to > something else the second line. > > You can add a hash before function names, like this: > #'text-scale-decrease Was not aware one can use #' with emacs code, but only with user defined c= ode. > -- > underground experts united > https://dataswamp.org/~incal > > >