[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: req-package
From: |
Edward Knyshov |
Subject: |
Re: req-package |
Date: |
Fri, 14 Aug 2015 05:18:29 +0000 |
Also in this example you could write only evil form, because recentf does
nothing. Like that.
(req-package evil
:require recentf
:config (progn (evil-make-overriding-map recentf-dialog-mode-map 'motion)
(evil-set-initial-state 'recentf-dialog-mode
'motion)
(evil-ex-define-cmd "rfm[enu]"
#'recentf-open-files)))
On Fri, Aug 14, 2015 at 12:25 AM Stefan Monnier <monnier@iro.umontreal.ca>
wrote:
> > Here is how it will be rewritten with req-package
> >
> > (req-package recentf)
> >
> > (req-package evil
> > :require recentf
> > :config (progn (evil-make-overriding-map recentf-dialog-mode-map
> 'motion)
> > (evil-set-initial-state 'recentf-dialog-mode 'motion)
> > (evil-ex-define-cmd "rfm[enu]" #'recentf-open-files)))
>
> But wouldn't that misbehave if you decide to stop using recentf (in
> which case you'd want to just comment out your (req-package recentf)
> without having to tweak the `evil' part).
>
>
> Stefan
>
- req-package, Edward Knyshov, 2015/08/11
- Re: req-package, Stefan Monnier, 2015/08/11
- Re: req-package, Edward Knyshov, 2015/08/13
- Re: req-package, Alexander Shukaev, 2015/08/13
- Re: req-package, Edward Knyshov, 2015/08/13
- Re: req-package, Alexander Shukaev, 2015/08/13
- Re: req-package, Edward Knyshov, 2015/08/13
- Message not available
- Re: req-package, Stefan Monnier, 2015/08/13
- Re: req-package, Edward Knyshov, 2015/08/14
- Re: req-package,
Edward Knyshov <=
- Message not available
- Re: req-package, Stefan Monnier, 2015/08/14
- Re: req-package, Alexander Shukaev, 2015/08/14
- Re: req-package, Edward Knyshov, 2015/08/14
- Re: req-package, Alexander Shukaev, 2015/08/14
- Re: req-package, John Wiegley, 2015/08/15
- Re: req-package, Alexander Shukaev, 2015/08/15
- Re: req-package, John Wiegley, 2015/08/15
- Re: req-package, Les Harris, 2015/08/16
- Message not available
- Re: req-package, Rusi, 2015/08/16
- Re: req-package, Edward Knyshov, 2015/08/16