Welcome to WebmasterWorld Guest from 54.147.26.192

Forum Moderators: open

Message Too Old, No Replies

Reading files, accessing lists, writing files in XEmacs lisp.

How do you do it.

     
8:17 pm on Nov 12, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 22, 2002
posts:1782
votes: 0


I have written what I want to do in Perl.

open('IN', '<file'); 
while (<IN>) {
delete $choose{$_} if exists $choose{$_};
}
close('IN');
# choose one keys within %choose
open('OUT', '>>file');
print OUT $chosen;
close('OUT');

#add hook to delete $chosen from file when emacs is closed

Could anybody translate that to lisp or point me to a resource where I will find those infos myself. XEmacs´ lisp info pages have not been really helpful.

Andreas

8:45 pm on Nov 13, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 22, 2002
posts:1782
votes: 0


Any lisp hackers around?

TIA Andreas.

12:57 am on Nov 17, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 22, 2002
posts:1782
votes: 0


Perhaps the Lisp coders crawl out of their hiding places on weekends ;) Let´s see what happens.

Andreas

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members