1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-19 12:20:17 -08:00
Commit graph

1983 commits

Author SHA1 Message Date
Reuben Thomas
6d9d9cde2f Remove remaining mentions of VMS as a host
* notes/exit-value: Remove specific discussion of VMS.
* doc/emacs/programs.texi (Program Modes): Don't advertise VMS DCL support
any more.
* doc/misc/ediff.texi (Merging and diff3): Don't mention lack of support
for VMS diff, we no longer support VMS.
* lisp/progmodes/ada-mode.el:
* lisp/net/tramp.el (tramp-handle-file-symlink-p):
* lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
about VMS, which we no longer support.
* lisp/progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
and fix a FIXME, using convert-standard-filename in place of
removed ada-convert-file-name.
* lisp/url/url-handlers.el: Remove a comment about VMS, which we no longer
support.
2014-08-07 12:49:36 +01:00
Michael Albinus
faafcff80c * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
Use cached "remote-copy-args" value, if available.
2014-08-07 11:13:54 +02:00
Eric Brown
06e7319ce3 lisp/net/eww.el (eww-bookmarks-directory): New variable.
* lisp/net/eww.el (eww-bookmarks-directory): New variable.
(eww-write-bookmarks): Use it.
(eww-read-bookmarks): Ditto.
2014-08-05 20:15:52 +02:00
Lars Magne Ingebrigtsen
488df60acc * lisp/net/shr.el (shr-copy-url): Also copy the image URL.
* lisp/net/shr.el (shr-copy-url): Also copy the image URL.
2014-08-05 20:15:03 +02:00
Michael Albinus
38c4a53e42 Fix typo in last commit. 2014-08-05 10:24:47 +02:00
Michael Albinus
59a685f2fe * net/tramp-cache.el (tramp-flush-file-function): Suppress function
also for Tramp working buffers.
2014-08-05 10:13:28 +02:00
Emilio C. Lopes
81abec91ee * net/tramp-sh.el (tramp-get-remote-python): Also search for
executables named "python2" or "python3".
(tramp-get-remote-uid-with-python): Use parentheses around
arguments to `print' to make it compatible with Python 3.
(tramp-get-remote-gid-with-python): Ditto.

Fixes: debbugs:18118
2014-07-28 21:08:43 +02:00
Michael Albinus
934eeab5ff * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
with `save-match-data'.

