[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Smooth transition for modules
From: |
Aaron Ecay |
Subject: |
Re: [O] Smooth transition for modules |
Date: |
Tue, 08 May 2018 14:28:40 +0100 |
User-agent: |
Notmuch/0.26 (https://notmuchmail.org) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
Hi Bastien,
2018ko maiatzak 8an, Bastien-ek idatzi zuen:
[...]
>
> You mean: instead of simply requiring other packages from a package,
> add a new Suggest: header for packages suggestions?
Everything you described sounds like a wonderful idea. What I had in
mind was much simpler. It (I think) does not require adding any new
features to package.el. The best way I can explain it is with the
following pseudocode, which I envision would be run when org is loaded:
(defcustom asked-already-p nil
"docstring")
(unless asked-already-p
(when (and (not (package-installed-p "org-tempo"))
(y-or-n-p "Do you like <s templates? "))
(package-install "org-tempo"))
(custom-set-and-save-variable 'asked-already-p t))
> Well, I think that even experienced users would enjoy discovering new
> packages when suggested by the packages they use
Agreed. My only concern was that users installing from git might not
have the right settings of package-archives etc to make the
package-install call above work correctly. Maybe I was being
pessimistic about that, though.
--
Aaron Ecay
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), (continued)
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Aaron Ecay, 2018/05/06
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Rasmus, 2018/05/07
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Aaron Ecay, 2018/05/07
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Bastien, 2018/05/08
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Rasmus, 2018/05/21
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Bastien, 2018/05/08
- Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Rasmus, 2018/05/21
- [O] Smooth transition for modules (was: [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")), Bastien, 2018/05/08
- Re: [O] Smooth transition for modules (was: [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")), Aaron Ecay, 2018/05/08
- Re: [O] Smooth transition for modules, Bastien, 2018/05/08
- Re: [O] Smooth transition for modules,
Aaron Ecay <=
Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Bastien, 2018/05/08
Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Rasmus, 2018/05/02
Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Bernt Hansen, 2018/05/02
Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]"), Bernt Hansen, 2018/05/02