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 18:19:58 +0200 Message-ID: References: <87d01yi6ad.fsf@ebih.ebihd> <87y2kmgqi7.fsf@ebih.ebihd> <87ft6ugqcp.fsf@ebih.ebihd> <20201004124018.GA292110@scrozzle> <87r1qeavax.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="34715"; 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 18:23:46 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 1kP6na-0008wk-Ok for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Oct 2020 18:23:46 +0200 Original-Received: from localhost ([::1]:57202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kP6nZ-0006rv-JO for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Oct 2020 12:23:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP6k0-0006rn-MT for help-gnu-emacs@gnu.org; Sun, 04 Oct 2020 12:20:04 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:44949) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP6jx-0004dP-Ag for help-gnu-emacs@gnu.org; Sun, 04 Oct 2020 12:20:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1601828398; bh=A1lG0VNqUlEeAy/DTkjSFHt4NBlM6K8T2dTNIZBGl9E=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Id9+ced07MzRtQstq4GqeShFXBNPyu8mOM+cDBXyLWuLv0S873WOic9gekW8+K17T uXz688cTtFxno0ovR3PWlqQeRxLepXoeWMS07uDBSsd8vjX5GCqom8lbm5oclHL9aD 9I17sGBIz5dDQ6LUqSQGqhCH21oFk1TXNgkC3bzQ= 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 18:19:58 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87r1qeavax.fsf@ebih.ebihd> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:gxFcbeL1FTy+fAixWRGaHVjCeyP38UNOcBYgMvsMTnwAWQtOkYpTDvw3xAh8xIraTJDeC 9mLtl911+WkRYZxFGF96r8ZMplt6eEIjj+G7gx/Z/HcOzU8YGrxjxzJpQgQ18EWhUd6cXoSkdO2d EabgE29XhxeEs/AckcT3sFS/hYWGL12/20cQvy+lXVs8kq9YBZDGb4PuRJq1x9P8Lqr0+oB/vF5N OYE9cROpSy93mFaEAI6vAD8+jWKoQTbisv+rU/2nscI9F7X8YnJi/P/uMT1/7lzKxIM4kKNjBgUq hk= X-UI-Out-Filterresults: notjunk:1;V03:K0:pGHOZDGvajU=:M9Vm7Bbo+MkVhdaRnC8bY+ fMBVlqlPQrYdvrA/gTQdXx1YQ03J9DqrifZTMP0HR8EEnvKq/qErtbRKHDge5aftl49IY/2Ya +DnvBKpt8szLws+C3692Wkb+2oAZaiKbhjc6W6qjmtralGJuDRY23WJcxgqYKOvKuIOXfWTCu kH69EHe0W2QhNbboK/CLfTqpU6jQurvx2nAtjLNcuiCN4bIp32o5d/HE/RFBaVM2JeK1ynG3F lZJqvJI5uL2H084VnGfzq7CX5zzaWn9FllNhLnGwjwu6KK5hwM+2BLA0FG0gR0TXZRwJiJcIi 0lc/jcj+reqcz01h6BphNYqSS/DNg2bAvhI/8wjFpN95oPCWBl6madiTySK7PdLISBnRARgfU 06772dGmXBqhK7SjApr/EaXecpgnXG/Tdr3aITypX74iBtz3tZBs5DvnEeerxoZLkRRy9ZZw/ RIH7hH71n0clxGHgUiR8CFOL47Q7nlkQ/nvANdFe4ti8wvYXtv+HSUo7N2vvH5co3H7PVWg5J 5qaUZueO1L0TlLjiniAbF0PP67h/62cQcFXy1heUfJaMHch2FdyN+KU9kImegw7h5dgBl48DG 72PWiF/pEGgwzMmj7IQUYLnFopyZu+QsotwGt2ErWXBOClvTWXfFTKKBptW+vFikiyLgRa76m 4i3qNXO0gD17SHpf8LYZ8sOIoFjJBeNfVxFAxAoqaaaA+8A== Received-SPF: pass client-ip=212.227.17.20; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/04 12:19:59 X-ACL-Warn: Detected OS = Linux 3.11 and newer 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:124284 Archived-At: That's great, but if I want to fire my own function, I have used the following to bind it to " q". But what if I want to use " myagendaa" to fire the function myagenda ( defun myagendaa () (interactive) (org-agenda) ) (global-set-key (kbd " q") 'myagenda) > Sent: Sunday, October 04, 2020 at 4:02 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: > > > Let's try to do a simple thing [...] > > > > How can I use " agenda" to fire org-agenda. > > (require 'org) > > (defalias 'agenda #'org-agenda) > > (global-set-key [f1] #'execute-extended-command) > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > >