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

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

Re: execute defun on reception of signal


From: Emanuel Berg
Subject: Re: execute defun on reception of signal
Date: Tue, 14 Jul 2015 03:43:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com>
writes:

>> Try my 'cid' tool - it searches the RFCs, the man
>> pages, and the jargon file - and ranks results
>> neatly :)
>
> Do you have a tool that searches brains ...

I do, or once had I should say, because once while
under the influence I recklessly applied it to my own
brain, and alas, the tool instantly overheated and
disintegrated due to the vast amount of razor-sharp
data and active processes... But before that it
managed to transmit a video to get me a clue what is
going on:

    https://youtube.com/watch?v=4T0T_LBOhus

Anyway, I updated my cid tool [1] so that in includes
the Emacs documentation in /usr/share/info/emacs-24 -
applied to this problem, here is the output:

  $ cid usr1
  4   emacs     /usr/share/info/emacs-24/elisp.info
  2   manpage   /usr/share/man/man3/Log::Log4perl::FAQ.3pm
  2   manpage   /usr/share/man/man1/dd.1
  1   manpage   /usr/share/man/man8/smartd.8
  1   manpage   /usr/share/man/man8/rsyslogd.8
  1   manpage   /usr/share/man/man8/openvpn.8
  1   manpage   /usr/share/man/man8/mount.fuse.8
  1   manpage   /usr/share/man/man8/fwlogwatch.8
  1   manpage   /usr/share/man/man3/pthread_sigmask.3
  1   manpage   /usr/share/man/man1/rlwrap.1
  1   manpage   /usr/share/man/man1/procmail.1
  1   manpage   /usr/share/man/man1/parallel.1
  1   manpage   /usr/share/man/man1/dash.1
  1   manpage   /usr/share/man/man1/busybox.1

As seen, it points to the right place (the number one
hit), however the one-file approach of elisp.info
(75671 lines) makes the tool better suited for the
manpages (granted, some of which are long as well).
But once in the right file, you are just a couple
(max 4) searches away from what you look for. So it is
pretty good actually.

[1] http://user.it.uu.se/~embe8573/conf/.zsh/cid

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

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