From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Samuel Banya" Newsgroups: gmane.emacs.help Subject: Question Regarding Creating A Random Buffer For Keybinding Reminders / Attempt To Do Via A Reminder Hydra Date: Sun, 17 Apr 2022 10:43:54 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24098"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.7.0-alpha0-387-g7ea99c4045-fm-20220413.002-g7ea99c40 To: "Emanuel Berg" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 17 16:44:46 2022 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 1ng68s-00067s-R1 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 17 Apr 2022 16:44:46 +0200 Original-Received: from localhost ([::1]:33240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ng68r-0005dw-Mk for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 17 Apr 2022 10:44:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ng68S-0005dX-Ic for help-gnu-emacs@gnu.org; Sun, 17 Apr 2022 10:44:20 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:51437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ng68P-0002VO-Vc for help-gnu-emacs@gnu.org; Sun, 17 Apr 2022 10:44:20 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 30CF65C0110 for ; Sun, 17 Apr 2022 10:44:16 -0400 (EDT) Original-Received: from imap50 ([10.202.2.100]) by compute5.internal (MEProxy); Sun, 17 Apr 2022 10:44:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t= 1650206656; x=1650293056; bh=pSDYpGaKkHTODu3tIrzU4RZor7s19Tb7vt8 oY54Jo9w=; b=apYuz9CBcApGEKDO4pBmorUHK7scQUBXdnHPD4IQl32U+puutfE gidPz72wqHnUteK8K8rqutlUUQ5vjS90m2h+DE+BpbtKiNNVgSJwTswF0pEtTX0x FxVUT0Yk5eppi6U3xnb29662b8Ylkwf4rpyqe34m5ADjRtr/XshBkVbY4OcitRcC 7pCHBDIF0xkpNUW9G3q7/9bkyiiIUYtOdztjh77v1Kw5kA3c3DpSalckRqeI/zwG zbzC0i3JynqltQ2S1gdNZ+4aYyBcjPseUxb3P2H0mjDVQyH+P95H2b9TUhmAQXPV GAhJVIcxSS37TXtXhyYX+bbShwQWjKfiQ7w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1650206656; x=1650293056; bh=pSDYpGaKkHTOD u3tIrzU4RZor7s19Tb7vt8oY54Jo9w=; b=Nn67XKFOphb/0hOXXyB5mU+4HxORr 8xBLd9KCsFQ8wjecxymWKoMGzoKZi160GMJR3mr2VU6wRzATVoAvoCrBUa+YjXYp 8/c84cDdoKfBw8EWvMJpCSJlTbYpUDdyws218ggmBYx20OzcLhc11EzoKrnbe8aT QbNWd8ORxZIgLoYOS7q6wMXNmI3MWS0c0Ey/bHqQcfdDuQTa2V9smSIdqQXvbgIT /37Pzu7ysE4+eK6iUD51AZ/19lwyKkrOD0nduaBw51UNETcGJnY/I8vqVp+ka7rL GisCM5m7o6VOok7x2KELH2yiOxXUouh4xzu7EHwM2+79EhpUR5S25sSEg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudelledgkedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsegrtderre erredtnecuhfhrohhmpedfufgrmhhuvghluceurghnhigrfdcuoehssggrnhihrgesfhgr shhtmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeelhedvueduudfhveduheetge fftdekgffgjeffhfethfdttdejvdetjeefteegffenucffohhmrghinhepughprghsthgv rdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgsrghnhigrsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id E40EE1920089; Sun, 17 Apr 2022 10:44:15 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Received-SPF: pass client-ip=66.111.4.26; envelope-from=sbanya@fastmail.com; helo=out2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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" Xref: news.gmane.io gmane.emacs.help:136932 Archived-At: Hey there, So I have several Hydras and other very config centric keybindings throughout my Emacs config, to the point where I often forget about these until I view them in my Org Mode based config. I tried to create a related Hydra as more of a 'reminder', but its now complaining since the actual keybindings aren't valid. Is there a better method of displaying a reminder for custom keybindings so that I can personally choose how I want to present the entire buffer with reminders? Here's what I have so far, but I've since commented it out because all I receive are warnings that the keybindings present aren't valid, which is understandable since the Hydra itself is looking for the user to actually hit the keybindings themselves, even though I'm only showing them to the user for reminder purposes: FROM CONFIG: #+begin_src emacs-lisp (defhydra hydra-remindkeys (:color pink :hint nil) " ^Keybindings^ ^^^^^^^^^^----------------------------- _C-M-z_: Enable 'evil' and 'evil-collection' for Vim keybindings _S-Return_: launch 'vterm' _C-x w_: launch 'ranger.el' _f12_: toggle full screen for Macbook workaround _C-=_: rotate buffers _f7 and S-f7_: start 'org-tree-slide-mode' for Org Mode based presentations, and stop them _f6_: insert YouTube video link, and return the YouTube video name into pasted buffer _C-x b_: enable iBuffer to check available buffers _C-x C-b_: enable 'helm-buffers-list' to check list of available buffers to switch to via a Helm Mode prompt _f2_: enable zoom-based Hydra to zoom in and out of available Emacs buffer _C-c a_: enable 'Org-Agenda' to view agenda of tasks _C-!_: enable color-theme based Hydra to change color themes on the fly _M-s_: jump to a specific word in a buffer with the 'avy-goto-word-0' function _M-l_: jump to a specific line in a buffer with the 'avy-goto-line' function _M-y_: view the copy and paste clipboard via 'popup-kill-ring' package _C-s_: search in a buffer with Counsel or Swiper via the 'counsel-grep-or-swiper' function _C-c q_: first mark a section of a buffer, and then enable this to see where the highlighted section appears next to edit all instances simultaneously _C-q_: enables 'expand-region' to expand a given region of text _C-c C-0_: enables multiple cursors with 'mc/edit-lines' function _C->_: while 'mc/edit-lines' is enabled, go to the next line _C-<_: while 'mc/edit-lines' is enabled, go to the previousline _C-c C-<_: while 'mc/edit-lines' is enabled, mark all of the lines that are like this _C-M-s-k_: kill all buffers with 'kill-all-buffers' function, useful for end-of-day buffer cleanup _C-c w l_: copy the entire line of text with 'copy-whole-line' function _C-x k_: kill the current buffer with the 'kill-current-buffer' function _s-e_: edit the buffer as the 'sudo' user with the 'sudo-edit' function _C-c w w_: kill an entire word with the 'kill-whole-word' function _C-$_: enable desktop based hydra to save, clear, or revert the current desktop of Emacs buffers via the 'hydra-desktop' hydra _C-c l_: enable lsp-mode for programming based auto-completion _