[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Logo proposal
From: |
Mikhail Kryshen |
Subject: |
Re: Logo proposal |
Date: |
Tue, 28 Jan 2020 04:06:38 +0300 |
User-agent: |
Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) |
Zelphir Kaltstahl <address@hidden> 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
Re: Logo proposal, John Cowan, 2020/01/26
Re: Logo proposal, Ludovic Courtès, 2020/01/28