[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: |
Marcin Borkowski |
Subject: |
Re: parinfer-mode for Emacs might be neat for encouraging Lisp adoption |
Date: |
Fri, 13 Nov 2015 16:58:31 +0100 |
User-agent: |
mu4e 0.9.15; emacs 25.0.50.1 |
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.
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
- 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 <=
- 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, 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