]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
org-catch-invisible-edits smart
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 1 Sep 2016 12:52:13 +0000 (14:52 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 1 Sep 2016 12:52:13 +0000 (14:52 +0200)
quote from documentation:

Make point visible, and do insertion/deletion if it is
adjacent to visible text and the change feels predictable.
Never delete a previously invisible character or add in the
middle or right after an invisible region.  Basically, this
allows insertion and backward-delete right before ellipses.

bba.org

diff --git a/bba.org b/bba.org
index 8c4653b6709ef94743437273a3ba3d7c4dc43ec0..5a7f4e5fe53c8c4a4adb37e4926d3f2c4c3132d9 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -991,18 +991,19 @@ This is helpful in training sessions.
 
 #+BEGIN_SRC emacs-lisp
 
-    (setq org-link-abbrev-alist '(
-    ("bing" . "http://www.bing.com/search?q=%sform=OSDSRC")
-    ("cpan" . "http://search.cpan.org/search?query=%s&mode=all")
-    ("google" . "http://www.google.com/search?q=")
-    ("gmap" . "http://maps.google.com/maps?q=%s")
-    ("omap" . "http://nominatim.openstreetmap.org/search?q=%s&polygon=1")
-    ("bmap" . "http://www.bing.com/maps/default.aspx?q=%s&mkt=en&FORM=HDRSC4")
-    ("wiki" . "http://en.wikipedia.org/wiki/")
-    ("rfc" . "http://tools.ietf.org/rfc/rfc%s.txt")
-    ("ads" . "http://adsabs.harvard.edu/cgi-bin/nph-abs_connect?author=%s&db_key=AST")
-    ))
-    ;; example: [[bmap:space needle]]
+  (setq org-link-abbrev-alist '(
+  ("bing" . "http://www.bing.com/search?q=%sform=OSDSRC")
+  ("cpan" . "http://search.cpan.org/search?query=%s&mode=all")
+  ("google" . "http://www.google.com/search?q=")
+  ("gmap" . "http://maps.google.com/maps?q=%s")
+  ("omap" . "http://nominatim.openstreetmap.org/search?q=%s&polygon=1")
+  ("bmap" . "http://www.bing.com/maps/default.aspx?q=%s&mkt=en&FORM=HDRSC4")
+  ("wiki" . "http://en.wikipedia.org/wiki/")
+  ("rfc" . "http://tools.ietf.org/rfc/rfc%s.txt")
+  ("ads" . "http://adsabs.harvard.edu/cgi-bin/nph-abs_connect?author=%s&db_key=AST")
+  ("vertica" . "https://my.vertica.com/docs/7.2.x/HTML/Content/Search/index.htm?q=%s")
+  ))
+  ;; example: [[bmap:space needle]]
 
 #+END_SRC
 
@@ -1321,6 +1322,7 @@ html.
 
 #+BEGIN_SRC emacs-lisp
   (setq org-hide-emphasis-markers t)
+  (setq org-catch-invisible-edits 'smart)
 #+END_SRC
 
 * CFEngine