Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I execute (“evaluate”) a piece of Emacs Lisp code?

GNU Emacs FAQ
If you want it evaluated every time you run Emacs, put it in a file named .emacs in your home directory. This is known as “your .emacs file,” and contains all of your personal customizations. You can type the form in the *scratch* buffer, and then type <LFD> (or C-j) after it. The result of evaluating the form will be inserted in the buffer. Typing C-x C-e in any buffer evaluates the Lisp form immediately before point and prints its value in the echo area.
Related Questions

Is there a GNU-Emacs interface to Lisp?

Kantrowitz & Margolin comp.lang.lisp FAQ
ILISP is a powerful GNU-Emacs interface to many dialects of Lisp, including Lucid, Allegro, {A}KCL, IBCL, and CMU. Written by Chris McConnell <ccm+@cs.cmu.edu> and now maintained by Marco Antoniotti <marcoxa@cs.nyu.edu> and Rick Busdiecker <rfb@lehman.com>. It is available by anonymous ftp from h.gp.cs.cmu.edu:/usr/rfb/ilisp/ [128.2.254.156] as the file ilisp-5.6.tar.gz. It is also available in the CMU AI Repository in ftp.cs.cmu.
Related Questions

Q8.1.2: Are there any Emacs Lisp Spreadsheets?

Frequently asked questions about XEmacs: Other Packages
Yes. Check out dismal (which stands for Dis' Mode Ain't Lotus) at http://acs.ist.psu.edu/dismal/dismal.html.
Related Questions

Frequently asked questions about XEmacs - 4 Major Subsystems
AUC TeX works fine on both stock Emacs and XEmacs has been doing so for a very very long time. This is mostly due to the work of Per Abrahamsen (clap clap) in particular his 'easymenu' package. Which leads to what is probably the problem... The TeX-lisp-directory in 'tex-site.el' and the makefile don't match. Fix: make sure you configure AUC TeX properly before installing. You have an old version of easymenu.el in your path.
Related Questions

How can I tell Cocoon to only execute a piece of code once, when a page is first requested?

Frequently Asked Questions
When I use XSP and non-English characters, they just come out as question marks - how can I make the characters appear? Database Access My database page throws a NullPointerException, or just outputs the driver, username, etc. as if Cocoon hadn't processed it at all When I use the SQL/EQSL taglib or the SQL procesor, I get an exception DOM-002: Illegal Character - what does this mean?Output Formatting and Internationalization
Related Questions

Where can I get documentation on Emacs Lisp?

GNU Emacs FAQ
For more information, the Emacs Lisp Reference Manual is available on-line, in Info format. See Emacs Lisp. You can also order a hardcopy of the manual, details on ordering it from FSF are on the GNU Web site.
Related Questions

Where can I get Emacs Lisp packages that don't come with Emacs?

GNU Emacs FAQ
The Emacs Lisp List (ELL), maintained by Stephen Eglen, aims to provide one compact list with links to all of the current Emacs Lisp files on the Internet. The ELL can be browsed over the web, or from Emacs with the ell package. Many authors post their packages to the Emacs sources newsgroup. You can search the archives of this group with Google, or Gmane, for example. For a long time, the Emacs Lisp Archive provided a central repository for Emacs packages.
Related Questions

How do you decide what software license to list for a piece of code?

Google Code Search FAQ
We do our best to determine the software license for code packages by looking for a license in the comments or in a separate license file (e.g., LICENSE, LICENCE, COPYRIGHT, COPYING). If we can't find a license, we indicate that the license is "Unknown." Please note that our license detection is not perfect -- we try to list the license as indicated by the code's author, but we can make mistakes and sometimes the author indicates the wrong license.
Related Questions

Q3.0.2: How can I evaluate Emacs-Lisp expressions?

Frequently asked questions about XEmacs: Customization
If you put (setq tab-width 6) in your 'init.el'/'.emacs' file it does not work! Is there a reason for this? If you do it at the EVAL prompt it works fine!! How strange.
Related Questions

