]> git.eshelyaron.com Git - emacs.git/log
emacs.git
5 years agoAdd lisp/net/tramp-sh.el to .gitlab-ci.yml scratch/albinus
Michael Albinus [Mon, 7 Jan 2019 13:17:08 +0000 (14:17 +0100)]
Add lisp/net/tramp-sh.el to .gitlab-ci.yml

5 years agoRemove instrumentation
Michael Albinus [Mon, 7 Jan 2019 13:09:02 +0000 (14:09 +0100)]
Remove instrumentation

* lisp/filenotify.el (file-notify-handle-event):
* test/lisp/filenotify-tests.el (file-notify--test-event-handler):
Remove instrumentation.

5 years ago; YAML does not support folded lines
Michael Albinus [Mon, 7 Jan 2019 12:04:00 +0000 (13:04 +0100)]
; YAML does not support folded lines

5 years ago; Some .gitlab-ci.yml corrections
Michael Albinus [Mon, 7 Jan 2019 11:54:32 +0000 (12:54 +0100)]
; Some .gitlab-ci.yml corrections

5 years agoFurther work on emba tests
Michael Albinus [Mon, 7 Jan 2019 11:21:58 +0000 (12:21 +0100)]
Further work on emba tests

* .gitlab-ci.yml (test-all): Remove after_script.
(test-filenotify-gio): Remove after_script and when.  Add
src/gfilenotify.c as dependent change.  Use filenotify-tests.log
make target.

* test/lisp/filenotify-tests.el (file-notify-test03-events)
(file-notify-test05-file-validity)
(file-notify-test06-dir-validity)
(file-notify-test07-many-events)
(file-notify-test09-watched-file-in-watched-dir): Check just for
(getenv "EMACS_EMBA_CI").

5 years ago; Further fixes in .gitlab-ci.yml
Michael Albinus [Mon, 7 Jan 2019 10:30:10 +0000 (11:30 +0100)]
; Further fixes in .gitlab-ci.yml

* .gitlab-ci.yml (stages): Use only test.
(test-filenotify-gio): Install missing libglib2.0 packages.

5 years ago; Fix syntax error in .gitlab-ci.yml
Michael Albinus [Mon, 7 Jan 2019 09:23:15 +0000 (10:23 +0100)]
; Fix syntax error in .gitlab-ci.yml

5 years agoAdapt .gitlab-ci.yml
Michael Albinus [Mon, 7 Jan 2019 09:16:39 +0000 (10:16 +0100)]
Adapt .gitlab-ci.yml

* .gitlab-ci.yml (variables): Move outside jobs.  Use
"GIT_STRATEGY: fetch".
(stages): Declare test-all and test-filenotify-gio.
(test-all): Rename from "test".  Install and remove inotify-tools.
Call "make check-expensive".
(test-filenotify-gio): New job.

5 years agoAdapt filenotify-tests
Michael Albinus [Sun, 6 Jan 2019 15:35:38 +0000 (16:35 +0100)]
Adapt filenotify-tests

5 years ago* .gitlab-ci.yml (before_script): Install also inotify-tools.
Michael Albinus [Sun, 6 Jan 2019 14:46:31 +0000 (15:46 +0100)]
* .gitlab-ci.yml (before_script): Install also inotify-tools.

5 years ago* test/lisp/filenotify-tests.el
Michael Albinus [Sun, 6 Jan 2019 13:42:07 +0000 (14:42 +0100)]
* test/lisp/filenotify-tests.el

(file-notify-test09-watched-file-in-watched-dir): Adapt test.

5 years agoAdapt filenotify-tests
Michael Albinus [Sun, 6 Jan 2019 12:45:44 +0000 (13:45 +0100)]
Adapt filenotify-tests

* test/lisp/filenotify-tests.el (file-notify-test05-file-validity)
(file-notify-test06-dir-validity)
(file-notify-test07-many-events)
(file-notify-test09-watched-file-in-watched-dir): Adapt tests.

5 years agoWork on filenotify-tests on emba
Michael Albinus [Sun, 6 Jan 2019 09:12:08 +0000 (10:12 +0100)]
Work on filenotify-tests on emba

* lisp/filenotify.el (file-notify-callback): Revert last change.

* test/lisp/filenotify-tests.el (file-notify-test05-file-validity):
Adapt test.

5 years ago* lisp/filenotify.el (file-notify-callback): Adapt check.
Michael Albinus [Sat, 5 Jan 2019 18:39:07 +0000 (19:39 +0100)]
* lisp/filenotify.el (file-notify-callback): Adapt check.

5 years ago* lisp/filenotify.el (file-notify-callback): Instrument.
Michael Albinus [Sat, 5 Jan 2019 16:17:07 +0000 (17:17 +0100)]
* lisp/filenotify.el (file-notify-callback): Instrument.

