Zelphir Kaltstahl <zelphirkaltst...@posteo.de> writes: > On 1/27/20 2:03 PM, Marc Chantreux wrote: >> hello, >> >> On Mon, Jan 27, 2020 at 12:30:51AM +0100, Arne Babenhauserheide wrote: >>> Did you try it? >> i never seen λ used in the documentation or code so what i actually >> wrote a macro: >> (define-syntax λ >> (syntax-rules () >> ((λ sign ...) >> (lambda sign ...)))) >> >> i just removed it and the code is still working. thanks a lot. >> >> marc >> > The thing is, it does not work in Geiser in Emacs. > > It does work in normal program code, but if you use the REPL all the > time, it becomes annoying. It looks very neat though.
Add this to your ~/.emacs and you should be able to use "C-c \" to insert λ in Geiser REPL like in normal Scheme buffer: (add-hook 'geiser-repl-mode-hook (lambda () (require 'geiser-mode) (define-key geiser-repl-mode-map "\C-c\\" 'geiser-insert-lambda))) It's strange though, that geiser-mode has this binding by default, but geser-repl-mode does not. -- Mikhail
signature.asc
Description: PGP signature