bug-gnu-utils
[Top][All Lists]
Advanced

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

mkid not supporting elisp?


From: Mathias Dahl
Subject: mkid not supporting elisp?
Date: Mon, 26 Dec 2005 17:01:50 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

I just downloaded and installed the latest id-utils
(http://ftp.gnu.org/gnu/id-utils/id-utils-4.0.tar.gz).

In the included id-lang.map, elisp is listed, like this:

*.el                    elisp

Even so, both `mkid' and `xtokid' seems to ignore all my .el
files:

 $ xtokid session.el
 $

No output :(

address@hidden site-lisp]$ mkid session.el
mkid: nothing to do

:(

I created my own map file where I changed the language for .el files:

*.el                    text

I tried it out by specifying my own map file:

 $ xtokid --lang-map=/home/mathias/my-id-lang.map session.el

 $ xtokid --lang-map=/home/mathias/my-id-lang.map session.el | head
session
el
use
variables
...

Finally some output! Seems the pattern is correct but that there is no
scanner/language for elisp files. Right? Using the text scanner for
elisp files does not work very well.

Here's an example:

 $ mkid --lang-map=/home/mathias/my-id-lang.map session.el

 $ lid -R grep match
session.el:80:      (let ((ignore (if (string-match "XEmacs" emacs-version) 
:EMACS :XEMACS))
...

 $ lid -R grep string-match

No output.

Does mkid have support for elisp or not? If not, I would consider it a
bug that .el files by default are set to use the non-existing elisp
language.

Thanks!

/Mathias




reply via email to

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