5 years ago* test/lisp/filenotify-tests.el (file-notify-test03-events): Adapt test.
Michael Albinus [Sat, 5 Jan 2019 15:02:29 +0000 (16:02 +0100)]
* test/lisp/filenotify-tests.el (file-notify-test03-events): Adapt test.

5 years agoImprove file-notify-callback.
Michael Albinus [Sat, 5 Jan 2019 15:01:02 +0000 (16:01 +0100)]
Improve file-notify-callback.

* lisp/filenotify.el (file-notify-callback): Improve check for
`stopped' event.

5 years ago* test/lisp/filenotify-tests.el (file-notify-test03-events)
Michael Albinus [Sat, 5 Jan 2019 11:21:43 +0000 (12:21 +0100)]
* test/lisp/filenotify-tests.el (file-notify-test03-events)

(file-notify-test05-file-validity): Adapt tests.

5 years ago* test/lisp/filenotify-tests.el (file-notify-test03-events): Adapt test.
Michael Albinus [Sat, 5 Jan 2019 09:46:49 +0000 (10:46 +0100)]
* test/lisp/filenotify-tests.el (file-notify-test03-events): Adapt test.

5 years ago* .gitlab-ci.yml (test): Instrument.
Michael Albinus [Fri, 4 Jan 2019 17:08:03 +0000 (18:08 +0100)]
* .gitlab-ci.yml (test): Instrument.

5 years ago* lisp/filenotify.el (file-notify-handle-event): Instrument.
Michael Albinus [Fri, 4 Jan 2019 16:16:14 +0000 (17:16 +0100)]
* lisp/filenotify.el (file-notify-handle-event): Instrument.

5 years ago* test/lisp/filenotify-tests.el (file-notify-test03-events): Adapt test.
Michael Albinus [Fri, 4 Jan 2019 11:46:27 +0000 (12:46 +0100)]
* test/lisp/filenotify-tests.el (file-notify-test03-events): Adapt test.

5 years agoInstrument filenotify tests
Michael Albinus [Thu, 3 Jan 2019 11:08:56 +0000 (12:08 +0100)]
Instrument filenotify tests

* .gitlab-ci.yml (test): Run only filenotify-tests.

* test/lisp/filenotify-tests.el (file-notify--test-event-handler):
Print test messages on EMBA.

5 years ago.gitlab-ci.yml: add EMACS_EMBA_CI=1 in test scratch/tzz/cicd
Ted Zlatanov [Wed, 2 Jan 2019 17:09:17 +0000 (12:09 -0500)]
.gitlab-ci.yml: add EMACS_EMBA_CI=1 in test

5 years ago.gitlab-ci.yml: unsplit stages
Ted Zlatanov [Mon, 31 Dec 2018 15:05:25 +0000 (10:05 -0500)]
.gitlab-ci.yml: unsplit stages

5 years ago.gitlab-ci.yml: split stages and add git
Ted Zlatanov [Mon, 31 Dec 2018 13:06:15 +0000 (08:06 -0500)]
.gitlab-ci.yml: split stages and add git

5 years agoPrecise documentation of Tramp ad-hoc proxies
Michael Albinus [Mon, 31 Dec 2018 11:18:41 +0000 (12:18 +0100)]
Precise documentation of Tramp ad-hoc proxies

* doc/misc/tramp.texi (Ad-hoc multi-hops): Remove superfluous
first entry about %h and %u.  Describe, how to remove ad-hoc proxy
definitions.
(Cleanup remote connections): Mention, that also ad-hoc proxy
definitions are removed.

* etc/NEWS: Mention default host names in Tramp ad-hoc proxies.

5 years ago* lisp/files.el (locate-file, files--splice-dirname-file): Fix docstring.
Michael Albinus [Mon, 31 Dec 2018 10:38:56 +0000 (11:38 +0100)]
* lisp/files.el (locate-file, files--splice-dirname-file): Fix docstring.

5 years agoFix assertion-violations on non-integers
Paul Eggert [Mon, 31 Dec 2018 03:00:09 +0000 (19:00 -0800)]
Fix assertion-violations on non-integers

These bugs were introduced after bignums were added.
* src/data.c (cons_to_unsigned, cons_to_signed):
* src/xdisp.c (calc_line_height_property):
Invoke integer_to_intmax and integer_to_uintmax only on integers.

5 years agoMerge from origin/emacs-26
Glenn Morris [Mon, 31 Dec 2018 01:02:40 +0000 (17:02 -0800)]
Merge from origin/emacs-26

82c82b1 (origin/emacs-26) In user manual fix value of default frame h...
2e8825d Improve documentation of 'file-local-name' and related APIs
11f0635 ; Remove comment in esh-proc.el

# Conflicts:
# lisp/simple.el

5 years ago; Merge from origin/emacs-26
Glenn Morris [Mon, 31 Dec 2018 00:57:36 +0000 (16:57 -0800)]
; Merge from origin/emacs-26

The following commits were skipped:

3c83c9e Fix Bug#31704.  Do not merge
de7644d Fix Bug#31704.  Do not merge

5 years agoMerge from origin/emacs-26
Glenn Morris [Mon, 31 Dec 2018 00:57:36 +0000 (16:57 -0800)]
Merge from origin/emacs-26

3abebeb * lisp/files.el (cd): Fix last change.  (Bug#33791)
7a60a4f Fix remote directories in Eshell on MS-Windows
822a2d0 Fix :type 'group' in defcustom
a731c56 Fix NS fringe bitmap drawing bug (bug#33864)
0c52459 Fix commentary in dispnew.c
c9fdd1b Improve accept-process-process doc
9578c2a Fix a simple bug in display-buffer-use-some-frame
0f9be72 Clarify thread switching while waiting for process output
24ddea0 Improve process doc. with respect to handling of large input ...
2931016 ; Cosmetic changes in etc/NEWS
85516b8 Minor copyedits in landmark.el

# Conflicts:
# etc/NEWS

5 years agoCC Mode - use font-lock-comment-delimiter-face on block comment end delimiters
Alan Mackenzie [Sun, 30 Dec 2018 18:38:36 +0000 (18:38 +0000)]
CC Mode - use font-lock-comment-delimiter-face on block comment end delimiters

In particular when the default comment type is currently line comments.  Do
this by setting font-lock-comment-end-skip.

* lisp/progmodes/cc-cmds.el (c-font-lock-comment-end-skip): New lang const.
(font-lock-comment-end-skip): New c-lang-setvar.

5 years agoHandle 'unbound' like nil for 'window-point-insertion-type' (Bug#33871)
Martin Rudalics [Sun, 30 Dec 2018 14:47:16 +0000 (15:47 +0100)]
Handle 'unbound' like nil for 'window-point-insertion-type' (Bug#33871)

* src/window.c (save_window_save): When setting the marker
insertion type of saved window points treat a buffer local
value of 'unbound' for 'window-point-insertion-type' like
nil (Bug#33871).

5 years agoIn user manual fix value of default frame height (Bug#33921)
Martin Rudalics [Sun, 30 Dec 2018 14:21:50 +0000 (15:21 +0100)]
In user manual fix value of default frame height (Bug#33921)

* doc/emacs/cmdargs.texi (Window Size X): Fix value of default
frame height (Bug#33921).

5 years agoSkip 'basic' completion style for project-find-file
Dmitry Gutov [Sat, 29 Dec 2018 17:06:24 +0000 (20:06 +0300)]
Skip 'basic' completion style for project-find-file

* lisp/minibuffer.el (completion-category-defaults): Skip 'basic'
for 'project-file', in order not to prefer files at the top of the
directory tree.

5 years agoImprove documentation of 'file-local-name' and related APIs
Eli Zaretskii [Sat, 29 Dec 2018 15:34:57 +0000 (17:34 +0200)]
Improve documentation of 'file-local-name' and related APIs

* doc/lispref/files.texi (Unique File Names)
(Magic File Names, File Name Expansion): Improve documentation
of the "local part" of a remote file name.
* doc/lispref/processes.texi (Synchronous Processes)
(Asynchronous Processes): State explicitly that program and
file names passed to functions that start remote processes
need to be relative or obtained by 'file-local-name'.

* lisp/files.el (file-local-name):
* lisp/simple.el (start-file-process, process-file): Improve
the documentation of the "local part" of a remote file name,
and its use in APIs that start remote processes.

5 years agoHandle raw bytes, and LF in ranges, in rx `any' argument strings
Mattias EngdegÄrd [Sat, 29 Dec 2018 10:09:27 +0000 (11:09 +0100)]
Handle raw bytes, and LF in ranges, in rx `any' argument strings

* lisp/emacs-lisp/rx.el (rx-check-any-string): Rewrite to handle raw bytes
in unibyte strings and accept LF as range endpoints (Bug#33205).
* test/lisp/emacs-lisp/rx-tests.el: Add tests for the above.

5 years ago; Remove comment in esh-proc.el
Michael Albinus [Sat, 29 Dec 2018 10:57:25 +0000 (11:57 +0100)]
; Remove comment in esh-proc.el

5 years agoFix Bug#31704. Do not merge
Michael Albinus [Sat, 29 Dec 2018 10:52:56 +0000 (11:52 +0100)]
Fix Bug#31704.  Do not merge

* lisp/net/tramp.el (tramp-eshell-directory-change):
Use `path-separator' as it does eshell.  (Bug#31704)

