1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

407 Commits

Author SHA1 Message Date
Glenn Morris
3b004a2d9e (tramp-unified-filenames): Doc fix (Nil -> nil). 2006-11-10 09:10:07 +00:00
Michael Albinus
1d1c19ca25 * lisp/net/tramp.el (tramp-default-method): scp is the default method.
* man/tramp.texi (Configuration): scp is the default method.
(Default Method): Use ssh as example for another method.
2006-11-07 10:58:19 +00:00
Juanma Barranquero
bac964bb85 (eudc-expansion-overwrites-query): Use "non-nil" in docstrings. 2006-11-03 15:10:41 +00:00
Lars Hansen
8e7225a262 (with-parsed-tramp-file-name): Correct debug spec. Highlight as keyword.
(tramp-do-copy-or-rename-file): Correct data for 'file-already-exists.
Don't call tramp-method-out-of-band-p for local files.
(tramp-touch): Quote file name.
2006-10-29 12:55:35 +00:00
Chong Yidong
b96572ff12 * net/rcirc.el (rcirc-print): Fix last change. 2006-09-12 22:05:57 +00:00
Chong Yidong
d40ac716c0 * net/rcirc.el (rcirc-scroll-show-maximum-output): Rename from
rcirc-show-maximum-output.
	(rcirc-mode): Remove window-scroll-function hook.
	(rcirc-scroll-to-bottom): Remove function.
	(rcirc-print): Recenter so point stays at the bottom of the window
	if point was already there.
2006-09-12 16:48:55 +00:00
Eli Zaretskii
4fda7cef4e (ldap-search-internal): Doc fix. 2006-09-09 11:06:19 +00:00
Chong Yidong
325537113d * net/ldap.el (ldap-search-internal): Handle `auth' key. 2006-09-07 21:16:16 +00:00
Chong Yidong
82741a5eca * net/rcirc.el (rcirc-activity-string): Don't quote value in case
clause.
2006-09-07 20:56:24 +00:00
Eli Zaretskii
f8db61b2de (rcirc-keywords): New variable.
(rcirc-bright-nicks, rcirc-dim-nicks): New variables.
(rcirc-bright-nick-regexp, rcirc-dim-nick-regexp): Remove variables.
(rcirc-responses-no-activity): New function.
(rcirc-handler-generic): Check for responses in above.
(rcirc-process-command): Add ?: character to arguments of raw server commands.
(rcirc-format-response-string): Use `rcirc-bright-nicks' and `rcirc-dim-nicks'.
(rcirc-gray-toggle): Remove unused variable.
(rcirc-print): Remove some tracking logic, which is moved into markup functions.
(rcirc-activity-types): Was `rcirc-activity-type', now a list of types.
(rcirc-activity-string): Look for 'keyword in activity-types.
(rcirc-window-configuration-change): Don't erase overlay-arrow unnecessarily.
(rcirc-add-or-remove): New function.
(rcirc-cmd-ignore): Use it.
(rcirc-message-leader): Remove unused function.
(rcicr-cmd-bright, rcirc-cmd-dim, rcirc-cmd-keyword): New commands.
(rcirc-add-face): New function.
(rcirc-facify): Use rcirc-add-face.
(rcirc-url-regexp): Add parens.
(rcirc-map-regexp): Remove function.
(rcirc-mangle-regexp): Remove function.
(rcirc-markup-text-functions): New variable.
(rcirc-markup-text): New function (replaces `rcirc-mangle-text').
(rcirc-markup-body-text, rcirc-markup-attributes)
(rcirc-markup-my-nick, rcirc-markup-urls, rcirc-markup-keywords)
(rcirc-markup-bright-nicks): New markup handler functions.
(rcirc-nick-in-message-full-line): New face.
(rcirc-track-nick): Rename from `rcirc-mode-line-nick'.
(rcirc-track-keyword, rcirc-url, rcirc-keyword): New faces.
2006-09-02 21:25:11 +00:00
Michael Albinus
1a762140f1 Sync with Tramp 2.0.54. 2006-08-29 05:48:40 +00:00
Miles Bader
7faa3f8c0b Rcirc update from Ryan Yeske
2006-08-20  Ryan Yeske  <rcyeske@gmail.com>

   * lisp/net/rcirc.el (rcirc-show-maximum-output): New var.
   (rcirc-buffer-process): If no buffer argument is supplied, use
   current-buffer.
   (rcirc-complete-nick): Complete to the last completed nick first.
   (rcirc-mode): Preserve the value of `rcirc-urls' across
   connections.  Setup scroll function.
   (rcirc-scroll-to-bottom): New function.
   (rcirc-print): Use nick syntax around regexp work.  Notice
   dim-nicks speaking only if they say our nick.
   (rcirc-update-activity-string): Do not show the modeline indicator
   if there are no live rcirc processes.
   (rcirc-cmd-ignore): Ignore case.
   (rcirc-browse-url-at-point): Fix off-by-one error.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-403
2006-08-21 05:37:27 +00:00
Romain Francoise
c40408fbe7 * textmodes/dns-mode.el: Alias zone-mode' to dns-mode'.
(dns-mode-soa-auto-increment-serial): New user option.
(dns-mode-soa-maybe-increment-serial): New function.
(dns-mode): Add the latter to `write-contents-functions'.

* obsolete/zone-mode.el: Move to obsolete/ from net/.
Delete autoload cookies.
2006-08-10 20:06:19 +00:00
Chong Yidong
0d61de903d * net/goto-addr.el (goto-address): Mark as safe for local evals. 2006-07-05 12:35:22 +00:00
Michael Albinus
d163f71e86 * net/tramp.el (tramp-handle-shell-command): Preserve current-buffer. 2006-07-02 20:29:20 +00:00
Michael Albinus
08b1eb21d5 * net/rcompile.el (remote-compile): Replace ange-ftp based
implementation by Tramp functions.  Based on a patch published by
Marc Abramowitz <msabramo@gmail.com>.

* net/tramp.el (tramp-unload-tramp): Provide a doc string.
2006-06-25 21:05:03 +00:00
Eli Zaretskii
18aa2c90a0 (rcirc-default-user-full-name): Default to `rcirc-default-user-name' instead
of `rcirc-user-name' (which no longer exists).
(rcirc-process-list): Check `buffer-live-p' before attempting to switch to a
buffer.
2006-06-23 13:33:47 +00:00
Eli Zaretskii
aac5d1fdce (rcirc-mode): Fix initialization of coding systems based on
rcirc-coding-system-alist.
2006-06-23 13:23:39 +00:00
Michael Albinus
8a7269eb1b * net/tramp.el (tramp-touch): Use UTC to express time. 2006-06-15 21:55:39 +00:00
Chong Yidong
905575123f 2006-06-13 Martin J. Reed <mjreed@essex.ac.uk> (tiny change)
* net/ldap.el (ldap-ldapsearch-args): Default to SASL search.
	(ldap-search-internal): Keep error messages, and a regexp fix.
