aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2022-01-31 06:58:23 +0100
committerStefan Kangas2022-01-31 06:58:23 +0100
commit3652170d7dd3a0aa3cf59d7ccffbf13d6fa0118e (patch)
tree217a377ad6306bf6bc2fade065b80d519fb2c9ac
parentcb91643c976540fc8c9d46e12a8edcb73be53467 (diff)
parent6f282b31ad7548ab744565144e0d30dd56774210 (diff)
downloademacs-3652170d7dd3a0aa3cf59d7ccffbf13d6fa0118e.tar.gz
emacs-3652170d7dd3a0aa3cf59d7ccffbf13d6fa0118e.zip
Merge from origin/emacs-28
6f282b31ad Update to Org 9.5.2-13-gdd6486 6636231b2c ; * lisp/international/latin1-disp.el: Update commentary. f22e9ba9ac Fix regression in Occur Edit mode
-rw-r--r--lisp/international/latin1-disp.el21
-rw-r--r--lisp/org/ob-tangle.el2
-rw-r--r--lisp/org/ol-bibtex.el2
-rw-r--r--lisp/org/org-agenda.el6
-rw-r--r--lisp/org/org-clock.el2
-rw-r--r--lisp/org/org-compat.el6
-rw-r--r--lisp/org/org-version.el2
-rw-r--r--lisp/replace.el9
8 files changed, 30 insertions, 20 deletions
diff --git a/lisp/international/latin1-disp.el b/lisp/international/latin1-disp.el
index c8ff93aeb21..96a54cc2128 100644
--- a/lisp/international/latin1-disp.el
+++ b/lisp/international/latin1-disp.el
@@ -1,4 +1,4 @@
1;;; latin1-disp.el --- display tables for other ISO 8859 on Latin-1 terminals -*- lexical-binding: t; -*- 1;;; latin1-disp.el --- display tables for non-ASCII on Latin-1 terminals -*- lexical-binding: t; -*-
2 2
3;; Copyright (C) 2000-2022 Free Software Foundation, Inc. 3;; Copyright (C) 2000-2022 Free Software Foundation, Inc.
4 4
@@ -22,18 +22,23 @@
22 22
23;;; Commentary: 23;;; Commentary:
24 24
25;; This package sets up display of ISO 8859-n for n>1 by substituting 25;; This package sets up display of many non-ASCII characters by
26;; Latin-1 characters and sequences of them for characters which can't 26;; substituting ASCII and Latin-1 characters and sequences of them for
27;; be displayed, either because we're on a tty or because we don't 27;; characters which can't be displayed, either because we're on a tty
28;; have the relevant window system fonts available. For instance, 28;; or because we don't have the relevant window system fonts
29;; Latin-9 is very similar to Latin-1, so we can display most Latin-9 29;; available. For instance, Latin-9 is very similar to Latin-1, so we
30;; characters using the Latin-1 characters at the same code point and 30;; can display most Latin-9 characters using the Latin-1 characters at
31;; fall back on more-or-less mnemonic ASCII sequences for the rest. 31;; the same code point and fall back on more-or-less mnemonic ASCII
32;; sequences for the rest.
32 33
33;; For the Latin charsets the ASCII sequences are mostly consistent 34;; For the Latin charsets the ASCII sequences are mostly consistent
34;; with the Quail prefix input sequences. Latin-4 uses the Quail 35;; with the Quail prefix input sequences. Latin-4 uses the Quail
35;; postfix sequences since a prefix method isn't defined for Latin-4. 36;; postfix sequences since a prefix method isn't defined for Latin-4.
36 37
38;; Non-Latin non-ASCII characters are generally displayed as ASCII
39;; strings remotely reminiscent of the original characters, as best as
40;; possible. See `latin1-display-ucs-per-lynx'.
41
37;; [A different approach is taken in the DOS display tables in 42;; [A different approach is taken in the DOS display tables in
38;; term/internal.el, and the relevant ASCII sequences from there are 43;; term/internal.el, and the relevant ASCII sequences from there are
39;; available as an alternative; see `latin1-display-mnemonic'. Only 44;; available as an alternative; see `latin1-display-mnemonic'. Only
diff --git a/lisp/org/ob-tangle.el b/lisp/org/ob-tangle.el
index cf307aa0cb3..566258eba4a 100644
--- a/lisp/org/ob-tangle.el
+++ b/lisp/org/ob-tangle.el
@@ -43,7 +43,7 @@
43(declare-function org-in-commented-heading-p "org" (&optional no-inheritance)) 43(declare-function org-in-commented-heading-p "org" (&optional no-inheritance))
44(declare-function org-in-archived-heading-p "org" (&optional no-inheritance)) 44(declare-function org-in-archived-heading-p "org" (&optional no-inheritance))
45(declare-function outline-previous-heading "outline" ()) 45(declare-function outline-previous-heading "outline" ())
46(defvar org-id-link-to-org-use-id nil) ; Dynamically scoped 46(defvar org-id-link-to-org-use-id) ; Dynamically scoped
47 47
48(defcustom org-babel-tangle-lang-exts 48(defcustom org-babel-tangle-lang-exts
49 '(("emacs-lisp" . "el") 49 '(("emacs-lisp" . "el")
diff --git a/lisp/org/ol-bibtex.el b/lisp/org/ol-bibtex.el
index 41443d79595..218f8f17ed5 100644
--- a/lisp/org/ol-bibtex.el
+++ b/lisp/org/ol-bibtex.el
@@ -115,7 +115,7 @@
115 115
116(defvar org-agenda-overriding-header) 116(defvar org-agenda-overriding-header)
117(defvar org-agenda-search-view-always-boolean) 117(defvar org-agenda-search-view-always-boolean)
118(defvar org-bibtex-description nil) ; dynamically scoped from org.el 118(defvar org-bibtex-description nil)
119(defvar org-id-locations) 119(defvar org-id-locations)
120(defvar org-property-end-re) 120(defvar org-property-end-re)
121(defvar org-special-properties) 121(defvar org-special-properties)
diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el
index 94aea1b0a32..ae0058e037e 100644
--- a/lisp/org/org-agenda.el
+++ b/lisp/org/org-agenda.el
@@ -99,8 +99,8 @@
99 99
100;; Defined somewhere in this file, but used before definition. 100;; Defined somewhere in this file, but used before definition.
101(defvar org-agenda-buffer-name "*Org Agenda*") 101(defvar org-agenda-buffer-name "*Org Agenda*")
102(defvar org-agenda-overriding-header nil)
103(defvar org-agenda-title-append nil) 102(defvar org-agenda-title-append nil)
103(defvar org-agenda-overriding-header)
104;; (with-no-warnings (defvar entry)) ;; unprefixed, from calendar.el 104;; (with-no-warnings (defvar entry)) ;; unprefixed, from calendar.el
105;; (with-no-warnings (defvar date)) ;; unprefixed, from calendar.el 105;; (with-no-warnings (defvar date)) ;; unprefixed, from calendar.el
106(defvar original-date) ; dynamically scoped, calendar.el does scope this 106(defvar original-date) ; dynamically scoped, calendar.el does scope this
@@ -2158,7 +2158,7 @@ string that it returns."
2158(org-remap org-agenda-mode-map 'move-end-of-line 'org-agenda-end-of-line) 2158(org-remap org-agenda-mode-map 'move-end-of-line 'org-agenda-end-of-line)
2159 2159
2160(defvar org-agenda-menu) ; defined later in this file. 2160(defvar org-agenda-menu) ; defined later in this file.
2161(defvar org-agenda-restrict nil) ; defined later in this file. 2161(defvar org-agenda-restrict nil)
2162(defvar org-agenda-follow-mode nil) 2162(defvar org-agenda-follow-mode nil)
2163(defvar org-agenda-entry-text-mode nil) 2163(defvar org-agenda-entry-text-mode nil)
2164(defvar org-agenda-clockreport-mode nil) 2164(defvar org-agenda-clockreport-mode nil)
@@ -7288,7 +7288,7 @@ When TYPE is \"scheduled\", \"deadline\", \"timestamp\" or
7288\"timestamp_ia\", compare within each of these type. When TYPE 7288\"timestamp_ia\", compare within each of these type. When TYPE
7289is the empty string, compare all timestamps without respect of 7289is the empty string, compare all timestamps without respect of
7290their type." 7290their type."
7291 (let* ((def (and (not org-agenda-sort-notime-is-late) -1)) 7291 (let* ((def (if org-agenda-sort-notime-is-late 99999999 -1))
7292 (ta (or (and (string-match type (or (get-text-property 1 'type a) "")) 7292 (ta (or (and (string-match type (or (get-text-property 1 'type a) ""))
7293 (get-text-property 1 'ts-date a)) 7293 (get-text-property 1 'ts-date a))
7294 def)) 7294 def))
diff --git a/lisp/org/org-clock.el b/lisp/org/org-clock.el
index ddae182791e..dce5d9d4c0c 100644
--- a/lisp/org/org-clock.el
+++ b/lisp/org/org-clock.el
@@ -2505,7 +2505,7 @@ the currently selected interval size."
2505 (when step 2505 (when step
2506 ;; Write many tables, in steps 2506 ;; Write many tables, in steps
2507 (unless (or block (and ts te)) 2507 (unless (or block (and ts te))
2508 (user-error "Clocktable `:step' can only be used with `:block' or `:tstart, :end'")) 2508 (user-error "Clocktable `:step' can only be used with `:block' or `:tstart', `:tend'"))
2509 (org-clocktable-steps params) 2509 (org-clocktable-steps params)
2510 (throw 'exit nil)) 2510 (throw 'exit nil))
2511 2511
diff --git a/lisp/org/org-compat.el b/lisp/org/org-compat.el
index cfccc2c0523..819ce74d93d 100644
--- a/lisp/org/org-compat.el
+++ b/lisp/org/org-compat.el
@@ -1048,9 +1048,9 @@ ELEMENT is the element at point."
1048 (cl-case (org-element-type object) 1048 (cl-case (org-element-type object)
1049 ;; Prevent checks in links due to keybinding conflict with 1049 ;; Prevent checks in links due to keybinding conflict with
1050 ;; Flyspell. 1050 ;; Flyspell.
1051 ((code entity export-snippet inline-babel-call 1051 ((citation citation-reference code entity export-snippet inline-babel-call
1052 inline-src-block line-break latex-fragment link macro 1052 inline-src-block line-break latex-fragment link macro
1053 statistics-cookie target timestamp verbatim) 1053 statistics-cookie target timestamp verbatim)
1054 nil) 1054 nil)
1055 (footnote-reference 1055 (footnote-reference
1056 ;; Only in inline footnotes, within the definition. 1056 ;; Only in inline footnotes, within the definition.
diff --git a/lisp/org/org-version.el b/lisp/org/org-version.el
index 5337d9df746..572203711c0 100644
--- a/lisp/org/org-version.el
+++ b/lisp/org/org-version.el
@@ -11,7 +11,7 @@ Inserted by installing Org mode or when a release is made."
11(defun org-git-version () 11(defun org-git-version ()
12 "The Git version of Org mode. 12 "The Git version of Org mode.
13Inserted by installing Org or when a release is made." 13Inserted by installing Org or when a release is made."
14 (let ((org-git-version "release_9.5.2-9-g7ba24c")) 14 (let ((org-git-version "release_9.5.2-13-gdd6486"))
15 org-git-version)) 15 org-git-version))
16 16
17(provide 'org-version) 17(provide 'org-version)
diff --git a/lisp/replace.el b/lisp/replace.el
index dd6e5a42258..689a3f77ed3 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -1413,10 +1413,15 @@ To return to ordinary Occur mode, use \\[occur-cease-edit]."
1413 (length s1))))) 1413 (length s1)))))
1414 (prefix-len (funcall common-prefix buf-str text)) 1414 (prefix-len (funcall common-prefix buf-str text))
1415 (suffix-len (funcall common-prefix 1415 (suffix-len (funcall common-prefix
1416 (reverse buf-str) (reverse text)))) 1416 (reverse (substring
1417 buf-str prefix-len))
1418 (reverse (substring
1419 text prefix-len)))))
1417 (setq beg-pos (+ beg-pos prefix-len)) 1420 (setq beg-pos (+ beg-pos prefix-len))
1418 (setq end-pos (- end-pos suffix-len)) 1421 (setq end-pos (- end-pos suffix-len))
1419 (setq text (substring text prefix-len (- suffix-len))) 1422 (setq text (substring text prefix-len
1423 (and (not (zerop suffix-len))
1424 (- suffix-len))))
1420 (delete-region beg-pos end-pos) 1425 (delete-region beg-pos end-pos)
1421 (goto-char beg-pos) 1426 (goto-char beg-pos)
1422 (insert text))) 1427 (insert text)))