Merge from origin/emacs-26
05d0c0f802
; * ChangeLog.3: ChangeLog fixes.fbabae6b24
* ChangeLog.3: Update.eab051991e
Fix docstring style for 'functionp'e8a7c41b4e
Format shell commands in tramp.texi0526aac4eb
Unbreak the button in the Flymake diagnostics buffer againc89f001de1
Add mode map to Flymake diagnostic buttonf9cd8ee681
Tweak the Flymake diagnostics buffer again0e83f5f279
Simplify Flymake diagnostics buffer UXcf4a15b9b6
First stab at a Flymake diagnostics buffere4a1556392
* etc/NEWS (Flymake): Rewrite entry.00adeb43e9
Improve the Flymake manual44c6401733
; * etc/NEWS: Clarify the description of "---" and "+++".042b3cfbd2
Fix two Flymake bugs3dfa2ca4dc
Don't log "emergencies" in the Flymake legacy backend1c2e188440
Add full documentation on new Flymake API0f7f677f82
Fix some Flymake docstrings and messages21e7075781
Make three new Flymake commands for debugging common problemsc9be9a3678
; INSTALL.REPO: Add -d to "thorough cleaning" suggestion.5d51403ceb
; Typo fixes, mostly repeated words0d004ed01a
; Spelling fixes0485aa76c9
; * src/lread.c (syms_of_lread) <module-file-suffix>: Fix ...ba7fb37d6a
* admin/authors.el (authors-renamed-files-alist): addition.14dca4a79a
; ChangeLog.3 fixesf352d0257c
Fix PWD check on DOS_NT934f08f3de
Fix unlikely overflows with wd length6c2b1e89ef
* lisp/gnus/message.el: Improve last commit7ed7360855
Fix problems when editing raw undecoded message (Bug#28671)aca5f0072b
Avoid encoding errors in message.el0c36663db5
Improve doc string and prompt of 'grep-read-files'2da83c9d36
Avoid assertion violations when line numbers are displayed5b81f65ad0
; * lisp/emacs-lisp/rmc.el: Minor fix for copyright and li...11b37b4a9f
Be lazy when starting Flymake checks36ed9a9ede
Fix last change in frameset.el62e5c119af
Describe how window dividers can replicate vertical border...e2150d994a
Add line-number faces to the display-line-numbers group89b0023044
Increase xterm click count only within double-click-fuzz745aea2296
Change pause in fullscreen toggling for NS port (bug#28496)1cd334cd47
Handle PARENTS properly in tramp-*-handle-make-directoryf1c73de47d
; Merge from Gnulib (comment changes only)7c2c117c91
Improve test for unreachable dirs2202952b83
* src/xsmfns.c (x_session_initialize): Fix memory leak.a9b72976de
Merge branch 'emacs-26' of git.sv.gnu.org:/srv/git/emacs i...64baaff8c5
New option for handling ZWNJ in Arabic text renderingc194fb61c6
Make python prettify symbols into a defvar (Bug#28713)6dfc778d54
Fix fullscreen crash on macOS (bug#28496)3db0dc2168
Fix crash when closing fullscreen frame on macOS (bug#28661)bc80da5bd3
Support gio tool in Tramp349e0eb5ff
Fix flymake-goto-next-error when message has %-constructs0fa353b504
* src/gnutls.c (syms_of_gnutls): Remove duplicated call to...dc6ae15a8d
Move the entry about 'format' into Incompatible Lisp Changes75174a632d
Fix glitches in displaying TTY menus238fbcb20e
Create new Edebug spec for docstrings and use it in closures2d58d51329
Avoid byte-compilation warnings in message.el # Conflicts: # etc/NEWS
This commit is contained in:
commit
3d0d5b4ebd
102 changed files with 1867 additions and 486 deletions
|
@ -118,7 +118,7 @@ been added between the last two retrievals."
|
|||
|
||||
(defcustom newsticker-hide-obsolete-items-in-echo-area
|
||||
t
|
||||
"Decides whether to show obsolete items items in the ticker.
|
||||
"Decides whether to show obsolete items in the ticker.
|
||||
If t the echo area will not show obsolete items. See also
|
||||
`newsticker-hide-old-items-in-echo-area'."
|
||||
:type 'boolean
|
||||
|
|
|
@ -549,11 +549,12 @@ Emacs dired can't find files."
|
|||
(let ((par (expand-file-name ".." dir)))
|
||||
(unless (file-directory-p par)
|
||||
(make-directory par parents))))
|
||||
(tramp-adb-barf-unless-okay
|
||||
v (format "mkdir %s" (tramp-shell-quote-argument localname))
|
||||
"Couldn't make directory %s" dir)
|
||||
(tramp-flush-file-property v (file-name-directory localname))
|
||||
(tramp-flush-directory-property v localname)))
|
||||
(tramp-flush-directory-property v localname)
|
||||
(unless (or (tramp-adb-send-command-and-check
|
||||
v (format "mkdir %s" (tramp-shell-quote-argument localname)))
|
||||
(and parents (file-directory-p dir)))
|
||||
(tramp-error v 'file-error "Couldn't make directory %s" dir))))
|
||||
|
||||
(defun tramp-adb-handle-delete-directory (directory &optional recursive _trash)
|
||||
"Like `delete-directory' for Tramp files."
|
||||
|
|
|
@ -416,6 +416,19 @@ Every entry is a list (NAME ADDRESS).")
|
|||
(defconst tramp-hal-interface-device "org.freedesktop.Hal.Device"
|
||||
"The device interface of the HAL daemon.")
|
||||
|
||||
;; "gvfs-<command>" utilities have been deprecated in GVFS 1.31.1. We
|
||||
;; must use "gio <command>" tool instead.
|
||||
(defconst tramp-gvfs-gio-mapping
|
||||
'(("gvfs-copy" . "copy")
|
||||
("gvfs-info" . "info")
|
||||
("gvfs-ls" . "list")
|
||||
("gvfs-mkdir" . "mkdir")
|
||||
("gvfs-monitor-file" . "monitor")
|
||||
("gvfs-move" . "move")
|
||||
("gvfs-rm" . "remove")
|
||||
("gvfs-trash" . "trash"))
|
||||
"List of cons cells, mapping \"gvfs-<command>\" to \"gio <command>\".")
|
||||
|
||||
(defconst tramp-gvfs-file-attributes
|
||||
'("name"
|
||||
"type"
|
||||
|
@ -1078,9 +1091,12 @@ If FILE-SYSTEM is non-nil, return file system attributes."
|
|||
((memq 'change flags)
|
||||
'(created changed changes-done-hint moved deleted))
|
||||
((memq 'attribute-change flags) '(attribute-changed))))
|
||||
(p (start-process
|
||||
"gvfs-monitor-file" (generate-new-buffer " *gvfs-monitor-file*")
|
||||
"gvfs-monitor-file" (tramp-gvfs-url-file-name file-name))))
|
||||
(p (apply
|
||||
'start-process
|
||||
"gvfs-monitor" (generate-new-buffer " *gvfs-monitor*")
|
||||
(if (tramp-gvfs-gio-tool-p v)
|
||||
`("gio" "monitor" ,(tramp-gvfs-url-file-name file-name)))
|
||||
`("gvfs-monitor-file" (tramp-gvfs-url-file-name file-name)))))
|
||||
(if (not (processp p))
|
||||
(tramp-error
|
||||
v 'file-notify-error "Monitoring not supported for `%s'" file-name)
|
||||
|
@ -1190,8 +1206,9 @@ file-notify events."
|
|||
(when (and parents (not (file-directory-p ldir)))
|
||||
(make-directory ldir parents))
|
||||
;; Just do it.
|
||||
(unless (tramp-gvfs-send-command
|
||||
v "gvfs-mkdir" (tramp-gvfs-url-file-name dir))
|
||||
(unless (or (tramp-gvfs-send-command
|
||||
v "gvfs-mkdir" (tramp-gvfs-url-file-name dir))
|
||||
(and parents (file-directory-p dir)))
|
||||
(tramp-error v 'file-error "Couldn't make directory %s" dir))))))
|
||||
|
||||
(defun tramp-gvfs-handle-rename-file
|
||||
|
@ -1785,10 +1802,16 @@ connection if a previous connection has died for some reason."
|
|||
(tramp-gvfs-get-remote-uid vec 'string)
|
||||
(tramp-gvfs-get-remote-gid vec 'string))))
|
||||
|
||||
(defun tramp-gvfs-gio-tool-p (vec)
|
||||
"Check, whether the gio tool is available."
|
||||
(with-tramp-connection-property vec "gio-tool"
|
||||
(zerop (tramp-call-process vec "gio" nil nil nil "version"))))
|
||||
|
||||
(defun tramp-gvfs-send-command (vec command &rest args)
|
||||
"Send the COMMAND with its ARGS to connection VEC.
|
||||
COMMAND is usually a command from the gvfs-* utilities.
|
||||
`call-process' is applied, and it returns t if the return code is zero."
|
||||
COMMAND is a command from the gvfs-* utilities. It is replaced
|
||||
by the corresponding gio tool call if available. `call-process'
|
||||
is applied, and it returns t if the return code is zero."
|
||||
(let* ((locale (tramp-get-local-locale vec))
|
||||
(process-environment
|
||||
(append
|
||||
|
@ -1796,6 +1819,11 @@ COMMAND is usually a command from the gvfs-* utilities.
|
|||
,(format "LANGUAGE=%s" locale)
|
||||
,(format "LC_ALL=%s" locale))
|
||||
process-environment)))
|
||||
(when (tramp-gvfs-gio-tool-p vec)
|
||||
;; Use gio tool.
|
||||
(setq args (cons (cdr (assoc command tramp-gvfs-gio-mapping)) args)
|
||||
command "gio"))
|
||||
|
||||
(with-current-buffer (tramp-get-connection-buffer vec)
|
||||
(tramp-gvfs-maybe-open-connection vec)
|
||||
(erase-buffer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue