To install this package from Emacs, use
The rfc-mode Emacs major mode is a browser and reader for RFC documents.
The package should be installed from MELPA.
Start by loading the mode:
Then set the location containing all RFC documents (the default value is the
rfc directory in the home directory):
(setq rfc-mode-directory (expand-file-name "~/rfc/"))
RFC documents and their index will be directly downloaded from https://www.rfc-editor.org when required. Alternatively, the entire RFC collection can be downloadeded from https://www.rfc-editor.org/retrieve/bulk to ensure full access without the need for an internet connection.
rfc-mode-browse to choose a RFC document to read, or
enter the reference of the RFC document yourself.
If you have an idea or a question, email me at firstname.lastname@example.org.
Work in progress.
I should have released minor versions for bug fixes, but it seems everyone is
master branch from MELPA, and so am I. So major only it is. I will
release a minor version if a severe issue is found of course.
rfc-mode-read now supports a numeric prefix argument, so you can simply
C-u 1 2 3 4 M-x rfc-mode-read to read RFC number 1234. Also, if you
rfc-mode-read when point is on a number, you will be offered that
number as default. Thanks to Daniel Martín.
rfc-mode-goto-section now makes sure the title of the section is at the
top of the page, avoiding annoying edge cases where a section is at the end
of a page (thanks to Štěpán Němec).
This release improves navigation and introduce section detection, thanks to Daniel Martín.
imenu integration. If you use a graphical user interface, the menu
bar will show a new menu, "RFC Contents", with links to the
different parts of an RFC document.
g in a
rfc-mode buffer lets you navigate to an RFC
section by name.
rfc-mode-read display the document in a separate window,
without switching buffers. This follows the typical Emacs convention
for displaying help buffers, like
This new release is driven by suggestions from Stefan Monnier and some issues which were open on Github. Thanks everyone!
rfc-mode-directory can be
modified after the module has been loaded.
expand-file-name instead of
First public version.