diff options
| author | Paul Eggert | 2016-05-26 12:55:06 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-05-26 12:55:06 -0700 |
| commit | 0bf5739b77c75f13d46fc49d5e3c098fe49a5070 (patch) | |
| tree | d342da7bc9065197736a8184e55c9925a40f04f0 /etc | |
| parent | 764f04871d67a5aad8943136d5142ed59bfa9a51 (diff) | |
| parent | c3489d050405ccb026cd44a280ead3a5f6b456d9 (diff) | |
| download | emacs-0bf5739b77c75f13d46fc49d5e3c098fe49a5070.tar.gz emacs-0bf5739b77c75f13d46fc49d5e3c098fe49a5070.zip | |
Merge from origin/emacs-25
c3489d0 * lisp/w32-fns.el (set-message-beep, w32-get-locale-info) (w3...
a4d882c Correct old cell name unbinding when renaming cell.
6c12c53 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into...
0be6725 Document problem: slow screen refresh on missing font.
853b9b9 * admin/admin.el (add-release-logs): Basic check of existing ...
5fa80cf * build-aux/gitlog-to-emacslog: Handle empty generated Change...
3c79e51 * admin/admin.el (add-release-logs): Generate ChangeLog if ne...
42275df * doc/misc/texinfo.tex: Revert previous change (Bug#23611).
3f4a9d9 * admin/authors.el (authors): First update the ChangeLog.
897fb6f ; 'Changes from the pre-25.1 API' copyedits
825ca25 Rename vc-stay-local back to vc-cvs-stay-local
4efb3e8 * doc/emacs/files.texi (Comparing Files): * doc/emacs/trouble...
b995d1e * doc/misc/eww.texi (Advanced): Fix xref.
2e589c0 Fix cross-references between manuals
f3d2ded * doc/misc/vhdl-mode.texi (Sample Init File): Rename node to ...
906c810 ; * admin/release-process: Move etc/HISTORY from here... ; * ...
bea1b65 * admin/admin.el (add-release-logs): Also update etc/HISTORY.
503e752 ; * CONTRIBUTE: Fix a typo.
fbfd478 Avoid aborting due to errors in arguments of 'set-face-attrib...
bdfbe6d ; * admin/release-process: Copyedits.
44a6aed ; * test/automated/data-tests.el: Standardize license notice.
c33ed39 ; * test/automated/viper-tests.el: Standardize license notice.
df4a14b Add automated test for viper-tests.el
c0139e3 Fix viper undo breakage from undo-boundary changes
920d76c Fix reference to obsolete fn ps-eval-switch
18a9bc1 Do not trash symlinks to init file
2671179 Don't print the "decomposition" line for control chars in wha...
869092c Bring back xterm pasting with middle mouse
5ab0830 Provide workaround for xftfont rendering problem
c9f7ec7 * lisp/desktop.el: Disable restore frameset if in non-graphic...
30989a0 Mention GTK+ problems in etc/PROBLEMS
421e3c4 * lisp/emacs-lisp/package.el (package-refresh-contents):
dadfc30 Revert "epg: Add a way to detect gpg1 executable for tests"
e41a5cb Avoid errors with Czech and Slovak input methods
d4ae6d7 epg: Add a way to detect gpg1 executable for tests
ebc3a94 * lisp/emacs-lisp/package.el: Fix free variable warnings.
6e71295 * lisp/emacs-lisp/package.el (package--with-response-buffer):
c45d9f6 Improve documentation of 'server-name'
3b5e38c Modernize ASLR advice in etc/PROBLEMS
1fe1e0a * lisp/char-fold.el: Rename from character-fold.el.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 8 | ||||
| -rw-r--r-- | etc/PROBLEMS | 106 |
2 files changed, 81 insertions, 33 deletions
| @@ -1110,11 +1110,11 @@ as many other symbols like U+249C (PARENTHESIZED LATIN SMALL LETTER | |||
| 1110 | A). | 1110 | A). |
| 1111 | 1111 | ||
| 1112 | Character folding is enabled by customizing 'search-default-mode' to | 1112 | Character folding is enabled by customizing 'search-default-mode' to |
| 1113 | the value 'character-fold-to-regexp'. You can also toggle character | 1113 | the value 'char-fold-to-regexp'. You can also toggle character |
| 1114 | folding in the middle of a search by typing 'M-s ''. | 1114 | folding in the middle of a search by typing 'M-s ''. |
| 1115 | 1115 | ||
| 1116 | 'query-replace' honors character folding if the new variable | 1116 | 'query-replace' honors character folding if the new variable |
| 1117 | 'replace-character-fold' is customized to a non-nil value. | 1117 | 'replace-char-fold' is customized to a non-nil value. |
| 1118 | 1118 | ||
| 1119 | +++ | 1119 | +++ |
| 1120 | *** New user option 'search-default-mode'. | 1120 | *** New user option 'search-default-mode'. |
| @@ -1124,9 +1124,9 @@ value, nil specifies that Isearch does literal searches (however, | |||
| 1124 | as in previous Emacs versions). | 1124 | as in previous Emacs versions). |
| 1125 | 1125 | ||
| 1126 | +++ | 1126 | +++ |
| 1127 | *** New function 'character-fold-to-regexp' can be used | 1127 | *** New function 'char-fold-to-regexp' can be used |
| 1128 | by searching commands to produce a regexp matching anything that | 1128 | by searching commands to produce a regexp matching anything that |
| 1129 | character-folds into STRING. | 1129 | char-folds into STRING. |
| 1130 | 1130 | ||
| 1131 | +++ | 1131 | +++ |
| 1132 | *** The new 'M-s M-w' key binding uses eww to search the web for the | 1132 | *** The new 'M-s M-w' key binding uses eww to search the web for the |
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 49dada970bb..bc814169b79 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS | |||
| @@ -718,6 +718,20 @@ the following variables: tex-font-script-display (how much to | |||
| 718 | lower/raise); tex-suscript-height-ratio (how much smaller than | 718 | lower/raise); tex-suscript-height-ratio (how much smaller than |
| 719 | normal); tex-suscript-height-minimum (minimum height). | 719 | normal); tex-suscript-height-minimum (minimum height). |
| 720 | 720 | ||
| 721 | ** Screen refresh is slow when there are special characters for which no suitable font is available | ||
| 722 | |||
| 723 | If the display is too slow in refreshing when you scroll to a new | ||
| 724 | region, or when you edit the buffer, it might be due to the fact that | ||
| 725 | some characters cannot be displayed in the default font, and Emacs is | ||
| 726 | spending too much time in looking for a suitable font to display them. | ||
| 727 | |||
| 728 | You can suspect this if you have several characters that are displayed | ||
| 729 | as small rectangles containing a hexadecimal code inside. | ||
| 730 | |||
| 731 | The solution is to install the appropriate fonts on your machine. For | ||
| 732 | instance if you are editing a text with a lot of math symbols, then | ||
| 733 | installing a font like 'Symbola' should solve this problem. | ||
| 734 | |||
| 721 | * Internationalization problems | 735 | * Internationalization problems |
| 722 | 736 | ||
| 723 | ** M-{ does not work on a Spanish PC keyboard. | 737 | ** M-{ does not work on a Spanish PC keyboard. |
| @@ -909,6 +923,21 @@ into Meta. This is because of the great importance of Meta in Emacs. | |||
| 909 | 923 | ||
| 910 | ** Window-manager and toolkit-related problems | 924 | ** Window-manager and toolkit-related problems |
| 911 | 925 | ||
| 926 | *** Emacs built with GTK+ toolkit produces corrupted display on HiDPI screen | ||
| 927 | |||
| 928 | This can happen if you set GDK_SCALE=2 in the environment or in your | ||
| 929 | '.xinitrc' file. (This setting is usually accompanied by | ||
| 930 | GDK_DPI_SCALE=0.5.) Emacs can not support these settings correctly, | ||
| 931 | as it doesn't use GTK+ exclusively. The result is that sometimes | ||
| 932 | widgets like the scroll bar are displayed incorrectly, and frames | ||
| 933 | could be displayed "cropped" to only part of the stuff that should be | ||
| 934 | displayed. | ||
| 935 | |||
| 936 | The workaround is to explicitly disable these settings when invoking | ||
| 937 | Emacs, for example (from a Posix shell prompt): | ||
| 938 | |||
| 939 | $ GDK_SCALE=1 GDK_DPI_SCALE=1 emacs | ||
| 940 | |||
| 912 | *** Metacity: Resizing Emacs or ALT-Tab causes X to be unresponsive. | 941 | *** Metacity: Resizing Emacs or ALT-Tab causes X to be unresponsive. |
| 913 | 942 | ||
| 914 | This happens sometimes when using Metacity. Resizing Emacs or ALT-Tab:bing | 943 | This happens sometimes when using Metacity. Resizing Emacs or ALT-Tab:bing |
| @@ -2561,51 +2590,70 @@ See <URL:http://debbugs.gnu.org/327>, <URL:http://debbugs.gnu.org/821>. | |||
| 2561 | 2590 | ||
| 2562 | ** Dumping | 2591 | ** Dumping |
| 2563 | 2592 | ||
| 2564 | *** Segfault during 'make bootstrap' under the Linux kernel. | 2593 | *** Segfault during 'make' |
| 2565 | 2594 | ||
| 2566 | In Red Hat Linux kernels, "Exec-shield" functionality is enabled by | 2595 | If Emacs segfaults when 'make' executes one of these commands: |
| 2567 | default, which creates a different memory layout that can break the | ||
| 2568 | emacs dumper. Emacs tries to handle this at build time, but if this | ||
| 2569 | fails, the following instructions may be useful. | ||
| 2570 | 2596 | ||
| 2571 | Exec-shield is enabled on your system if | 2597 | LC_ALL=C ./temacs -batch -l loadup bootstrap |
| 2598 | LC_ALL=C ./temacs -batch -l loadup dump | ||
| 2572 | 2599 | ||
| 2573 | cat /proc/sys/kernel/exec-shield | 2600 | the problem may be due to inadequate workarounds for address space |
| 2601 | layout randomization (ASLR), an operating system feature that | ||
| 2602 | randomizes the virtual address space of a process. ASLR is commonly | ||
| 2603 | enabled in Linux and NetBSD kernels, and is intended to deter exploits | ||
| 2604 | of pointer-related bugs in applications. If ASLR is enabled, the | ||
| 2605 | command: | ||
| 2574 | 2606 | ||
| 2575 | prints a value other than 0. (Please read your system documentation | 2607 | cat /proc/sys/kernel/randomize_va_space # GNU/Linux |
| 2576 | for more details on Exec-shield and associated commands.) | 2608 | sysctl security.pax.aslr.global # NetBSD |
| 2577 | 2609 | ||
| 2578 | Additionally, Linux kernel versions since 2.6.12 randomize the virtual | 2610 | outputs a nonzero value. |
| 2579 | address space of a process by default. If this feature is enabled on | ||
| 2580 | your system, then | ||
| 2581 | 2611 | ||
| 2582 | cat /proc/sys/kernel/randomize_va_space | 2612 | These segfaults should not occur on most modern systems, because the |
| 2613 | Emacs build procedure uses the command 'setfattr' or 'paxctl' to mark | ||
| 2614 | the Emacs executable as requiring non-randomized address space, and | ||
| 2615 | Emacs uses the 'personality' system call to disable address space | ||
| 2616 | randomization when dumping. However, older kernels may not support | ||
| 2617 | 'setfattr', 'paxctl', or 'personality', and newer Linux kernels have a | ||
| 2618 | secure computing mode (seccomp) that can be configured to disable the | ||
| 2619 | 'personality' call. | ||
| 2583 | 2620 | ||
| 2584 | prints a value other than 0. | 2621 | It may be possible to work around the 'personality' problem in a newer |
| 2622 | Linux kernel by configuring seccomp to allow the 'personality' call. | ||
| 2623 | For example, if you are building Emacs under Docker, you can run the | ||
| 2624 | Docker container with a security profile that allows 'personality' by | ||
| 2625 | using Docker's --security-opt option with an appropriate profile; see | ||
| 2626 | <https://docs.docker.com/engine/security/seccomp/>. | ||
| 2585 | 2627 | ||
| 2586 | When these features are enabled, building Emacs may segfault during | 2628 | To work around the ASLR problem in either an older or a newer kernel, |
| 2587 | the execution of this command: | 2629 | you can temporarily disable the feature while building Emacs. On |
| 2630 | GNU/Linux you can do so using the following command (as root). | ||
| 2588 | 2631 | ||
| 2589 | ./temacs --batch --load loadup [dump|bootstrap] | 2632 | echo 0 > /proc/sys/kernel/randomize_va_space |
| 2590 | 2633 | ||
| 2591 | To work around this problem, you can temporarily disable these | 2634 | You can re-enable the feature when you are done, by echoing the |
| 2592 | features while building Emacs. You can do so using the following | 2635 | original value back to the file. NetBSD uses a different command, |
| 2593 | commands (as root). Remember to re-enable them when you are done, | 2636 | e.g., 'sysctl -w security.pax.aslr.global=0'. |
| 2594 | by echoing the original values back to the files. | ||
| 2595 | 2637 | ||
| 2596 | echo 0 > /proc/sys/kernel/exec-shield | 2638 | Alternatively, you can try using the 'setarch' command when building |
| 2597 | echo 0 > /proc/sys/kernel/randomize_va_space | 2639 | temacs like this, where -R disables address space randomization: |
| 2598 | 2640 | ||
| 2599 | Or, on x86, you can try using the 'setarch' command when running | 2641 | setarch $(uname -m) -R make |
| 2600 | temacs, like this: | ||
| 2601 | 2642 | ||
| 2602 | setarch i386 -R ./temacs --batch --load loadup [dump|bootstrap] | 2643 | ASLR is not the only problem that can break Emacs dumping. Another |
| 2644 | issue is that in Red Hat Linux kernels, Exec-shield is enabled by | ||
| 2645 | default, and this creates a different memory layout. Emacs should | ||
| 2646 | handle this at build time, but if this fails the following | ||
| 2647 | instructions may be useful. Exec-shield is enabled on your system if | ||
| 2603 | 2648 | ||
| 2604 | or | 2649 | cat /proc/sys/kernel/exec-shield |
| 2650 | |||
| 2651 | prints a nonzero value. You can temporarily disable it as follows: | ||
| 2605 | 2652 | ||
| 2606 | setarch i386 -R make | 2653 | echo 0 > /proc/sys/kernel/exec-shield |
| 2607 | 2654 | ||
| 2608 | (The -R option disables address space randomization.) | 2655 | As with randomize_va_space, you can re-enable Exec-shield when you are |
| 2656 | done, by echoing the original value back to the file. | ||
| 2609 | 2657 | ||
| 2610 | *** temacs prints "Pure Lisp storage exhausted". | 2658 | *** temacs prints "Pure Lisp storage exhausted". |
| 2611 | 2659 | ||