summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Support Certification Authority Authorization in dns-mode.elDaniel Lublin2017-10-271-1/+2
| | | | | | | * lisp/textmodes/dns-mode.el (dns-mode-types): Add "CAA". (Bug#28911) Copyright-paperwork-exempt: yes
* Improve documentation of set-default-file-modesEli Zaretskii2017-10-272-2/+12
| | | | | | | | * src/fileio.c (Fset_default_file_modes): Doc fix. (Bug#28875) * doc/lispref/files.texi (Changing Files): Clarify how the bits in the argument of set-default-file-modes are used for setting file permissions.
* Fix documentation of `newsticker-new-item-functions' (bug#29023).Ulf Jasper2017-10-272-27/+26
| | | | | | | | | | | * lisp/net/newst-backend.el (newsticker-new-item-functions), (newsticker-new-item-functions-sample), (newsticker-download-enclosures): Fix docstring, rename variable feed to feedname (bug#29023). * doc/misc/newsticker.texi (Automatic Processing) (Automatic Processing): Fix documentation of `newsticker-new-item-functions' (bug#29023).
* Require seq in rmc.elTino Calancha2017-10-272-0/+43
| | | | | * lisp/emacs-lisp/rmc.el: Require seq (Bug#28975). * test/lisp/emacs-lisp/rmc-tests.el (test-read-multiple-choice): Add test.
* Make an example code introduced in the Gnus info work (bug#29008)Katsumi Yamaoka2017-10-271-0/+2
| | | | | | | | You can find it in the bottom of (info "(gnus)Foreign Groups"). NOTE: this change is worth being merged to the trunk. * lisp/gnus/gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Allow a string for bug# (bug#29008).
* Enable gnus-read-ephemeral-* to run multiple times (bug#29008)Katsumi Yamaoka2017-10-271-3/+8
| | | | | | | | NOTE: *DO NOT* merge this change to the trunk. * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group) (gnus-read-ephemeral-bug-group): Make it work for any number of times for the case `url-automatic-caching' is set (bug#29008).
* Port thread.c to OpenBSD ARMPaul Eggert2017-10-261-1/+1
| | | | | Problem reported by Jeremie Courreges-Anglas (Bug#29005). * src/thread.c (main_thread): Align to GCALIGNMENT.
* Fix another "wrong side of point" error in CC Mode.Alan Mackenzie2017-10-261-4/+11
| | | | | | | | | | | | | | | This fixes (a follow-up to) bug #28850. A internal generated form for scanning text to fontify had a LIMIT parameter. It also locally bound LIMIT to a value possibly beyond the original LIMIT, allowing point to move beyond the original LIMIT, and to create the wrong side error. Fix it by checking point is not beyond LIMIT in the outer context before using it. * lisp/progmodes/cc-fonts.el (c-make-font-lock-search-form): Add a new parameter CHECK-POINT which, when non-nil, directs the function to generate a check on point. (c-make-font-lock-context-search-function): Invoke the above function with new argument value t.
* Fix Bug#28959Michael Albinus2017-10-262-21/+115
| | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-handle-find-backup-file-name): Use `tramp-tramp-file-p' rather than `tramp-file-name-p'. Add hop to backup file name. (Bug#28959) * test/lisp/net/tramp-tests.el (tramp-test34-find-backup-file-name): New test. (tramp-test35-make-nearby-temp-file) (tramp-test36-special-characters) (tramp-test36-special-characters-with-stat) (tramp-test36-special-characters-with-perl) (tramp-test36-special-characters-with-ls, tramp-test37-utf8) (tramp-test37-utf8-with-stat, tramp-test37-utf8-with-perl) (tramp-test37-utf8-with-ls, tramp-test38-file-system-info) (tramp-test39-asynchronous-requests) (tramp-test40-recursive-load, tramp-test41-remote-load-path) (tramp-test42-delay-load, tramp-test43-unload): Rename.
* Fix duplicate .o file on QNXPaul Eggert2017-10-251-2/+0
| | | | | | * configure.ac (CYGWIN_OBJ): Leave empty on QNX. Problem reported by Elad Lahav in: https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00750.html
* Fix two js indentation problemsDmitry Gutov2017-10-262-6/+24
| | | | | | | | | Fix intentation problems reported in https://github.com/mooz/js2-mode/issues/463. * lisp/progmodes/js.el (js--continued-expression-p): Check syntax state after /. (js--multi-line-declaration-indentation): Check syntax state before "const".
* Update documentation for windows buildPhillip Lord2017-10-251-0/+92
| | | | * admin/nt/dist-build/README-scripts: New File.
* Fix a "wrong side of point" error in CC Mode. Fixes bug #28850.Alan Mackenzie2017-10-252-4/+6
| | | | | | | | | | | | The cause was a scanning over a bracket pair taking us beyond the supplied LIMIT parameter in c-forward-declarator. * lisp/progmodes/cc-engine.el (c-forward-declarator): Add three checks (< (point) limit) whilst dealing with tokens after the declared identifier. * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Don't supply a LIMIT argument to `c-forward-declarator' (twice), since we want to fontify up till the end of a declarator, not an arbitrary jit-lock chunk end.
* Fix autoload of flymake from elisp-mode during bootstrap (bug#28994)Stefan Monnier2017-10-253-0/+3
| | | | | | * lisp/loadup.el: add `progmodes` to load-path so we can find flymake.el. * lisp/kmacro.el: Require `replace` since we use query-replace-map. * lisp/replace.el: Require `text-mode` since we use text-mode-map.
* Fix non-native fullscreen on NS (bug#28872)Alan Third2017-10-251-6/+12
| | | | | | * src/nsterm.m (EmacsView::updateFrameSize): Handle case where FRAME_TOOLBAR_HEIGHT returns a negative number. Force WM to set size of frame.
* ; Fix author email address in test/lisp/url/url-tramp-tests.elMichael Albinus2017-10-251-1/+1
|
* Fix Bug#28982Michael Albinus2017-10-253-25/+117
| | | | | | | | | * admin/MAINTAINERS: Add test/lisp/url/url-tramp-tests.el. * lisp/url/url-tramp.el (url-tramp-convert-url-to-tramp) (url-tramp-convert-tramp-to-url): Adapt to recent Tramp changes. * test/lisp/url/url-tramp-tests.el: New file. (Bug#28982)
* Fix windows build errorsPhillip Lord2017-10-251-5/+7
| | | | | * admin/nt/dist-build/build-zips.sh: Correct name of zip file, build 64 bit first
* Fix compile warning for non-w32 buildsNoam Postavsky2017-10-241-0/+2
| | | | | | | Since 2017-07-25 "ls-lisp: Add an unload function and enable lexical binding", the non-w32 builds would treat the undeclared w32-collate-ignore-punctuation variable as lexical. * lisp/ls-lisp.el (top-level): Declare it as a dynamic variable.
* Display commit in package description, if available (Bug#28637)David Glasser2017-10-241-0/+3
| | | | | | | | | | | MELPA includes a :commit field in its packages (https://github.com/melpa/package-build/pull/6). You can use this to tell if MELPA has processed a recently-merged change. This commit adds that metadata to the package description buffer. * lisp/emacs-lisp/package.el: Display commit in package description. Copyright-paperwork-exempt: yes
* Port to QNXPaul Eggert2017-10-242-8/+22
| | | | | | | | | | | | Simplified version of a patch proposed by Elad Lahav in: https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00716.html which is based on a previous patch I proposed in: https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00707.html * configure.ac (opsys, CFLAGS, LIBS_SYSTEM, hybrid_malloc) (system_alloc, FIRST_PTY_LETTER, CYGWIN_OBJ): Set appropriately for QNX. * src/unexelf.c [__QNX__]: Include <sys/elf.h> instead of <elf.h>. (unexec): Check for sbrk failure, and fall back on old BSS end.
* * configure.ac: Tweak libcurses diagnostic.Paul Eggert2017-10-241-3/+2
|
* Scripts to automate windows binary distributionPhillip Lord2017-10-243-0/+411
| | | | | | * admin/nt/dist-build/README-windows-binaries, admin/nt/dist-build/build-dep-zips.py, admin/nt/dist-build/build-zips.sh: New Files
* Fix Edebug specs for map-let and with-maps-doGemini Lasswell2017-10-242-2/+3
| | | | | * lisp/emacs-lisp/map.el (map-let): Fix Edebug spec (bug#24777). * test/lisp/emacs-lisp/map-tests.el (with-maps-do): Fix Edebug spec.
* * test/lisp/net/tramp-tests.el (tramp-test41-delay-load): New test.Michael Albinus2017-10-241-1/+23
| | | | (tramp-test42-unload): Rename.
* * admin/authors.el (authors-canonical-author-name):Glenn Morris2017-10-231-3/+4
| | | | Ignore name issues in "lax" ChangeLogs.
* * test/lisp/progmodes/sql-tests.elGlenn Morris2017-10-231-1/+1
| | | | (sql-tests-postgres-list-databases-error): Silence compiler.
* Further work on Bug#28889Michael Albinus2017-10-231-34/+40
| | | | | * lisp/net/tramp.el (tramp-set-syntax): New defun. (tramp-syntax): Use it. Change :package-version. (Bug#28889)
* Improve Tramp backward compatibilityMichael Albinus2017-10-232-3/+7
| | | | | | * lisp/net/tramp-compat.el (tramp-compat-tramp-file-name-slots): New defmacro. * lisp/net/tramp.el (with-parsed-tramp-file-name): Use it.
* Improve backward compatibility of tramp-tests.elMichael Albinus2017-10-231-1/+4
| | | | | * test/lisp/net/tramp-tests.el (tramp--test-emacs26-p): Fix docstring. (tramp-test41-unload): Skip unless Emacs >= 26.
* Fix some ‘window-normalize-’ prefixed functions (Bug#28947)Martin Rudalics2017-10-231-15/+31
| | | | | | | | * lisp/window.el (window-normalize-buffer): Fix case where BUFFER-OR-NAME is a string specifying a dead buffer. Fix doc-string (Bug#28947). (window-normalize-frame, window-normalize-window): Fix doc-strings (Bug#28947).
* Port to OpenIndianaPaul Eggert2017-10-221-1/+1
| | | | | | | Problem reported by Nelson H. F. Beebe (Bug#28893). Also see Bug#23748, Bug#9736, and Bug#5735. * configure.ac (tputs_library): Prefer libcurses to libtermcap, since OpenIndiana libtermcap lacks tparm.
* Don't fill keywords after Emacs Lisp docstringAlexander Gramiak2017-10-222-8/+34
| | | | | | | | | | | | This approach does mean that keywords that have spaces before them inside of docstrings aren't filled, but I think this is should be fine until Bug#28937 is fixed. * lisp/emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Add a colon to paragraph-start unconditionally, but require that it follows at least one space. (Bug#24622) * test/lisp/emacs-lisp/lisp-tests.el: New tests for Bug#24622 and Bug#7751.
* Refactor c-forward-token-2 with new function c-forward-over-token-and-ws.Alan Mackenzie2017-10-223-54/+64
| | | | | | | | | | | | | | | | | | | | Use the new function directly in several places where c-forward-token-2 wouldn't move over the last token in the buffer. This caused an infinite loop in c-restore-<>-properties. * lisp/progmodes/cc-engine.el (c-forward-over-token-and-ws): New function, extracted from c-forward-token-2. (c-forward-token-2): Refactor, calling the new function. (c-restore-<>-properties): Fix infinite loop. (c-forward-<>-arglist-recur, c-in-knr-argdecl) (c-looking-at-or-maybe-in-bracelist): Call the new function directly in place of c-forward-token-2. * lisp/progmodes/cc-cmds.el (c-defun-name) Call the new function directly in place of c-forward-token-2. * lisp/progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Call the new function directly in place of c-forward-token-2.
* Avoid unnecessary rounding errors in timestampsPaul Eggert2017-10-2211-38/+35
| | | | | | | | | | | | | | | | | | | | | Avoid the rounding errors of float-time when it’s easy. E.g., replace (< (float-time a) (float-time b)) with (time-less-p a b). * lisp/desktop.el (desktop-save): * lisp/ecomplete.el (ecomplete-add-item): * lisp/epg.el (epg-wait-for-completion): * lisp/files.el (dir-locals-find-file, dir-locals-read-from-dir): * lisp/image-dired.el (image-dired-get-thumbnail-image) (image-dired-create-thumb-1): * lisp/info.el (info-insert-file-contents): * lisp/ls-lisp.el (ls-lisp-format-time): * lisp/net/ange-ftp.el (ange-ftp-file-newer-than-file-p) (ange-ftp-verify-visited-file-modtime): * lisp/net/rcirc.el (rcirc-ctcp-sender-PING): * lisp/textmodes/remember.el (remember-store-in-mailbox): * lisp/url/url-cookie.el (url-cookie-expired-p): Bypass float-time to avoid rounding errors. * lisp/files.el (dir-locals-find-file):
* Fix xdg timestamp error on 32-bit EmacsPaul Eggert2017-10-221-2/+2
| | | | | | | * lisp/xdg.el (xdg-thumb-mtime): Return an Emacs timestamp, not an integer. This avoids signaling an error on 32-bit Emacs, where timestamps typically do not fit into fixnums (Bug#28921).
* Test that advice doesn't trigger bytecomp warnings (Bug#28803)John Williams2017-10-211-0/+11
| | | | | | | * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--test-no-warnings-with-advice): New test. Copyright-paperwork-exempt: yes
* Another fix for unsafe directory error message (Bug#865)Noam Postavsky2017-10-211-2/+3
| | | | | | * lisp/server.el (server-ensure-safe-dir): Put file owner's uid, not current user's for the wrong owner case. Show expanded file name in error message.
* Handle https url for debbugs mbox (Bug#28831)Noam Postavsky2017-10-211-3/+1
| | | | | | | | | In 2017-09-13 "Prefer HTTPS to FTP and HTTP in documentation", gnus-bug-group-download-format-alist was updated to use https for the debbugs.gnu.org mbox links, but gnus-read-ephemeral-bug-group assumed http links. * lisp/gnus/gnus-group.el (gnus-read-ephemeral-bug-group): Use url-parse functions to get the host name, instead of ad-hoc regexps.
* Ignore string properties when saving eshell history (Bug#28700)Noam Postavsky2017-10-213-3/+43
| | | | | | | | * lisp/eshell/em-hist.el (eshell-write-history): Remove properties before inserting history strings. (eshell-read-history): Remove obsolete comment. * test/lisp/eshell/em-hist-tests.el (eshell-write-readonly-history): New test.
* Fix Bug#28889Michael Albinus2017-10-211-25/+26
| | | | | | | | | | | | * lisp/net/tramp.el: Change autoload cookie to tramp-autoload cookie. (tramp-completion-file-name-regexp-default) (tramp-completion-file-name-handler-alist) (tramp-completion-file-name-handler): Remove autoload cookie. (tramp-initial-completion-file-name-regexp): Remove. (tramp-autoload-file-name-regexp): New defconst. (tramp-register-autoload-file-name-handlers): Use it. (with-parsed-tramp-file-name): Adapt docstring. Compute `tramp-file-name' slots. (Bug#28889)
* Update describe-function for recent Fdocumentation changeGlenn Morris2017-10-211-2/+2
| | | | | * lisp/help-fns.el (describe-function-1): Handle Fdocumentation returning either void or invalid.
* Make flymake's mouse-wheel interaction portable (Bug#28732)Charles A. Roelli2017-10-211-3/+7
| | | | | | | * lisp/progmodes/flymake.el (flymake--mode-line-format): Bind 'mouse-wheel-down-event' and 'mouse-wheel-up-event' instead of 'mouse-4' and 'mouse-5'. Update the tooltip text accordingly, and remove a stray newline in it.
* Prevent eldoc from changing the mode lineNick Helm2017-10-211-1/+2
| | | | | * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message): Don't change the mode line if it is not displayed. (Bug#28697)
* Fix doc strings in simple.elEli Zaretskii2017-10-211-5/+6
| | | | | * lisp/simple.el (shell-command-saved-pos) (region-extract-function, region-bounds): Doc fixes. (Bug#28609)
* Avoid creating inconsistent buffer states in term-char-modePhil Sainty2017-10-212-0/+115
| | | | | | | | | | | | | | | | | | | | | | * lisp/term.el (term-mode, term-char-mode, term-line-mode) (term-emulate-terminal): Make buffer read-only in 'term-char-mode', except for the process filter's output. Use 'read-only-mode-hook' to track and restore the user-set state of 'buffer-read-only' for 'term-line-mode'. (Bug#24837) (term-char-mode-buffer-read-only): New user option. (term-line-mode-buffer-read-only): New buffer-local variable. (term-line-mode-buffer-read-only-update): New function. (term-char-mode, term-line-mode): Use 'term-set-goto-process-mark' in pre-command-hook, and 'term-goto-process-mark-maybe' in post-command-hook to counter-act unexpected changes to point when using 'term-char-mode'. (term-char-mode-point-at-process-mark): New user option. (term-goto-process-mark): New buffer-local variable. (term-set-goto-process-mark): New function. (term-goto-process-mark-maybe): New function. (term-process-mark): New function. * etc/NEWS: Mention the new behavior and user options.
* New input method 'usbek-cyrillic'Bahodir Mansurov2017-10-212-1/+115
| | | | | | | | | * lisp/leim/quail/cyrillic.el (uzbek-cyrillic): New input method. (Bug#28848) * etc/NEWS: Mention the new input method. Copyright-paperwork-exempt: yes
* Document 'minibuffer-with-setup-hook'Eli Zaretskii2017-10-211-0/+13
| | | | | * doc/lispref/minibuf.texi (Minibuffer Misc): Document minibuffer-with-setup-hook. (Bug#28877)
* Simplify make-progress-reporter vs float-timePaul Eggert2017-10-201-6/+4
| | | | | | * lisp/subr.el (make-progress-reporter): Remove no-longer-needed doc and code for the case where float-time is not supported, since float-time is always present now.
* Fix two more minor Gnus typosPaul Eggert2017-10-201-10/+6
| | | | | | | | | * lisp/gnus/mail-source.el (mail-source-delete-old-incoming): The old code had two minor bugs: first, it multiplied by 1/65536 instead of by 1/86400. Second, it called current-time twice and glued part of the two results together, resulting in a race. Fix both bugs by simplifying the code and using time-to-number-of-days.