[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parinfer-mode for Emacs might be neat for encouraging Lisp adoption
From: |
João Távora |
Subject: |
Re: parinfer-mode for Emacs might be neat for encouraging Lisp adoption |
Date: |
Fri, 13 Nov 2015 16:00:51 +0000 |
On Fri, Nov 13, 2015 at 3:58 PM, Marcin Borkowski <address@hidden> wrote:
>
> On 2015-11-13, at 16:34, João Távora <address@hidden> wrote:
>
>> Hi Oleh, Christopher, Marcin
>>
>> What do you think of this prototype?
>>
>> (defun joaot/setup-some-parinfer-fanciness ()
>> (add-hook 'post-self-insert-hook 'joaot/reindent-up 'append 'local))
>>
>> (add-hook 'lisp-mode-hook 'joaot/setup-some-parinfer-fanciness)
>>
>> (defun joaot/reindent-up ()
>> (ignore-errors
>> (save-excursion
>> (backward-up-list) (indent-sexp))))
>
> BTW, using this with idle timers would make it much smoother, I guess.
Probably. Also Oleh just pointed out that it's basically what
agressive-indent-mode (on MELPA, probably) already does...
--
João Távora
- parinfer-mode for Emacs might be neat for encouraging Lisp adoption, Christopher Allan Webber, 2015/11/11
- Re: parinfer-mode for Emacs might be neat for encouraging Lisp adoption, Marcin Borkowski, 2015/11/12
- Re: parinfer-mode for Emacs might be neat for encouraging Lisp adoption, Oleh Krehel, 2015/11/13
- Re: parinfer-mode for Emacs might be neat for encouraging Lisp adoption, Marcin Borkowski, 2015/11/13
- Re: parinfer-mode for Emacs might be neat for encouraging Lisp adoption, João Távora, 2015/11/13
- Re: parinfer-mode for Emacs might be neat for encouraging Lisp adoption, Marcin Borkowski, 2015/11/13
- Re: parinfer-mode for Emacs might be neat for encouraging Lisp adoption, Marcin Borkowski, 2015/11/13
- Re: parinfer-mode for Emacs might be neat for encouraging Lisp adoption,
João Távora <=
- Re: parinfer-mode for Emacs might be neat for encouraging Lisp adoption, Stefan Monnier, 2015/11/19
- Message not available
- Message not available
- Re: parinfer-mode for Emacs might be neat for encouraging Lisp adoption, João Távora, 2015/11/13
- Re: parinfer-mode for Emacs might be neat for encouraging Lisp adoption, Oleh Krehel, 2015/11/13