|
From: | Emanuel Berg |
Subject: | Re: Breaking news: What did the IETF ever do for us? The *entire* list! |
Date: | Fri, 03 Apr 2015 00:56:02 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
"Pascal J. Bourguignon" <pjb@informatimago.com> writes: > Wrong. > > 1- it should be written in emacs lisp. 2- you should > search words using \< \> in regexp, to avoid finding > "isisCircLevelISPriority" when searching for > "elisp". > > Something like: > > (defvar *rfc-base-directory* "/data/doc/rfc/")q > > (defun search-rfc (word) (interactive "sRFC Search > Word: ") (find-grep (format "find %S -name \\*.txt > -exec grep -nHi %s {} \\;" (shell-quote-argument > *rfc-base-directory*) (shell-quote-argument (concat > "\\<" word "\\>"))))) Ha ha :) I'll try that in a minute. But "Emacs Lisp"? Aren't you the advocate of the "industrial strength Lisps" - Common Lisp, as the example was? -- underground experts united http://user.it.uu.se/~embe8573
[Prev in Thread] | Current Thread | [Next in Thread] |