diff options
author | Noam Postavsky <npostavs@gmail.com> | 2018-06-10 18:43:49 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2018-06-10 18:43:49 -0400 |
commit | 7adf1a361db3a2e9b7a27d76946482276c24fb64 (patch) | |
tree | 32a993c24df839661f467ea54bd1000e68e2282b /lisp | |
parent | 78ac2480d7bd206f3207398a31830bf0625caf0a (diff) | |
parent | 3434edc731e4602891a9cf6418ec4e5ff2f60830 (diff) | |
download | emacs-7adf1a361db3a2e9b7a27d76946482276c24fb64.tar.gz emacs-7adf1a361db3a2e9b7a27d76946482276c24fb64.tar.bz2 emacs-7adf1a361db3a2e9b7a27d76946482276c24fb64.zip |
Merge from emacs-26
3434edc731 Enlarge DUMPED_HEAP_SIZE for 64-bit Windows builds
36bbdfc017 Update Unicode data files to version 11.0.0 of Unicode
b7b7a5f4f3 * etc/NEWS: Belatedly call out vc-hg changes in v26.1. (B...
5b6f8b54d1 Clarify the documentation of 'dired-recursive-deletes'
9db97b49cd ; * etc/DEBUG: Add information about debugging libXft prob...
0214ffbe60 Clarify doc string of 'update-glyphless-char-display'
ef35d405b1 Clarify subtle issues with 'eq' in byte-compiled code
c6ef3c8321 Make cl-print respect print-quoted (bug#31649)
26b52ac40e Fix unexpected jumps of window-point in 'set-window-config...
4af077ab4d * etc/emacs.appdata.xml: Update Emacs screenshot.
e5ab25deae Fix cursor movement by 'next-logical-line' after 'next-line'
d20beef5f1 Fix prompt in bookmark.el (Bug#24726)
c57e7eaae8 Improve documentation of 'empty' whitespace-style
# Conflicts:
# etc/NEWS
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/bookmark.el | 2 | ||||
-rw-r--r-- | lisp/emacs-lisp/cl-print.el | 9 | ||||
-rw-r--r-- | lisp/international/characters.el | 43 | ||||
-rw-r--r-- | lisp/international/fontset.el | 10 | ||||
-rw-r--r-- | lisp/international/mule-cmds.el | 2 | ||||
-rw-r--r-- | lisp/simple.el | 22 |
6 files changed, 55 insertions, 33 deletions
diff --git a/lisp/bookmark.el b/lisp/bookmark.el index a454ccb3ae6..78f3e324034 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el @@ -802,7 +802,7 @@ is ever deleted." (let ((str (or name (read-from-minibuffer - (format "%s (default: \"%s\"): " prompt default) + (format "%s (default \"%s\"): " prompt default) nil bookmark-minibuffer-read-name-map nil nil defaults)))) diff --git a/lisp/emacs-lisp/cl-print.el b/lisp/emacs-lisp/cl-print.el index 55e2bf8bd4e..1eae8faf236 100644 --- a/lisp/emacs-lisp/cl-print.el +++ b/lisp/emacs-lisp/cl-print.el @@ -61,11 +61,16 @@ call other entry points instead, such as `cl-prin1'." (princ "..." stream) (let ((car (pop object)) (count 1)) - (if (and (memq car '(\, quote \` \,@ \,.)) + (if (and print-quoted + (memq car '(\, quote function \` \,@ \,.)) (consp object) (null (cdr object))) (progn - (princ (if (eq car 'quote) '\' car) stream) + (princ (cond + ((eq car 'quote) '\') + ((eq car 'function) "#'") + (t car)) + stream) (cl-print-object (car object) stream)) (princ "(" stream) (cl-print-object car stream) diff --git a/lisp/international/characters.el b/lisp/international/characters.el index 49d223248ea..23d9df686a5 100644 --- a/lisp/international/characters.el +++ b/lisp/international/characters.el @@ -643,12 +643,24 @@ with L, LRE, or LRO Unicode bidi character type.") (setq c (1+ c))) ;; Circled Latin - (setq c #x24b6) - (while (<= c #x24cf) + (setq c #x24B6) + (while (<= c #x24CF) (modify-category-entry c ?l) (modify-category-entry (+ c 26) ?l) (setq c (1+ c))) + ;; Supplemental Mathematical Operators + (setq c #x2A00) + (while (<= c #x2AFF) + (set-case-syntax c "." tbl) + (setq c (1+ c))) + + ;; Miscellaneous Symbols and Arrows + (setq c #x2B00) + (while (<= c #x2BFF) + (set-case-syntax c "." tbl) + (setq c (1+ c))) + ;; Coptic ;; There's no Coptic category. However, Coptic letters that are ;; part of the Greek block above get the Greek category, and those @@ -656,6 +668,12 @@ with L, LRE, or LRO Unicode bidi character type.") ;; consistent about their category. (modify-category-entry '(#x2C80 . #x2CFF) ?g) + ;; Supplemental Punctuation + (setq c #x2E00) + (while (<= c #x2E7F) + (set-case-syntax c "." tbl) + (setq c (1+ c))) + ;; Fullwidth Latin (setq c #xff21) (while (<= c #xff3a) @@ -1200,7 +1218,7 @@ with L, LRE, or LRO Unicode bidi character type.") (#xFF01 . #xFF60) (#xFFE0 . #xFFE6) (#x16FE0 . #x16FE1) - (#x17000 . #x187EC) + (#x17000 . #x187F1) (#x18800 . #x18AF2) (#x1B000 . #x1B11E) (#x1B170 . #x1B2FB) @@ -1233,13 +1251,16 @@ with L, LRE, or LRO Unicode bidi character type.") (#x1F6CC . #x1F6CC) (#x1F6D0 . #x1F6D2) (#x1F6EB . #x1F6EC) - (#x1F6F4 . #x1F6F8) + (#x1F6F4 . #x1F6F9) (#x1F910 . #x1F93E) - (#x1F940 . #x1F94C) - (#x1F950 . #x1F96B) - (#x1F980 . #x1F997) - (#x1F9C0 . #x1F9C0) - (#x1F9D0 . #x1F9E6) + (#x1F940 . #x1F970) + (#x1F973 . #x1F976) + (#x1F97A . #x1F97A) + (#x1F97C . #x1F9A2) + (#x1F9B0 . #x1F9B9) + (#x1F9C0 . #x1F9C2) + (#x1F9D0 . #x1F9FF) + (#x1FA60 . #x1FA6D) (#x20000 . #x2FFFF) (#x30000 . #x3FFFF)))) (dolist (elt l) @@ -1403,7 +1424,9 @@ Setup char-width-table appropriate for non-CJK language environment." (defun update-glyphless-char-display (&optional variable value) "Make the setting of `glyphless-char-display-control' take effect. -This function updates the char-table `glyphless-char-display'." +This function updates the char-table `glyphless-char-display', +and is intended to be used in the `:set' attribute of the +option `glyphless-char-display'." (when value (set-default variable value)) (dolist (elt value) diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index 0b6dfcabd81..a023d4fbc85 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el @@ -219,6 +219,9 @@ (lydian #x10920) (kharoshthi #x10A00) (manichaean #x10AC0) + (hanifi-rohingya #x10D00) + (old-sogdian #x10F00) + (sogdian #x10F30) (mahajani #x11150) (sinhala-archaic-number #x111E1) (khojki #x11200) @@ -229,6 +232,7 @@ (siddham #x11580) (modi #x11600) (takri #x11680) + (dogra #x11800) (warang-citi #x118A1) (zanabazar-square #x11A00) (soyombo #x11A50) @@ -236,11 +240,14 @@ (bhaiksuki #x11C00) (marchen #x11C72) (masaram-gondi #x11D00) + (gunjala-gondi #x11D60) + (makasar #x11EE0) (cuneiform #x12000) (cuneiform-numbers-and-punctuation #x12400) (mro #x16A40) (bassa-vah #x16AD0) (pahawh-hmong #x16B11) + (medefaidrin #x16E40) (tangut #x17000) (tangut-components #x18800) (nushu #x1B170) @@ -257,7 +264,7 @@ (defvar otf-script-alist) -;; The below was synchronized with the latest Feb 25, 2016 version of +;; The below was synchronized with the latest Jul 23, 2017 version of ;; https://www.microsoft.com/typography/otspec/scripttags.htm. (setq otf-script-alist '((adlm . adlam) @@ -312,6 +319,7 @@ (hano . hanunoo) (hatr . hatran) (hebr . hebrew) + (hung . old-hungarian) (phli . inscriptional-pahlavi) (prti . inscriptional-parthian) (java . javanese) diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index c0b329bbaea..8e69a1c7ab2 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -2910,7 +2910,7 @@ on encoding." (#x4DC0 . #x4DFF) ;; (#x4E00 . #x9FFF) CJK Unified Ideographs (#xA000 . #xD7FF) - ;; (#xD800 . #xFAFF) Surrogate/Private + ;; (#xD800 . #xF8FF) Surrogate/Private (#xFB00 . #x134FF) ;; (#x13500 . #x143FF) unused (#x14400 . #x14646) diff --git a/lisp/simple.el b/lisp/simple.el index 3d625bd2886..f8c02c1dbfe 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -6002,10 +6002,6 @@ columns by which window is scrolled from left margin. When the `track-eol' feature is doing its job, the value is `most-positive-fixnum'.") -(defvar last--line-number-width 0 - "Last value of width used for displaying line numbers. -Used internally by `line-move-visual'.") - (defcustom line-move-ignore-invisible t "Non-nil means commands that move by lines ignore invisible newlines. When this option is non-nil, \\[next-line], \\[previous-line], \\[move-end-of-line], and \\[move-beginning-of-line] behave @@ -6284,19 +6280,9 @@ If NOERROR, don't signal an error if we can't move that many lines." (memq last-command `(next-line previous-line ,this-command))) ;; If so, there's no need to reset `temporary-goal-column', ;; but we may need to hscroll. - (progn - (if (or (/= (cdr temporary-goal-column) hscroll) - (> (cdr temporary-goal-column) 0)) - (setq target-hscroll (cdr temporary-goal-column))) - ;; Update the COLUMN part of temporary-goal-column if the - ;; line-number display changed its width since the last - ;; time. - (setq temporary-goal-column - (cons (+ (car temporary-goal-column) - (/ (float (- lnum-width last--line-number-width)) - (frame-char-width))) - (cdr temporary-goal-column))) - (setq last--line-number-width lnum-width)) + (if (or (/= (cdr temporary-goal-column) hscroll) + (> (cdr temporary-goal-column) 0)) + (setq target-hscroll (cdr temporary-goal-column))) ;; Otherwise, we should reset `temporary-goal-column'. (let ((posn (posn-at-point)) x-pos) @@ -6306,7 +6292,7 @@ If NOERROR, don't signal an error if we can't move that many lines." ((memq (nth 1 posn) '(right-fringe left-fringe)) (setq temporary-goal-column (cons (window-width) hscroll))) ((car (posn-x-y posn)) - (setq x-pos (car (posn-x-y posn))) + (setq x-pos (- (car (posn-x-y posn)) lnum-width)) ;; In R2L lines, the X pixel coordinate is measured from the ;; left edge of the window, but columns are still counted ;; from the logical-order beginning of the line, i.e. from |