emacs-devel
[Top][All Lists]
Advanced

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

Re: describe-char and unicode data


From: Kevin Rodgers
Subject: Re: describe-char and unicode data
Date: Thu, 22 May 2003 09:29:02 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

James H. Cloos Jr. wrote:

The load-search-kill paradigm is not one I've done in elisp; is there
any defun I should look at for a good example of how to do it right?


Here's an excerpt from woman.el:

                  ;; Parse the file -- if no MANPATH data ignore it:
                  (with-temp-buffer
                    (insert-file-contents file)
                    (while (re-search-forward
                            "^[ \t]*\\(MANDATORY_\\)?MANPATH[ \t]+\\(\\S-+\\)"
                            nil t)
                      (setq manpath (cons (match-string 2) manpath)))
                    manpath)


Also, would UnicodeData.txt (and UCD.html for the license text?) go
into emacs's etc dir?

If so, that directory name is available in Emacs Lisp via the data-directory

variable.

--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>






reply via email to

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