5 years agoFix Bug#31704. Do not merge
Michael Albinus [Thu, 6 Sep 2018 10:16:00 +0000 (12:16 +0200)]
Fix Bug#31704.  Do not merge

* lisp/eshell/esh-proc.el (eshell-gather-process-output): Do not
let `expand-file-name' prefix remote file names with MS Windows
volume letter.

* lisp/net/tramp.el (tramp-eshell-directory-change):
Use `path-separator' as it does eshell.  (Bug#31704)

5 years agoAvoid that unwind_format_mode_line messes up buffer points (Bug#32777)
Martin Rudalics [Sat, 29 Dec 2018 09:51:35 +0000 (10:51 +0100)]
Avoid that unwind_format_mode_line messes up buffer points (Bug#32777)

* src/xdisp.c (format_mode_line_unwind_data): Before
temporarily selecting a window on another frame, separately save
the point of that window's buffer too.
(unwind_format_mode_line): After undoing the temporary
selection of a window on another frame, separately restore the
buffer point of that window.  This is needed since the
operation that deselects that window will have stored back the
point of that window into its buffer's point which is wrong
since that window was never "officially" selected (Bug#32777).

5 years ago* lisp/files.el (cd): Fix last change. (Bug#33791)
Eli Zaretskii [Sat, 29 Dec 2018 09:47:40 +0000 (11:47 +0200)]
* lisp/files.el (cd): Fix last change.  (Bug#33791)

5 years agoFix remote directories in Eshell on MS-Windows
Eli Zaretskii [Sat, 29 Dec 2018 08:15:50 +0000 (10:15 +0200)]
Fix remote directories in Eshell on MS-Windows

* lisp/files.el (cd): Support remote directory names on
MS-Windows.  (Bug#33791)

5 years agoFix :type 'group' in defcustom
Drew Adams [Mon, 3 Dec 2018 20:49:39 +0000 (12:49 -0800)]
Fix :type 'group' in defcustom

* lisp/wid-edit.el (group): Fix the :format spec.  (Bug#33566)

5 years agoproject-find-file: Move the common parent directory to the prompt
Dmitry Gutov [Sat, 29 Dec 2018 00:13:54 +0000 (02:13 +0200)]
project-find-file: Move the common parent directory to the prompt

* lisp/progmodes/project.el (project--completing-read-strict):
Extract the common parent directory of all files first
(https://lists.gnu.org/archive/html/emacs-devel/2018-12/msg00444.html).

5 years agoFix NS fringe bitmap drawing bug (bug#33864)
Alan Third [Thu, 27 Dec 2018 16:23:32 +0000 (16:23 +0000)]
Fix NS fringe bitmap drawing bug (bug#33864)

* src/nsterm.m (ns_draw_fringe_bitmap): Check the rectangle to clear
correctly.

5 years agoFix commentary in dispnew.c
Eli Zaretskii [Fri, 28 Dec 2018 14:28:51 +0000 (16:28 +0200)]
Fix commentary in dispnew.c

* src/dispnew.c (buffer_posn_from_coords): Fix inaccuracies in
the commentary.

5 years ago* lisp/net/tramp-sh.el (tramp-set-remote-path): Handle platforms w/o getconf.
Michael Albinus [Fri, 28 Dec 2018 09:22:42 +0000 (10:22 +0100)]
* lisp/net/tramp-sh.el (tramp-set-remote-path): Handle platforms w/o getconf.

5 years agoImprove motivations in gomoku messages
Paul Eggert [Fri, 28 Dec 2018 05:55:01 +0000 (21:55 -0800)]
Improve motivations in gomoku messages

* lisp/play/gomoku.el (gomoku-terminate-game):
Don't make six-year-old children cry (Bug#33803).

5 years agoAccept 1-arg 'substring' calls in byte compiler
Paul Pogonyshev [Fri, 28 Dec 2018 04:10:47 +0000 (20:10 -0800)]
Accept 1-arg 'substring' calls in byte compiler

Those have been supported by the function implementation since
commit 2014-03-31T12:06:34Z!dmantipov@yandex.ru (Bug#33807).
* lisp/emacs-lisp/bytecomp.el: substring has 1-3 args, not 2-3.

5 years agoImprove accept-process-process doc
Paul Eggert [Thu, 27 Dec 2018 20:52:45 +0000 (12:52 -0800)]
Improve accept-process-process doc

* doc/lispref/processes.texi (Accepting Output):
* src/process.c (Faccept_process_output):
Document that (accept-process-output P) can return non-nil
even after P has exited, and that it can return nil even if P
is still running (Bug#33839).

5 years agoUpdate from Gnulib
Paul Eggert [Thu, 27 Dec 2018 19:45:21 +0000 (11:45 -0800)]
Update from Gnulib

* build-aux/config.guess, lib/regcomp.c, lib/regex.c:
* lib/regex_internal.h, lib/regexec.c: Copy from Gnulib.

5 years agoAvoid assertion violation in directory-files
Eli Zaretskii [Thu, 27 Dec 2018 16:52:30 +0000 (18:52 +0200)]
Avoid assertion violation in directory-files

* src/dired.c (directory_files_internal): Make sure MATCH is
either nil or a string.  (Bug#33889)

5 years agoBump Tramp version to 2.4.1
Michael Albinus [Thu, 27 Dec 2018 11:24:24 +0000 (12:24 +0100)]
Bump Tramp version to 2.4.1

* doc/misc/trampver.texi:
* lisp/net/tramp.el:
* lisp/net/trampver.el: Change version to "2.4.1".

5 years agoFix last change of debug.el
Martin Rudalics [Thu, 27 Dec 2018 09:29:02 +0000 (10:29 +0100)]
Fix last change of debug.el

* lisp/emacs-lisp/debug.el (debug): In noninteractive calls do
the buffer text truncation in the debugger buffer.

5 years agoTone down diff-refine-removed and diff-refine-added as well
Dmitry Gutov [Wed, 26 Dec 2018 23:40:05 +0000 (01:40 +0200)]
Tone down diff-refine-removed and diff-refine-added as well

* lisp/vc/diff-mode.el (diff-refine-removed, diff-refine-added):
Change backgrounds in light backgrounds themes (bug#33567).

5 years agoPort message-checksum to bignums
Paul Eggert [Wed, 26 Dec 2018 09:11:58 +0000 (01:11 -0800)]
Port message-checksum to bignums

* lisp/gnus/message.el (message--rotate-fixnum-left): New function.
(message-checksum): Use it instead of assuming fixnum-only arithmetic.
This should fix Bug#33083.

5 years agoSet up debugger buffer earlier and fit window to it (Bug#32825)
Martin Rudalics [Wed, 26 Dec 2018 08:09:44 +0000 (09:09 +0100)]
Set up debugger buffer earlier and fit window to it (Bug#32825)

* lisp/emacs-lisp/debug.el (debug): Set up debugger buffer
before displaying it and advise 'display-buffer' to fit the
window to it (Bug#32825).

5 years agoTone down diff-added and diff-removed in light themes
Dmitry Gutov [Wed, 26 Dec 2018 00:28:10 +0000 (02:28 +0200)]
Tone down diff-added and diff-removed in light themes

* lisp/vc/diff-mode.el (diff-removed, diff-added): Tone down
light background colors (bug#33567).

5 years ago* lisp/isearch.el (isearch-done): Reset isearch-lazy-highlight-last-string
Juri Linkov [Tue, 25 Dec 2018 21:54:26 +0000 (23:54 +0200)]
* lisp/isearch.el (isearch-done): Reset isearch-lazy-highlight-last-string

to nil (bug#33838).
(isearch-lazy-highlight-new-loop)
(isearch-lazy-highlight-buffer-update): Don't set arg ELLIPSIS of
isearch-message to t to not reset the value of isearch-error.

5 years ago* lisp/vc/diff-mode.el (diff-syntax-fontify-hunk): Add `*' to names
Juri Linkov [Tue, 25 Dec 2018 21:49:13 +0000 (23:49 +0200)]
* lisp/vc/diff-mode.el (diff-syntax-fontify-hunk): Add `*' to names

of ephemeral buffers like in " *org-src-fontification:%s*" from
`org-src-font-lock-fontify-block'.  (Bug#33567)
(diff-header, diff-file-header): Tone down light background colors.

5 years agoPrepend 'rubocop' with 'bundle exec' when appropriate
Dmitry Gutov [Tue, 25 Dec 2018 16:23:01 +0000 (18:23 +0200)]
Prepend 'rubocop' with 'bundle exec' when appropriate

5 years ago; Documentation updates
Dmitry Gutov [Tue, 25 Dec 2018 15:32:10 +0000 (17:32 +0200)]
; Documentation updates

5 years agoUse rubocop --lint when no .rubocop.yml
Dmitry Gutov [Tue, 25 Dec 2018 15:08:58 +0000 (17:08 +0200)]
Use rubocop --lint when no .rubocop.yml

* lisp/progmodes/ruby-mode.el (ruby-flymake-rubocop): When no
config file found, only run lint cops (bug#31760).

5 years agoProvide tramp-adb-handle-make-process
Michael Albinus [Tue, 25 Dec 2018 10:08:30 +0000 (11:08 +0100)]
Provide tramp-adb-handle-make-process

* lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
Add `tramp-adb-handle-make-process' and
`tramp-handle-start-file-process'.
(tramp-adb-handle-make-process): New defun, derived from
`tramp-adb-handle-start-file-process'.  (Bug#28691)

5 years agoProvide tramp-sh-handle-make-process
Michael Albinus [Mon, 24 Dec 2018 13:28:31 +0000 (14:28 +0100)]
Provide tramp-sh-handle-make-process

* lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
Add `tramp-sh-handle-make-process' and
`tramp-handle-start-file-process'.
(tramp-sh-handle-make-process): New defun, derived from
`tramp-sh-handle-start-file-process'.  (Bug#28691)

* lisp/net/tramp.el (tramp-handle-start-file-process): New defun.

* test/lisp/net/tramp-tests.el (tramp-test30-make-process):
New test.
(tramp-test31-interrupt-process, tramp-test32-shell-command)
(tramp-test33-environment-variables)
(tramp-test33-environment-variables-and-port-numbers)
(tramp-test34-explicit-shell-file-name, tramp-test35-exec-path)
(tramp-test35-remote-path, tramp-test36-vc-registered)
(tramp-test37-make-auto-save-file-name)
(tramp-test38-find-backup-file-name)
(tramp-test39-make-nearby-temp-file)
(tramp-test40-special-characters)
(tramp-test40-special-characters-with-stat)
(tramp-test40-special-characters-with-perl)
(tramp-test40-special-characters-with-ls, tramp-test41-utf8)
(tramp-test41-utf8-with-stat, tramp-test41-utf8-with-perl)
(tramp-test41-utf8-with-ls, tramp-test42-file-system-info)
(tramp-test43-asynchronous-requests, tramp-test44-auto-load)
(tramp-test44-delay-load, tramp-test44-recursive-load)
(tramp-test44-remote-load-path, tramp-test45-unload): Rename.

5 years agoxref-goto-xref: Highlight the exact symbol after the jump
Dmitry Gutov [Mon, 24 Dec 2018 03:11:02 +0000 (05:11 +0200)]
xref-goto-xref: Highlight the exact symbol after the jump

* lisp/progmodes/xref.el (xref-goto-xref): Bind
'xref--current-item' to highlight the exact symbol after the jump
and not the whole line.

5 years ago; Don't require semantic/symref, it's unnecessary now
Dmitry Gutov [Mon, 24 Dec 2018 02:37:24 +0000 (04:37 +0200)]
; Don't require semantic/symref, it's unnecessary now

5 years agoexecute-extended-command: Skip waiting in more cases
Dmitry Gutov [Mon, 24 Dec 2018 02:36:08 +0000 (04:36 +0200)]
execute-extended-command: Skip waiting in more cases

* lisp/simple.el (execute-extended-command): Don't wait when
there's no binding the current command, and the user doesn't want
to see "shorter" suggestions, or TYPED is nil anyway.

5 years ago; * etc/HELLO: Remove stray x-charset. (Bug#33851)
Eli Zaretskii [Sun, 23 Dec 2018 18:27:12 +0000 (20:27 +0200)]
; * etc/HELLO: Remove stray x-charset.  (Bug#33851)

5 years agoFix a simple bug in display-buffer-use-some-frame
Stephen Leake [Sun, 23 Dec 2018 18:23:26 +0000 (10:23 -0800)]
Fix a simple bug in display-buffer-use-some-frame

* lisp/window.el (display-buffer-use-some-frame): Simplify the
predicate, fix TYPE arg to window--display-buffer.

5 years ago; Add +++ to recent entry in etc/NEWS
Michael Albinus [Sun, 23 Dec 2018 08:51:22 +0000 (09:51 +0100)]
; Add +++ to recent entry in etc/NEWS

5 years ago; Fix wording in etc/NEWS
Michael Albinus [Sun, 23 Dec 2018 08:50:27 +0000 (09:50 +0100)]
; Fix wording in etc/NEWS

5 years agoHandle `make-process' in Tramp and ange-ftp
Michael Albinus [Sun, 23 Dec 2018 08:48:05 +0000 (09:48 +0100)]
Handle `make-process' in Tramp and ange-ftp

* doc/lispref/processes.texi (Asynchronous Processes):
Explain, that not all file name handlers support `make-process'.

* lisp/net/ange-ftp.el:
* lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
* lisp/net/tramp-archive.el (tramp-archive-file-name-handler-alist):
* lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
* lisp/net/tramp-rclone.el (tramp-rclone-file-name-handler-alist):
* lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
* lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-file-name-handler-alist):
* lisp/net/tramp.el (tramp-file-name-for-operation): Add `make-process'.

* lisp/vc/ediff-util.el:
* src/process.c:
* test/src/process-tests.el: Use "file name handler" consequently.

5 years agoClarify thread switching while waiting for process output
Michael Albinus [Sun, 23 Dec 2018 08:04:37 +0000 (09:04 +0100)]
Clarify thread switching while waiting for process output

* doc/lispref/threads.texi (Threads): Clarify, that thread
switching happens when waiting for process output from
asynchronous processes.

5 years ago* lisp/simple.el (next-error-no-select): Use save-selected-window.
Juri Linkov [Sat, 22 Dec 2018 23:52:25 +0000 (01:52 +0200)]
* lisp/simple.el (next-error-no-select): Use save-selected-window.

Let-bind display alist of display-buffer-overriding-action to
`(inhibit-same-window . t)'.  (Bug#32607)

5 years agoAdd file name handler support for 'make-process' (Bug#28691)
Philipp Stephani [Mon, 17 Dec 2018 20:47:46 +0000 (21:47 +0100)]
Add file name handler support for 'make-process' (Bug#28691)

* src/process.c (Fmake_process): Add new keyword argument
':file-handler'.
(syms_of_process) <make-process, :file-handler>: Define new symbols.

* lisp/files.el (file-name-non-special): Add support for
'make-process'.

* test/src/process-tests.el (make-process/file-handler/found)
(make-process/file-handler/not-found)
(make-process/file-handler/disable): New unit tests.
(process-tests--file-handler): New helper function.

* test/lisp/files-tests.el
(files-tests-file-name-non-special-make-process): New unit test.

* doc/lispref/files.texi (Magic File Names): Document that
'make-process' can invoke file name handlers.

* doc/lispref/processes.texi (Asynchronous Processes): Document
':file-handlers' argument to 'make-process'.

* etc/NEWS (Lisp Changes in Emacs 27.1): Mention new
:file-handler argument for 'make-process'.

5 years ago* etc/HELLO: Add missing charset properties for Japanese and Korean.
Eli Zaretskii [Sat, 22 Dec 2018 20:41:53 +0000 (22:41 +0200)]
* etc/HELLO: Add missing charset properties for Japanese and Korean.

5 years agoMacroexpand before evaluating in eval-expression (bis)
Charles A. Roelli [Sat, 22 Dec 2018 16:28:35 +0000 (17:28 +0100)]
Macroexpand before evaluating in eval-expression (bis)

* lisp/simple.el (eval-expression): Macroexpand before
evaluating.  This repeats the fix made for Bug#20730 in
another branch of the code a few lines down.

5 years agoImprove process doc. with respect to handling of large input (Bug#33191)
Charles A. Roelli [Sat, 22 Dec 2018 16:14:36 +0000 (17:14 +0100)]
Improve process doc. with respect to handling of large input (Bug#33191)

* src/process.c (Fprocess_send_region, Fprocess_send_string):
Document that process input longer than the process input
buffer may be split into bunches.  Remove an outdated
reference to a 500 character split boundary.
* doc/lispref/processes.texi (Asynchronous Processes): Remove
mention of "stray character injections" in PTY processes.  See
also the comment about ICANON in src/sysdep.c, function
child_setup_tty.

5 years agoldap.el: Do not set process-connection-type
Thomas Fitzsimmons [Sat, 22 Dec 2018 14:48:27 +0000 (09:48 -0500)]
ldap.el: Do not set process-connection-type

* lisp/net/ldap.el (ldap-search-internal): Leave
process-connection-type at its default value.  (Bug#33050)

5 years ago; Cosmetic changes in etc/NEWS
Michael Albinus [Sat, 22 Dec 2018 13:18:59 +0000 (14:18 +0100)]
; Cosmetic changes in etc/NEWS

5 years ago; Cosmetic changes to etc/NEWS
Michael Albinus [Sat, 22 Dec 2018 13:07:49 +0000 (14:07 +0100)]
; Cosmetic changes to etc/NEWS

5 years agoUse "file name handler" consequently
Michael Albinus [Sat, 22 Dec 2018 12:57:54 +0000 (13:57 +0100)]
Use "file name handler" consequently

* doc/lispref/files.texi:
* doc/lispref/processes.texi:
* doc/misc/ediff.texi:
* lisp/simple.el:
* lisp/vc/ediff-ptch.el:
* src/buffer.c:
* src/dired.c:
* src/fileio.c:
* src/image.c:
* src/insdel.c:
* src/w32fns.c: Use "file name handler" consequently.

5 years agoMinor copyedits in landmark.el
Terrence Brannon [Fri, 7 Dec 2018 22:02:54 +0000 (22:02 +0000)]
Minor copyedits in landmark.el

* lisp/obsolete/landmark.el: Fix author's email and commentary.

5 years agoFix Bug#33735
Michael Albinus [Fri, 21 Dec 2018 12:53:20 +0000 (13:53 +0100)]
Fix Bug#33735

* lisp/net/tramp-sh.el (tramp-sh-gio-monitor-process-filter):
Delete empty lines.  (Bug#33735)
(tramp-sh-inotifywait-process-filter): Use `string-match'.
(tramp-set-remote-path): Check for PIPE_BUF but PATH_MAX.

* test/lisp/filenotify-tests.el: Handle $REMOTE_FILE_NOTIFY_LIBRARY.
(file-notify--deftest-remote): Suppress vc-handled-backends.
(file-notify-test08-backup): Do not expect failure on hydra.
(Bug#33735).

5 years ago* test/lisp/filenotify-tests.el, test/lisp/shadowfile-tests.el:
Michael Albinus [Fri, 21 Dec 2018 08:41:04 +0000 (09:41 +0100)]
* test/lisp/filenotify-tests.el, test/lisp/shadowfile-tests.el:

Don't require tramp-sh, bug#33781 is fixed.

5 years ago* lisp/emacs-lisp/debug.el (debug): Add display-buffer-below-selected
Juri Linkov [Thu, 20 Dec 2018 23:57:34 +0000 (01:57 +0200)]
* lisp/emacs-lisp/debug.el (debug): Add display-buffer-below-selected

to display actions of pop-to-buffer, and `(window-min-height . 10)'
to display alist.  (Bug#32825)

5 years ago* lisp/windmove.el (windmove-delete-in-direction): Change prefix arg C-u
Juri Linkov [Thu, 20 Dec 2018 23:41:25 +0000 (01:41 +0200)]
* lisp/windmove.el (windmove-delete-in-direction): Change prefix arg C-u

to kill the buffer.  Add prefix arg M-0 to delete the selected window.
(Bug#32790)

5 years ago* lisp/window.el (switch-to-buffer-obey-display-actions): New defcustom.
Juri Linkov [Thu, 20 Dec 2018 23:28:31 +0000 (01:28 +0200)]
* lisp/window.el (switch-to-buffer-obey-display-actions): New defcustom.

(switch-to-buffer): Use it.  (Bug#32790)
(switch-to-buffer-preserve-window-point):  Mention it in docstring.

* lisp/windmove.el (windmove-display-in-direction): Mention it in docstring.

* doc/lispref/windows.texi (Switching Buffers):
Document switch-to-buffer-obey-display-actions.

5 years ago* lisp/hi-lock.el (hi-salmon, hi-aquamarine): New faces. (Bug#33398)
Juri Linkov [Thu, 20 Dec 2018 23:00:44 +0000 (01:00 +0200)]
* lisp/hi-lock.el (hi-salmon, hi-aquamarine): New faces.  (Bug#33398)

(hi-lock-face-defaults): Add them.
(hi-green-b, hi-red-b): Tone down foreground colors.

5 years agoMerge from origin/emacs-26
Glenn Morris [Thu, 20 Dec 2018 15:51:17 +0000 (07:51 -0800)]
Merge from origin/emacs-26

081fb69 (origin/emacs-26) Check result from c-backward-token-2 to avo...
f4ea746 cl-make-random-state was not copying its arg

5 years ago; Merge from origin/emacs-26
Glenn Morris [Thu, 20 Dec 2018 15:51:17 +0000 (07:51 -0800)]
; Merge from origin/emacs-26

The following commits were skipped:

fda43a7 Skip a vc-bzr test if run as root
4370b8e ; Copyright year fix No need to merge to master
305aca0 Backport: Handle unread-command-events consistently (bug#23980)

5 years agoMerge from origin/emacs-26
Glenn Morris [Thu, 20 Dec 2018 15:51:16 +0000 (07:51 -0800)]
Merge from origin/emacs-26

4c6c327 Restrict downcasing in elisp xref tests (bug#25534)
ab8ed41 Avoid test failures if directory name looks like a regexp

5 years ago; Merge from origin/emacs-26
Glenn Morris [Thu, 20 Dec 2018 15:51:16 +0000 (07:51 -0800)]
; Merge from origin/emacs-26

The following commit was skipped:

80e9856 Fix Bug#33524

5 years agoMerge from origin/emacs-26
Glenn Morris [Thu, 20 Dec 2018 15:51:15 +0000 (07:51 -0800)]
Merge from origin/emacs-26

5825279 * doc/lispintro/emacs-lisp-intro.texi (Finding More): Fix xref.

5 years ago; Merge from origin/emacs-26
Glenn Morris [Thu, 20 Dec 2018 15:51:15 +0000 (07:51 -0800)]
; Merge from origin/emacs-26

The following commit was skipped:

e8bb042 More porting to GCC 8 of --enable-gcc-warnings

5 years ago* lisp/emacs-lisp/map.el: Add support for plists
Stefan Monnier [Thu, 20 Dec 2018 13:40:43 +0000 (08:40 -0500)]
* lisp/emacs-lisp/map.el: Add support for plists

(map--plist-p, map--plist-delete): New functions.
(map-elt, map-delete, map-length, map-into, map-put!, map-insert)
(map-apply, map-do): Handle the plist case.

* test/lisp/emacs-lisp/map-tests.el (with-maps-do): Add sample plist.
(test-map-put!): The behavior of map-put! is not the same for plists as
for alists.

5 years ago* test/lisp/net/tramp-tests.el (tramp-test32-environment-variables):
Michael Albinus [Thu, 20 Dec 2018 13:20:36 +0000 (14:20 +0100)]
* test/lisp/net/tramp-tests.el (tramp-test32-environment-variables):

Remove expected failure.