mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Merge from origin/emacs-27
5d46593568Support build of Emacs on ARM Macos machines7f8793e5f1Update to Org 9.4.47b3367a0b5* lisp/so-long.el: Decrease use of passive voice.a90836c638* doc/misc/efaq.texi (New in Emacs 27): Add section.711fe70dd8* doc/misc/efaq.texi (Latest version of Emacs): Bump version.52b30834fb* lisp/face-remap.el (face-remap-set-base): Doc fix. (Bug...b3fe0ac62eCorrect argument order in comment
This commit is contained in:
commit
2e20749e57
8 changed files with 94 additions and 39 deletions
|
|
@ -33,7 +33,7 @@
|
|||
;;
|
||||
;; (face RELATIVE_SPECS_1 RELATIVE_SPECS_2 ... BASE_SPECS)
|
||||
;;
|
||||
;; The "specs" values are a lists of face names or face attribute-value
|
||||
;; The "specs" values are lists of face names or face attribute-value
|
||||
;; pairs, and are merged together, with earlier values taking precedence.
|
||||
;;
|
||||
;; The RELATIVE_SPECS_* values are added by `face-remap-add-relative'
|
||||
|
|
@ -183,13 +183,13 @@ to apply on top of the normal definition of FACE."
|
|||
This causes the remappings specified by `face-remap-add-relative'
|
||||
to apply on top of the face specification given by SPECS.
|
||||
|
||||
The remaining arguments, SPECS, should form a list of faces.
|
||||
Each list element should be either a face name or a property list
|
||||
The remaining arguments, SPECS, specify the base of the remapping.
|
||||
Each one of SPECS should be either a face name or a property list
|
||||
of face attribute/value pairs, like in a `face' text property.
|
||||
|
||||
If SPECS is empty, call `face-remap-reset-base' to use the normal
|
||||
definition of FACE as the base remapping; note that this is
|
||||
different from SPECS containing a single value nil, which means
|
||||
If SPECS is empty or a single face `eq' to FACE, call `face-remap-reset-base'
|
||||
to use the normal definition of FACE as the base remapping; note that
|
||||
this is different from SPECS containing a single value nil, which means
|
||||
not to inherit from the global definition of FACE at all."
|
||||
(while (and (consp specs) (not (null (car specs))) (null (cdr specs)))
|
||||
(setq specs (car specs)))
|
||||
|
|
|
|||
|
|
@ -10752,8 +10752,4 @@ when defining today."
|
|||
|
||||
(provide 'org-agenda)
|
||||
|
||||
;; Local variables:
|
||||
;; generated-autoload-file: "org-loaddefs.el"
|
||||
;; End:
|
||||
|
||||
;;; org-agenda.el ends here
|
||||
|
|
|
|||
|
|
@ -1947,8 +1947,4 @@ Assume sexps have been marked with
|
|||
|
||||
(provide 'org-capture)
|
||||
|
||||
;; Local variables:
|
||||
;; generated-autoload-file: "org-loaddefs.el"
|
||||
;; End:
|
||||
|
||||
;;; org-capture.el ends here
|
||||
|
|
|
|||
|
|
@ -377,18 +377,25 @@ error when the user input is empty."
|
|||
'org-time-stamp-inactive)
|
||||
(apply #'completing-read args)))
|
||||
|
||||
(defun org--mks-read-key (allowed-keys prompt)
|
||||
(defun org--mks-read-key (allowed-keys prompt navigation-keys)
|
||||
"Read a key and ensure it is a member of ALLOWED-KEYS.
|
||||
Enable keys to scroll the window if NAVIGATION-KEYS is set.
|
||||
TAB, SPC and RET are treated equivalently."
|
||||
(let* ((key (char-to-string
|
||||
(pcase (read-char-exclusive prompt)
|
||||
((or ?\s ?\t ?\r) ?\t)
|
||||
(char char)))))
|
||||
(if (member key allowed-keys)
|
||||
key
|
||||
(message "Invalid key: `%s'" key)
|
||||
(sit-for 1)
|
||||
(org--mks-read-key allowed-keys prompt))))
|
||||
(setq header-line-format (when navigation-keys "Use C-n, C-p, C-v, M-v to navigate."))
|
||||
(let ((char-key (read-char-exclusive prompt)))
|
||||
(if (and navigation-keys (memq char-key '(14 16 22 134217846)))
|
||||
(progn
|
||||
(org-scroll char-key)
|
||||
(org--mks-read-key allowed-keys prompt navigation-keys))
|
||||
(let ((key (char-to-string
|
||||
(pcase char-key
|
||||
((or ?\s ?\t ?\r) ?\t)
|
||||
(char char)))))
|
||||
(if (member key allowed-keys)
|
||||
key
|
||||
(message "Invalid key: `%s'" key)
|
||||
(sit-for 1)
|
||||
(org--mks-read-key allowed-keys prompt navigation-keys))))))
|
||||
|
||||
(defun org-mks (table title &optional prompt specials)
|
||||
"Select a member of an alist with multiple keys.
|
||||
|
|
@ -461,15 +468,13 @@ is selected, only the bare key is returned."
|
|||
;; Display UI and let user select an entry or
|
||||
;; a sub-level prefix.
|
||||
(goto-char (point-min))
|
||||
(setq header-line-format nil)
|
||||
(org-fit-window-to-buffer)
|
||||
(unless (pos-visible-in-window-p (1- (point-max)))
|
||||
(setq header-line-format "Use C-n, C-p or C-v to navigate.")
|
||||
(setq allowed-keys (append allowed-keys '("\C-n" "\C-p" "\C-v"))))
|
||||
(let ((pressed (org--mks-read-key allowed-keys prompt)))
|
||||
(while (and (member pressed '("\C-n" "\C-p" "\C-v")))
|
||||
(org-scroll (string-to-char pressed))
|
||||
(setq pressed (org--mks-read-key allowed-keys prompt)))
|
||||
(message "") ; With this line the prompt appears in
|
||||
; the minibuffer. Else keystrokes may
|
||||
; appear, which is spurious.
|
||||
(let ((pressed (org--mks-read-key
|
||||
allowed-keys prompt
|
||||
(not (pos-visible-in-window-p (1- (point-max)))))))
|
||||
(setq current (concat current pressed))
|
||||
(cond
|
||||
((equal pressed "\C-g") (user-error "Abort"))
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@
|
|||
(defun org-release ()
|
||||
"The release version of Org.
|
||||
Inserted by installing Org mode or when a release is made."
|
||||
(let ((org-release "9.4.3"))
|
||||
(let ((org-release "9.4.4"))
|
||||
org-release))
|
||||
;;;###autoload
|
||||
(defun org-git-version ()
|
||||
"The Git version of Org mode.
|
||||
Inserted by installing Org or when a release is made."
|
||||
(let ((org-git-version "release_9.4.3"))
|
||||
(let ((org-git-version "release_9.4.4"))
|
||||
org-git-version))
|
||||
|
||||
(provide 'org-version)
|
||||
|
|
|
|||
|
|
@ -41,9 +41,9 @@
|
|||
;; simply aren't optimised (remotely) for this scenario, so performance can
|
||||
;; suffer significantly.
|
||||
;;
|
||||
;; When such files are detected, the command `so-long' is automatically called,
|
||||
;; overriding certain minor modes and variables with performance implications
|
||||
;; (all configurable), in order to enhance performance in the buffer.
|
||||
;; When so-long detects such a file, it calls the command `so-long', which
|
||||
;; overrides certain minor modes and variables (you can configure the details)
|
||||
;; to improve performance in the buffer.
|
||||
;;
|
||||
;; The default action enables the major mode `so-long-mode' in place of the mode
|
||||
;; that Emacs selected. This ensures that the original major mode cannot affect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue