1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

1402 Commits

Author SHA1 Message Date
Juanma Barranquero
a239d4e9c0 Fix typos. 2011-09-28 02:59:28 +02:00
Michael Albinus
e2ee6f30ac * net/dbus.el (dbus-unregister-object): Don't release services for
registered signals.  (Bug#9581)
2011-09-25 17:56:28 +02:00
Ulf Jasper
2ac2721a7f newsticker: automatically load html rendering packages.
lisp/ChangeLog:

2011-09-24  Ulf Jasper  <ulf.jasper@web.de>

	* net/newst-reader.el (newsticker-html-renderer)
	(newsticker-show-news): Automatically load html rendering package
	if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
	because w3m-fill-column is let-bound" and the error "Symbol's
	value as variable is void: w3m-fill-column".
2011-09-24 16:04:46 +02:00
Michael Albinus
fac7ae53a7 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
Release services only if they are defined.  (Bug#9581)
2011-09-24 13:45:13 +02:00
Michael Albinus
9168308956 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions): Fix
nasty bug using wrong cached values.
2011-09-23 11:38:41 +02:00
Michael Albinus
a7b88dc6d7 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
and process filter, as done also in `shell-command'.
2011-09-21 12:42:55 +02:00
Michael Albinus
443d66962e * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2011-09-19 08:53:45 +02:00
Michael Albinus
710dec6300 * net/tramp.el (top): Don't require 'shell.
(tramp-methods): Fix docstring.
(tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
Return complete remote file name.  Handle "smb" case.  Use
`tramp-tmpdir', if defined for the respective method.
(tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.

* net/tramp-compat.el (top): Require 'shell.

* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
`tramp-current-host'.
(tramp-get-remote-tmpdir): Remove.

* net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
`tramp-tmpdir' entries.
(tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
(tramp-smb-handle-file-attributes): Ignore errors.
(tramp-smb-wait-for-output): Check also for process end.
2011-09-18 13:26:15 +02:00
Chong Yidong
8c0f49f09c * lisp/replace.el (occur-mode-map): Rebind occur-edit-mode to "e".
(occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
occur-mode-display-occurrence.
(occur-edit-mode): Add usage message.
(occur-cease-edit): New command.
(occur-after-change-function): Use text properties to find the
position of the prefix text.
(occur-engine): Set stickiness of prefix text properties.

Fixes: debbugs:8463
2011-09-17 17:28:17 -04:00
Chong Yidong
37ac18a341 Change modes that used same-window-* vars to use switch-to-buffer.
* cmuscheme.el (run-scheme, switch-to-scheme):
* ielm.el (ielm):
* shell.el (shell):
* net/rlogin.el (rlogin):
* net/telnet.el (telnet, rsh):
* progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.

* cus-edit.el (customize-group, custom-buffer-create)
(customize-browse, custom-buffer-create-other-window): Use
switch-to-buffer or switch-to-buffer-other-window.

* info.el (info, Info-find-node, Info-revert-find-node, Info-next)
(Info-prev, Info-up, Info-speedbar-goto-node)
(info-display-manual): Use switch-to-buffer.
(Info-speedbar-goto-node): Use switch-to-buffer-other-frame.

* lisp/gnus/message.el (message-pop-to-buffer): Default to switch-to-buffer.
(message-mail-other-window, message-mail-other-frame)
(message-news-other-window, message-news-other-frame): Use
switch-to-buffer-other-frame and switch-to-buffer-other-window instead
of setting buffer display varibles.

* mail/sendmail.el (mail): Use switch-to-buffer.
(mail-recover): Use switch-to-buffer-other-window.

* progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
Use switch-to-buffer.
2011-09-11 14:30:07 -04:00
Chong Yidong
8319e0bf55 Tweaks to display-buffer default actions; remove same-window-* autoload forms.
* lisp/window.el (display-buffer-alist): Add entry for buffers
previously handled same-window-*.
(display-buffer-alist, display-buffer-default-action)
(display-buffer-overriding-action): Mark as risky.
(display-buffer-alist): Document action function changes.
(display-buffer--same-window-action)
(display-buffer--other-frame-action): New variables.
(switch-to-buffer, display-buffer-other-frame): Use them.
(display-buffer): Rename reuse-frame entry to reusable-frames.
(display-buffer-reuse-selected-window): Function deleted.
(display-buffer-reuse-window): Handle reusable-frames alist entry.
If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
(display-buffer-special): New function.
(display-buffer--maybe-pop-up-frame-or-window): Rename from
display-buffer-reuse-or-pop-window.  Split off special-display
part into display-buffer-special.
(display-buffer-use-some-window): Don't perform any special
pop-up-frames handling.
(pop-to-buffer): Use window-normalize-buffer-to-switch-to.

* lisp/cmuscheme.el:
* lisp/ielm.el:
* lisp/shell.el:
* lisp/mail/sendmail.el:
* lisp/progmodes/inf-lisp.el: Don't set same-window-buffer-names.

* lisp/cus-edit.el:
* lisp/info.el:
* lisp/net/rlogin.el:
* lisp/net/telnet.el:
* lisp/progmodes/gud.el: Don't set same-window-regexps.
2011-09-10 14:52:37 -04:00
Leo Liu
567457e31a New rcirc command rcirc-cmd-invite
See: http://debbugs.gnu.org/9453
2011-09-08 23:25:37 +08:00
Leo Liu
183fc730a3 Conditionally initialize rcirc-input-ring 2011-09-07 11:37:22 +08:00
Michael Albinus
f5e29b9b70 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
`tramp-cache-unload-hook' where appropriate.
(tramp-methods): Rename `tramp-remote-sh' to
`tramp-remote-shell'.  Add `tramp-remote-shell-args'.
(tramp-handle-shell-command): New defun, moved from tramp-sh.el.

* net/tramp-sh.el (top): Don't require 'shell.
(tramp-methods): Add `tramp-remote-shell' and
`tramp-remote-shell-args' entries.
(tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
(tramp-sh-handle-shell-command): Remove.
(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
Use `tramp-remote-shell'.
2011-09-04 20:14:34 +02:00
Deniz Dogan
d37e5c8777 * lisp/net/rcirc.el (rcirc-print): Simplify code for rcirc-scroll-show-maximum-output. There is no need to walk through all windows to find the right one. 2011-09-03 19:40:08 +02:00
Michael Albinus
5bc3b51d1e * net/tramp.el (tramp-root-regexp): Remove.
(tramp-completion-file-name-regexp-unified)
(tramp-completion-file-name-regexp-separate)
(tramp-completion-file-name-regexp-url): Don't use leading volume
letter on win32 systems.  (Bug#5303, Bug#9311)
(tramp-drop-volume-letter): Simplify definition.  Suggested by
Stefan Monnier <monnier@iro.umontreal.ca>.
2011-08-31 10:18:20 +02:00
Deniz Dogan
27de4e2048 * lisp/net/rcirc.el (rcirc-insert-prev-input)
(rcirc-insert-next-input): Remove unused argument.
2011-08-28 08:07:14 +02:00
Deniz Dogan
35b1c40c36 * net/rcirc.el (rcirc-check-auth-status): Adding support for oftc's NickServ messages. 2011-08-27 10:28:46 +02:00
Deniz Dogan
a2ebe600c9 * lisp/net/quickurl.el: Documentation typo fixes. 2011-08-25 07:43:57 +02:00
Chong Yidong
a3f2468a08 Fix for browse-url-firefox on Windows.
* lisp/net/browse-url.el (browse-url-firefox): Don't call
browse-url-firefox-sentinel unless using -remote.

Fixes: debbugs:9328
2011-08-20 21:01:12 -04:00
Lars Magne Ingebrigtsen
57173b965f (network-stream-open-starttls): Support using starttls.el without using gnutls-cli. 2011-08-17 22:50:33 +02:00
Michael Albinus
63648a956a * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
(tramp-open-shell): Use `tramp-shell-quote-argument'.

* net/trampver.el: Update release number.
2011-08-03 21:31:18 +02:00
Lars Magne Ingebrigtsen
2239d7d5ef Use `starttls-available-p' to see whether starttls.el can be used. 2011-08-02 15:34:05 +02:00
Deniz Dogan
027b979ca0 * lisp/net/rcirc.el (rcirc-handler-333): Clarify docstring. 2011-08-01 14:30:18 +02:00
Michael Albinus
3c7ee4f39a Sync with Tramp 2.2.2.
* net/trampver.el: Update release number.
2011-07-30 16:57:12 +02:00
Michael Albinus
8a7eddd7bf * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
connection process, it could be nil.
2011-07-27 13:22:22 +02:00
Leo Liu
1ddd96f5cf Simplify url handling in rcirc-mode 2011-07-27 11:44:45 +08:00
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