From: Eduardo Ochs <eduardoochs@gmail.com>
To: Tomas Hlavaty <tom@logand.com>
Cc: Tomas Nordin <tomasn@posteo.net>,
help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: finding stuff
Date: Fri, 26 Feb 2021 23:57:01 -0300 [thread overview]
Message-ID: <CADs++6iqewzCBhX7UxRdExPxz5+Lv-OXgDkBtvH0OVE=YKu_cQ@mail.gmail.com> (raw)
In-Reply-To: <87v9ae71th.fsf@logand.com>
On Fri, 26 Feb 2021 at 22:10, Tomas Hlavaty <tom@logand.com> wrote:
>
> On Sun 24 Jan 2021 at 11:58, Tomas Nordin <tomasn@posteo.net> wrote:
> > Did you try 'C-u C-h d'? Or set the variable apropos-do-all to
> > non-nil? That should yeild a more extensive search.
>
> Thanks Tomas, this helped!
>
> - There is an example in no-byte-compile directly shown in the results.
>
> - I discovered ps-begin-cut-regexp and ps-end-cut-regexp related to the
> thing I was doing.
>
> People suggested many ways of finding different things. I can not
> remember them all and know in each context which one to choose.
>
> grep through emacs sources seems to give me fastest way of finding
> stuff. It is not perfect but I don't have to remember anything.
>
> (grep "grep -r -nH --color -i -e 'local variables:' ~/mr/emacs")
>
> or
>
> (grep "rg -nH --no-heading -i 'local variables:' ~/mr/emacs")
>
> This topic also led me to discover eev, which I find amazing.
>
> Thanks to all for suggestions!
Hey! Thanks for the mention to eev!!! =)
I just realized that there was something missing in eev, and I fixed
that and commited the fix to the git repository... here is a quick
explanation. When eev-mode is active the key sequence `M-h M-h' runs
`find-here-links', that generates a temporary buffer with "links to
here", as explained in:
http://angg.twu.net/eev-intros/find-here-links-intro.html
http://angg.twu.net/2020-find-here-links.html
Now, after the fix, typing `M-h M-h' on a grep buffer generates a
temporary buffer whose last lines are something like this:
(let ((default-directory "~/bigsrc/emacs27/lisp/"))
(grep "grep --color -niH --null -e 'local variables:' *.el")
)
this a (3-line) elisp hyperlink that doesn't need eev to run, and that
should make sense to non-eev users... and they should find the
directory part trivial to adapt.
Cheers, thanks, and apologies for the shameless plug =),
Eduardo Ochs
http://angg.twu.net/#eev
http://angg.twu.net/emacsconf2020.html
next prev parent reply other threads:[~2021-02-27 2:57 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-24 2:33 finding stuff Tomas Hlavaty
2021-01-24 5:33 ` Bob Newell
2021-01-24 7:22 ` Jean Louis
2021-01-24 11:09 ` Tomas Nordin
2021-01-24 7:13 ` Jean Louis
2021-01-24 16:26 ` John Yates
2021-01-25 16:31 ` [External] : " Drew Adams
2021-01-25 17:02 ` Eli Zaretskii
2021-01-25 17:37 ` Bob Newell
2021-01-25 19:39 ` John Yates
2021-01-25 20:59 ` Stefan Monnier
2021-01-26 10:33 ` Robert Pluim
2021-01-26 21:09 ` Drew Adams
2021-01-26 1:38 ` moasenwood--- via Users list for the GNU Emacs text editor
2021-01-26 21:06 ` Bob Newell
2021-01-26 5:21 ` Drew Adams
2021-01-26 5:45 ` moasenwood--- via Users list for the GNU Emacs text editor
2021-01-26 21:09 ` Drew Adams
2021-01-26 22:16 ` John Yates
2021-01-26 23:28 ` Drew Adams
2021-01-27 6:29 ` moasenwood--- via Users list for the GNU Emacs text editor
2021-01-26 15:02 ` Eli Zaretskii
2021-01-26 21:17 ` Drew Adams
2021-01-27 6:39 ` moasenwood--- via Users list for the GNU Emacs text editor
2021-01-27 6:43 ` moasenwood--- via Users list for the GNU Emacs text editor
2021-01-27 18:43 ` Drew Adams
2021-01-27 18:59 ` moasenwood--- via Users list for the GNU Emacs text editor
2021-01-27 18:24 ` Drew Adams
2021-01-27 18:34 ` moasenwood--- via Users list for the GNU Emacs text editor
2021-01-26 1:58 ` Robert Thorpe
2021-01-26 14:49 ` John Yates
2021-01-27 11:33 ` doltes doltes
2021-01-24 9:18 ` Jude DaShiell
2021-01-24 10:58 ` Tomas Nordin
2021-02-27 1:10 ` Tomas Hlavaty
2021-02-27 2:57 ` Eduardo Ochs [this message]
2021-02-27 8:36 ` Tomas Hlavaty
2021-02-27 17:33 ` Eduardo Ochs
2021-02-27 23:25 ` Tomas Hlavaty
2021-02-27 23:28 ` Tomas Hlavaty
2021-02-28 6:20 ` Robert Thorpe
2021-02-28 7:39 ` Tomas Hlavaty
2021-02-28 7:55 ` Jean Louis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADs++6iqewzCBhX7UxRdExPxz5+Lv-OXgDkBtvH0OVE=YKu_cQ@mail.gmail.com' \
--to=eduardoochs@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=tom@logand.com \
--cc=tomasn@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.