~bzg/worg

0634eed321f38c1f7c3c9e91b15c9a1784891297 — Ihor Radchenko 2 months ago 4b8c60f
org-syntax.org: Avoid referring to link types as "protocol"

* org-syntax.org (Plain links):
(Angle links):
(Regular links): Consistently use "link type" term to refer to link
types.  Do not use protocol, which may be confused with the
terminology in the manual and the code.
1 files changed, 7 insertions(+), 7 deletions(-)

M org-syntax.org
M org-syntax.org => org-syntax.org +7 -7
@@ 1478,11 1478,11 @@ forming a radio link.
Plain-type links are structured according to the following pattern:

#+begin_example
PRE PROTOCOL:PATHPLAIN POST
PRE LINKTYPE:PATHPLAIN POST
#+end_example

+ [[#Special_Tokens][PRE]] :: A non word constituent character.
+ PROTOCOL :: A string which is one of the link type strings in
+ LINKTYPE :: A string which is one of the link type strings in
  ~org-link-parameters~[fn:olp:By default, ~org-link-parameters~ defines
  links of type =shell=, =news=, =mailto=, =https=, =http=, =ftp=, =help=, =file=, and
  =elisp=.].


@@ 1510,10 1510,10 @@ from surrounding text, and are structured according to the following
pattern:

#+begin_example
<PROTOCOL:PATHANGLE>
<LINKTYPE:PATHANGLE>
#+end_example

+ PROTOCOL :: A string which is one of the link type strings in
+ LINKTYPE :: A string which is one of the link type strings in
  ~org-link-parameters~[fn:olp]
+ PATHANGLE :: A string containing any character but =>=., where newlines
  and indentation are ignored.


@@ 1533,8 1533,8 @@ Plain-type links are structured according to one of the following two patterns:
+ PATHREG :: An instance of one of the seven following annotated patterns:
  #+begin_example
FILENAME               ("file" type)
PROTOCOL:PATHINNER     ("PROTOCOL" type)
PROTOCOL://PATHINNER   ("PROTOCOL" type)
LINKTYPE:PATHINNER     ("LINKTYPE" type)
LINKTYPE://PATHINNER   ("LINKTYPE" type)
id:ID                  ("id" type)
#CUSTOM-ID             ("custom-id" type)
(CODEREF)              ("coderef" type)


@@ 1547,7 1547,7 @@ FUZZY                  ("fuzzy" type)
  =[[shell:ls%20*.org]]= instead of [[shell:ls *.org]], which defeats Org's
  focus on simplicity.)]
  - FILENAME :: A string representing an absolute or relative file path.
  - PROTOCOL :: A string which is one of the link type strings in
  - LINKTYPE :: A string which is one of the link type strings in
    ~org-link-parameters~[fn:olp]
  - PATHINNER :: A string consisting of any character besides square brackets.
  - ID :: A string consisting of any character besides square brackets.