homepage Welcome to WebmasterWorld Guest from 54.235.29.110
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Reading files, accessing lists, writing files in XEmacs lisp.
How do you do it.
andreasfriedrich




msg:936701
 8:17 pm on Nov 12, 2002 (gmt 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

 

andreasfriedrich




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

Any lisp hackers around?

TIA Andreas.

andreasfriedrich




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

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

Andreas

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved