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: Setting keybinding for org-support-shift-select t Date: Sun, 4 Oct 2020 14:14:11 +0200 Message-ID: References: <878scmi5sc.fsf@ebih.ebihd> 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="19901"; 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 Sun Oct 04 14:18:07 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 1kP2xq-00053n-Cg for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Oct 2020 14:18:06 +0200 Original-Received: from localhost ([::1]:52806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kP2xp-0001zA-4O for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Oct 2020 08:18:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP2uA-0001yz-JH for help-gnu-emacs@gnu.org; Sun, 04 Oct 2020 08:14:18 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:39535) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP2u8-0001sH-71 for help-gnu-emacs@gnu.org; Sun, 04 Oct 2020 08:14:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1601813651; bh=e5yZIa2PET761v51794Xpjd57E/Dsv+wiNjdSczfu30=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=H5PmXT/qCMMWz2RvIckN3pqo+Q4l2p7zipHjaY1jH/ZL54QANBQIvgRLrF6LtPfkt xynn+GS8712HlV1U5bZhb5RANEDDxIXwip4IDUlyE+bsLj/lZgNDxHoxFCbta7mdMC cOz2L6nlxL1gK+T8hrdIXnhyZmuaJArp9vC9iq5E= 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-bs04.server.lan [172.19.170.170]) (via HTTP); Sun, 4 Oct 2020 14:14:11 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <878scmi5sc.fsf@ebih.ebihd> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:X/RlsHWcjVv6RYQX6Nyi9DYxDA209W2a2mXjdf/eDlxrhDKsZBWz1FGAarXI2jXGVr2lq zs7sOpD76PkldVGE8IJ9eX3+gFJUIkACzonpdprxBhbUOCRLt2gtVM050fN9ENPwwlu5UksVaurj IurLz79xusOCyJAuCIQUHTA9Xob9bOaWkVizeUD/nhM5Hg7pRu8LCMHyErd1ca807/jWHMm7mUos X2xMFvlOa7sqtusKdE/O208sr5FBw9pRldqt2rly3vMT3cawzzNSrDjlyPvYck+J9675hztSw8n9 PQ= X-UI-Out-Filterresults: notjunk:1;V03:K0:rWlN3/cAdMo=:wOv8yS394whXSCQeGDgh7W 8rLR+EUMG4nDpCbkXubXKPz+B4ZWmqy8BeeZl6LLgqA5vhaaP39n/f91vVQKm8zUgyd6Uprnu 7sRgX+OyCfNp8MvnBNfA+ccdsagubDhUnhwKmKJIJm7VubRyrw2P0c8iDb3CEoG8CEr73r/Nz IXE5Wl+Wg47sA+3FemDWwp6XO2zeg4qppGLG/2QnHGcEFsbjs1DwXsJAy8FEEPRy56MULOU5S I63XLFqbS2KGejmvPG294wTqZGh5be4g19LoUh+D9G/f5AbSpW0bCA5tmqwzIsxLNBdUoswgQ DJe7qrPQiZP92GJA+Z/R+oSOUipXjoW6uICwjW/Czq7SNEx5eNh1xc+wwCpqGE9qDC9h99FPu M/LRXHMOz08jrL48TGplLFCeRzQ0L1Y3TOZkAApk46zcidXSNbm6Zw5UpLCmrNyGSlGLjlaAO MuDGJFSa35OgTbCTjZ2NGXSjMI41RKAhjvOokszYAERnP3aOKkY95QrMBdTS0XsvDilqefUwy CPNuzXCqwlQOQkwgHZ2A89CKK6+x2HFGByDqtojJFOB2DMektAPwEbEWxY7q90vgF+08hFFcJ KkraBql90qzS0ZuICrWTM27kRisAA5bgfHVVRGtHTw2ZGixEtWIN3MEh/5NITXiTBtR9Fy32w 4kFCw/cWhJSyqN6N1NGrqLEJo3mxVfm3piNlf1lFvVd9I9vJ2E3eJ9xfWWDoiaCGow9k= Received-SPF: pass client-ip=212.227.15.19; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/04 08:14:12 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] 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:124274 Archived-At: Very neat. I like it. Regards C* > Sent: Sunday, October 04, 2020 at 12:34 PM > From: "Emanuel Berg via Users list for the GNU Emacs text editor" > To: help-gnu-emacs@gnu.org > Subject: Re: Setting keybinding for org-support-shift-select t > > Christopher Dimech wrote: > > > How can I construct a keybinding to set > > > > org-support-shift-select t > > Well, here's a "straight"forward way do it: > > (require 'org) > (define-key org-mode-map "\M-]" > (lambda () > (interactive) > (let ((vals (list nil t 'always))) > (nconc vals vals) > (setq org-support-shift-select > (cadr (member org-support-shift-select vals)) )))) > > :) > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > >