Skip to content

Commit

Permalink
add missing gnu elpa packages and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Bin committed Apr 22, 2024
1 parent 34d8510 commit 375d742
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
- [[#network-is-blocked][Network is blocked]]
- [[#email][Email]]
- [[#cannot-download-packages][Cannot download packages?]]
- [[#use-packages-on-gnu-elpa][Use packages on GNU ELPA]]
- [[#installing-missing-packages-by-using-gnu-elpa][Installing missing packages by using GNU ELPA]]
- [[#use-flycheck-to-syntax-check-code][Use flycheck to syntax check code]]
- [[#disable-vim-key-bindings][Disable Vim key bindings]]
- [[#evil-setup][Evil setup]]
Expand Down Expand Up @@ -588,10 +588,17 @@ If you use Gnus for email, check =init-gnus.el= and read [[https://github.com/re
Some package cannot be downloaded automatically because of network problem.

Run =M-x package-refresh-content=, restart Emacs, reinstall package.
** Use packages on [[https://elpa.gnu.org/][GNU ELPA]]
By default, packages from GNU ELPA are NOT available. Search the line "uncomment below line if you need use GNU ELPA" in =init-elpa.el= if you want to access GNU ELPA.
** Installing missing packages by using [[https://elpa.gnu.org/][GNU ELPA]]
The GNU ELPA repository contains FSF-sanctioned Emacs packages. It is the default repository used by =package.el=.

GNU ELPA are *deactivated* in this setup.

GNU ELPA is deactivated for below reasons,
- 99% packages can be found from other repositories like MELPA
- "~/.emacs.d/localelpa/" contains GNU ELPA packages required by this setup

To re-activate GNU ELPA, please search the line "uncomment below line if you need use GNU ELPA" in =init-elpa.el= .

For example, [[https://github.com/flycheck/flycheck][flycheck]] requires packages from GNU ELPA.
** Use flycheck to syntax check code
If you prefer =flycheck= instead the default syntax check solution =lazyflymake= built into this configuration.

Expand Down
1 change: 1 addition & 0 deletions localelpa/archive-contents
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(1
(csv-mode . [(1 10) nil "" single])
(eldoc . [(1 15 0) nil "" tar])
(spinner . [(1 7 3) nil "" single])
(nadvice . [(0 3) nil "" single])
(xr . [(1 14) nil "" single])
Expand Down
Binary file added localelpa/eldoc-1.15.0.tar
Binary file not shown.

0 comments on commit 375d742

Please sign in to comment.