emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
blob 908136e445e172a67c913c0c3ab2ca010b3c840e 2380 bytes (raw)
name: zh_CN/elpa.org 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
 
#+title: Org Emacs Lisp Package Archive
#+setupfile: setup.org
#+include: "resources/preamble.html" export html

* Org Emacs Lisp Package Archive (deprecated)
  :PROPERTIES:
  :CUSTOM_ID: introduction
  :END:

For versions <= 9.5, [[https://orgmode.org][orgmode.org]] hosts Org ELPA archives.

*Beware that no new Org versions will be released on Org ELPA after
9.5.*

Add this to your Emacs init file to be able to list the Org mode
archives:

#+BEGIN_SRC emacs-lisp
(require 'package)
(add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t)
#+END_SRC

Then =M-x list-packages RET= will list both the latest =org= and
=org-plus-contrib= packages.

- =org= :: Contains the same set of files that are included in GNU
  Emacs.

- =org-plus-contrib= :: Contains these files plus all contribs files,
  the ones you used to find in =contrib/= from the [[https://git.sr.ht/~bzg/org-contrib][git repo]].

* Installation
  :PROPERTIES:
  :CUSTOM_ID: installation
  :END:

By default, Emacs loads packages *after* it loads your Emacs init file.

We recommend intializing packages as /early/ as possible in your Emacs
init file so that your Org configuration will be correctly handled:

#+BEGIN_SRC emacs-lisp :exports code
;; -*- emacs-lisp -*-
(package-initialize)                ;; Initialize & Install Package
;; (setq org-...)                   ;; Your custom settings
#+END_SRC

The package initialization should happen *before* you require Org and
set any Org options.

Also, you may want to set up Package correctly before initializing it:

#+BEGIN_SRC emacs-lisp :exports code
  ;; -*- emacs-lisp -*-
  (unless package-archive-contents    ;; Refresh the packages descriptions
    (package-refresh-contents))
  (setq package-load-list '(all))     ;; List of packages to load
  (unless (package-installed-p 'org)  ;; Make sure the Org package is
    (package-install 'org))           ;; installed, install it if not
  (package-initialize)                ;; Initialize & Install Package
  ;; (setq org-...)                   ;; Your custom settings
#+END_SRC

See the [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Packages.html][GNU Emacs Package manual]] for details.

* Questions?
  :PROPERTIES:
  :CUSTOM_ID: questions
  :END:

Report any problem and ask any question on the Org mode [[https://orgmode.org/worg/org-mailing-list.html][mailing list]].

debug log:

solving 908136e ...
found 908136e in https://list.orgmode.org/orgmode/sdvjzyjzkzo.fsf@fw.net.yu/

applying [1/1] https://list.orgmode.org/orgmode/sdvjzyjzkzo.fsf@fw.net.yu/
diff --git a/zh_CN/elpa.org b/zh_CN/elpa.org
new file mode 100644
index 0000000..908136e

Checking patch zh_CN/elpa.org...
Applied patch zh_CN/elpa.org cleanly.

index at:
100644 908136e445e172a67c913c0c3ab2ca010b3c840e	zh_CN/elpa.org

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).