Compare commits
No commits in common. "456d97d42331a71fbf9c659623b5c0188070fbed" and "cfc2551e6fcb83c686ab97e305a4b21502fc1243" have entirely different histories.
456d97d423
...
cfc2551e6f
29
README.org
29
README.org
@ -227,6 +227,7 @@ of [[info:emacs#Saving Customizations][saving customizations (info)]].
|
||||
next-error-message-highlight t
|
||||
recentf-max-saved-items history-length
|
||||
recentf-mode t
|
||||
save-place-mode t
|
||||
savehist-mode t
|
||||
scroll-bar-mode nil
|
||||
tab-always-indent 'complete
|
||||
@ -1839,11 +1840,10 @@ Listing [[lst:configure-nov]] configures [[https://depp.brause.cc/nov.el/][nov.e
|
||||
|
||||
The [[https://github.com/vedang/pdf-tools][pdf-tools]] package exploits the [[https://github.com/freedesktop/poppler][poppler]] library to render and to let you
|
||||
annotate [[https://en.wikipedia.org/wiki/PDF][PDF]] files. It also exploits the [[https://wiki.contextgarden.net/SyncTeX][SyncTeX]] library to link anchors in [[https://en.wikipedia.org/wiki/PDF][PDF]]
|
||||
files produced with LaTeX to the original LaTeX sources. Listing
|
||||
[[lst:setup-pdf-tools]] loads =bookmark= in order to use [[https://github.com/vedang/pdf-tools][pdf-tools]] with
|
||||
[[https://github.com/nicolaisingh/saveplace-pdf-view][saveplace-pdf-view]]. Building or rebuilding the =epdfinfo= executable that
|
||||
serves the [[https://en.wikipedia.org/wiki/PDF][PDF]] files to Emacs is necessary after installation of [[https://github.com/vedang/pdf-tools][pdf-tools]] from
|
||||
[[https://melpa.org/][MELPA]] or after each update of [[https://github.com/freedesktop/poppler][poppler]]. Table
|
||||
files produced with LaTeX to the original LaTeX sources. In order to use
|
||||
[[https://github.com/vedang/pdf-tools][pdf-tools]], you have to type {{{kbd(M-x pdf-tools-install)}}} after installation
|
||||
of [[https://github.com/vedang/pdf-tools][pdf-tools]] from [[https://melpa.org/][MELPA]] or after each update of [[https://github.com/freedesktop/poppler][poppler]] to build or rebuild the
|
||||
=epdfinfo= executable that serves the [[https://en.wikipedia.org/wiki/PDF][PDF]] files to Emacs. Table
|
||||
[[tab:pdf-view-mode-commands-and-bindings]] lists important local map key bindings
|
||||
in ~pdf-view-mode~. Note: ~image-save~ saves the page under point to a ~png~
|
||||
file.
|
||||
@ -1852,13 +1852,10 @@ file.
|
||||
#+caption: Setup =pdf-tools=.
|
||||
#+name: lst:setup-pdf-tools
|
||||
#+begin_src emacs-lisp -n :results silent
|
||||
(when (ensure-package-installation 'pdf-tools 'saveplace-pdf-view)
|
||||
;; Enable `save-place-mode' after loading those two libraries.
|
||||
(require 'bookmark) ; Prevent unexpected Emacs setup weirdness.
|
||||
(require 'saveplace-pdf-view) ; Like the documentation.
|
||||
(save-place-mode +1) ; Like the documentation.
|
||||
(when (ensure-package-installation 'pdf-tools)
|
||||
;; Use `pdf-loader-install' for faster startup than with `pdf-tools-install'.
|
||||
(pdf-loader-install)
|
||||
|
||||
(with-eval-after-load 'pdf-view
|
||||
(setopt pdf-view-display-size 'fit-page
|
||||
pdf-view-use-scaling (eq system-type 'darwin))))
|
||||
@ -4421,15 +4418,16 @@ wiki entry as the [[info:elisp#Edebug][Edebug (info)]] manual explains.
|
||||
:CUSTOM_ID: sec:bug-reports
|
||||
:END:
|
||||
|
||||
Listing [[lst:bug-reports]] ensures the installation of the [[info:debbugs#Top][Debbugs (info)]] extension
|
||||
package to access the [[https://debbugs.gnu.org/][GNU Bug Tracker]], sets up [[info:emacs#Bug Reference][Bug Reference Mode (info)]] to
|
||||
access the [[https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs][bug-gnu-emacs]] mailing list, and enables [[info:emacs#Goto Address mode][Goto Address mode (info)]] to
|
||||
open web links in source blocks.
|
||||
Listing [[lst:bug-reports]] ensures the installation of the =debbugs= extension
|
||||
package to access the [[https://debbugs.gnu.org/][GNU Bug Tracker]] and sets up [[info:emacs#Bug Reference][Bug Reference Mode (info)]] to
|
||||
access the [[https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs][bug-gnu-emacs]] mailing list.
|
||||
|
||||
#+caption[Setup reading existing bug reports]:
|
||||
#+caption: Setup reading existing bug reports.
|
||||
#+name: lst:bug-reports
|
||||
#+begin_src emacs-lisp -n :results silent
|
||||
;; (info "(debbugs) Top")
|
||||
;; (info "(emacs) Bug Reference")
|
||||
(ensure-package-installation 'debbugs)
|
||||
|
||||
(defvar bug-reference-url-format
|
||||
@ -4439,7 +4437,8 @@ open web links in source blocks.
|
||||
(add-to-list 'safe-local-eval-forms '(bug-reference-mode +1))
|
||||
(put 'bug-reference-mode 'safe-local-variable 'booleanp)
|
||||
|
||||
(add-hook 'org-mode-hook #'goto-address-mode)
|
||||
;; (info "(emacs) Goto Address mode")
|
||||
(add-hook 'emacs-lisp-mode-hook #'goto-address-mode)
|
||||
#+end_src
|
||||
|
||||
*** [[http://yummymelon.com/devnull/writing-better-elisp-docstrings.html][Writing Better Elisp Docstrings]]
|
||||
|
Loading…
Reference in New Issue
Block a user