Fixes: debbugs:18095
2014-07-24 09:30:36 +02:00
Stefan Monnier
bb16bffbd2 Indentation, punctuation, and other nitpicks. 2014-07-20 21:41:59 -04:00
Michael Albinus
b39eecb3c7 Fix Bug#17858
* net/dbus.el (dbus-peer-handler): New defun.
(dbus-register-service): Register it. 
(dbus-managed-objects-handler): Fix docstring.
2014-07-04 12:03:14 +02:00
Michael Albinus
95268e987c * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
* net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
(tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.

* net/tramp.el (tramp-call-process): Handle error strings.

* net/trampver.el: Update release number.
2014-07-03 11:27:02 +02:00
Mario Lang
dd72a0ca55 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
customization option `gnutls-verify-error.
2014-07-01 20:48:24 +02:00
Michael Albinus
005f996739 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Prefer utf-8 coding.  (Bug#17859)
2014-07-01 16:06:11 +02:00
Grégoire Jadi
f8e16324a0 * net/rcirc.el (rcirc-buffer-process): Restore previous behaviour.
Fixes: debbugs:17772
2014-06-30 10:55:14 +08:00
Glenn Morris
e0d9c3c9a2 Merge from emacs-24; up to 2014-06-12T14:55:48Z!monnier@iro.umontreal.ca 2014-06-28 10:27:29 -07:00
Glenn Morris
340d54a195 * lisp/net/eww.el (eww-mode) <eww-current-title>: Make local.
Fixes: debbugs:17860
2014-06-26 20:48:34 -04:00
Glenn Morris
131a3a12c4 Merge from emacs-24; up to 2014-06-08T18:27:22Z!eggert@cs.ucla.edu 2014-06-24 00:15:26 -07:00
Mario Lang
33848c48a5 "the the", "from from" and "and and". 2014-06-23 01:12:17 +02:00
Michael Albinus
6692a64cc4 * net/tramp-adb.el (tramp-adb-handle-process-file):
* net/tramp-sh.el (tramp-sh-handle-process-file):
* net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
the output buffer when DISPLAY is non-nil.

Fixes: debbugs:17815
2014-06-22 11:20:38 +02:00
Glenn Morris
c400516ab1 Merge from emacs-24; up to 2014-06-06T02:22:40Z!monnier@iro.umontreal.ca 2014-06-21 12:45:59 -07:00
Grégoire Jadi
483d1ab6c8 * net/rcirc.el (rcirc-omit-mode): Fix recenter error.
Fixes: debbugs:17769
2014-06-19 19:14:59 +08:00
Michael Albinus
493ce45c92 Sync with Tramp 2.2.10.
* lisp/net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
(tramp-adb-maybe-open-connection): Don't set
`tramp-current-*' variables.

* lisp/net/tramp-cache.el (tramp-flush-file-function): Do not flush
file properties of temporary buffers.

* lisp/net/tramp-ftp.el (top): Remove special handling for URL syntax.

* lisp/net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
(tramp-gvfs-handle-delete-file): Flush file
properties, not directory properties.
(tramp-gvfs-handle-file-attributes): Use `string-to-number' when
reading "unix::mode".
(tramp-gvfs-handle-file-name-all-completions):
Use "-h" option for "gvfs-ls".
(tramp-gvfs-url-file-name): `user' and `localname' could be nil.
(tramp-gvfs-send-command): Simplify traces.

* lisp/net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
(vc-git-program, vc-hg-program): Declare.
(tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
(tramp-methods) <nc>: Add new method.
(tramp-methods) <telnet>: Redirect stderr to "/dev/null".
(tramp-methods) <plink, plinkx, pscp, psftp>: Improve
`tramp-login-args'.
(tramp-default-user-alist): Add "nc".
(top): Remove completion function for "sftp".  Add completion
functions for "nc" and "psftp".
(tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
Implement support for "nc" method.
(tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
(tramp-remote-coding-commands, tramp-call-local-coding-command):
Tweak docstring.
(tramp-sh-handle-write-region): Tweak error message.
(tramp-sh-handle-vc-registered): Remove backends when the remote
binary does not exist.
(tramp-find-inline-encoding): Do not raise an error.
(tramp-make-copy-program-file-name): Tweak docstring.  Handle also
the "nc" case.  Quote result also locally.

* lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
(tramp-smb-handle-set-file-acl): Use `start-process'.
(tramp-smb-handle-insert-directory): Use progress reporter.
(tramp-smb-handle-rename-file): Flush also file properties of
FILENAME.

* lisp/net/tramp.el (tramp-methods): Tweak docstring.
(tramp-handle-file-accessible-directory-p): Check for
`file-readable-p' instead of `file-executable-p'.
(tramp-check-cached-permissions): Use
`tramp-compat-file-attributes'.
(tramp-call-process): Add new argument VEC.  Adapt callees in all
tramp*.el files.

* lisp/net/trampver.el: Update release number.
2014-06-15 17:47:35 +02:00
Michael Albinus
2c7bf3ce24 Fix a regression bug in D-Bus event handling.
* net/dbus.el (dbus-call-method): Push only non D-Bus events into
`unread-command-events'.
2014-06-15 14:15:25 +02:00
Glenn Morris
36cf8493af Merge from emacs-24; up to 2014-06-01T23:37:59Z!eggert@cs.ucla.edu 2014-06-07 17:35:27 -07:00
Michael Albinus
a336b2eae3 Fix Bug#17653.
* net/tramp.el (tramp-ssh-controlmaster-options): Improve search regexp.
2014-06-03 09:43:24 +02:00
Michael Albinus
e915914b93 * net/tramp.el (with-tramp-progress-reporter): Remove traces. 2014-06-02 20:36:47 +02:00
Michael Albinus
7973d8d5fa * net/tramp.el (tramp-handle-unhandled-file-name-directory): Return "/". 2014-06-02 17:17:39 +02:00
Michael Albinus
fd9fba8bd3 * net/tramp.el (with-tramp-progress-reporter): Complete previous patch. 2014-06-02 16:17:07 +02:00
Michael Albinus
bcb1a5bacd * net/tramp.el (with-tramp-progress-reporter): Add more traces. 2014-06-02 16:05:35 +02:00
Michael Albinus
1924ea8c29 * net/tramp.el (with-tramp-progress-reporter, tramp-call-process):
Add traces.
2014-06-02 15:51:35 +02:00
Michael Albinus
9acc8834b3 * net/tramp.el (tramp-call-process): Add more traces. 2014-06-02 13:35:40 +02:00
Michael Albinus
c8291a36aa * lisp/net/tramp.el (tramp-call-process): Add traces. 2014-06-02 11:58:50 +02:00
Glenn Morris
015936fba1 Merge from emacs-24; up to 2014-05-26T10:21:18Z!rgm@gnu.org 2014-05-25 19:28:09 -07:00
Michael Albinus
43425aecb1 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
for a temporary file name.
2014-05-17 11:00:54 +02:00
Michael Albinus
1bafb1dede * net/dbus.el (dbus-init-bus, dbus-call-method)
(dbus-call-method-asynchronously, dbus-send-signal)
(dbus-method-return-internal, dbus-method-error-internal)
Check, whether Emacs has been compiled with D-Bus support.

Fixes: debbugs:17508
2014-05-16 15:11:09 +02:00
Glenn Morris
d63d883a97 Add with-file-modes macro, and use it
* lisp/subr.el (with-file-modes): New macro.

* lisp/printing.el (pr-save-file-modes):
* lisp/eshell/esh-util.el (eshell-with-file-modes): Make obsolete.

* lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
Add with-file-modes.

* lisp/doc-view.el (doc-view-make-safe-dir):
* lisp/epg.el (epg--start):
* lisp/files.el (locate-user-emacs-file, make-temp-file)
(backup-buffer-copy, move-file-to-trash):
* printing.el (pr-despool-print, pr-call-process, pr-text2ps):
* eshell/esh-util.el (eshell-with-private-file-modes)
(eshell-make-private-directory):
* lisp/net/browse-url.el (browse-url-mosaic):
* lisp/obsolete/mailpost.el (post-mail-send-it):
* lisp/obsolete/pgg-pgp.el (pgg-pgp-verify-region):
* lisp/obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
* lisp/url/url-util.el (url-make-private-file):
Use with-file-modes.

* doc/lispref/files.texi (Changing Files): Mention with-file-modes.

* etc/NEWS: Mention this.
2014-05-14 10:15:15 -07:00
Glenn Morris
f4da4720df Merge from emacs-24; up to 2014-05-15T16:55:18Z!jan.h.d@swipnet.se 2014-05-14 10:01:29 -07:00
Michael Albinus
e95b937a42 * net/browse-url.el (browse-url):
Use `unhandled-file-name-directory' when setting `default-directory',
in order to circumvent stalled remote connections.

Fixes: debbugs:17425
2014-05-13 10:54:08 +02:00
Glenn Morris
79e502ca44 * lisp/net/rcirc.el (rcirc-reconnect-delay): Add :version.
Defcustoms docs do not need leading "*", for some years.
2014-05-12 09:06:13 -07:00
Glenn Morris
bbbabffe06 Merge from emacs-24; up to 2014-05-12T06:15:47Z!rgm@gnu.org 2014-05-11 23:59:30 -07:00
Leo Liu
2f9b4cfc75 * net/rcirc.el (rcirc-sentinel): Fix last change. 2014-05-11 09:39:49 +08:00
Glenn Morris
8c6699ab19 * browse-url.el (browse-url-mosaic): Create /tmp/Mosaic.PID as a private file. 2014-05-10 13:48:36 -07:00
Sam Steingold
f36f0bca38 Optionally auto-reconnect depending on `rcirc-reconnect-delay'.
* net/rcirc.el (rcirc-reconnect-delay): New user option.
(rcirc-sentinel): Auto-reconnect to the server if `rcirc-reconnect-delay'
is non-0 (but not more often than its value in case the host is off-line).
2014-05-09 13:04:46 -04:00
Glenn Morris
4049faae96 * browse-url.el (browse-url-mosaic): Be careful when writing /tmp/Mosaic.PID.
This is CVE-2014-3423.

Fixes: debbugs:17428
2014-05-08 14:10:36 -04:00
Glenn Morris
fb3f83f5fd Merge from emacs-24; up to 2014-05-08T03:34:20Z!rgm@gnu.org 2014-05-07 20:41:21 -07:00
Michael Albinus
23e19cf290 Fix Bug#17415.
* net/tramp-sh.el (tramp-uudecode): Replace the hard-coded temporary
file name by a format specifier.
(tramp-remote-coding-commands): Enhance docstring.
(tramp-find-inline-encoding): Replace "%t" by a temporary file name.
2014-05-06 11:51:05 +02:00
Michael Albinus
3e59ead144 Fix Bug#17295.
* net/tramp-sh.el (tramp-remote-process-environment): Remove
HISTFILE and HISTSIZE; it's too late to set them here.  Add
:version entry.
(tramp-open-shell): Do not let-bind `tramp-end-of-output'.  Add
"HISTSIZE=/dev/null" to the shell's env arguments.  Do not send
extra "PSx=..." commands.
(tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2014-05-06 10:42:53 +02:00
Glenn Morris
03810324a4 browse-url.el comment 2014-05-05 20:55:54 -07:00
Paul Eggert
42e910349d Merge from emacs-24; up to 2014-04-22T20:19:17Z!eggert@cs.ucla.edu 2014-04-22 14:32:51 -07:00
Michael Albinus
14828a9567 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
Remove test messages.
(tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
and `target' twice.
2014-04-22 12:43:01 +02:00