]> git.eshelyaron.com Git - emacs.git/log
emacs.git
4 years agoFix 'uudecode-decode-region-internal' in multibyte buffers
Kazuhiro Ito [Thu, 5 Nov 2020 10:48:08 +0000 (19:48 +0900)]
Fix 'uudecode-decode-region-internal' in multibyte buffers

* lisp/mail/uudecode.el (uudecode-decode-region-internal): Fix
inserting the decoded string into a multibyte buffer.  Optimize by
working with characters, not strings.  (Bug#44411)

Copyright-paperwork-exempt: yes

4 years agoFix 'send-string-to-terminal' writing very long strings
Eli Zaretskii [Sat, 7 Nov 2020 09:19:44 +0000 (11:19 +0200)]
Fix 'send-string-to-terminal' writing very long strings

* src/dispnew.c (Fsend_string_to_terminal): Prevent partial writes
by blocking SIGIO while 'fwrite' runs.  (Bug#44320)

4 years ago* lisp/subr.el (read-char-from-minibuffer): Doc fix. (Bug#44451)
Eli Zaretskii [Sat, 7 Nov 2020 09:10:36 +0000 (11:10 +0200)]
* lisp/subr.el (read-char-from-minibuffer): Doc fix.  (Bug#44451)

4 years agoMerge branch 'emacs-27' of git.savannah.gnu.org:/srv/git/emacs into emacs-27
Eli Zaretskii [Sat, 7 Nov 2020 08:57:48 +0000 (10:57 +0200)]
Merge branch 'emacs-27' of git.savannah.gnu.org:/srv/git/emacs into emacs-27

4 years agoFix documentation of 'windmove-swap-states-default-keybindings'
Earl Hyatt [Wed, 4 Nov 2020 12:26:06 +0000 (07:26 -0500)]
Fix documentation of 'windmove-swap-states-default-keybindings'

* doc/emacs/windows.texi (Window Convenience): Fix description of
'windmove-swap-states-default-keybindings' and related index
entry.  (Bug#44441)

4 years agoSplit windows evenly when 'min-margins' parameter was set (Bug#44483)
Martin Rudalics [Sat, 7 Nov 2020 08:20:14 +0000 (09:20 +0100)]
Split windows evenly when 'min-margins' parameter was set (Bug#44483)

* lisp/window.el (split-window): Make new window inherit any
'min-margins' parameter from WINDOW so that horizontal splits
reliably produce windows of same width (Bug#44483).

4 years agoHandle Cairo errors in ftcrfont_open
Pip Cet [Thu, 22 Oct 2020 11:40:34 +0000 (13:40 +0200)]
Handle Cairo errors in ftcrfont_open

* src/ftcrfont.c (ftcrfont_open): Handle Cairo errors (bug#41627).

(cherry picked from commit 954a4decfcc8e41084789516773b22d0adc11d91)

4 years agoBackport: Fix exiting the finder-commentary buffer
Stefan Kangas [Tue, 3 Nov 2020 00:35:01 +0000 (01:35 +0100)]
Backport: Fix exiting the finder-commentary buffer

Do not merge to master.

* lisp/finder.el (finder-exit): Fix exiting the finder-commentary
buffer.  (Bug#44384)
(finder-buffer): New defconst.
(finder-list-keywords): Use above new defconst.

4 years ago; * lisp/international/mule.el (define-coding-system): Doc fix.
Eli Zaretskii [Fri, 6 Nov 2020 20:13:50 +0000 (22:13 +0200)]
; * lisp/international/mule.el (define-coding-system): Doc fix.

4 years ago* src/w32fns.c (Fw32_register_hot_key): Doc fix. (Bug#44456)
Eli Zaretskii [Thu, 5 Nov 2020 17:46:50 +0000 (19:46 +0200)]
* src/w32fns.c (Fw32_register_hot_key): Doc fix.  (Bug#44456)

4 years agoPrevent redisplay from moving point behind user's back
Eli Zaretskii [Wed, 4 Nov 2020 20:10:06 +0000 (22:10 +0200)]
Prevent redisplay from moving point behind user's back

* src/bidi.c (bidi_at_paragraph_end, bidi_find_paragraph_start):
Bind inhibit-quit to a non-nil value around calls to
fast_looking_at, to prevent breaking out of redisplay_window,
which temporarily moves point in buffers shown in non-selected
windows.  (Bug#44448)

4 years agoDocument that the :match function for a widget takes an external value
Mauro Aranda [Mon, 2 Nov 2020 12:33:55 +0000 (09:33 -0300)]
Document that the :match function for a widget takes an external value

* doc/misc/widget.texi (Basic Types): Document what an external value
is.  Document that a :match function expects the value to be in the
external format.  (Bug#8717)

4 years agoDon't render XML declaration of an HTML document (bug#44348)
Stephen Berman [Mon, 2 Nov 2020 22:24:20 +0000 (23:24 +0100)]
Don't render XML declaration of an HTML document (bug#44348)

* lisp/net/eww.el (eww--preprocess-html): Prevent converting the
left angle bracket in the sequence "<?" to an HTML entity.

4 years agoRecover the contents of the schemas.xml file
Yasuhiro KIMURA [Sun, 1 Nov 2020 13:01:31 +0000 (14:01 +0100)]
Recover the contents of the schemas.xml file

* etc/schema/schemas.xml: Recover the file, which was apparently
(mostly) removed by mistake by commit 165f738382 (bug#42851).

Copyright-paperwork-exempt: yes

4 years ago; * src/xdisp.c (display_string): Fix a typo in a comment.
Eli Zaretskii [Sun, 1 Nov 2020 19:49:35 +0000 (21:49 +0200)]
; * src/xdisp.c (display_string): Fix a typo in a comment.

4 years agoImprove indexing of check-declare
Stefan Kangas [Sun, 1 Nov 2020 18:29:47 +0000 (19:29 +0100)]
Improve indexing of check-declare

* doc/lispref/functions.texi (Declaring Functions): Improve indexing.

4 years ago; * lisp/autoinsert.el (auto-insert-alist): Fix texinfo URL.
Stefan Kangas [Sun, 1 Nov 2020 18:08:21 +0000 (19:08 +0100)]
; * lisp/autoinsert.el (auto-insert-alist): Fix texinfo URL.

The old texinfo domain seems to no longer be controlled by the GNU
project, starting at least as early as 2012.  See also:
https://web.archive.org/web/20120410044746/http://www.texinfo.org/

4 years ago; Auto-commit of loaddefs files.
Glenn Morris [Sun, 1 Nov 2020 14:12:09 +0000 (06:12 -0800)]
; Auto-commit of loaddefs files.

4 years ago* doc/lispref/commands.texi (Key Sequence Input): Fix indexing.
Eli Zaretskii [Sat, 31 Oct 2020 08:01:44 +0000 (10:01 +0200)]
* doc/lispref/commands.texi (Key Sequence Input): Fix indexing.

(cherry picked from commit 41c4f337c8f798d4700dcd13b73ad4ccdb3257eb)

4 years agoUpdating docs with all special window prefix keys.
Jared Finder [Sun, 4 Oct 2020 07:01:23 +0000 (00:01 -0700)]
Updating docs with all special window prefix keys.

* doc/lispref/commands.texi (Key Sequence Input): Add documentation for
missing special window areas.  Explicitly call out window or frame.

(cherry picked from commit a105db13e11fd15cc72804bf33672122d1c3f2e1)

4 years agoImprove reproducibility of generated -pkg.el files
Glenn Morris [Sat, 31 Oct 2020 02:20:24 +0000 (19:20 -0700)]
Improve reproducibility of generated -pkg.el files

* lisp/emacs-lisp/package.el (package-generate-description-file):
Don't include the full name of the source file in the header,
since that varies non-reproducibly according to the build directory.
https://bugs.debian.org/972861
Note that elpa.gnu.org's admin/archive-contents.el does this by hand
and already only includes the nondirectory part.

4 years agoMake sure pixel sizes are zero when setting window size for ptys.
Noah Friedman [Thu, 29 Oct 2020 21:55:37 +0000 (14:55 -0700)]
Make sure pixel sizes are zero when setting window size for ptys.

* sysdep.c (set_window_size): Initialize data to zero to avoid
passing any garbage from the stack to ioctl.

4 years agoFix failure of 'emacs --daemon' on Cygwin
Ken Brown [Thu, 29 Oct 2020 12:45:29 +0000 (08:45 -0400)]
Fix failure of 'emacs --daemon' on Cygwin

* src/emacs.c (DAEMON_MUST_EXEC): Define unconditionally on
Cygwin, not just if HAVE_NTGUI is defined.  This fixes the failure
of 'emacs --daemon' to start on the non-w32 Cygwin builds.
(Bug#44285)

4 years agoCC Mode: Only recognize foo (*bar) as a function pointer when followed by (
Alan Mackenzie [Wed, 28 Oct 2020 10:22:37 +0000 (10:22 +0000)]
CC Mode: Only recognize foo (*bar) as a function pointer when followed by (

* lisp/progmodes/cc-engine.el (c-forward-over-decl-or-cast-1): (after CASE 2)
test variables got-suffix-after-parens and at-decl-end before invoking
c-fdoc-shift-type-backward.

4 years agoFix NEWS entry for fix of Bug#44080
Clemens Radermacher [Tue, 27 Oct 2020 17:31:47 +0000 (18:31 +0100)]
Fix NEWS entry for fix of Bug#44080

4 years ago* src/buffer.c (syms_of_buffer) <fill-column>: Improve doc string.
Eli Zaretskii [Tue, 27 Oct 2020 15:43:29 +0000 (17:43 +0200)]
* src/buffer.c (syms_of_buffer) <fill-column>: Improve doc string.

4 years agoDon't skip empty lines when fitting mini frame to buffer (Bug#44080)
Clemens Radermacher [Tue, 27 Oct 2020 08:45:25 +0000 (09:45 +0100)]
Don't skip empty lines when fitting mini frame to buffer (Bug#44080)

* lisp/window.el (fit-mini-frame-to-buffer,
window--resize-mini-frame, fit-frame-to-buffer,
fit-frame-to-buffer-1): By default, fit a mini frame without skipping its
buffer's leading or trailing empty lines.
* src/frame.c (resize-mini-frames): Update doc-string.
* lisp/cus-start.el (resize-mini-frames): Update for customize.
* doc/lispref/minibuf.texi (resize-mini-frames): Update description.

4 years ago; * etc/tutorials/TUTORIAL.de: Fix grammar (Bug#44246)
Philipp Stephani [Mon, 26 Oct 2020 20:38:13 +0000 (21:38 +0100)]
; * etc/tutorials/TUTORIAL.de: Fix grammar (Bug#44246)

4 years agoImprove documentation of display-fill-column-indicator
Eli Zaretskii [Mon, 26 Oct 2020 16:01:13 +0000 (18:01 +0200)]
Improve documentation of display-fill-column-indicator

* lisp/display-fill-column-indicator.el
(display-fill-column-indicator-mode): Mention the globalized
version in the doc string.

* doc/emacs/display.texi (Displaying Boundaries): Improve and
clarify the documentation of display-fill-column-indicator.
Suggest using the minor mode as the primary means for turning the
feature on.

* src/xdisp.c (syms_of_xdisp) <display-fill-column-indicator>
<display-fill-column-indicator-character>: Doc fix.  (Bug#44226)

4 years ago* INSTALL: Mention efaq.texi for installation of intlfonts.
Michael Albinus [Sun, 25 Oct 2020 11:44:01 +0000 (12:44 +0100)]
* INSTALL: Mention efaq.texi for installation of intlfonts.

4 years agoUse WebKit sandboxing
Paul Eggert [Sat, 24 Oct 2020 22:34:12 +0000 (15:34 -0700)]
Use WebKit sandboxing

* src/xwidget.c (Fmake_xwidget): Enable sandboxing if WebKit 2.26
or later.  Do this early, as required for sandboxing (Bug#43071).
Co-authored-by: Qiantan Hong <qhong@mit.edu>
Copyright-paperwork-exempt: yes

4 years agoFix tramp-sh-handle-make-process; don't merge with master
Michael Albinus [Sat, 24 Oct 2020 11:08:31 +0000 (13:08 +0200)]
Fix tramp-sh-handle-make-process; don't merge with master

* lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Accept nil
COMMAND.  (Bug#44151)

* test/lisp/net/tramp-tests.el (tramp-test29-start-file-process):
Extend test.

4 years agoMerge branch 'emacs-27' of git.sv.gnu.org:/srv/git/emacs into emacs-27
Michael Albinus [Fri, 23 Oct 2020 14:26:47 +0000 (16:26 +0200)]
Merge branch 'emacs-27' of git.sv.gnu.org:/srv/git/emacs into emacs-27

4 years agoFix an error in tramp-sh-handle-make-process. Dont' merge with master
Michael Albinus [Fri, 23 Oct 2020 14:26:25 +0000 (16:26 +0200)]
Fix an error in tramp-sh-handle-make-process.  Dont' merge with master

* lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Don't use heredoc
script whent the argument contains a string.

4 years agoRecommend lexical-binding in Coding Conventions
Stefan Kangas [Tue, 20 Oct 2020 23:50:50 +0000 (01:50 +0200)]
Recommend lexical-binding in Coding Conventions

* doc/lispref/tips.texi (Coding Conventions, Library Headers):
Recommend using lexical-binding.

4 years agoAvoid rare crashes while producing line numbers
Eli Zaretskii [Wed, 21 Oct 2020 15:32:51 +0000 (18:32 +0300)]
Avoid rare crashes while producing line numbers

* src/xdisp.c (maybe_produce_line_number): Prevent freeing of
realized faces for as long as we are using lnum_face_id and
current_lnum_face_id for producing glyphs.  (Bug#44111)

4 years agoImprove documentation of 'Info-hide-note-references' in info.texi
Eli Zaretskii [Sat, 17 Oct 2020 11:43:25 +0000 (14:43 +0300)]
Improve documentation of 'Info-hide-note-references' in info.texi

* doc/misc/info.texi (Help-Xref): Improve the wording.
(Emacs Info Variables): Update the documentation of
'Info-hide-note-references'.  (Bug#44043)

4 years ago* admin/release-process: Add note to update files from upstream.
Stefan Kangas [Sat, 17 Oct 2020 00:06:26 +0000 (02:06 +0200)]
* admin/release-process: Add note to update files from upstream.

(cherry picked from commit 86dd9d12aa5a273da2efd4ce8c6e35ae343f1494)

4 years ago* lisp/info.el (Info-hide-note-references): Doc fix. (Bug#44043)
Eli Zaretskii [Sat, 17 Oct 2020 07:32:26 +0000 (10:32 +0300)]
* lisp/info.el (Info-hide-note-references): Doc fix.  (Bug#44043)

4 years agoMake lisp/progmodes/js.el dependent on CC Mode in the Makefile.
Alan Mackenzie [Fri, 16 Oct 2020 16:25:19 +0000 (16:25 +0000)]
Make lisp/progmodes/js.el dependent on CC Mode in the Makefile.

This will prevent version mismatches between compile time and runtime
versions.  This fixes bug #43037.

* lisp/Makefile.in: Make js.el dependent on cc-{defs,engine,mode}.elc.

4 years agoYet another fix for 'set-minibuffer-message'
Eli Zaretskii [Fri, 16 Oct 2020 07:17:42 +0000 (10:17 +0300)]
Yet another fix for 'set-minibuffer-message'

* lisp/minibuffer.el (set-minibuffer-message): Handle the case of
separate minibuffer-only frame.  Suggested by Gregory Heytings
<ghe@sdf.org>.

4 years agoFix posn-at-x-y in builds --without-x
Eli Zaretskii [Fri, 16 Oct 2020 07:02:50 +0000 (10:02 +0300)]
Fix posn-at-x-y in builds --without-x

* src/keyboard.c (make_lispy_position): Don't exclude the
window_or_frame = frame case from TTY-only builds.  Reported by
Jared Finder <jared@finder.org>.

* doc/lispref/commands.texi (Click Events): Document the format of
POSITION in click events on the frame's internal border.

4 years agoClarify the seq-reduce documentation
Lars Ingebrigtsen [Thu, 15 Oct 2020 07:37:44 +0000 (09:37 +0200)]
Clarify the seq-reduce documentation

* doc/lispref/sequences.texi (Sequence Functions): Ditto.

* lisp/emacs-lisp/seq.el (seq-reduce): Clarify the order of the
arguments (bug#43995).

4 years agoMake tramp-completion-reread-directory-timeout obsolete (Bug#43932)
Michael Albinus [Mon, 12 Oct 2020 11:06:16 +0000 (13:06 +0200)]
Make tramp-completion-reread-directory-timeout obsolete (Bug#43932)

* doc/misc/tramp.texi (File name completion, Frequently Asked Questions):
Remove `tramp-completion-reread-directory-timeout'.  (Bug#43932)

* etc/NEWS: Mention tramp-completion-reread-directory-timeout as obsolete.

* lisp/net/tramp.el (tramp-completion-reread-directory-timeout):
Make it obsolete.

4 years agoFix 'message' when there's active minibuffer on another frame
Gregory Heytings [Sun, 11 Oct 2020 14:36:44 +0000 (17:36 +0300)]
Fix 'message' when there's active minibuffer on another frame

* lisp/minibuffer.el (set-minibuffer-message): Don't reuse the
active minibuffer for displaying messages unless the active
minibuffer is on the same frame as the selected window.

Copyright-paperwork-exempt: yes

4 years ago* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Doc tweak
Stefan Monnier [Sat, 10 Oct 2020 15:07:28 +0000 (11:07 -0400)]
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Doc tweak

Try and clarify the meaning of `init-value`.

(cherry picked from commit 46c0f28c0e4e212687e90ec0ecb239d994105a19)

4 years agoA better fix for bug#43886
Eli Zaretskii [Sat, 10 Oct 2020 08:11:34 +0000 (11:11 +0300)]
A better fix for bug#43886

* src/xfaces.c (load_color2, Fcolor_distance): Revert last change.
* src/term.c (clear_tty_hooks): Don't clear defined_color_hook.

4 years agoAvoid crashes when a theme is loaded with one frame suspended
Eli Zaretskii [Fri, 9 Oct 2020 19:21:18 +0000 (22:21 +0300)]
Avoid crashes when a theme is loaded with one frame suspended

* src/xfaces.c (load_color2, Fcolor_distance): Don't try to call
the frame's defined_color_hook if the frame is suspended.
(Bug#43886)

4 years agoRemoved an incorrectly placed extra word in the semantic docs
Pankaj Jangid [Fri, 9 Oct 2020 04:46:27 +0000 (06:46 +0200)]
Removed an incorrectly placed extra word in the semantic docs

* doc/misc/semantic.texi (Parser code): Copy edit (bug#43861).

Copyright-paperwork-exempt: yes

4 years agoFix current-line hscrolling when overlays change
Eli Zaretskii [Thu, 8 Oct 2020 11:45:16 +0000 (14:45 +0300)]
Fix current-line hscrolling when overlays change

* src/xdisp.c (redisplay_internal): Disable "optimization 1" when
auto-hscrolling current line and we're redisplaying the selected
window.  (Bug#43835)

4 years agoExtend tests for shell-command-dont-erase-buffer
Michael Albinus [Thu, 8 Oct 2020 09:28:50 +0000 (11:28 +0200)]
Extend tests for shell-command-dont-erase-buffer

* test/lisp/simple-tests.el
(simple-tests-shell-command-dont-erase-buffer): Extend test.

* test/lisp/net/tramp-tests.el
(tramp-test32-shell-command-dont-erase-buffer): Adapt test.  Tag
it :unstable.

4 years agoClarify what ``chrooted environment means'' for TRAMP
Hong Xu [Wed, 7 Oct 2020 02:41:29 +0000 (04:41 +0200)]
Clarify what ``chrooted environment means'' for TRAMP

* doc/misc/tramp.texi (Frequently Asked Questions): Clarify what
``chrooted environment means'' for TRAMP (bug#43839).

4 years ago; * src/xdisp.c (Fwindow_text_pixel_size): Doc fix.
Eli Zaretskii [Tue, 6 Oct 2020 16:32:20 +0000 (19:32 +0300)]
; * src/xdisp.c (Fwindow_text_pixel_size): Doc fix.

4 years agoAdd missing full stop in MS-DOS processes documentation
Daniel Martín [Tue, 6 Oct 2020 01:42:44 +0000 (03:42 +0200)]
Add missing full stop in MS-DOS processes documentation

* doc/emacs/msdos-xtra.texi (MS-DOS Processes): Minor copy edig
(bug#43820).

4 years agoFix merging of region face for non-ASCII characters
Eli Zaretskii [Mon, 5 Oct 2020 09:34:22 +0000 (12:34 +0300)]
Fix merging of region face for non-ASCII characters

* src/xdisp.c (extend_face_to_end_of_line): Restore the correct
original face used by the iterator on this line, not the ASCII
face.  (Bug#43363)

4 years agoMake drag and drop on NS open all URLs (bug#43470)
Alan Third [Sun, 27 Sep 2020 09:55:32 +0000 (10:55 +0100)]
Make drag and drop on NS open all URLs (bug#43470)

* lisp/term/ns-win.el (ns-drag-n-drop): Merge generic and copy
actions.

Co-authored-by: Daniel Martín <mardani29@yahoo.es>
4 years agoFix electric-buffer-list buffer selection
Lars Ingebrigtsen [Fri, 2 Oct 2020 06:07:53 +0000 (08:07 +0200)]
Fix electric-buffer-list buffer selection

* lisp/ebuff-menu.el (electric-buffer-list): Ensure that point is
restored, which isn't always the case if
global-display-line-numbers-mode (bug#43755).  This enables
selecting buffers again.

4 years ago; Fix many typos in symbols in docs and comments
Stefan Kangas [Wed, 23 Sep 2020 11:35:55 +0000 (13:35 +0200)]
; Fix many typos in symbols in docs and comments

4 years ago* doc/misc/flymake.texi (Using Flymake): Fix a typo. (Bug#43758)
Eli Zaretskii [Fri, 2 Oct 2020 10:57:51 +0000 (13:57 +0300)]
* doc/misc/flymake.texi (Using Flymake): Fix a typo.  (Bug#43758)

4 years agoDon't error if no GPG signing key configured
Robert Pluim [Fri, 2 Oct 2020 08:47:06 +0000 (10:47 +0200)]
Don't error if no GPG signing key configured

* lisp/gnus/mml-sec.el (mml-secure-epg-sign): Partially revert
"Make mml-secure-epg-sign bug out if we can't find an identity".
It causes signing to fail for people who have not set up
mml-secure-{smime,openpgp}-sign-with-sender, which is a regression
from Emacs-26 (Bug#40118).  In such a situation gpg will use its
default key.

Do not merge to master. On master Emacs will query the user.

4 years ago2020-03-29 Michael R. Mauger <michael@mauger.com>
Michael R. Mauger [Mon, 30 Mar 2020 00:52:10 +0000 (20:52 -0400)]
2020-03-29  Michael R. Mauger  <michael@mauger.com>

       * lisp/progmodes/sql.el (sql-add-product): Re-correct argument
       spec.  Previous change was due to my mistake; I have
       resolved back to the prior behavior (Bug#39960).
       * test/lisp/progmodes/sql-tests.el (sql-test-add-product): Added
       test to insure I don't make the same mistake again.

4 years agoMake aliases introduced in previous patch obsolete
Lars Ingebrigtsen [Thu, 1 Oct 2020 18:03:58 +0000 (20:03 +0200)]
Make aliases introduced in previous patch obsolete

* lisp/emacs-lisp/debug.el (debugger-toggle-locals):
(debug-help-follow): Make reinstated aliases obsolete.

4 years agoRestore some public debugging functions removed in Emacs 27
Gemini Lasswell [Thu, 1 Oct 2020 17:59:58 +0000 (19:59 +0200)]
Restore some public debugging functions removed in Emacs 27

* lisp/emacs-lisp/backtrace.el (backtrace--to-string): New function.
(backtrace-to-string): Use it.  Fix whitespace (bug#40728).
* lisp/emacs-lisp/debug.el (debugger-insert-backtrace): New function.
Mark it as obsolete.
(debugger-toggle-locals, debug-help-follow): New aliases.

4 years ago; Auto-commit of loaddefs files.
Glenn Morris [Thu, 1 Oct 2020 13:11:26 +0000 (06:11 -0700)]
; Auto-commit of loaddefs files.

4 years agoClarification in Tramp manual
Michael Albinus [Thu, 1 Oct 2020 12:23:20 +0000 (14:23 +0200)]
Clarification in Tramp manual

* doc/misc/tramp.texi: Harmonize "Git" spelling.
(Frequently Asked Questions): Describe Emacs version mismatch.

4 years agoCheck Emacs version used for Tramp compilation
Michael Albinus [Thu, 1 Oct 2020 10:16:59 +0000 (12:16 +0200)]
Check Emacs version used for Tramp compilation

* lisp/net/tramp-compat.el (tramp-compat-emacs-compiled-version):
New defconst.  Raise a warning, when it is not equal to the Emacs
version.

4 years agoDon't signal an error when saving files on WdebDAV volumes
Eli Zaretskii [Tue, 29 Sep 2020 15:21:23 +0000 (18:21 +0300)]
Don't signal an error when saving files on WdebDAV volumes

* src/w32.c (acl_get_file): If get_file_security raises the
ERROR_ACCESS_DENIED error, treat that like unsupported ACLs.

4 years ago; * lisp/net/eww.el (eww-search-words): Doc fix.
Eli Zaretskii [Tue, 29 Sep 2020 15:07:44 +0000 (18:07 +0300)]
; * lisp/net/eww.el (eww-search-words): Doc fix.

4 years ago* lisp/hi-lock.el (hi-lock-find-patterns): Autoload it. (Bug#43670)
Eli Zaretskii [Mon, 28 Sep 2020 09:45:28 +0000 (12:45 +0300)]
* lisp/hi-lock.el (hi-lock-find-patterns): Autoload it.  (Bug#43670)

4 years agoMinor copyedits in the Emacs user manual
Eli Zaretskii [Sun, 27 Sep 2020 06:09:27 +0000 (09:09 +0300)]
Minor copyedits in the Emacs user manual

* doc/emacs/emacs.texi (Top): Remove "real-time" from the Emacs
description; add "advanced", to be consistent with what we say in
the Introduction section.  (Bug#43633)

4 years agoFollowup to a recent change in menu-bar.el
Eli Zaretskii [Sat, 26 Sep 2020 15:35:00 +0000 (18:35 +0300)]
Followup to a recent change in menu-bar.el

* lisp/fileloop.el (fileloop--operate-function): Mention in a
comment that menu-bar.el relies on the default value.

4 years agoEnable "Continue Tags Search" menu item only when it can be used
Eli Zaretskii [Sat, 26 Sep 2020 08:50:15 +0000 (11:50 +0300)]
Enable "Continue Tags Search" menu item only when it can be used

* lisp/menu-bar.el (menu-bar-search-menu) <tags-continue>: Enable
only when there was a previous tags search.  (Bug#43569)
(menu-bar-replace-menu) <tags-repl-continue>: Enable only when
there was a previous tags-replace.

4 years agoFix soap-client URL
Paul Eggert [Sat, 26 Sep 2020 07:31:17 +0000 (00:31 -0700)]
Fix soap-client URL

* lisp/net/soap-client.el (soap-create-envelope):
Fix URL that I broke in 2019-09-23T06:53:30Z!eggert@cs.ucla.edu.
Problem reported by Thomas Fitzsimmons.

4 years agoFix out-of-source ‘make check’ emacs-module-tests
Paul Eggert [Thu, 9 Jul 2020 23:35:48 +0000 (16:35 -0700)]
Fix out-of-source ‘make check’ emacs-module-tests

Problem reported by Koki Fukuda in:
https://lists.gnu.org/r/emacs-devel/2020-07/msg00169.html
* test/Makefile.in (MODULE_CFLAGS):
Include from the same directories included from in ../src.
* test/src/emacs-module-tests.el (module/describe-function-1):
Strip path to source directory.

(cherry picked from commit c86f3fe0d023cdd25edbbce91c5b32654f2b734e)

4 years agoFix support for Zip64 zip files
Eli Zaretskii [Fri, 25 Sep 2020 14:11:11 +0000 (17:11 +0300)]
Fix support for Zip64 zip files

* lisp/arc-mode.el (archive-zip-summarize): Fix detection of Zip64
central directory.  Support 64-bit file size field used by Zip64.
(Bug#43597)

4 years ago* lisp/hi-lock.el (hi-lock-auto-select-face): Doc fix. (Bug#43600)
Eli Zaretskii [Fri, 25 Sep 2020 09:41:54 +0000 (12:41 +0300)]
* lisp/hi-lock.el (hi-lock-auto-select-face): Doc fix.  (Bug#43600)

4 years agoAvoid infinite recursion with 'relative' line numbers display
Eli Zaretskii [Fri, 25 Sep 2020 08:55:51 +0000 (11:55 +0300)]
Avoid infinite recursion with 'relative' line numbers display

* src/xdisp.c (display_count_lines_visually): Bind
'display-line-numbers' to 'relative' around 'start_display' as
well, since that can invoke 'move_it_to' internally, thus
causing infinite recursion.  (Bug#43589)

4 years ago; Fix more trivial typos
Stefan Kangas [Mon, 21 Sep 2020 13:12:16 +0000 (15:12 +0200)]
; Fix more trivial typos

4 years ago; Fix some trivial typos
Stefan Kangas [Mon, 21 Sep 2020 13:03:57 +0000 (15:03 +0200)]
; Fix some trivial typos

4 years agoMinor improvement in the ELisp manual's Introduction
Eli Zaretskii [Sun, 20 Sep 2020 14:33:55 +0000 (17:33 +0300)]
Minor improvement in the ELisp manual's Introduction

* doc/lispref/intro.texi (Printing Notation): Clarify what
"execute code" means in this context.  (Bug#43463)

4 years agoMention in PROBLEMS the problems with fonts and Uniscribe
Eli Zaretskii [Sun, 20 Sep 2020 11:08:35 +0000 (14:08 +0300)]
Mention in PROBLEMS the problems with fonts and Uniscribe

* etc/PROBLEMS: Mention font-related problems with Uniscribe on
MS-Windows.  (Bug#39340)

4 years agoMinor copyedits in 'line-height' documentation
Eli Zaretskii [Sat, 19 Sep 2020 19:22:08 +0000 (22:22 +0300)]
Minor copyedits in 'line-height' documentation

* doc/lispref/display.texi (Line Height): Describe the possible
values of the 'line-height' property in a more consistent format.

4 years ago; * src/frame.c (syms_of_frame) <make-pointer-invisible>: Doc fix.
Eli Zaretskii [Sat, 19 Sep 2020 18:57:20 +0000 (21:57 +0300)]
; * src/frame.c (syms_of_frame) <make-pointer-invisible>: Doc fix.

4 years ago* doc/misc/eww.texi: Document the `w' key's double function
Gregor Zattler [Sat, 19 Sep 2020 17:25:24 +0000 (19:25 +0200)]
* doc/misc/eww.texi: Document the `w' key's double function

* doc/misc/eww.texi (Basics): Describe what the `w' command does
in eww (bug#43517).

4 years agoFix a rare segfault in syntax.c
Eli Zaretskii [Sat, 19 Sep 2020 16:54:01 +0000 (19:54 +0300)]
Fix a rare segfault in syntax.c

* src/syntax.c (Fforward_comment): Prevent the loop for COUNT < 0
from going outside the valid range of character/byte positions.
(Bug#43499)

* doc/lispref/syntax.texi (Syntax Class Table): Mention the
"comment-fence" and "string-fence" as alternative names of 2
syntax classes.

4 years agoAdd doc to syntax-propertize-function saying it must do a 100% job
Alan Mackenzie [Sat, 19 Sep 2020 16:50:27 +0000 (16:50 +0000)]
Add doc to syntax-propertize-function saying it must do a 100% job

and cannot be combined with other ways of applying syntax-table text
properties.

* lisp/emacs-lisp/syntax.el (syntax-propertize-function): Amend doc string.

* doc/lispref/syntax.texi (Syntax Properties): Amend the description of the
variable.

4 years agoMinor copyedits of doc of 'with-silent-modifications'
Eli Zaretskii [Sat, 19 Sep 2020 08:30:57 +0000 (11:30 +0300)]
Minor copyedits of doc of 'with-silent-modifications'

* doc/lispref/text.texi (Changing Properties):
* doc/lispref/buffers.texi (Buffer Modification): Improve
documentation and indexing of 'with-silent-modifications'.

4 years agoImprove documentation of 'max-mini-window-height'
Eli Zaretskii [Fri, 18 Sep 2020 19:50:36 +0000 (22:50 +0300)]
Improve documentation of 'max-mini-window-height'

* src/xdisp.c (syms_of_xdisp):
* doc/lispref/minibuf.texi (Minibuffer Windows): More accurate
wording in the documentation of 'max-mini-window-height', to
clarify the meaning of an integer value.

4 years agoUse modern constant names for the NS pasteboard
Daniel Martín [Fri, 18 Sep 2020 11:36:47 +0000 (13:36 +0200)]
Use modern constant names for the NS pasteboard

Use the same pasteboard constant names defined in
ns_drag_types. (Bug#43470).

* src/nsterm.m: Rename NSURLPboardType to NSPasteboardTypeURL,
NSStringPboardType to NSPasteboardTypeString, and
NSTabularTextPboardType to NSPasteboardTypeTabularText

4 years agoFix doc string of 'toggle-menu-bar-mode-from-frame'
Eli Zaretskii [Wed, 16 Sep 2020 16:16:25 +0000 (19:16 +0300)]
Fix doc string of 'toggle-menu-bar-mode-from-frame'

* lisp/menu-bar.el (toggle-menu-bar-mode-from-frame): Improve the
wording of the doc string.  (Bug#43383)

4 years agoMake vc-bzr tests work with brz 3.1 (bug#43314)
Glenn Morris [Sat, 12 Sep 2020 16:51:32 +0000 (09:51 -0700)]
Make vc-bzr tests work with brz 3.1 (bug#43314)

* test/lisp/vc/vc-bzr-tests.el (vc-bzr-test-bug9726)
(vc-bzr-test-bug9781, vc-bzr-test-faulty-bzr-autoloads):
Make them work with brz 3.1.

4 years agodiff-no-select doc string clarification
Lars Ingebrigtsen [Sat, 12 Sep 2020 11:08:29 +0000 (13:08 +0200)]
diff-no-select doc string clarification

* lisp/vc/diff.el (diff-no-select): Update doc string from the trunk,
don't merge.

4 years agoFix compilation on TERMINFO platforms with GCC 10
Eli Zaretskii [Sat, 12 Sep 2020 07:11:26 +0000 (10:11 +0300)]
Fix compilation on TERMINFO platforms with GCC 10

* src/terminfo.c [TERMINFO]: Don't redefine UP, BC, and CP, as
that could cause linking errors due to multiple definitions.
(Bug#43195)

4 years agoFix the font-lock-debug-fontify NEWS entry
Lars Ingebrigtsen [Thu, 10 Sep 2020 20:52:47 +0000 (22:52 +0200)]
Fix the font-lock-debug-fontify NEWS entry

* etc/NEWS: Fix the name of `font-lock-debug-fontify' (bug#43319).

4 years agoAvoid crashes when trying to load bad GIF files
Eli Zaretskii [Tue, 8 Sep 2020 16:17:23 +0000 (19:17 +0300)]
Avoid crashes when trying to load bad GIF files

* src/image.c (gif_load): Handle the case when GifErrorString
returns NULL.  (Bug#43281)

4 years agoC++ Mode: handle comma separated brace initializers.
Alan Mackenzie [Fri, 4 Sep 2020 19:10:17 +0000 (19:10 +0000)]
C++ Mode: handle comma separated brace initializers.

This includes both indentation and fontification.

* lisp/progmodes/cc-engine.el (c-do-declarators): Handle brace initializers
without = correctly.
(c-looking-at-or-maybe-in-bracelist): Use c-do-declarators with a simple
inline function to check that after-type-id-pos points to the start of a
declarator.

* lisp/progmodes/cc-langs.el (c-recognize-bare-brace-inits): New lang
const/variable.

4 years ago* lisp/display-fill-column-indicator.el: Fix bug#41145
Stefan Monnier [Fri, 4 Sep 2020 12:46:45 +0000 (08:46 -0400)]
* lisp/display-fill-column-indicator.el: Fix bug#41145

(global-display-fill-column-indicator-mode): Specify the implicit
defustom's group explicitly.

* lisp/cus-dep.el (custom-make-dependencies): Also look at
define(-globalized)-minor-mode since it can also define custom vars.

4 years agoBackport recent change in tramp-tests.el from master, don't merge
Michael Albinus [Fri, 4 Sep 2020 12:24:23 +0000 (14:24 +0200)]
Backport recent change in tramp-tests.el from master, don't merge

* test/lisp/net/tramp-tests.el (tramp-test05-expand-file-name):
No need to expect different results in Emacs 28 and later.

4 years agoFix bug in dbus.el; do not merge with master
Michael Albinus [Thu, 3 Sep 2020 11:56:13 +0000 (13:56 +0200)]
Fix bug in dbus.el; do not merge with master

* lisp/net/dbus.el (dbus-register-property)
(dbus-property-handler): Handle properties of the same interface
at different object paths properly.  (Bug#43146)

4 years ago; * lisp/man.el (Man-mode): Fix formatting.
Stefan Kangas [Mon, 31 Aug 2020 18:47:50 +0000 (20:47 +0200)]
; * lisp/man.el (Man-mode): Fix formatting.