LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-08-2002, 03:50 AM   #1
aizkorri
Member
 
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Rep: Reputation: 55
Lisp, emacs-lisp


Well, I'm trying to change a variable, and as a result, a browser, in my code, whenever I click a button.
But when I do (setq browser "netscape")( and then do something ), and, just after I do (setq browser "konqueror") to leave back in the variable what was before.
But, it remains in netscape
Why doesn't it change to konqueror?
My skills in lisp are not the best as you can see, is there any other command than setq, or another way to do that?. Thnx.
 
Old 09-04-2002, 06:16 PM   #2
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 398

Rep: Reputation: 87
Some variables are "per buffer" perhaps it is one of those?

Also what is the scope of the variable? A "let" may interfere. Elisp is also weird, it has dynamically scoped variables not lexically.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Learning Lisp helpful for using Emacs? dr_zayus69 Programming 1 06-15-2005 12:44 PM
Syntax Highlighting in Emacs with Lisp question 95se Programming 2 02-25-2005 09:04 PM
Lisp/Emacs: How to do a macro on a buffer-name with another extension LuisG Linux - Software 3 10-25-2004 09:26 PM
emacs and lisp jonathanz1980 Linux - Software 4 09-24-2004 10:00 AM
emacs and lisp jonathanz1980 Programming 4 09-24-2004 09:30 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration