aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2017-03-19 12:34:03 -0700
committerPaul Eggert2017-03-19 12:34:03 -0700
commit90f5282e20df79dedaa9d231a108f9a91222eca7 (patch)
tree4b2f648d7209c93fc845c68beccd27b98a51fdac
parentc4fca5cee27e3bf399ad23bf42317bffcc80f160 (diff)
parentec4226d81074751c105264a3a3383c48d0a05e41 (diff)
downloademacs-90f5282e20df79dedaa9d231a108f9a91222eca7.tar.gz
emacs-90f5282e20df79dedaa9d231a108f9a91222eca7.zip
Merge from origin/emacs-25
ec4226d * lisp/woman.el (woman): Fix docstring prefix arg description. 2b774fa Mention "editor" in Emacs man page header ae60d0c Document problems with nerd-fonts 2fdb5a9 ; Details about pinning Emacs to w32 task bar 5c3105e * doc/lispref/modes.texi (Derived Modes): Make example more i... 4c51ef4 Clarify what is the "cursor" 8303c32 ; * etc/NEWS: Copyedits. 3f7493e ; Fix a typo in comment c54cf8d Improve commentary in lisp.h 8b92f86 ; * admin/make-tarball.txt: Cross-reference admin/release-pro... 0ba9932 Disable native completion for ipython (Bug#25067) 38fc456 Fix a typo in ada-mode manual 00e75ba ; * src/coding.c (Fencode_coding_region): Fix a typo in the d... a541c21 Clarify documentation of 'bufferpos-to-filepos' and 'filepos-... # Conflicts: # etc/NEWS # etc/PROBLEMS
-rw-r--r--admin/make-tarball.txt9
-rw-r--r--doc/lispref/modes.texi13
-rw-r--r--doc/lispref/nonascii.texi2
-rw-r--r--doc/lispref/windows.texi10
-rw-r--r--doc/man/emacs.1.in2
-rw-r--r--doc/misc/ada-mode.texi2
-rw-r--r--etc/NEWS3
-rw-r--r--etc/PROBLEMS4
-rw-r--r--lisp/international/mule-util.el4
-rw-r--r--lisp/progmodes/python.el6
-rw-r--r--lisp/vc/ediff-wind.el2
-rw-r--r--lisp/woman.el2
-rw-r--r--nt/README.W324
-rw-r--r--src/coding.c4
-rw-r--r--src/lisp.h10
15 files changed, 48 insertions, 29 deletions
diff --git a/admin/make-tarball.txt b/admin/make-tarball.txt
index d26f397e151..e5c77172c9f 100644
--- a/admin/make-tarball.txt
+++ b/admin/make-tarball.txt
@@ -55,9 +55,12 @@ General steps (for each step, check for possible errors):
55 M-x set-version RET). For a pretest, start at version .90. After 55 M-x set-version RET). For a pretest, start at version .90. After
56 .99, use .990 (so that it sorts). 56 .99, use .990 (so that it sorts).
57 57
58 The final pretest should be a release candidate. Set the version 58 The final pretest should be a release candidate.
59 number to that of the actual release. Pick a date about a week 59 Before a release candidate is made, the tasks listed in
60 from now when you intend to make the release. Use M-x 60 admin/release-process must be completed.
61
62 Set the version number to that of the actual release. Pick a date
63 about a week from now when you intend to make the release. Use M-x
61 add-release-logs to add entries to etc/HISTORY and the ChangeLog 64 add-release-logs to add entries to etc/HISTORY and the ChangeLog
62 file. It's best not to commit these files until the release is 65 file. It's best not to commit these files until the release is
63 actually made. Merge the entries from (unversioned) ChangeLog 66 actually made. Merge the entries from (unversioned) ChangeLog
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 88e8e811a65..2e7d769f93d 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -820,14 +820,15 @@ which in turn may have been changed in a mode hook.
820Here is a hypothetical example: 820Here is a hypothetical example:
821 821
822@example 822@example
823(defvar hypertext-mode-map
824 (let ((map (make-sparse-keymap)))
825 (define-key map [down-mouse-3] 'do-hyper-link)
826 map))
827
823(define-derived-mode hypertext-mode 828(define-derived-mode hypertext-mode
824 text-mode "Hypertext" 829 text-mode "Hypertext"
825 "Major mode for hypertext. 830 "Major mode for hypertext."
826\\@{hypertext-mode-map@}" 831 (setq-local case-fold-search nil))
827 (setq case-fold-search nil))
828
829(define-key hypertext-mode-map
830 [down-mouse-3] 'do-hyper-link)
831@end example 832@end example
832 833
833Do not write an @code{interactive} spec in the definition; 834Do not write an @code{interactive} spec in the definition;
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index ee4bef6e498..05c08c6dbe5 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -142,7 +142,7 @@ be one of the following:
142@table @code 142@table @code
143@item exact 143@item exact
144The result must be accurate. The function may need to encode and 144The result must be accurate. The function may need to encode and
145decode a large part of the buffer. 145decode a large part of the buffer, which is expensive and can be slow.
146@item approximate 146@item approximate
147The value can be an approximation. The function may avoid expensive 147The value can be an approximation. The function may avoid expensive
148processing and return an inexact result. 148processing and return an inexact result.
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index affa28c9202..a4f8400170e 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -3532,9 +3532,13 @@ point and the buffer's point always move together; they remain equal.
3532@end itemize 3532@end itemize
3533 3533
3534@cindex cursor 3534@cindex cursor
3535 As far as the user is concerned, point is where the cursor is, and 3535 Emacs displays the cursor, by default as a rectangular block, in
3536when the user switches to another buffer, the cursor jumps to the 3536each window at the position of that window's point. When the user
3537position of point in that buffer. 3537switches to another buffer in a window, Emacs moves that window's
3538cursor to where point is in that buffer. If the exact position of
3539point is hidden behind some display element, such as a display string
3540or an image, Emacs displays the cursor immediately before or after
3541that display element.
3538 3542
3539@defun window-point &optional window 3543@defun window-point &optional window
3540This function returns the current position of point in @var{window}. 3544This function returns the current position of point in @var{window}.
diff --git a/doc/man/emacs.1.in b/doc/man/emacs.1.in
index 6807e866526..5d0948f51b3 100644
--- a/doc/man/emacs.1.in
+++ b/doc/man/emacs.1.in
@@ -3,7 +3,7 @@
3. 3.
4. 4.
5.SH NAME 5.SH NAME
6emacs \- GNU project Emacs 6emacs \- GNU project Emacs editor
7. 7.
8. 8.
9.SH SYNOPSIS 9.SH SYNOPSIS
diff --git a/doc/misc/ada-mode.texi b/doc/misc/ada-mode.texi
index 127a009417e..2ea4c7f36b2 100644
--- a/doc/misc/ada-mode.texi
+++ b/doc/misc/ada-mode.texi
@@ -540,7 +540,7 @@ Lisp variable: @code{ada-prj-default-bind-opt}.
540@item @code{build_dir} [default: @code{"."}] 540@item @code{build_dir} [default: @code{"."}]
541The compile commands will be issued in this directory. 541The compile commands will be issued in this directory.
542 542
543@item @code{casing} [default: @code{("~/.emacs_case_exceptions")} 543@item @code{casing} [default: @code{("~/.emacs_case_exceptions")}]
544List of files containing casing exceptions. See the help on 544List of files containing casing exceptions. See the help on
545@code{ada-case-exception-file} for more info. 545@code{ada-case-exception-file} for more info.
546@c FIXME: section on case exceptions 546@c FIXME: section on case exceptions
diff --git a/etc/NEWS b/etc/NEWS
index f047aa86f9f..f15635fb884 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -21,12 +21,11 @@ Temporary note:
21--- means no change in the manuals is needed. 21--- means no change in the manuals is needed.
22When you add a new item, use the appropriate mark if you are sure it applies, 22When you add a new item, use the appropriate mark if you are sure it applies,
23 23
24+++
25** The version number of CC Mode has been changed from 5.33 to 24** The version number of CC Mode has been changed from 5.33 to
265.32.99, although the software itself hasn't changed. This aims to 255.32.99, although the software itself hasn't changed. This aims to
27reduce confusion with the standalone CC Mode 5.33 (available from 26reduce confusion with the standalone CC Mode 5.33 (available from
28http://cc-mode.sourceforge.net), which is a more mature version than 27http://cc-mode.sourceforge.net), which is a more mature version than
29the one in Emacs 25.2. 28the one included in Emacs 25.2.
30 29
31 30
32* Installation Changes in Emacs 26.1 31* Installation Changes in Emacs 26.1
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 15d2b74cc40..cf92db67afc 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -745,6 +745,10 @@ The solution is to install the appropriate fonts on your machine. For
745instance if you are editing a text with a lot of math symbols, then 745instance if you are editing a text with a lot of math symbols, then
746installing a font like 'Symbola' should solve this problem. 746installing a font like 'Symbola' should solve this problem.
747 747
748Another reason for slow display is reportedly the nerd-fonts
749installation, even when Symbola is installed as well. Uninstalling
750nerd-fonts was reported to solve the problem in that case.
751
748** Emacs running on GNU/Linux system with the m17n library Ver.1.7.1 or the 752** Emacs running on GNU/Linux system with the m17n library Ver.1.7.1 or the
749earlier version has a problem with rendering Bengali script. 753earlier version has a problem with rendering Bengali script.
750 754
diff --git a/lisp/international/mule-util.el b/lisp/international/mule-util.el
index 92a658655ac..e34b01c3064 100644
--- a/lisp/international/mule-util.el
+++ b/lisp/international/mule-util.el
@@ -342,7 +342,7 @@ QUALITY can be:
342 `approximate', in which case we may cut some corners to avoid 342 `approximate', in which case we may cut some corners to avoid
343 excessive work. 343 excessive work.
344 `exact', in which case we may end up re-(en/de)coding a large 344 `exact', in which case we may end up re-(en/de)coding a large
345 part of the file/buffer. 345 part of the file/buffer, this can be expensive and slow.
346 nil, in which case we may return nil rather than an approximation." 346 nil, in which case we may return nil rather than an approximation."
347 (unless coding-system (setq coding-system buffer-file-coding-system)) 347 (unless coding-system (setq coding-system buffer-file-coding-system))
348 (let ((eol (coding-system-eol-type coding-system)) 348 (let ((eol (coding-system-eol-type coding-system))
@@ -418,7 +418,7 @@ QUALITY can be:
418 `approximate', in which case we may cut some corners to avoid 418 `approximate', in which case we may cut some corners to avoid
419 excessive work. 419 excessive work.
420 `exact', in which case we may end up re-(en/de)coding a large 420 `exact', in which case we may end up re-(en/de)coding a large
421 part of the file/buffer. 421 part of the file/buffer, this can be expensive and slow.
422 nil, in which case we may return nil rather than an approximation." 422 nil, in which case we may return nil rather than an approximation."
423 (unless coding-system (setq coding-system buffer-file-coding-system)) 423 (unless coding-system (setq coding-system buffer-file-coding-system))
424 (let* ((eol (coding-system-eol-type coding-system)) 424 (let* ((eol (coding-system-eol-type coding-system))
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index d4ed1392703..58b16794ee0 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -3276,8 +3276,10 @@ the full statement in the case of imports."
3276 "Completion string code must work for (i)pdb.") 3276 "Completion string code must work for (i)pdb.")
3277 3277
3278(defcustom python-shell-completion-native-disabled-interpreters 3278(defcustom python-shell-completion-native-disabled-interpreters
3279 ;; PyPy's readline cannot handle some escape sequences yet. 3279 ;; PyPy's readline cannot handle some escape sequences yet. Native
3280 (list "pypy") 3280 ;; completion was found to be non-functional for IPython (see
3281 ;; Bug#25067).
3282 (list "pypy" "ipython")
3281 "List of disabled interpreters. 3283 "List of disabled interpreters.
3282When a match is found, native completion is disabled." 3284When a match is found, native completion is disabled."
3283 :version "25.1" 3285 :version "25.1"
diff --git a/lisp/vc/ediff-wind.el b/lisp/vc/ediff-wind.el
index 8516c11d136..9b3d53fca76 100644
--- a/lisp/vc/ediff-wind.el
+++ b/lisp/vc/ediff-wind.el
@@ -579,7 +579,7 @@ into icons, regardless of the window manager."
579 (if (and (window-live-p wind-A) 579 (if (and (window-live-p wind-A)
580 (null use-same-frame) ; implies wind-A is suitable 580 (null use-same-frame) ; implies wind-A is suitable
581 (null use-same-frame-for-AB)) 581 (null use-same-frame-for-AB))
582 (progn ; bug A on its own 582 (progn ; buf A on its own
583 ;; buffer buf-A is seen in live wind-A 583 ;; buffer buf-A is seen in live wind-A
584 (select-window wind-A) 584 (select-window wind-A)
585 (delete-other-windows) 585 (delete-other-windows)
diff --git a/lisp/woman.el b/lisp/woman.el
index 2021fb26968..720fe66be86 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -1159,7 +1159,7 @@ The major browsing mode used is essentially the standard Man mode.
1159Choose the filename for the man page using completion, based on the 1159Choose the filename for the man page using completion, based on the
1160topic selected from the directories specified in `woman-manpath' and 1160topic selected from the directories specified in `woman-manpath' and
1161`woman-path'. The directory expansions and topics are cached for 1161`woman-path'. The directory expansions and topics are cached for
1162speed, but a non-nil interactive argument forces the caches to be 1162speed. With a prefix argument, force the caches to be
1163updated (e.g. to re-interpret the current directory). 1163updated (e.g. to re-interpret the current directory).
1164 1164
1165Used non-interactively, arguments are optional: if given then TOPIC 1165Used non-interactively, arguments are optional: if given then TOPIC
diff --git a/nt/README.W32 b/nt/README.W32
index 644e0fe881a..1141e8a1b71 100644
--- a/nt/README.W32
+++ b/nt/README.W32
@@ -105,7 +105,9 @@ See the end of the file for license conditions.
105 + runemacs.exe - A wrapper for running Emacs as a GUI application 105 + runemacs.exe - A wrapper for running Emacs as a GUI application
106 without popping up a command prompt window. If you create a 106 without popping up a command prompt window. If you create a
107 desktop shortcut for invoking Emacs, make it point to this 107 desktop shortcut for invoking Emacs, make it point to this
108 executable, not to emacs.exe. 108 executable, not to emacs.exe. If you pin Emacs to the task bar,
109 edit the properties of the pinned shortcut (with Shift-right mouse
110 click) to point to this executable.
109 111
110 + emacsclient.exe - A command-line client program that can 112 + emacsclient.exe - A command-line client program that can
111 communicate with a running Emacs process. See the `Emacs Server' 113 communicate with a running Emacs process. See the `Emacs Server'
diff --git a/src/coding.c b/src/coding.c
index 68ed8629c1c..e341a71f576 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -9399,8 +9399,8 @@ When called from a program, takes four arguments:
9399 START, END, CODING-SYSTEM and DESTINATION. 9399 START, END, CODING-SYSTEM and DESTINATION.
9400START and END are buffer positions. 9400START and END are buffer positions.
9401 9401
9402Optional 4th arguments DESTINATION specifies where the encoded text goes. 9402Optional 4th argument DESTINATION specifies where the encoded text goes.
9403If nil, the region between START and END is replace by the encoded text. 9403If nil, the region between START and END is replaced by the encoded text.
9404If buffer, the encoded text is inserted in that buffer after point (point 9404If buffer, the encoded text is inserted in that buffer after point (point
9405does not move). 9405does not move).
9406In those cases, the length of the encoded text is returned. 9406In those cases, the length of the encoded text is returned.
diff --git a/src/lisp.h b/src/lisp.h
index ab4db4cac02..4b9cd3c4702 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -519,10 +519,14 @@ enum Lisp_Fwd_Type
519 to add a new Lisp_Misc, extend the Lisp_Misc_Type enumeration. 519 to add a new Lisp_Misc, extend the Lisp_Misc_Type enumeration.
520 520
521 For a Lisp_Misc, you will also need to add your entry to union 521 For a Lisp_Misc, you will also need to add your entry to union
522 Lisp_Misc (but make sure the first word has the same structure as 522 Lisp_Misc, but make sure the first word has the same structure as
523 the others, starting with a 16-bit member of the Lisp_Misc_Type 523 the others, starting with a 16-bit member of the Lisp_Misc_Type
524 enumeration and a 1-bit GC markbit) and make sure the overall size 524 enumeration and a 1-bit GC markbit. Also make sure the overall
525 of the union is not increased by your addition. 525 size of the union is not increased by your addition. The latter
526 requirement is to keep Lisp_Misc objects small enough, so they
527 are handled faster: since all Lisp_Misc types use the same space,
528 enlarging any of them will affect all the rest. If you really
529 need a larger object, it is best to use Lisp_Vectorlike instead.
526 530
527 For a new pseudovector, it's highly desirable to limit the size 531 For a new pseudovector, it's highly desirable to limit the size
528 of your data type by VBLOCK_BYTES_MAX bytes (defined in alloc.c). 532 of your data type by VBLOCK_BYTES_MAX bytes (defined in alloc.c).