2006-06-13 20:31:32 +00:00
YAMAMOTO Mitsuharu
59b715013e (browse-url-file-url): Encode file name on conversion to URL. 2006-05-20 04:29:38 +00:00
Michael Albinus
b5bbf8f27d * net/tramp.el (tramp-register-file-name-handlers): Enable Tramp
completion also when ido is loaded.
2006-05-09 04:26:23 +00:00
Michael Albinus
a01b1e220c * net/tramp.el (tramp-completion-file-name-handler-alist)
(tramp-run-real-handler, tramp-completion-run-real-handler)
(tramp-completion-handle-file-name-all-completions)
(tramp-completion-handle-file-name-completion): Autoload them.
(tramp-completion-handle-file-exists-p)
(tramp-completion-handle-file-name-directory)
(tramp-completion-handle-file-name-nondirectory)
(tramp-completion-handle-expand-file-name): Remove them.
(tramp-handle-file-name-directory): Return the real directory
name.  Returning "/" only doesn't need to be necessary any longer.
(tramp-file-name-handler): Make special attention when in hostname
completion mode.
(tramp-completion-file-name-handler): Revert patch from
2006-04-28.
(tramp-register-file-name-handlers): Register
`tramp-completion-file-name-handler' only when
`partial-completion-mode� is enabled.
(tramp-completion-handle-file-name-all-completions): Delete
directory part from results.
(tramp-get-completion-methods, tramp-get-completion-user-host):
Discard deleting "/", it doesn't work after the change of
`tramp-handle-file-name-directory' above.
2006-05-01 13:22:15 +00:00
Richard M. Stallman
41c8e348f2 tramp-file-name-handler-alist): Delete expand-file-name and other
operations that can cause spurious loading.
2006-04-29 15:58:42 +00:00
Michael Albinus
1ecc6145d8 * net/tramp.el (tramp-completion-file-name-handler): Disable
Tramp's functionality while loading Tramp itself.
(tramp-register-file-name-handlers): That's a defsubst now.  Code
from `tramp-repair-jka-compr' moved here.  Apply it via
`after-init-hook'.
(tramp-repair-jka-compr): Removed.
2006-04-28 04:06:16 +00:00
Miles Bader
02f47e8630 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-247
Rcirc patch from Ryan Yeske

2006-04-25  Ryan Yeske  <rcyeske@gmail.com>

   * lisp/net/rcirc.el (rcirc-print): Revert last change with ignored nicks.
   (rcirc-toggle-low-priority): Doc fix.
   (rcirc-handler-NOTICE): Remove beginning of line anchor in
   ChanServ regexp.
   (rcirc-startup-channels-alist): Connect to #rcirc by default, not
   #emacs.
   (rcirc-bright-nick-regexp, rcirc-dim-nick-regexp): Add variables.
   (rcirc-decode-coding-system): Use utf-8 as the default.
   (rcirc-multiline-minor-mode): Set the fill-column.
   (rcirc-format-response-string): Display bright and dim nicks.
   (rcirc-browse-url): Update interactive spec to fill ARG.
   (rcirc-bright-nick, rcirc-dim-nick): Add faces.
   (rcirc-print): Ignore dim-nick messages wrt modeline-activity.
2006-04-26 03:09:31 +00:00
Michael Albinus
8c04e197f2 * net/tramp.el (tramp-register-file-name-handlers): New defun.
Added with autoload cookie.
(tramp-unload-file-name-handlers): Renamed from
`tramp-unload-file-name-handler-alist'.
2006-04-23 21:45:28 +00:00
Juanma Barranquero
aa04257e45 (tramp-completion-file-name-handler): Revert change of 2006-04-17. 2006-04-18 10:02:40 +00:00
Michael Albinus
8580639069 Sync with Tramp 2.0.53. 2006-04-17 12:56:56 +00:00
Michael Albinus
32f9593c7c * net/tramp.el (tramp-display-shell-command-buffer): New defvar.
(tramp-handle-shell-command): Display output buffer only when
`tramp-display-shell-command-buffer' is true.
(tramp-handle-process-file): Set `tramp-display-shell-command-buffer'.
2006-04-13 19:51:04 +00:00
Eli Zaretskii
a2524d2695 (rcirc-default-server): Rename from rcirc-server.
(rcirc-default-port): Rename from rcirc-port.
(rcirc-default-nick): Rename from rcirc-nick.
(rcirc-default-user-name): Rename from rcirc-user-name.
(rcirc-default-user-full-name): Rename from rcirc-user-full-name.
(rcirc-low-priority-flag): New variable.
(rcirc-decode-coding-system): New defcustom.
(rcirc-encode-coding-system): New defcustom.
(rcirc-coding-system-alist): New defcustom.
(rcirc-multiline-major-mode): New defcustom.
(rcirc-nick): New internal variable.
(rcirc-process): Remove variable.
(rcirc-server-buffer): New variable.
(rcirc): Update to use rcirc-default-* variables above.
(rcirc-connect): Do not add window-configuration-hook-here.
(rcirc-server): New internal variable.
(rcirc-connect): Do not send keepalive pings if rcirc-keepalive-seconds is nil.
(with-rcirc-server-buffer): New macro.
(rcirc-send-string): Encode with rcirc-encode-coding-system.
(rcirc-server-name): Rename from rcirc-server.
(rcirc-buffer-process): New function.
(rcirc-buffer-nick): New function.
(rcirc-buffer-target): Remove function.
(set-rcirc-decode-coding-system, set-rcirc-encode-coding-system): New commands.
(rcirc-mode-map): Change binding of C-c C-l to rcirc-toggle-low-priority.
(rcirc-mode): Initialize coding system based on rcirc-coding-system-alist.
New change-major-mode-hook to part the channel on a mode change.
Make kill-buffer-hook buffer-local.
(rcirc-change-major-mode-hook): New function.
(rcirc-clean-up-buffer): Rename from rcirc-kill-buffer-hook-1.
(rcirc-last-post-time): New variable.
(rcirc-process-message): Store the last time user posted a message to this
target.
(rcirc-multiline-minor-mode): New mode.
(rcirc-multiline-minor-mode-map): New mode map.
(rcirc-edit-multiline): Put multiline-edit buffer in
rcirc-multiline-major-mode along with rcirc-multiline-minor-mode.
(rcirc-print): Any line starting with an ignored nick will be ignored.
(rcirc-print): Decode using rcirc-decode-coding-system.
(rcirc-track-minor-mode): Update global-mode-string when disabling this mode.
(minor-mode-alist): add LowPri indicator.
(rcirc-toggle-low-priority): New function.
(rcirc-last-non-irc-buffer): Prefix arg now no means switch to next low priority
buffer with activity.
(rcirc-record-activity): Sort buffers in rcirc-activity by the last time the
user posted a message in to the target.
(rcirc-update-activity-string): New formatting for low priority buffers.
(rcirc-split-activity): New function.
(rcirc-handler-PART, rcirc-handler-KICK)
(rcirc-handler-PART-or-KICK): Kick responses are printed properly.
(rcirc-nick-away-alist): New variable.
(rcirc-handler-301): New handler.  Away messages are printed once per change.
2006-04-08 10:23:53 +00:00
Romain Francoise
8d214091ef (rcirc-connect): Add autoload cookie. 2006-03-27 20:23:22 +00:00
Miles Bader
e8f10ddbda Revision: emacs@sv.gnu.org/emacs--devo--0--patch-156
rcirc.el update from Ryan Yeske

2006-03-13  Ryan Yeske  <rcyeske@gmail.com>

   * lisp/net/rcirc.el (rcirc) <defgroup>: Add link to manual.
   (rcirc-print): Mark the start of text at the end of the prompt.
   (rcirc-track-minor-mode): Add autoload cookie.
   (rcirc-update-activity-string): Add space to front of mode-line
   indicator.
2006-03-13 10:10:09 +00:00
Miles Bader
54aba1eec0 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-155
Remove nick-abbrevs stuff from rcirc.el

2006-03-13  Miles Bader  <miles@gnu.org>

   * lisp/net/rcirc.el (rcirc-nick-abbrevs): Variable removed.
   (rcirc-abbrev-nick): Function removed.
   (rcirc-format-response-string): Don't call `rcirc-abbrev-nick'.
2006-03-13 10:01:06 +00:00
Eli Zaretskii
019ed9c702 (rcirc-url-regexp): Match entire url when it starts with "www". 2006-03-03 11:44:11 +00:00
Eli Zaretskii
2fbed782a0 (rcirc-connect): Make all arguments optional, and default to global variable
values for unsupplied args.
(rcirc-get-buffer-create): Fix bug with setting the target.
(rcirc-any-buffer): Rename from rcirc-get-any-buffer, and include test for
rcirc-always-use-server-buffer-flag here.
(rcirc-response-formats): Add %N, which is a facified nick.  %n uses the
default face.  Change the ACTION format string.  If the "nick" is the server,
don't print anything for that field.  Comment fixes.
(rcirc-target-buffer): Don't test rcirc-always-use-server-buffer-flag here.
(rcirc-print): Squeeze extra spaces out of the text before message.
(rcirc-put-nick-channel): Strip potential "@" char from nick before adding
them to nick table.
(rcirc-url-regexp): Improve to match address like "foo.com".
2006-02-17 11:19:00 +00:00
Miles Bader
3715419e9e Revision: emacs@sv.gnu.org/emacs--devo--0--patch-79
(rcirc-format-response-string): Fix small bugs
2006-02-13 01:59:00 +00:00
Michael Albinus
7dbde7dd2e * net/tramp.el (tramp-remote-path): Add "/usr/xpg4/bin" on top,
because on Solaris a POSIX compatible "id" is needed.  Reported by
Magnus Henoch <mange@freemail.hu>.
2006-02-12 20:22:28 +00:00
Miles Bader
324e4da7fb Revision: emacs@sv.gnu.org/emacs--devo--0--patch-69
rcirc: Add flexible response formatting; Add nick abbrevs

