Path: utzoo!utgpu!watmath!uunet!samsung!usc!wuarchive!udel!princeton!phoenix!phoenix.princeton.edu!ron From: ron@clarity.Princeton.EDU (Ronald Beekelaar) Newsgroups: gnu.emacs.gnus Subject: Problem with byte-compile macro Message-ID: Date: 23 Nov 89 21:26:40 GMT Sender: news@phoenix.Princeton.EDU Distribution: gnu Organization: Cognitive Science Lab. Princeton University. Lines: 20 Hi everyone, I have a problem with a function I wrote to sort Subjects on number of lines of the article. I changed gnus-Subject-sort-by-number a little bit, using nntp-header-lines instead of nntp-header-number as the sorting criteria. Apparently nntp-header-lines and nntp-header-number are macro's (?). The problem is that after loading my own sort function and calling it in Subject mode, everything works fine, and the headers are sorted. As soon as I load a byte-compiled version of this function, it doesn't work anymore!!! It gives me the message: Invalid function: (macro lambda etc....) How come it worked uncompiled and doesn't compiled and what can I do about it so it will work compiled? Thanks for any help. -- ------ ron ------