From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eduardo Ochs Newsgroups: gmane.emacs.help Subject: Re: how can I make a reference card like the Emacs reference card Date: Sun, 11 Dec 2022 02:34:15 -0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11911"; mail-complaints-to="usenet@ciao.gmane.io" To: Eduardo Ochs , Gottfried , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 11 06:35:07 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 1p4EzS-0002pH-HE for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 11 Dec 2022 06:35:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4Eyv-0005H1-FB; Sun, 11 Dec 2022 00:34:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4Eyu-0005Gn-IF for help-gnu-emacs@gnu.org; Sun, 11 Dec 2022 00:34:32 -0500 Original-Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4Eys-0006Yv-9k for help-gnu-emacs@gnu.org; Sun, 11 Dec 2022 00:34:32 -0500 Original-Received: by mail-io1-xd2e.google.com with SMTP id q190so4184697iod.10 for ; Sat, 10 Dec 2022 21:34:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=QvhH86c+0/rO9gd+rDexSvao4VeDSauLWSJnn2/Apk8=; b=fJwBDHTW2oWaJ5QoL8aR2W3VPDx0wgyLs4xzza44egTb9OgRMRxEwOleOAV4s3fa7z BmwDIthOtbc8zny3T27Wy6lJmiOzuZ3vlINryxQRRQoudmVC2qnvzPfko6q6J4R5JPPl rEmSdYUS7YBpKWLKanEl8Dv1LheNzE1SvsOU2SuFZNnIYo0xllImJ0T7mS9756/7+9E4 HxuUDgsbCA2KZuWvsNdaB7Gmp60dulb201MakbV9aIuKzCr8R4/H6eW6EW5iisdyODlF 6XjVwq2sNx7IvCgzgIc0ZACggOk2p2Uun4rjIVrAYDnNIlCgxIZ0Eth/U71CMIkOtnfP eH6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QvhH86c+0/rO9gd+rDexSvao4VeDSauLWSJnn2/Apk8=; b=IZ3OUc7fjcFMREomDUlBBKEHzmxVqzUUAOVvD8JGtuguBN7TlWgMR/UuhktYMGE3mH TQcBMSHuM+0cN392fefIWfJ5RhC96VSa9Gx8VzyvWC9fI3fmo9hY4LUnWO/E8SlNrHD6 maxLmNcfBRwJHp8sIeT91AdEEOKVotwGvBojOtD/JVcI1pM7zS8XNo5ZmnNnea4sgAn4 7O7piR9jobVdg6aeQyqep9KGQqZ1ee9NjYUBGUxOs506zB7gw04iVsj9Auvh6+ZH2UXc JjPQy+EPa9oAW4XY9onsdr1ZG68N7oI0vWw/EcpBRCrSGKdK3uoNk7FunJclBjN0nf09 Ypcw== X-Gm-Message-State: ANoB5plJjcJwUo4XmYBL9H608uUrljiJkw6uxatubfMdCJx4yz4NPkvB fGm1AWoHR/Ctr3JuS+XnpBkjlCrbr+92+00vbB8= X-Google-Smtp-Source: AA0mqf59MLFyOa3S/Kz9kAB3AGfnPk/VbIwPZYt6rf6XF9CNw19WrOEI65ZEKwsQz+EQwgfKKkw5Fcu+rld1V8i4/m4= X-Received: by 2002:a5d:80ce:0:b0:6de:c30c:4d49 with SMTP id h14-20020a5d80ce000000b006dec30c4d49mr35898019ior.83.1670736867998; Sat, 10 Dec 2022 21:34:27 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::d2e; envelope-from=eduardoochs@gmail.com; helo=mail-io1-xd2e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, 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.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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141624 Archived-At: On Sun, 11 Dec 2022 at 02:01, Jean Louis wrote: > > * Eduardo Ochs [2022-12-11 03:22]: > > If you "install" and "load" eev in the sense explained in this section, > > > > http://angg.twu.net/eev-intros/find-eev-install-intro.html#0 > > > > then this defun > > > > (defun r () (interactive) (find-2a nil '(find-fline "~/REFCARD"))) > > > > would make `M-x r' behave as "split the frame into a left half and a > > right half, and display the file "~/REFCARD" on the window at the > > right" - and this will work even when eev-mode is off. > > I have just got idea that REFCARD could be automatically for the > corresponding mode. Here: (defun r () (interactive) (find-2a nil '(find-fline "~/REFCARD"))) (defun o () (interactive) (find-2a nil '(find-fline "~/REFCARD.org"))) (defun m () (interactive) (find-2a nil '(find-fline (format "~/REFCARD.%s" major-mode)))) Cheers =), Eduardo http://angg.twu.net/eev-videos.html