What editors besides Emacs have facilities for programming in Lisp?

Common Lisp FAQ
See also http://www.vim.org/scripts/script.php?script_id=221 for the closest thing to SLIME for Vim: VILisp. VILisp basically automates the process of cut-and-paste from Vim into Lisp, and adds a few bells and whistles, but that's about it. See also the Gardeners project slim-vim, which has linked Vim with an implementation of Common Lisp called ECL, and is working towards integration with SLIME.
Related Questions

How do I find a Emacs Lisp package that does XXX?

GNU Emacs FAQ
First of all, you should check to make sure that the package isn't already available. For example, typing M-x apropos <RET> wordstar <RET> lists all functions and variables containing the string 'wordstar'. It is also possible that the package is on your system, but has not been loaded. To see which packages are available for loading, look through your computer's lisp directory (see File-name conventions).
Related Questions

How can I learn to write Emacs Lisp programs?

Emacs 21 for Mac OS X - Emacs 21 for Mac OS X FAQ
The O'Reilly book GNU Emacs Extensions by Bob Glickstein is also a good source of information, although dated.
Related Questions

Is Scheme a lisp?

Frequently Asked Questions for comp.lang.lisp
Scheme is a member of the greater family of Lisp languages, assuming that is considered to include others like Dylan and Emacs Lisp. The design of Scheme predates the ANSI Common Lisp standard, and some CL features such as lexical scoping may be considered to have been derived from Scheme. More detailed comparative discussions don't generally prove very productive; those that are interested in discussing Scheme should first consider discussing it in comp.lang.
Related Questions

Albert seems unable to parse my lisp-code, why?

Albert FAQ
Albert uses READ to read the lisp-code, so at the very least your code should be READable. Albert may also stumble on references to symbols in undefined packages, because the lisp-reader stumbles on it. When compiling your lisp-program, you might do a lot of twisted and wacky stuff, and that is great (it's lisp after all). But Albert has no interpreter and does not process macros so it will not even try to do the twisted and wacky stuff, and as such might miss some good parts.
Related Questions

What is Lisp?

Lisp FAQ
Lisp is a family of programming languages descended from a language John McCarthy invented (or more accurately, discovered) in the late 1950s. The two main dialects now are Common Lisp and Scheme. We're working on a new dialect called Arc.
Related Questions

Staging Area for the Common Lisp FAQ
But you now wish to add a special case. Simple: (defun foo (bar &optional (special-case nil)) (if special-case 0 (+ bar 42))) (foo 3) 45 (foo 3 t) 0 Rather than having to write two functions, with the oldest one delegating to the new one, you simply amend the existing one with optional arguments, all of which you give a default value that you can now account for in the new version.
Related Questions

How do I make Emacs “typeover” or “overwrite” instead of inserting?

GNU Emacs FAQ
M-x overwrite-mode (a minor mode). This toggles overwrite-mode on and off, so exiting from overwrite-mode is as easy as another M-x overwrite-mode.
Related Questions

Is the sink “code compliant”?

Water Conservation Tips - Toilet Lid Sink FAQ - Gaiam Commun...
In the “lid replacement” format, the device is not code compliant (IAPMO Standards) and is considered a “user installed after market accessory”. However, codes may vary by municipality opening the possibility of the product to be accepted by local governing officials. A patented wall-mount version of the sink is currently being developed to meet national plumbing codes as well as the ADA’s assistive device requirements.
Related Questions

Who can execute a will?

Inspector Genaral of Stamps and Registration
a) Any person above the age of 18 years and mentally sound may execute will, but will caused by fraud or coercion or by importunately will not be valid. Therefore a will must be executed voluntarily. d) Scribe (deed writer / advocate) cannot be called witness. Two independent attesting witnesses other than the scribe or necessary. In order to avoid disputes in implementation of a will, description of property and the beneficiaries should be clearly be written without giving room for any doubt.
Related Questions

Where can I find free lisp compilers or interpreters?

