help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how can I make a reference card like the Emacs reference card


From: Eduardo Ochs
Subject: Re: how can I make a reference card like the Emacs reference card
Date: Sun, 11 Dec 2022 02:34:15 -0300

On Sun, 11 Dec 2022 at 02:01, Jean Louis <bugs@gnu.support> wrote:
>
> * Eduardo Ochs <eduardoochs@gmail.com> [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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]