[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] patch for HTML links to GNU documents

From: Nicolas Goaziou
Subject: Re: [O] patch for HTML links to GNU documents
Date: Mon, 28 Mar 2016 10:59:28 +0200


Richard Kim <address@hidden> writes:

> Attached patch affects how 'info' links in org mode are converted to HTML
> links.  Today info links such as
>     [[info:emacs#List Buffers]]
> are converted to this HTML link:
>     <a href="emacs.html#List-Buffers">emacs#List Buffers</a>
> With the patch applied, the HTML link generated would be
>     <a href="
> http://www.gnu.org/software/emacs/manual/html_mono/emacs.html#List-Buffers";>emacs#List
> Buffers</a>

Thank you. Some comments follow.

> +(defvar org-info-emacs-documents

I suggest to use `defconst' instead, since you're not modifying or
let-binding the variable whatsoever.

> +  '("ada-mode" "auth" "autotype" "bovine" "calc" "ccmode" "cl" "dbus" 
> "dired-x"
> +    "ebrowse" "ede" "ediff" "edt" "efaq-w32" "efaq" "eieio" "eintr" "elisp"
> +    "emacs-gnutls" "emacs-mime" "emacs" "epa" "erc" "ert" "eshell" "eudc" 
> "eww"
> +    "flymake" "forms" "gnus" "htmlfontify" "idlwave" "ido" "info" "mairix-el"
> +    "message" "mh-e" "newsticker" "nxml-mode" "octave-mode" "org" "pcl-cvs"
> +    "pgg" "rcirc" "reftex" "remember" "sasl" "sc" "semantic" "ses" "sieve"
> +    "smtpmail" "speedbar" "srecode" "todo-mode" "tramp" "url" "vip" "viper"
> +    "widget" "wisent" "woman")
> +  "List of emacs documents available at the official URL
> +<http://www.gnu.org/software/emacs/manual/html_mono/.>")

The first sentence in the docstring is expected to be on a single line,

  "List of emacs documents available.
  Taken from <http://www.gnu.org/software/emacs/manual/html_mono/.>"

> +(defvar org-info-other-documents


Could you also write an entry about it in ORG-NEWS?


Nicolas Goaziou

reply via email to

[Prev in Thread] Current Thread [Next in Thread]