|
From: | Daiki Ueno |
Subject: | Re: Patch: Show signature state in encrypted messages using pgg |
Date: | Sun, 12 Nov 2006 23:42:14 +0900 |
User-agent: | T-gnus/6.17.2 (based on No Gnus v0.2) EMIKO/1.14.1 (Choanoflagellata) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 EasyPG/0.0.7 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i686-pc-linux) |
>>>>> In <address@hidden> >>>>> Sascha Wilde <address@hidden> wrote: > Daiki Ueno <address@hidden> wrote: > >>>>>> In <address@hidden> > >>>>>> Sascha Wilde <address@hidden> wrote: > >> (string= "OK" (subseq ( ... ) 0 2)) > > > >> work for XEmacs? > > > > Now, `subseq' is a cl function. > mm-uu.el requires cl anyway, so why not use it? s/anyway/when compiling/ $ cat > test.el <<End (eval-when-compile (require 'cl)) (defun foo (s) (subseq s 0 1)) End $ emacs -Q -batch -f batch-byte-compile test.el $ emacs -l test.elc (foo "test")^J Debugger entered--Lisp error: (void-function subseq) subseq("test" 0 1) > > ;; I would like `equal' in this situation rather than `string='. > Just out of curiosity, why? Because these are identical and `equal' has shorter name than `string='. -- Daiki Ueno
[Prev in Thread] | Current Thread | [Next in Thread] |