summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | * lisp/net/tramp-sh.el (tramp-get-ls-command-with): Fix typo.Michael Albinus2018-06-231-1/+1
| |
* | * lisp/net/tramp-sh.el (tramp-sh--quoting-style-options): New functionStefan Monnier2018-06-221-13/+12
| | | | | | | | | | (tramp-do-directory-files-and-attributes-with-stat) (tramp-do-file-attributes-with-ls): Use it.
* | Improve backward compatibility of TrampMichael Albinus2018-06-223-20/+29
| | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-handle-exec-path): * lisp/net/tramp-sh.el (tramp-sh-handle-exec-path): Use ´file-remote-p'. (tramp-get-ls-command-with): Handle busybox specially. * test/lisp/net/tramp-tests.el (tramp-test34-exec-path): Check for `fboundp'. Use `file-remote-p'. Hide compiler warning for older Emacsen.
* | Document 'major-mode-suspend' and 'major-mode-restore'Eli Zaretskii2018-06-222-4/+25
| | | | | | | | | | | | | | | | * doc/lispref/modes.texi (Major Modes): Document 'major-mode-suspend' and 'major-mode-restore'. (Bug#31551) * etc/NEWS: Mark the corresponding entry as documented in manuals.
* | New functions to switch back and forth to another major modeStefan Monnier2018-06-215-146/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * subr.el (major-mode--suspended): New var. (major-mode-suspend, major-mode-restore): New funs, extracted from doc-view. * doc-view.el (doc-view--previous-major-mode): Remove. (doc-view-mode): Use major-mode-suspend. (doc-view-fallback-mode): Use major-mode-restore. * hexl-mode.el (hexl-mode--minor-mode-p, hexl-mode--setq-local): Remove. (hexl-mode): Use major-mode-suspend and hexl-follow-ascii-mode. (hexl-mode-exit): Use major-mode-restore. (hexl-activate-ruler, hexl-follow-line): Don't bother trying to preserve earlier state, now that entering/leaving hexl-mode kills local vars. (hexl-follow-ascii-mode): New proper local minor mode. (hexl-follow-ascii): Rewrite, using it. * image-mode.el (image-mode-previous-major-mode): Remove. (image-mode): Use major-mode-suspend. (image-mode-to-text): Use major-mode-restore.
* | Remove broken icon from tooltip (Bug#31884)memeplex2018-06-211-1/+1
| | | | | | | | | | * src/gtkutil.c (xg_show_tooltip): Call gtk_widget_show instead of gtk_widget_show_all, the latter displays an extra placeholder icon.
* | Set group when installing, tooPaul Eggert2018-06-211-2/+4
| | | | | | | | | | | | | | | | From a patch by Ulrich Mueller in: https://lists.gnu.org/r/emacs-devel/2018-06/msg00687.html * Makefile.in (set_installuser): Also set the group, in order to match install(1) behavior. Also, don’t clutter stderr with a diagnostic if ‘id’ is missing.
* | ; Fix typoMichael Albinus2018-06-201-1/+1
| |
* | Improve documentation of a recent changeEli Zaretskii2018-06-203-9/+12
| | | | | | | | | | | | | | | | | | | | * doc/lispref/processes.texi (Subprocess Creation): Improve wording of documentation for the function 'exec-path'. * etc/NEWS: Improve wording and formatting of recently added entries. * lisp/files.el (exec-path): Doc fix.
* | Implement command completion in remote shells. (Bug#31704)Michael Albinus2018-06-2016-74/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/files.texi (Locating Files): Describe optional argument REMOTE of `executable-find'. (Magic File Names): Add `exec-path'. * doc/lispref/processes.texi (Subprocess Creation): Describe function `exec-path'. * doc/misc/tramp.texi (Remote programs): Explain refresh of search paths by `tramp-cleanup-this-connection'. * etc/NEWS: Mention 'exec-path' and 'executable-find'. * lisp/files.el (exec-path): New defun. (executable-find): Add optional argument REMOTE. * lisp/shell.el (shell-completion-vars): Set `comint-file-name-prefix'. (shell--command-completion-data): Use `(exec-path)'. (Bug#31704) * lisp/net/ange-ftp.el (exec-path): * lisp/net/tramp.el (tramp-file-name-for-operation): * 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-sh.el (tramp-sh-file-name-handler-alist): * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist) <exec-path>: Add handler. * lisp/net/tramp-adb.el (tramp-adb-handle-exec-path): New defun. (tramp-adb-maybe-open-connection): Do not set "remote-path" connection property. * lisp/net/tramp-compat.el (tramp-compat-exec-path): New defun. * lisp/net/tramp-sh.el (tramp-sh-handle-exec-path): New defun. * lisp/net/tramp.el (tramp-eshell-directory-change): Use it. * test/lisp/net/tramp-archive-tests.el (tramp-archive-test38-make-nearby-temp-file) (tramp-archive-test41-file-system-info) (tramp-archive-test43-auto-load) (tramp-archive-test43-delay-load): Rename. * test/lisp/net/tramp-tests.el (tramp-test34-exec-path): New test. (tramp-test36-make-auto-save-file-name) (tramp-test37-find-backup-file-name) (tramp-test38-make-nearby-temp-file) (tramp-test39-special-characters) (tramp-test39-special-characters-with-stat) (tramp-test39-special-characters-with-perl) (tramp-test39-special-characters-with-ls, tramp-test40-utf8) (tramp-test40-utf8-with-stat, tramp-test40-utf8-with-perl) (tramp-test40-utf8-with-ls, tramp-test41-file-system-info) (tramp-test42-asynchronous-requests, tramp-test43-auto-load) (tramp-test43-delay-load, tramp-test43-recursive-load) (tramp-test43-remote-load-path, tramp-test44-unload): Rename.
* | Properly ignore stderr in elisp Flymake backendJoão Távora2018-06-191-1/+1
| | | | | | | | | | | | | | | | Naively passing `null-device' as stderr creates a buffer named "/dev/null" instead. Pass a hidden buffer name instead. (Bug#31902). * lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile): Pass hidden buffer as make-process :stderr instead of null-device.
* | Fix theme applicationDaniel Colascione2018-06-191-1/+1
| | | | | | | | | | | | | | Fix an inverted test. Patch due to Andy Moreton. * lisp/cus-face.el (custom-theme-set-faces): Correct sense of `custom--should-apply-setting' test.
* | Unbreak dabbrevDaniel Colascione2018-06-191-8/+13
| | | | | | | | | | | | | | | | | | This commit partially reverts edb1f85a27817a3fac38bb85752671414819203b, which results in dabbev expansion failing due to trying to switch to the null buffer. * lisp/dabbrev.el (dabbrev--progress-reporter): Restore variable. (dabbrev--find-expansion): Restore original code.
* | lisp/obsolete/*tls.el: Note when obsolescence was decidedStefan Monnier2018-06-182-0/+2
| |
* | Skip a json.c test unless functions being tested existJoão Távora2018-06-191-0/+2
| | | | | | | | | | | | * test/src/json-tests.el (json-parse-with-custom-null-and-false-objects): Skip this test unless functions being tested exist.
* | Mark a specific electric-pair-mode test as an expected failureJoão Távora2018-06-191-0/+10
| | | | | | | | | | | | | | | | See https://lists.gnu.org/archive/html/emacs-devel/2018-06/msg00535.html * test/lisp/electric-tests.el (electric-pair-whitespace-chomping-2-at-point-4-in-c++-mode-in-strings): Mark as failing.
* | Change errant if to when (Bug#31840)Mark Oteiza2018-06-181-2/+2
| | | | | | | | * lisp/emacs-lisp/subr-x.el: Expand to 'when' instead of 'if'.
* | Electric-pair-mode lets modes choose how to skip whitespaceJoão Távora2018-06-191-2/+9
| | | | | | | | | | | | | | | | | | | | | | cc-mode.el-based major-modes with stricter syntax for invalid NL-terminated strings might choose to have electric-pair-mode skip some of whitespace into non-string-syntax regions, for the sake of letting electric-pair-mode chomp that whitespace and make the string valid again. * lisp/elec-pair.el (electric-pair-post-self-insert-function): Call it. (electric-pair-skip-whitespace-function): New buffer-local variable.
* | Stop assuming .git is a directory in gitmerge.elNoam Postavsky2018-06-181-2/+6
| | | | | | | | | | | | * admin/gitmerge.el (gitmerge-maybe-resume): Use 'git rev-parse --git-dir' to find the git directory rather than assuming it is .git/ (that assumption fails for separated worktrees).
* | Default to splash on current frame, if none visible (Bug#31169)Noam Postavsky2018-06-181-1/+2
| | | | | | | | * lisp/startup.el (fancy-splash-frame): Default to current frame.
* | Move tls.el and starttls.el to lisp/obsolete/ (Bug#31457)Noam Postavsky2018-06-187-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/obsolete/tls.el: Moved from lisp/net/tls.el. * lisp/gnus/nnimap.el: * lisp/url/url-http.el: Don't require tls, since it's obsolete. * lisp/net/network-stream.el: Only require tls if we actually try to use it (i.e., when (gnutls-available-p) returns nil). Declare some functions to fix compilation warnings. * lisp/obsolete/starttls.el: Moved from lisp/net/starttls.el. * lisp/net/sieve-manage.el: * lisp/net/network-stream.el: Don't require `starttls' at the top-level, declare the variables and functions used instead. (network-stream-open-starttls): Only require `starttls' if needed (i.e., gnutls-available-p fails). * etc/NEWS: Announce obsoletion.
* | Merge from origin/emacs-26Glenn Morris2018-06-182-2/+8
|\ \ | |/ | | | | | | 3673770 (origin/emacs-26) Fix vertical-motion with 'visual' line-numb... d8bff53 ; CONTRIBUTE: Add a couple of nits.
| * Fix vertical-motion with 'visual' line-number displayEli Zaretskii2018-06-181-2/+1
| | | | | | | | | | * src/indent.c (Fvertical_motion): Don't exempt 'visual' sty;e of line-number display from X coordinate adjustments. (Bug#31875)
| * ; CONTRIBUTE: Add a couple of nits.Eli Zaretskii2018-06-181-0/+7
| |
* | ; Merge from origin/emacs-26Glenn Morris2018-06-180-0/+0
|\ \ | |/ | | | | | | | | | | The following commits were skipped: 48829cb Handle NSAttributedString inputs (bug#29837) 0deab3f Allow inserting non-BMP characters
| * Handle NSAttributedString inputs (bug#29837)Alan Third2018-06-171-2/+9
| | | | | | | | | | | | ; Do not merge to master. * src/nsterm.m (EmacsView::insertText): Handle NSAttributedString.
| * Allow inserting non-BMP charactersPhilipp Stephani2018-06-173-13/+43
| | | | | | | | | | | | | | | | | | | | * src/coding.h (UTF_16_HIGH_SURROGATE_P, UTF_16_LOW_SURROGATE_P): Move from coding.c and document. (surrogates_to_codepoint): New function. * src/nsterm.m (insertText:): Properly handle surrogate pairs. (cherry picked from commit 703ac3ea1c1ce381f385469a0e88bc29d3fe83c2)
* | Merge from origin/emacs-26Glenn Morris2018-06-184-10/+17
|\ \ | |/ | | | | | | | | ebe065f Prevent errant scroll on mouse click (Bug#31546) ffd2018 Minor documentation fix cf4dc95 * lisp/window.el (window-toggle-side-windows): Doc fix. (Bug...
| * Prevent errant scroll on mouse click (Bug#31546)Aaron Jensen2018-06-172-2/+6
| | | | | | | | | | | | | | * src/nsterm.m (ns_mouse_position): Use correct frame when determining mouse position. * lisp/mouse.el (mouse-drag-track): Only account for mode-line height if `mode-line-format' is non-nil.
| * Minor documentation fixEli Zaretskii2018-06-171-1/+3
| | | | | | | | | | * doc/lispref/windows.texi (Window Start and End): Improve documentation and indexing of window-end.
| * * lisp/window.el (window-toggle-side-windows): Doc fix. (Bug#31858)Eli Zaretskii2018-06-171-7/+8
| |
* | ; Merge from origin/emacs-26Glenn Morris2018-06-180-0/+0
|\ \ | |/ | | | | | | | | | | The following commits were skipped: e128434 Fix byte compilation of (eq foo 'default) 4753d79 Fix Bug#31846. Do not merge with master
| * Fix byte compilation of (eq foo 'default)Paul Eggert2018-06-162-10/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | Backport from master. Do not use the symbol ‘default’ as a special marker. Instead, use a value that cannot appear in the program, improving on a patch proposed by Robert Cochran (Bug#31718#14). * lisp/emacs-lisp/bytecomp.el (byte-compile--default-val): New constant. (byte-compile-cond-jump-table-info) (byte-compile-cond-jump-table): Use it instead of 'default. * test/lisp/emacs-lisp/bytecomp-tests.el: (byte-opt-testsuite-arith-data): Add a test for the bug.
| * Fix Bug#31846. Do not merge with masterMichael Albinus2018-06-161-6/+6
| | | | | | | | | | * lisp/net/secrets.el (secrets-search-items) (secrets-create-item): Fix format of :dict-entry values. (Bug#31846)
* | Merge from origin/emacs-26Glenn Morris2018-06-189-27/+63
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | 63ba73a Fix documentation of ':propertize' in mode-line-format 22aa665 Reject invalid 5-byte sequences when detecting UTF-8 encoding 0d3c358 Fix 'replace-buffer-contents' in multibyte buffers c79a627 Update etc/NEWS for mail-source-movemail-program change 63f1dc4 Improve movemail default 0b1a2ae Delete description of deleted Customize functions fcd66d0 Keep vc-print-log from putting point at buffer end (Bug#31764) Conflicts: etc/NEWS
| * Fix documentation of ':propertize' in mode-line-formatEli Zaretskii2018-06-161-3/+6
| | | | | | | | | | * doc/lispref/modes.texi (Mode Line Data): Make the description of ':propertize' more accurate. (Bug#26291)
| * Reject invalid 5-byte sequences when detecting UTF-8 encodingEli Zaretskii2018-06-152-2/+6
| | | | | | | | | | | | | | | | * src/coding.c (detect_coding_utf_8): Reject multibyte sequences whose leading byte is greater than MAX_MULTIBYTE_LEADING_CODE. (Bug#31829) * src/character.h (MAX_MULTIBYTE_LEADING_CODE): Add commentary about the connection between the value of this macro and MAX_CHAR.
| * Fix 'replace-buffer-contents' in multibyte buffersEli Zaretskii2018-06-152-2/+22
| | | | | | | | | | | | | | | | | | * src/editfns.c (buffer_chars_equal): Pass a byte position to BUF_FETCH_CHAR_AS_MULTIBYTE, not a character position. (Bug#31837) * test/src/editfns-tests.el (replace-buffer-contents-bug31837): New test.
| * Update etc/NEWS for mail-source-movemail-program changeRobert Pluim2018-06-151-0/+10
| | | | | | | | | | * etc/NEWS: Describe change in how we search for mail-source-movemail-program.
| * Improve movemail defaultRobert Pluim2018-06-151-4/+8
| | | | | | | | | | | | | | | | | | * lisp/gnus/mail-source.el (mail-source-movemail-program): Change default to "movemail". (mail-source-movemail): Pass just mail-source-movemail-program to call-process instead of fully specifying it relative to exec-directory. Ensures that we will find Mailutils movemail if it is installed. (Bug#31737)
| * Delete description of deleted Customize functionsEli Zaretskii2018-06-151-14/+8
| | | | | | | | | | | | | | | | * doc/lispref/customize.texi (Variable Definitions): Remove the description of 'custom-initialize-safe-set' and 'custom-initialize-safe-default', which were deleted in Emacs 23.2, and replace with the description of 'custom-initialize-delay'.
| * Keep vc-print-log from putting point at buffer end (Bug#31764)Noam Postavsky2018-06-141-2/+3
| | | | | | | | | | * lisp/vc/vc.el (vc-print-log-internal): Use `save-excursion' around `vc-print-log-setup-buttons'.
* | ; Merge from origin/emacs-26Glenn Morris2018-06-180-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: b635c54 Don’t set EMACS=t if Bash is 4.4 or newer
| * Don’t set EMACS=t if Bash is 4.4 or newerPaul Eggert2018-06-141-6/+28
| | | | | | | | | | | | | | | | (Backport from master.) (Thanks to Stefan Monnier for improvements to this patch.) * lisp/term.el (term--bash-needs-EMACS-status): New var. (term--bash-needs-EMACSp): New function. (term-exec-1): Use it instead of always setting EMACS.
* | Merge from origin/emacs-26Glenn Morris2018-06-182-3/+13
|\ \ | |/ | | | | | | | | | | a933ebe Improve commentary in info.el 94e84a9 ; Further wording fix in tramp.texi a5a0b11 Fix wording in tramp.texi 2933242 * doc/misc/tramp.texi (Remote shell setup): Fix typo.
| * Improve commentary in info.elEli Zaretskii2018-06-141-0/+9
| | | | | | | | | | | | * lisp/info.el: Explain in commentary why some commands start with "info-" and others with "Info-". See also http://lists.gnu.org/archive/html/emacs-devel/2017-11/msg00482.html.
| * ; Further wording fix in tramp.texiMichael Albinus2018-06-131-0/+2
| |
| * Fix wording in tramp.texiMichael Albinus2018-06-131-2/+1
| | | | | | | | | | * doc/misc/tramp.texi (Frequently Asked Questions): Fix wording for abbreviations.
| * * doc/misc/tramp.texi (Remote shell setup): Fix typo.Michael Albinus2018-06-131-1/+1
| |
* | ; Merge from origin/emacs-26Glenn Morris2018-06-180-0/+0
|\ \ | |/ | | | | | | | | | | The following commits were skipped: 6d4cbe8 Finish the Bug#11728 work: hg & git 66a491f Fix Bug#11728: show files updated by git