Michael Albinus
0b3f36df8c
* net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
...
`tramp-send-command-and-check' if there is no error.
(tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2011-07-24 11:56:26 +02:00
Michael Albinus
11d074b295
* net/tramp.el (tramp-file-name-handler): Avoid recursive
...
loading. (Bug#9114)
2011-07-22 13:04:55 +02:00
Lars Magne Ingebrigtsen
750c33f71e
Move the defintion of `gnutls-log-level' to the C level to avoid loading problems
2011-07-17 00:49:20 +02:00
Lawrence Mitchell
87e8668442
Allow controlling how many prime bits to use during TLS negotiation
2011-07-15 19:41:24 +02:00
Lars Magne Ingebrigtsen
d606623955
* net/gnutls.el (gnutls-negotiate): Upcase `gnutls-algorithm-priority'.
2011-07-15 19:25:02 +02:00
Lars Magne Ingebrigtsen
7b41decb8e
Add a variable to customize the gnutls priority
2011-07-15 19:21:57 +02:00
Chong Yidong
8bdfa0649b
Adapt 2011-07-05 switch-to-buffer changes to new switch-to-buffer
...
* lisp/bindings.el (mode-line-other-buffer):
* lisp/bookmark.el (bookmark-bmenu-2-window):
* lisp/bs.el (bs-cycle-next, bs-cycle-previous):
* lisp/net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
switch-to-buffer.
* lisp/net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
Deleted.
2011-07-13 21:40:30 -04:00
Lawrence Mitchell
2a517d45db
Make the default browser choice a bit more logical
...
* net/browse-url.el (browse-url-default-browser)
(browse-url-browser-function): Make the default browser choice a
bit more logical. Also clean up the doc string.
Fixes: debbugs:4300
2011-07-13 15:49:55 +02:00
Michael Albinus
afae1d6821
* net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
...
human-friendly prompt.
2011-07-08 16:25:25 +02:00
Lars Magne Ingebrigtsen
12b9eb3527
Work around gnutls failures
...
* net/network-stream.el (network-stream-open-starttls): If gnutls
negotiation fails, then possibly try again with a non-encrypted
connection.
Fixes: debbugs:9017
2011-07-07 17:14:17 +02:00
Lars Magne Ingebrigtsen
1f2b92cb87
* net/network-stream.el (network-stream-open-starttls): Try using
...
a plain connection even if the server offered STARTTLS, and we
kinda wanted to use it, if Emacs doesn't have any STARTTLS
capability. This should make smtpmail.el work in slightly more
configurations.
2011-07-06 17:09:11 +02:00
Michael Albinus
1cdd2a1b36
* net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window): New defun.
...
* net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
2011-07-06 11:48:20 +02:00
Stefan Monnier
2dcdbdd97d
Fix some uses of switch-to-buffer.
...
* lisp/progmodes/compile.el (compilation-goto-locus):
* lisp/net/tramp-cmds.el (tramp-append-tramp-buffers):
* lisp/bs.el (bs-cycle-next, bs-cycle-previous):
* lisp/bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
* lisp/bindings.el (mode-line-other-buffer):
* lisp/autoinsert.el (auto-insert):
* lisp/arc-mode.el (archive-extract):
* lisp/abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
2011-07-05 11:31:22 -04:00
Michael Albinus
6d95bd4664
* net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
...
* net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
(tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
Use it.
(tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
`tramp-default-remote-path' does not exist.
(tramp-send-command-and-read): New optional argument NOERROR.
(tramp-open-connection-setup-interactive-shell)
(tramp-get-remote-path, tramp-get-remote-stat): Use it.
(tramp-get-remote-readlink): Do not mask with `ignore-errors'.
(tramp-process-sentinel): Flush also process' connection property.
(tramp-sh-handle-start-file-process): Do not set process
sentinel. It is done now ...
(tramp-maybe-open-connection): ... here. (Bug#8929)
2011-07-04 14:12:38 +02:00
Lars Magne Ingebrigtsen
2b2167043c
Add :end-of-capability keyword for use by pop3.el.
2011-07-03 15:48:59 +02:00
Michael Albinus
36b148cf16
* net/tramp.el (tramp-encoding-command-interactive): New defcustom.
...
* net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2011-07-01 11:14:31 +02:00
Lars Magne Ingebrigtsen
c53dc7fca1
* net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
...
Remove two rather uninteresting debugging-like messages to make
debbugs.el more silent.
2011-07-01 01:15:02 +02:00
Katsumi Yamaoka
8982b23153
* lisp/net/ange-ftp.el: Allow loading .gz files (Bug#6923).
...
(ange-ftp-make-tmp-name): New arg.
(ange-ftp-file-local-copy): Use it.
2011-06-27 17:30:37 -04:00
Lars Magne Ingebrigtsen
f6ab314e6e
Fix stupid typo with gnutls-clii.
...
Don't re-get capabilities unless we're reconnecting.
2011-06-27 02:11:22 +02:00
Lars Magne Ingebrigtsen
468d09d44e
If the SMTP server supports STARTTLS, but Emacs has no built-in or
...
external STARTTLS support, then report this in a sensible fashion to
the user.
2011-06-26 23:05:06 +02:00
Lars Magne Ingebrigtsen
2db18f3ffa
Use built-in TLS support if `gnutls-available-p' is true.
2011-06-26 10:13:07 +02:00
Glenn Morris
11fdef7d0c
Merge from emacs-23; up to 2010-06-15T03:34:12Z!rgm@gnu.org.
2011-06-25 11:21:00 -07:00
Giuseppe Scrivano
f9ad64f3c1
Add icecat to the firefox candidates list.
2011-06-25 11:31:24 +02:00
Michael Albinus
d59eb51849
* net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
...
SIZE is a number.
2011-06-23 15:03:04 +02:00
Jan Djärv
1c0f1a199c
From Lawrence Mitchell <wence@gmx.li>: Don't hang in browse-url-xdg-open.
...
* net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
BUFFER in call-process.
2011-06-22 18:44:53 +02:00
Lars Magne Ingebrigtsen
6af7a7844e
Set :use-starttls-if-possible so that we always use STARTTLS if the server supports it.
...
SMTP servers that support STARTTLS commonly require it.
2011-06-22 00:55:52 +02:00
Lars Magne Ingebrigtsen
eb8c936238
(network-stream-certificate): Change cert-cert to cert and cert-key to key.
2011-06-21 23:00:45 +02:00
Lars Magne Ingebrigtsen
4ea31e074d
Add support for client certificates for built-in and external STARTTLS.
2011-06-21 22:39:08 +02:00
Michael Albinus
065ec2c78b
* net/tramp-cache.el (top): Don't load the persistency file when
...
"emacs -Q" has been called.
2011-06-21 21:51:26 +02:00
Deniz Dogan
aebf69c8b3
* lisp/net/rcirc.el: Delete trailing whitespaces once and for all.
2011-06-20 14:55:24 +02:00
Lars Magne Ingebrigtsen
4bba86e621
(open-network-stream): Add the keyword :always-query-capabilities.
...
This is for the case where you want to force a `plain' network
connection, but the protocol still requires the capabilitiy command
(i.e., SMTP and EHLO).
2011-06-15 22:44:45 +02:00
Michael Albinus
def722bf09
* net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
...
to ignored backtrace functions.
2011-06-11 20:30:43 +02:00
Glenn Morris
f0da764a5c
Allow/recommend explicit args for minor-modes in file local eval:s.
...
* lisp/files.el (hack-one-local-variable-eval-safep):
Allow minor-modes with explicit +/-1 arguments.
* doc/emacs/custom.texi (Specifying File Variables):
Recommend explicit arguments for minor modes.
* etc/NEWS: Likewise.
* lisp/doc-view.el, lisp/net/soap-client.el: Update file locals.
2011-06-09 16:22:06 -04:00
Eli Zaretskii
638e9005f1
Fix bug #8780 with decoding files after using ange-ftp.
...
lisp/net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
buffer-file-type before setting its value, to avoid disastrous
global effects on decoding files for DOS/Windows systems.
2011-06-09 12:40:51 +03:00
Glenn Morris
e8b08aeeca
ange-ftp fixes for dired switches not being just a single short option.
...
* lisp/net/ange-ftp.el (ange-ftp-switches-ok): New function.
(ange-ftp-get-files): Use it.
2011-06-08 23:07:11 -07:00
Deniz Dogan
7e821d0da8
* lisp/net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced in last change.
2011-06-05 21:39:17 +02:00
Deniz Dogan
ac09b8a128
* lisp/net/rcirc.el (rcirc-prompt-for-encryption): New function.
...
(rcirc): Use it to prompt for encryption.
2011-06-05 21:03:28 +02:00
Michael Albinus
0c33dd17ea
* net/tramp-sh.el (tramp-find-shell): Apply workaround also for
...
"SunOS 5.10".
2011-06-04 16:11:26 +02:00
Michael Albinus
f8f91c2ba8
* net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
...
(tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
(tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
(tramp-parse-putty):
* net/tramp-sh.el (tramp-completion-function-alist-rsh)
(tramp-completion-function-alist-ssh)
(tramp-completion-function-alist-telnet)
(tramp-completion-function-alist-su)
(tramp-completion-function-alist-putty): Set `tramp-autoload'
cookie.
* net/tramp-ftp.el:
* net/tramp-sh.el:
* net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
load "tramp.el" `tramp-set-completion-function'.
2011-06-04 15:58:37 +02:00
Stefan Monnier
7d5200893a
* lisp/net/tramp.el (tramp-with-progress-reporter): Rename from
...
with-progress-reporter. Use `declare'.
* lisp/net/tramp-smb.el:
* lisp/net/tramp-sh.el:
* lisp/net/tramp-gvfs.el: Update all uses.
2011-06-02 00:48:23 -03:00
Leo Liu
108bf785c8
Fix last change on rcirc-print and rcirc-decode-coding-system
2011-06-01 16:10:42 +08:00
Leo Liu
5ab33f2b8a
Decode all incoming messages in rcirc.el
...
Also allow automatic coding system detection if
rcirc-decode-coding-system is nil.
See discussion in http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8744
2011-05-30 20:23:56 +08:00
Leo Liu
3767e706d7
Use a visible buffer name for rcirc-debug-buffer
2011-05-30 20:04:44 +08:00
Deniz Dogan
80aec78047
* net/rcirc.el (rcirc): Use the user's stored encryption method by default.
2011-05-29 07:42:00 +02:00
Stefan Monnier
4f91a8160f
Don't quote lambda expressions with `quote'.
2011-05-23 14:57:17 -03:00
Deniz Dogan
9ff90d99bf
* lisp/net/rcirc.el (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
2011-05-19 14:38:39 +02:00
Deniz Dogan
8274564053
* lisp/net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
2011-05-19 09:55:34 +02:00
Michael Albinus
2fb0a219f6
* net/tramp.el (tramp-process-actions): Set "first-password-request"
...
property for the correct connection in case of multihops.
2011-05-18 14:59:25 +02:00
Michael Albinus
7c1d9aa0bd
* net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
...
instead of "head" and "tail". There were problems with SunOS 5.9,
and it performs better.
2011-05-17 14:47:55 +02:00
Ulf Jasper
42c7e61e88
newsticker: Moved icons to etc/newsticker/images
...
lisp/ChangeLog:
2011-05-13 Ulf Jasper <ulf.jasper@web.de>
* net/newst-treeview.el (newsticker-treeview-face): Changed default
family from helvetica to sans.
(newsticker-treeview-tool-bar-map): Moved tool-bar icons to
etc/images/newsticker.
* net/newst-reader.el (newsticker-feed-face): Changed default
family from helvetica to sans.
* net/newst-plainview.el (newsticker-new-item-face)
(newsticker-old-item-face, newsticker-immortal-item-face)
(newsticker-obsolete-item-face, newsticker-date-face)
(newsticker-statistics-face): Changed default family from
helvetica to sans.
(newsticker--plainview-tool-bar-map): Moved tool-bar icons to
etc/images/newsticker.
* net/newst-backend.el (newsticker--do-run-auto-mark-filter),
(newsticker--process-auto-mark-filter-match): : Tell user about
auto-marking.
etc/ChangeLog:
2011-05-13 Ulf Jasper <ulf.jasper@web.de>
* images/newsticker: Added.
* images/newsticker/browse-url.xpm: Added.
* images/newsticker/get-all.xpm: Added.
* images/newsticker/mark-immortal.xpm: Added.
* images/newsticker/mark-read.xpm: Added.
* images/newsticker/narrow.xpm: Added.
* images/newsticker/next-feed.xpm: Added.
* images/newsticker/next-item.xpm: Added.
* images/newsticker/prev-feed.xpm: Added.
* images/newsticker/prev-item.xpm: Added.
* images/newsticker/update.xpm: Added.
2011-05-13 21:06:36 +02:00