Commit graph

134995 commits

Author SHA1 Message Date
Michael Albinus
5a4ba486f2 Add lisp/net/tramp-sh.el to .gitlab-ci.yml 2019-01-07 14:17:08 +01:00
Michael Albinus
56a96db98d Remove instrumentation
* lisp/filenotify.el (file-notify-handle-event):
* test/lisp/filenotify-tests.el (file-notify--test-event-handler):
Remove instrumentation.
2019-01-07 14:09:02 +01:00
Michael Albinus
70a6a2e351 ; YAML does not support folded lines 2019-01-07 13:04:00 +01:00
Michael Albinus
1d9f7efef5 ; Some .gitlab-ci.yml corrections 2019-01-07 12:54:32 +01:00
Michael Albinus
179d5ac251 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").
2019-01-07 12:21:58 +01:00
Michael Albinus
278340f875 ; Further fixes in .gitlab-ci.yml
* .gitlab-ci.yml (stages): Use only test.
(test-filenotify-gio): Install missing libglib2.0 packages.
2019-01-07 11:30:10 +01:00
Michael Albinus
d43d3f6dfd ; Fix syntax error in .gitlab-ci.yml 2019-01-07 10:23:15 +01:00
Michael Albinus
da844d02fd 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.
2019-01-07 10:16:39 +01:00
Michael Albinus
054f1c162a Adapt filenotify-tests 2019-01-06 16:35:38 +01:00
Michael Albinus
fb190f8e57 * .gitlab-ci.yml (before_script): Install also inotify-tools. 2019-01-06 15:46:31 +01:00
Michael Albinus
ea9febe2bd * test/lisp/filenotify-tests.el
(file-notify-test09-watched-file-in-watched-dir): Adapt test.
2019-01-06 14:42:07 +01:00
Michael Albinus
108fdaeba6 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.
2019-01-06 13:45:44 +01:00
Michael Albinus
33e45e81f4 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.
2019-01-06 10:12:08 +01:00
Michael Albinus
e56af099fb * lisp/filenotify.el (file-notify-callback): Adapt check. 2019-01-05 19:39:07 +01:00
Michael Albinus
ee52a62e6b * lisp/filenotify.el (file-notify-callback): Instrument. 2019-01-05 17:17:07 +01:00
Michael Albinus
9d5e694337 * test/lisp/filenotify-tests.el (file-notify-test03-events): Adapt test. 2019-01-05 16:02:29 +01:00
Michael Albinus
4be6b83a7a Improve file-notify-callback.
* lisp/filenotify.el (file-notify-callback): Improve check for
`stopped' event.
2019-01-05 16:01:02 +01:00
Michael Albinus
fa292c6c46 * test/lisp/filenotify-tests.el (file-notify-test03-events)
(file-notify-test05-file-validity): Adapt tests.
2019-01-05 12:21:43 +01:00
Michael Albinus
e906266874 * test/lisp/filenotify-tests.el (file-notify-test03-events): Adapt test. 2019-01-05 10:46:49 +01:00
Michael Albinus
7b1fbcd6ba * .gitlab-ci.yml (test): Instrument. 2019-01-04 18:08:03 +01:00
Michael Albinus
0b859d3e7d * lisp/filenotify.el (file-notify-handle-event): Instrument. 2019-01-04 17:16:14 +01:00
Michael Albinus
99964e240f * test/lisp/filenotify-tests.el (file-notify-test03-events): Adapt test. 2019-01-04 12:46:27 +01:00
Michael Albinus
d5928dad79 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.
2019-01-03 12:08:56 +01:00
Ted Zlatanov
77c2d85b98
.gitlab-ci.yml: add EMACS_EMBA_CI=1 in test 2019-01-02 12:09:17 -05:00
Ted Zlatanov
9aec79652e
.gitlab-ci.yml: unsplit stages 2018-12-31 10:05:25 -05:00
Ted Zlatanov
4a2ef754f1
.gitlab-ci.yml: split stages and add git 2018-12-31 08:36:07 -05:00
Michael Albinus
792dc36e69 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.
2018-12-31 12:18:41 +01:00
Michael Albinus
03e7215a0b * lisp/files.el (locate-file, files--splice-dirname-file): Fix docstring. 2018-12-31 11:38:56 +01:00
Paul Eggert
bed56428a6 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.
2018-12-30 19:00:46 -08:00
Glenn Morris
433b6a74ec 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
2018-12-30 17:02:40 -08:00
Glenn Morris
f23b1db37a ; Merge from origin/emacs-26
The following commits were skipped:

3c83c9e Fix Bug#31704.  Do not merge
de7644d Fix Bug#31704.  Do not merge
2018-12-30 16:57:36 -08:00
Glenn Morris
a8e545ef6b 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
2018-12-30 16:57:36 -08:00
Alan Mackenzie
83bbb48142 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.
2018-12-30 18:38:36 +00:00
Martin Rudalics
d82e73f08f 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).
2018-12-30 15:47:16 +01:00
Martin Rudalics
82c82b1c77 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).
2018-12-30 15:21:50 +01:00
Dmitry Gutov
b0e6ecfc33 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.
2018-12-29 20:06:42 +03:00
Eli Zaretskii
2e8825d6c5 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.
2018-12-29 17:34:57 +02:00
Mattias Engdegård
b71d4ce056 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.
2018-12-29 16:53:27 +02:00
Michael Albinus
11f0635c19 ; Remove comment in esh-proc.el 2018-12-29 11:57:25 +01:00
Michael Albinus
3c83c9ed66 Fix Bug#31704. Do not merge
* lisp/net/tramp.el (tramp-eshell-directory-change):
Use `path-separator' as it does eshell.  (Bug#31704)
2018-12-29 11:52:56 +01:00
Michael Albinus
de7644d8d8 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)
2018-12-29 11:50:20 +01:00
Martin Rudalics
fb10834a60 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).
2018-12-29 10:51:35 +01:00
Eli Zaretskii
3abebeb8c3 * lisp/files.el (cd): Fix last change. (Bug#33791) 2018-12-29 11:47:40 +02:00
Eli Zaretskii
7a60a4f449 Fix remote directories in Eshell on MS-Windows
* lisp/files.el (cd): Support remote directory names on
MS-Windows.  (Bug#33791)
2018-12-29 10:15:50 +02:00
Drew Adams
822a2d039f Fix :type 'group' in defcustom
* lisp/wid-edit.el (group): Fix the :format spec.  (Bug#33566)
2018-12-29 10:02:38 +02:00
Dmitry Gutov
8f9d93f305 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).
2018-12-29 02:15:35 +02:00
Alan Third
a731c563a1 Fix NS fringe bitmap drawing bug (bug#33864)
* src/nsterm.m (ns_draw_fringe_bitmap): Check the rectangle to clear
correctly.
2018-12-28 21:38:11 +00:00
Eli Zaretskii
0c524597b3 Fix commentary in dispnew.c
* src/dispnew.c (buffer_posn_from_coords): Fix inaccuracies in
the commentary.
2018-12-28 16:28:51 +02:00
Michael Albinus
cf62106878 * lisp/net/tramp-sh.el (tramp-set-remote-path): Handle platforms w/o getconf. 2018-12-28 10:22:42 +01:00
Paul Eggert
8167316fd6 Improve motivations in gomoku messages
* lisp/play/gomoku.el (gomoku-terminate-game):
Don't make six-year-old children cry (Bug#33803).
2018-12-27 21:55:22 -08:00