Frequently Asked Questions for comp.lang.lisp
A lightweight common lisp interpreter and compiler, which compiles to bytecode, and runs on Windows, AmigaOS, Acorns, OS/2 and most flavours of Unix. CLISP's implementation of CLOS is currently not quite complete. CLISP is licensed under the GNU GPL. CMUCL interpreter and optimizing compiler to native code running on a few flavours of Unix (including x86/FreeBSD, x86/Linux and sparc/Solaris). CMUCL can be difficult to compile; it requires itself to build itself, and bootstrapping is an issue.
Related Questions

Where can I buy a professional lisp system?

Frequently Asked Questions for comp.lang.lisp
Franz Inc's Allegro Common Lisp is a fine lisp development environment. See their website for more detailsLCL Another offering from Xanalys, LispWorks has a different set of extensions above the ANSI specification from LCLMCL A commercial natively multithreaded implementation of Common Lisp for various Unixes.Symbolics Common Lisp
Related Questions

What online resources are there for lisp users?

Frequently Asked Questions for comp.lang.lisp
A non-normative transferral of the official ANSI standard for Common Lisp to the hypertext medium, by Kent Pitman.Association of Lisp Users
Related Questions

Why doesn't Common Lisp have continuations?

Frequently Asked Questions for comp.lang.lisp
Continuations are a great theoretical tool; if a language has first-class, multiply invocable continuations then one can build threads, exceptions, coroutines, and the kitchen sink on top. However, there is an implementation burden with continuations; supporting first-class, multiply invocable continuations complicates things tremendously for the Lisp implementor.
Related Questions

Will every piece of mail with a PLANET code be scanned?

TrackMyMail.com PLANET Code & USPS Confirm Solutions
If you haven't used PLANET Codes since they were introduced in 2000, you will probably be pleasantly surprised at the dramatic improvement in scan rates. While scan rates of 100% are unlikely, letter size mail consistently scans at around 90%, while flat size mail performs at an average of 70%. The percentage being scanned will vary by location.
Related Questions

How can I make a browser execute a part of code before loading a jar?

jGuru: Applets FAQ
I want to make a splashscreen for a big applet that is contained in a jar, but the jars are loaded before the splashimage is displayed. Author: Finlay McWalter (http://www.jguru.com/guru/viewbio.jsp?EID=13911) Question originally posed by Philip Dannaux (http://www.jguru.com/guru/viewbio.jsp?EID=22157 To write an applet that shows a splashscreen, we need to know what happens when applets (and java classes in general) are loaded. When you ask a java runtime to load a class (e.g.
Related Questions

The code in a finally clause will never fail to execute, right?

Python IAQ: Infrequently Answered Questions
What never? Well, hardly ever. The code in a finally clause does get executed after the try clause whether or not there is an exception, and even if sys.exit is called. However, the finally clause will not execute if execution never gets to it. This would happen regardless of the value of choice in the following: try: if choice: while 1: pass else: print "Please pull the plug on your computer sometime soon..." time.sleep(60 * 60 * 24 * 365 * 10000) finally: print "Finally ..."
Related Questions

But what about Emacs?

Frequently asked questions
In Emacs, you need to use the command M-x server-start before invoking the edit hook from the Factor end.
Related Questions

GNU Emacs FAQ
The complete text of the Emacs manual is available on-line via the Info hypertext reader. Type C-h r to display the manual in Info mode. Typing <h> immediately after entering Info will provide a short tutorial on how to use it. To quickly locate the section of the manual which discusses a certain issue, or describes a command or a variable, type C-h i m emacs <RET> i topic <RET>, where topic is the name of the topic, the command, or the variable which you are looking for.
Related Questions

How do I call non-Lisp functions from Lisp?

Kantrowitz & Margolin comp.lang.lisp FAQ
Most Lisp implementations for systems where Lisp is not the most common language provide a "foreign function" interface. As of now there has been no significant standardization effort in this area. They tend to be similar, but there are enough differences that it would be inappropriate to try to describe them all here.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact