Compare commits

...

2 Commits

Author SHA1 Message Date
042fbc3189 Fix typo 2023-06-06 07:20:08 +02:00
827d67f1de BREAKING CHANGE: work around current org-fold and isearch bug
* This changes how `org-fill-paragraph' fills.
* BUG: (org-open-at-point) on a link may prompt to visit a tags table
2023-06-06 07:01:34 +02:00

View File

@ -239,6 +239,7 @@ recommendation of [[info:emacs#Saving Customizations][saving customizations (inf
kill-ring-max 300
lazy-count-prefix-format nil
lazy-count-suffix-format " (%s/%s)"
lazy-highlight-initial-delay 1.0
mode-line-compact 'long
next-error-message-highlight t
recentf-mode t
@ -2225,7 +2226,17 @@ unbind the `org-babel' interface functions when ACTIVE is nil."
#+name: lst:set-org-link-options
#+begin_src emacs-lisp -n :results silent
(with-eval-after-load 'ol
(setopt org-link-file-path-type 'relative))
;; I prefer setting `org-link-descriptive' to `nil' over the hook
;; below to make `isearch' bearable when finding matches in links.
;; Setting `org-link-descriptive' to `nil' is a breaking change,
;; since it changes how `org-fill-paragraph' fills.
;; (add-hook 'isearch-mode-hook
;; (defun unset-org-link-descriptive ()
;; (when (and (derived-mode-p 'org-mode)
;; (bound-and-true-p org-link-descriptive))
;; (org-toggle-link-display))))
(setopt org-link-descriptive nil
org-link-file-path-type 'relative))
#+end_src
#+caption[Setup =org-mode-map=]:
@ -3381,7 +3392,7 @@ inclusion (info)]] and [[info:org#Noweb Reference Syntax][noweb (info)]] tricker
:CUSTOM_ID: sec:easy-latex-preamble-editing
:END:
There are at least two deprecated (old and historic) ways to edit the LateX
There are at least two deprecated (old and historic) ways to edit the LaTeX
preamble =latex_header= and =latex_extra_header= export options easily in LaTeX
source or export blocks. This [[info:org#Top][Org (info)]] file uses the recommended method of
noweb trickery in Section [[#sec:file-inclusion-and-noweb]].