Skip to main content

Questions tagged [lisp]

Lisp is a (family of) general purpose programming language(s), based on the lambda calculus, and with the ability to manipulate source code as a data structure.

0 votes
2 answers
187 views

A simple server written in sbcl with uscoket library does not work on AWS instance

The title is explicit. Reproductible steps * Launch an Ubuntu instance on AWS with HTTP rule on port 80 * Install sbcl sudo apt install sbcl -y * Install usocket library for root See next step to ...
pietrodito's user avatar
2 votes
1 answer
444 views

Autocad startup LISP code broken after network reset

I have a network with a few different drives on it with AutoCAD installed on my local. I have a startup LISP routine for AutoCAD that loads a variety of other .lsp files, which are called by custom ...
John's user avatar
  • 21
0 votes
1 answer
245 views

MIT/GNU Scheme Won't Start

I built MIT Scheme from source using GCC on Ubuntu 14.04, but attempting to run it gives me an error mit-scheme: can't find a readable default for option --band. searched for file all.com in ...
Kookerus's user avatar
2 votes
1 answer
671 views

Trouble with emacs .el file (Searching for program; permission denied) error

I have emacs version 24.3.1 (i386-mingw-nt6.2.9200) installed on a Windows 8.1 machine. I am trying to use the ledger.el distributed with John Weigley's ledger (version 2.6.1). While the lisp file ...
mcperreault's user avatar
2 votes
1 answer
5k views

Go to definition in different file in vim

I'm using slimv to create a small common lisp project. I would like a way to jump to the definition of a function I defined in another file. Is there a way to do that?'
Held's user avatar
  • 35
2 votes
2 answers
1k views

Lisp error: (error "Lisp nesting exceeds `max-lisp-eval-depth'") when using cl- functions

I recently moved computers and upgraded to Emacs 24.3 (from 24.2) yesterday. Since then, I have been receiving what is essentially a stack-overflow error: Debugger entered--Lisp error: (error "Lisp ...
Sean Allred's user avatar
  • 1,322
0 votes
1 answer
73 views

SBCL Delete Key on Mac Giving ^?

I am using SBCL Lisp on a Mac Pro Mavericks. When I run the sbcl command and drop into the interpreter the delete key prints ^? instead of deleting the last character. Does anyone have a remedy for ...
ZenBalance's user avatar
  • 2,039
1 vote
2 answers
383 views

clojure repl emacs and slime

I have slime configured for emacs and I can run many different implementations of common lisp. What about running a language like clojure? I tested this out by modifying my .emacs file: (add-to-list ...
CodeKingPlusPlus's user avatar
2 votes
1 answer
2k views

configuring slime in emacs

I am in the process of configuring slime for emacs. So far I have read about basic functionality for common lisp such as C-c C-q which invokes the command slime-close-parens-at-point which places the ...
CodeKingPlusPlus's user avatar
1 vote
1 answer
585 views

How to get a prompt in SLIME?

I just installed SLIME in Emacs, but sometimes when I type at the text, I get an error, and the debugger comes up, and I quit out of it, but when I get back to the REPL I can't evaluate anything. I ...
Kyle L's user avatar
  • 2,349
1 vote
1 answer
617 views

Eclipse Lisp Plug-in does not evaluate on mac

HiI am using the Dandelion Eclipse Lisp Plug-in (http://sourceforge.net/projects/dandelion-ecl/) on Mac OSX. I have a windows PC and this plug-in is running ok on it. But when I am using it to ...
Allan Jiang's user avatar
2 votes
1 answer
140 views

how to bind a key to more than one operation in emacs

I've been using emacs for years, but I'm relatively new to customizing lisp (beyond plugging in lines from other emacs scripts / package installation instructions). I programmed scheme before, so I'm ...
daj's user avatar
  • 21
12 votes
2 answers
5k views

Is there a way to print the definition of an existing function in Emacs?

I want to see the definition of an existing function in Emacs. Is this possible? I've tried C-h d function-name RET, but it only returns the documentation string for the function, not the actual ...
Micah R Ledbetter's user avatar
3 votes
5 answers
8k views

How to launch emacs GUI on OS X

Does anyone know any tricks for launching emacs with GUI on OS X with the standard command emacs? I'm a ten year Linux user and thought I would buy a Mac for a while to stay diverse. I can open ...
trentonknight's user avatar
4 votes
2 answers
2k views

How to toggle between .cpp and .hpp that are not in the same directory?

Is there an Emacs function that toggles between .cpp and .hpp files that are not in the same directories? I know there is toggle-source.el, but it apparently does not handle the case where .cpp and ....
dehmann's user avatar
  • 2,323