2006-02-12  Miles Bader  <miles@gnu.org>

   * lisp/net/rcirc.el (rcirc-nick-abbrevs, rcirc-response-formats):
   New variables.
   (rcirc-abbrev-nick): New function.
   (rcirc-format-response-string): Rewrite to use the formats in
   `rcirc-response-formats' and expand escape sequences therein.
   A text-property `rcirc-text' is added over the actual response
   text to make easy to find inside the returned string.
   (rcirc-print): When filling, just look for the `rcirc-text'
   text-property to find the appropriate fill prefix, instead of
   using hardwired patterns.
2006-02-11 21:42:23 +00:00
Eli Zaretskii
db58efbf51 (rcirc-startup-channels-alist): Add irc.freenode.net and #emacs as defaults.
(rcirc-ignore-all-activity-flag): Remove variable.
(rcirc-authinfo): New variable.
(rcirc-authinfo-filename): Remove variable.
(rcirc-always-use-server-buffer-flag): New flag.
(rcirc): M-x rcirc will automatically connect without prompting.
C-u M-x rcirc will prompt.  Use rcirc-connect to create a
connection in lisp.
(rcirc-process-server-response-1): Remove everything but the nick
portion of the sender so it doesn't need to be done everywhere
else.  Update related code.
(global-map): Remove global keybindings.
(rcirc-get-buffer-create): Make sure rcirc-topic is set.
(rcirc-send-input): Split into several functions.
(rcirc-process-input-line, rcirc-process-message, rcirc-process-command):
New functions.
(rcirc-target-buffer): Add function to determine where to route messages.
(rcirc-user-nick): Save match data.
(rcirc-toggle-ignore-buffer-activity)
(rcirc-update-activity-string): Remove global ignore
functionality, which can be done now by toggling rcirc-track-minor-mode.
(rcirc-track-minor-mode-map): New keymap.
(rcirc-track-minor-mode): New minor-mode.
(ignore): Make the ignore output nicer.  Always print it when adding or
removing nicks.
(rcirc-url-regexp): Improve.
(rcirc-mangle-text): Remove properties before using text in the modeline.
(rcirc-authenticate): Authentication data comes from rcirc-authinfo, not
the file pointed to by rcirc-authinfo-file.
(rcirc-server-prefix): Inherit from rcirc-server.
2006-02-08 17:39:10 +00:00
Sam Steingold
df2a9b125d (tramp-maybe-open-connection): Do not wait for output from a dead connection. 2006-02-08 15:47:31 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Juanma Barranquero
f161b0795c (rcirc-cmd-join): Improve argument/docstring consistency. 2006-02-02 16:49:58 +00:00
Juanma Barranquero
475ffea416 (newsticker--decode-iso8601-date, newsticker--set-customvar,
newsticker--buffer-insert-item, newsticker--do-run-auto-mark-filter,
newsticker--parse-generic-feed): Doc fixes.
(newsticker--retrieval-timer-list, newsticker-url-list,
newsticker-hide-immortal-items-in-echo-area,
newsticker-hide-obsolete-items-in-echo-area, newsticker-new-item-face,
newsticker--enclosure, newsticker-buffer-update,
newsticker-w3m-show-inline-images, newsticker--parse-atom-0.3,
newsticker--parse-rss-1.0, newsticker--parse-generic-feed,
newsticker--cache-contains, newsticker--stat-num-items,
newsticker-download-enclosures): Fix typos in docstrings.
2006-02-02 16:23:49 +00:00
Juanma Barranquero
2e39877180 (rcirc-debug): Fix docstring.
(rcirc-fill-column, rcirc-receive-message-hooks, rcirc-browse-url-map,
rcirc-read-only-flag, rcirc-prompt, rcirc-mode, rcirc-generate-new-buffer-name,
rcirc-startup-channels, rcirc-ignore-update-automatic, rcirc-cmd-ignore,
rcirc-browse-url, rcirc-url-regexp): Fix typos in docstrings.
(rcirc-print): "?\ " -> "?\s".
2006-02-02 11:47:17 +00:00
Michael Albinus
ca637b2a27 * net/tramp.el (tramp-convert-file-attributes): Set file's gid
change bit only when id-format is 'integer.  Reported by Matt
Hodges <M.P.Hodges@rl.ac.uk>.
2006-02-01 22:26:45 +00:00
Michael Albinus
209bb3be2a * net/tramp-vc.el (vc-user-login-name): Wrap defadvice with a test
for `process-file', in order to let it work for older Emacsen too.
2006-01-27 19:38:02 +00:00
André Spiegel
3204f20349 (vc-user-login-name): Comment out defadvice, it is no longer
necessary.
2006-01-25 18:58:45 +00:00
Michael Albinus
a69c01a0b7 Sync with Tramp 2.0.52. 2006-01-22 21:59:55 +00:00
Alex Schroeder
2c8abe907f (rcirc-ignore-list): New option.
(rcirc-ignore-list-automatic): New variable.
(rcirc-print): Take rcirc-ignore-list into account.
(rcirc-cmd-ignore): New command.
(rcirc-ignore-update-automatic): New function.
(rcirc-handler-PART, rcirc-handler-QUIT): Use it to maintain the
list if ignored nicks.
(rcirc-handler-NICK): Ditto, and also ignore the new nick.
2006-01-07 02:51:45 +00:00