1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-27 07:30:59 -08:00
Commit graph

22140 commits

Author SHA1 Message Date
Stefan Monnier
ddbb3cc75d (set-register): Use push.
(point-to-register): Set kill-buffer-hook in this buffer.
(register-swap-out): Use dolist.
(kill-buffer-hook): Don't change globally.
2002-09-27 17:47:38 +00:00
Stefan Monnier
44a56b29e7 (server-select-display): New function.
(server-process-filter): Add support for `-display' and `-eval' args.
(server-visit-files): Use save-current-buffer, push, and dolist.
Add server-kill-buffer to kill-buffer-hook.
(kill-buffer-hook): Don't modify globally.
(server-switch-buffer): Be a bit more careful with multiple displays.
2002-09-27 17:43:29 +00:00
Stefan Monnier
124e448b98 (uniquify-rationalize-file-buffer-names):
Add to kill-buffer-hook for buffers with conflict.
(rename-buffer): Check kill-buffer-hook to see if there was a conflict.
(uniquify-delay-rationalize-file-buffer-names): Remove useless check.
(kill-buffer-hook): Don't change globally.
2002-09-27 17:37:47 +00:00
Colin Walters
730576f3ec (calc-bug-address, calc-scan-for-dels, calc-stack)
(calc-stack-top, calc-always-load-extensions)
(calc-line-numbering, calc-line-breaking, calc-display-just)
(calc-display-origin, calc-number-radix, calc-leading-zeros)
(calc-group-digits, calc-group-char, calc-point-char)
(calc-frac-format, calc-prefer-frac, calc-hms-format)
(calc-date-format, calc-float-format, calc-complex-format)
(calc-full-float-format, calc-complex-mode, calc-infinite-mode)
(calc-display-strings, calc-matrix-just, calc-break-vectors)
(calc-full-vectors, calc-full-trail-vectors, calc-vector-commas)
(calc-vector-brackets, calc-matrix-brackets, calc-language)
(calc-language-option, calc-function-open, calc-function-open)
(calc-function-close, calc-language-output-filter)
(calc-language-input-filter, calc-radix-formatter)
(calc-left-label, calc-right-label, calc-word-size)
(calc-previous-modulo, calc-simplify-mode, calc-auto-recompute)
(calc-display-raw, calc-internal-prec, calc-inverse-flag)
(calc-hyperbolic-flag, calc-keep-args-flag, calc-angle-mode)
(calc-algebraic-mode, calc-incomplete-algebraic-mode)
(calc-symbolic-mode, calc-matrix-mode, calc-shift-prefix)
(calc-window-height, calc-display-trail, calc-show-selections)
(calc-use-selections, calc-assoc-selections)
(calc-display-working-message, calc-auto-why, calc-timing)
(calc-display-sci-high, calc-display-sci-low, calc-other-modes)
(calc-other-modes, calc-Y-help-msgs, calc-loaded-settings-file):
Make into real defvars.
(calc-mode-var-list): Delete.
(calc-mode-save-mode, calc-standard-date-formats)
(calc-autorange-units, calc-was-keypad-mode, calc-full-mode)
(calc-user-parse-tables, calc-gnuplot-default-device)
(calc-gnuplot-default-output, calc-gnuplot-print-device)
(calc-gnuplot-print-output, calc-gnuplot-geometry)
(calc-graph-default-resolution, calc-graph-default-resolution-3d)
(calc-invocation-macro, calc-show-banner): Make into defvars,
taken from `calc-mode-var-list'.
(calc-emacs-type-epoch, calc-emacs-type-19)
(calc-emacs-type-lucid, calc-emacs-type-gnu19): Make into defvars.
(calc-version, calc-version-date, calc-trail-pointer)
(calc-trail-overlay, calc-undo-list, calc-redo-list)
(calc-main-buffer, calc-trail-buffer, calc-why, calc-next-why)
(calc-inverse-flag, calc-hyperbolic-flag, calc-keep-args-flag)
(calc-last-kill, calc-previous-alg-entry, calc-dollar-values)
(calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
(calc-said-hello, calc-executing-macro, calc-any-selections)
(calc-help-phase, calc-full-help-flag, calc-refresh-count)
(calc-display-dirty, calc-prepared-composition)
(calc-selection-cache-default-entry, calc-embedded-info)
(calc-embedded-active, calc-standalone-flag, var-EvalRules)
(math-eval-rules-cache-tag, math-radix-explicit-format)
(math-expr-function-mapping, math-expr-variable-mapping)
(math-read-expr-quotes, math-working-step, math-working-step-2)
(var-i, var-pi, var-e, var-phi, var-gamma, var-Modes): Make into
defvars, from toplevel setq.
(calc-mode-map): Set up keymap in more modern fashion.
(calc-dispatch-map): Ditto.
(calc-command-flags, calc-final-point-line)
(calc-final-point-column): Defvar.
(calc-do): Use `save-current-buffer' instead of `save-excursion'.
(sel-mode): Defvar.
(calc-any-evaltos): Ditto.
(calc-buffer, calc-prev-char, calc-prev-prev-char)
(calc-digit-value): Ditto.
(math-eval-rules-cache, math-eval-rules-cache-other): Ditto.
(math-sub-bignum): Bind `diff'.
(calc-selection-cache-entry): Defvar.
(calc-count-lines): Reference `pos' instead of `newpos'.
2002-09-27 04:55:22 +00:00
Simon Josefsson
05f829ce2a (mail-hist-next-input): Fix docstring. 2002-09-26 23:19:58 +00:00
Richard M. Stallman
563c037fcc *** empty log message *** 2002-09-26 22:06:00 +00:00
Richard M. Stallman
5eba27ea0d (unrmail): Do the work directly,
without actually selecting the messages in the from file.
(unrmail-unprune): New subroutine.
2002-09-26 22:02:23 +00:00
Richard M. Stallman
446c63b0a2 (backup-buffer): Bind local var MODES.
Don't use renaming for a suid or sgid file.
Use backup-buffer-copy to do copying.
(backup-buffer-copy): New subroutine.
Clear suid and sgid bits for the copy.
2002-09-26 22:00:22 +00:00
Richard M. Stallman
9475e724a2 (solar-equinoxes-solstices): Use time properly adjusted for DST in the result. 2002-09-26 21:57:53 +00:00
Richard M. Stallman
bbf04be416 (follow-generic-filter): Simply bind deactivate-mark.
Bind inhibit-read-only; don't mess with buffer-read-only.
2002-09-26 21:57:17 +00:00
Richard M. Stallman
fe80eaef30 (speedbar-refresh): Simply bind deactivate-mark. 2002-09-26 21:57:00 +00:00
Richard M. Stallman
5c584c3511 (inferior-emacs-lisp-mode): Treat the header as output,
if comint-use-prompt-regexp-instead-of-fields is nil.
2002-09-26 21:56:42 +00:00
John Paul Wallington
8e7dbfdb27 (ibuffer-update): Call `minibufferp' with argument
instead of within `with-current-buffer'.
2002-09-26 17:54:00 +00:00
Stephen Eglen
4e141ed744 (iswitchb-completions): Test that iswitchb-common-match-string is a
string, before printing common completions.
2002-09-26 15:52:31 +00:00
Simon Josefsson
fc88015c7e *** empty log message *** 2002-09-25 20:23:19 +00:00
Stefan Monnier
4208da83ba *** empty log message *** 2002-09-25 20:22:57 +00:00
Simon Josefsson
2a487c6cdf (mail-extr-ignore-single-names): Change default.
(mail-extract-address-components): Doc fix.
2002-09-25 20:21:28 +00:00
Stefan Monnier
0c851d7872 Use built-in network primitives.
(server-program, server-previous-string): Remove.
(server-previous-strings): New var.
(server-socket-name): New var.
(server-log): Minor change to the output format.
(server-sentinel): Clean up global state when a client disconnects.
(server-unquote-arg): New fun.
(server-start): Use server-socket-name and make-network-process.
(server-process-filter): Now talks to the clients directly.
Normalize file name after unquoting and decoding.
(server-buffer-done): Just close the connection.
(server-switch-buffer): Handle the case where all windows are
dedicated or minibuffers.
2002-09-25 19:54:13 +00:00
Stefan Monnier
7f0d55f29e (fast-lock-mode, lazy-lock-mode, jit-lock-mode): Don't bind them variables.
(font-lock-turn-off-thing-lock, font-lock-after-fontify-buffer)
(font-lock-after-unfontify-buffer): Check that the vars are bound.
(font-lock-dont-widen): New var.
(font-lock-default-fontify-region): Use it.
2002-09-25 19:34:07 +00:00
Stefan Monnier
1a40d81d1a (find-library-name): Correctly find "f.el.gz" from "f.elc" or "f.elc.gz". 2002-09-25 18:58:37 +00:00
Stefan Monnier
f2d2436d43 Add/remove spaces. 2002-09-25 17:45:29 +00:00
Kenichi Handa
67dd9f0962 *** empty log message *** 2002-09-25 13:25:33 +00:00
Kenichi Handa
c0d3ed9724 (select-safe-coding-system): Handle
safe but rejected default coding systems and unsafe default
coding systems differently.
2002-09-25 13:19:59 +00:00
Francesco Potortì
76320e8edc Oliver Scholz's patch to gamegrid.el (he does not have CVS access). 2002-09-25 10:59:22 +00:00
Kenichi Handa
6440b97cde (list-character-sets): List also indirectly supported character sets.
(non-iso-charset-alist): Add mapped charset list for `mac-roman'.
(sort-listed-character-sets): Don't alter the region showing
indirectly supported charsets.
2002-09-25 08:52:30 +00:00
Kenichi Handa
98744d8e52 *** empty log message *** 2002-09-25 08:51:36 +00:00
Kenichi Handa
3aab6d061d (list-character-sets): Use the buffer
name "*Character Set List*", not "*Help*".
(list-charset-chars): Use the buffer name "*Character List*", not
"*Help*".  Display the current charset name in the modeline.
2002-09-25 08:11:03 +00:00
Kenichi Handa
65262e58c2 *** empty log message *** 2002-09-25 08:10:28 +00:00
Stefan Monnier
ca9088e71e (describe-text-category): Use *Help*. Don't kill-buffer.
(describe-text-properties, describe-char):
Delay self-inspection test.  Use *Help*.
Use syntax-after.  Use `pos' rather than (point).
Distinguish the before/after part of a composition.
2002-09-24 21:11:25 +00:00
Markus Rost
9f4b608417 (edit-and-eval-command): Protect command-history.
(repeat-complex-command):  Protect command-history.
2002-09-24 18:40:59 +00:00
Juanma Barranquero
2f55281338 (eshell-occur-mode-mouse-goto, eshell-poor-mans-grep): Remove references to
`occur-buffer'.
2002-09-24 15:16:39 +00:00
Juanma Barranquero
348e141150 (sh-mark-init): Don't set `occur-buffer'.
(sh-mark-line): Likewise. Use 'occur-target and 'occur-match instead of 'occur
and 'occur-point.
2002-09-24 10:18:05 +00:00
Juanma Barranquero
123d55481b (occur-find-match): New function.
(occur-next, occur-prev): Use it.
2002-09-24 08:35:43 +00:00
Kenichi Handa
d5ec6a2da4 (quail-completion): Be sure to scroll quail-completion-buf. 2002-09-24 04:15:02 +00:00
Stefan Monnier
ddd73e0b23 *** empty log message *** 2002-09-23 20:54:28 +00:00
Richard M. Stallman
daa6ddb5d6 (doctor-doc): Add 2 question words.
(doctor-getnoun): Parse and save the complete object phrase.
2002-09-23 16:04:57 +00:00
Richard M. Stallman
0f7df8ac6a (gamegrid-face): new variable to emulate a buffer-local default face.
(gamegrid-xbm): new variable; XBM image as a replacement for
`gamegrid-xpm' on Emacsen compiled without XPM-support.
(gamegrid-colorize-glyph): Ported XEmacs-code for the generation
of images to Emacs.
(gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to
convert XEmacs-type image descriptors.
(gamegrid-color-display-p): Removed. (Use `display-colors-p' instead.)
(gamegrid-make-image-from-vector): New function. Convert XEmacs'
image descriptors.
(gamegrid-display-type): Use Emacs' standard `display-.*-p'
functions to check for display capabilities. Fix the recognition
of image-support in Emacs 21 by this way.
(gamegrid-hide-cursor): Removed.
(gamegrid-setup-default-font): Ported the code from XEmacs to
Emacs: create a new face and assign the variable `gamegrid-face'
to it. Make sure that the face is not higher than the smallest
image used by the game.
(gamegrid-initialize-display): Use `(setq cursor-type nil)'
instead of `gamegrid-hide-cursor'.
(gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an
image in the buffer, instead of applying a face.
(gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put
the face held by `gamegrid-face' in an overlay over the whole
buffer to emulate a buffer-local default-face.
2002-09-23 16:03:03 +00:00
Richard M. Stallman
1322516bc1 (*1): Fix previous change. 2002-09-23 16:02:14 +00:00
Juanma Barranquero
94deafdaf5 (tramp-unified-filenames): Autoload it. 2002-09-23 08:28:56 +00:00
Michael Kifer
cadc57d2e4 * ediff-init.el (ediff-get-next-window): bug fix. 2002-09-23 06:07:34 +00:00
Richard M. Stallman
d775b378ef (select-safe-coding-system): Cope if default-coding-system gives nil
which was then used in `min'.
2002-09-23 00:20:26 +00:00
Richard M. Stallman
c86237b26e (sendmail-send-it): If user's buffer is unibyte, make tembuf unibyte. 2002-09-23 00:17:51 +00:00
Kai Großjohann
292ffc1556 Version 2.0.22 released.
(tramp-parse-rhosts, tramp-parse-shosts)
(tramp-parse-hosts, tramp-parse-passwd): Apply `push' but
`add-to-list' for performance reasons.
(tramp-get-completion-user-host): Return `nil' in case both `user'
and 'host' are empty (not necessarily `nil'.
(tramp-parse-netrc, tramp-parse-netrc-group): New functions.
(tramp-user-regexp): " \t" are not user regexp characters.
(tramp-completion-handle-file-name-all-completions): Remove
Ange-FTP cmpletion. It has a bug not handling the "/ftp:" prefix
completely, and it returns local completions as well.
(tramp-completion-function-alist-ftp): New constant.
(tramp-completion-function-alist): Add completion function for
"ftp".
From Michael Albinus <Michael.Albinus@alcatel.de>.
2002-09-22 17:39:18 +00:00
Kai Großjohann
91879624ba Version 2.0.21 released.
(tramp-handle-file-newer-than-file-p): If mtime of both files is
known, return a useful result.  Better error message in case one
is a Tramp file and one isn't.
(tramp-handle-file-local-copy, tramp-handle-write-region)
(tramp-find-shell, tramp-open-connection-telnet)
(tramp-open-connection-rsh, tramp-open-connection-su)
(tramp-open-connection-setup-interactive-shell)
(tramp-post-connection, tramp-maybe-open-connection)
(tramp-method-out-of-band-p): Correct number of args for
`tramp-get-rsh-program' and similar functions.
2002-09-22 13:55:14 +00:00
Kai Großjohann
16674e4f3b Sync with version 2.0.20. Lengthy ChangeLog follows:
2002-09-22  Kai Gro�ohann  <grossjoh@ls6.informatik.uni-dortmund.de>

	Version 2.0.20 released.

2002-09-20  Kai Gro�ohann  <grossjoh@ls6.informatik.uni-dortmund.de>

	* net/tramp.el (tramp-completion-function-alist): Escape open
	paren in docstring.
	(tramp-user-regexp, tramp-host-regexp): Allow empty strings.
	(tramp-handle-insert-file-contents): Call tramp-message-for-buffer
	instead of tramp-message.
	(tramp-open-connection-rsh): Handle empty string as user name.
	(tramp-open-connection-su): Handle empty string as host name.
	Handle nil user name.
	(tramp-handle-file-local-copy, tramp-handle-write-region)
	(tramp-completion-handle-file-name-all-completions)
	(tramp-open-connection-telnet, tramp-open-connection-rsh)
	(tramp-open-connection-su, tramp-post-connection)
	(tramp-maybe-open-connection, tramp-method-out-of-band-p)
	(tramp-get-connection-function, tramp-get-remote-sh)
	(tramp-get-rsh-program, tramp-get-rsh-args)
	(tramp-get-rcp-program, tramp-get-rcp-args)
	(tramp-get-rcp-keep-date-arg, tramp-get-su-program)
	(tramp-get-su-args, tramp-get-telnet-program)
	(tramp-get-telnet-args): Use `tramp-find-method', perhaps require
	additional args USER, HOST.
	(tramp-action-password, tramp-open-connection-telnet)
	(tramp-open-connection-su, tramp-open-connection-multi)
	(tramp-method-out-of-band-p): `tramp-method-out-of-band-p' now
	takes USER and HOST arguments, to be able to use
	`tramp-find-method'.  Update callers.
	(tramp-find-method): New function.

2002-09-20  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
	in SWITCHES (by removing it).

2002-09-18  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* net/tramp.el (tramp-file-name-handler): Add `file-remote-p'
	property.

2002-09-17  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* net/tramp.el (top-level): Maybe autoload uudecode-decode-region.

2002-09-16  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* net/tramp.el (tramp-bug): Add tramp-methods.

2002-09-16  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* net/tramp.el (tramp-methods): Update docstring:
	tramp-encoding-command, tramp-decoding-command,
	tramp-encoding-function and tramp-decoding-function are not
	parameters anymore.
	(tramp-uuencode-region): Autoload it.

2002-09-13  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	Version 2.0.19 released.

	* net/tramp-uu.el: New file, implements uuencode in Lisp.

	* net/tramp.el (tramp-coding-commands): Use
	`tramp-uuencode-region' as local encoder for the uuencode based
	entries.

2002-09-13  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* net/tramp.el (tramp-handle-write-region): Wrong parens.

2002-09-13  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	Version 2.0.18 released.

	* net/tramp.el (tramp-perl-decode): Perl changes to accomodate
	older versions of Perl.  Now tested with 5.004.  Suggestion from
	Michael Albinus.

2002-09-12  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* net/tramp.el (tramp-find-inline-encoding): Call
	tramp-call-local-coding-command with nil for INPUT and OUTPUT.
	(tramp-call-local-coding-command): OUTPUT equals nil means to
	discard the output.  INPUT equals nil means /dev/null.

2002-09-12  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* net/tramp.el (tramp-encoding-shell): Default to environment
	variable COMSPEC on Windows.
	(tramp-handle-write-region): More debugging output.
	(tramp-find-inline-encoding): Ditto.

2002-09-11  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-completion-handle-file-name-all-completions):
	Define `result1'.
	(tramp-parse-hosts-group): Discard IPv6 entries.

2002-09-11  Kai Gro�ohann  <grossjoh@ls6.informatik.uni-dortmund.de>

	* net/tramp.el (tramp-post-connection): Only send Perl
	mime-encode/decode implementations when using inline method.
	(tramp-handle-file-local-copy)
	(tramp-handle-write-region, tramp-post-connection)
	(tramp-coding-commands, tramp-find-inline-encoding): For the
	inline encodings, distinguish between local and remote commands,
	instead of between commands and functions.  (The local commands
	can be functions, too.)  If the local host is a Windows machine,
	we can't expect the same commands to work there as on the remote
	host.
	(tramp-call-local-coding-command): New function for calling local
	encoding and decoding commands.
	(tramp-set-remote-encoding, tramp-get-remote-encoding)
	(tramp-set-remote-decoding, tramp-get-remote-decoding)
	(tramp-set-local-encoding, tramp-get-local-encoding)
	(tramp-set-local-decoding, tramp-get-local-decoding): New
	functions.
	(tramp-get-encoding-command, tramp-set-encoding-command)
	(tramp-get-decoding-command, tramp-set-decoding-command)
	(tramp-get-encoding-function, tramp-set-encoding-function)
	(tramp-get-decoding-function, tramp-set-decoding-function): Old
	functions, removed.

2002-09-10  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* net/tramp.el (tramp-open-connection-setup-interactive-shell):
	Change command to invoke /bin/sh slightly to make it compatible
	with the `rc' shell.  Suggested by Daniel Pittman.

2002-09-10  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-handle-write-region): Added missing
	`)'. Hope it's the right place.

2002-09-09  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* net/tramp.el (tramp-open-connection-setup-interactive-shell): Do
	"exec env PS1='$ ' /bin/sh" instead of just "exec /bin/sh" in
	order to get a sane shell prompt.  If people have ${CWD}, say, in
	their shell prompt, then the default login shell might display
	something harmless, but the /bin/sh will display a dollar sign
	which confused the subsequent prompt recognition.
	(tramp-multi-action-password): More debugging output.
	(tramp-encoding-shell): Renamed from tramp-sh-program.  More
	documentation.  Default to cmd.exe on Windows NT.
	(tramp-encoding-command-switch): New variable.  Use instead of
	hard-wired "-c" which is only good for /bin/sh.
	(tramp-encoding-reads-stdin): New variable.  If t, commands are
	called like "/bin/sh -c COMMAND <INPUT", if nil, they are called
	like "/bin/sh -c COMMAND INPUT", ie the input file is the last
	argument.
	(tramp-multi-sh-program): Always default to tramp-encoding-shell.
	(tramp-handle-file-local-copy, tramp-handle-write-region): Respect
	tramp-encoding-shell and friends.
	(tramp-find-inline-encoding): Use new-style calls for checking if
	the local commands work.

2002-09-07  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-methods): Remove `tramp-completion-function'
	entries. They are handled now by
	`tramp-completion-function-alist'.
	(tramp-completion-function): Defvar removed. I've never used
	it. Hmm.
	(tramp-get-completion-function)
	(tramp-get-completion-rsh, tramp-get-completion-ssh)
	(tramp-get-completion-telnet, tramp-get-completion-su): Functions
	removed as well. Not necessary any longer due to extended
	customization means.
	(tramp-completion-function-alist): New defcustom. Holds all
	FUNCTION FILE pairs used for user and host name completion
	relevant for METHOD.
	(tramp-completion-function-alist-rsh)
	(tramp-completion-function-alist-ssh)
	(tramp-completion-function-alist-telnet)
	(tramp-completion-function-alist-su): Defconst for initializing
	`tramp-completion-function-alist'. Unfortunately, mainly UNIX-like
	values are known for me until now. Needs to be completed for at
	least VMS++ like operating systems.
	(tramp-set-completion-function)
	(tramp-get-completion-function): New functions for configuration
	of `tramp-completion-function-alist'. The old definition of
	`tramp-get-completion-function' has been discarded.
	(tramp-completion-handle-file-name-all-completions): Change
	function call for user/host completion according to definition in
	`tramp-completion-function-alist'.
	(tramp-parse-passwd): Added exception handling for "root", because
	`tramp-get-completion-su' (the previous place for this stuff)
	doesn't exist any longer.

2002-09-07  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* net/tramp.el (tramp-enter-password): Use
	`tramp-password-end-of-line' to terminate the line.
	(tramp-bug): Include new variable `tramp-password-end-of-line'.
	(tramp-password-end-of-line): New variable.  People who use plink
	under Windows might have to issue "\r\n" after the password, but
	they need to send just "\n" after the other commands.  So this
	variable was introduced to complement `tramp-rsh-end-of-line'.
	(tramp-wait-for-output, tramp-post-connection): Allow "\r" at end
	of line of the output delimiter.

2002-09-06  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* net/tramp.el (tramp-handle-file-local-copy, tramp-find-shell)
	(tramp-open-connection-setup-interactive-shell): Add some comments
	about Douglas Grey Stephen's suggestions to make Tramp work better
	with plink under Windows.  I'm not sure what to think of them, but
	now I have a guinea pig to try it out on.  Said guinea pig is
	having other problems, though...  Also remove some commented-out
	code.

2002-09-06  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-get-completion-methods): Algorithm slightly
	tuned.
	(tramp-get-completion-user-host): Accept user names as they are if
	typed until "@".
	(tramp-completion-mode): Replace `last-input-char' by modern
	`last-input-event'. Check for `event-modifiers'.

2002-09-06  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* net/tramp.el (file-expand-wildcards): Corrected check to see if
	advising is necessary.

2002-09-05  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-postfix-single-method-format)
	(tramp-postfix-multi-method-format)
	(tramp-postfix-multi-hop-format)
	(tramp-postfix-user-format): New format strings.
	(tramp-postfix-single-method-regexp)
	(tramp-postfix-multi-method-regexp)
	(tramp-postfix-multi-hop-regexp)
	(tramp-postfix-user-regexp)
	(tramp-make-multi-tramp-file-format)
	(tramp-make-tramp-file-name): Apply them.
	(tramp-completion-handle-file-name-all-completions): Fix for
	invoking ange-ftp in case of "/ftp:xxx" file names.

2002-09-04  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-prefix-format)
	(tramp-postfix-host-format): New format strings.
	(tramp-prefix-regexp, tramp-method-regexp)
	(tramp-postfix-single-method-regexp)
	(tramp-postfix-multi-method-regexp)
	(tramp-postfix-multi-hop-regexp)
	(tramp-user-regexp, tramp-postfix-user-regexp)
	(tramp-host-regexp, tramp-postfix-host-regexp)
	(tramp-path-regexp): New atomar regular expressions. If
	corresponding format strings exist, derived from them.
	(tramp-file-name-structure)
	(tramp-multi-file-name-structure)
	(tramp-multi-file-name-hop-structure)
	(tramp-make-multi-tramp-file-format)
	(tramp-completion-mode)
	(tramp-completion-dissect-file-name)
	(tramp-parse-rhosts-group)
	(tramp-parse-shosts-group)
	(tramp-parse-hosts-group)
	(tramp-parse-passwd-group): Apply these expressions.
	(tramp-file-name-structure-unified)
	(tramp-file-name-structure-separate)
	(tramp-make-tramp-file-format-unified)
	(tramp-make-tramp-file-format-separate)
	(tramp-make-tramp-file-format)
	(tramp-make-tramp-file-user-nil-format-unified)
	(tramp-make-tramp-file-user-nil-format-separate)
	(tramp-make-tramp-file-user-nil-format)
	(tramp-multi-file-name-structure-unified)
	(tramp-multi-file-name-structure-separate)
	(tramp-multi-file-name-hop-structure-unified)
	(tramp-multi-file-name-hop-structure-separate)
	(tramp-make-multi-tramp-file-format-unified)
	(tramp-make-multi-tramp-file-format-separate): Removed.
	(tramp-make-tramp-file-name): Allow partial tramp file
	names. Generate tramp file format on-the-fly depending on
	parameters. Apply atomar format strings resp expressions.
	(tramp-get-completion-methods)
	(tramp-get-completion-user-host): Apply
	`tramp-make-tramp-file-name'.
	(tramp-parse-hosts-group): Take all host names and IP addresses
	into account.
	(tramp-bug): Remove `tramp-make-tramp-file-format'.

2002-09-01  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-methods): Add `tramp-completion-function'
	for "su" and "sudo".
	(tramp-get-completion-telnet): Implement it.
	(tramp-parse-hosts)
	(tramp-parse-hosts-group)
	(tramp-get-completion-su)
	(tramp-parse-passwd)
	(tramp-parse-passwd-group): New functions.

2002-08-31  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-completion-mode): Check for
	`last-input-char'.
	(tramp-completion-file-name-handler-alist): Add handler for
	`file-exists-p.
	(tramp-completion-handle-file-exists-p): New function.
	(tramp-completion-handle-file-name-completion): Simplified.
	(tramp-completion-dissect-file-name): Regexp's reorganised.
	(tramp-completion-handle-file-name-all-completions): Call
	completion-function only if `user' or `host' is given.
	(tramp-get-completion-user-host): New function.
	(tramp-get-completion-rsh)
	(tramp-get-completion-ssh): Apply it.

2002-08-29  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-completion-file-name-handler-alist): Add
	handler for `expand-file-name'.
	(tramp-completion-handle-expand-file-name): New function.

2002-08-26  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-completion-mode): New function.
	(tramp-completion-handle-file-name-directory)
	(tramp-completion-handle-file-name-all-completions): Apply it.
	(tramp-methods): Remove double definition of `ssh1-old' and
	`ssh2-old'.
	(tramp-point-at-eol): New defalias.
	(tramp-parse-rhosts-group)
	(tramp-parse-shosts-group):: Apply it.

2002-08-25  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-get-completion-methods)
	(tramp-get-completion-rsh)
	(tramp-get-completion-ssh): Add "[" for Xemacs.
	(tramp-completion-file-name-regexp-separate): Expression adapted.
	(tramp-completion-file-name-handler-alist): Add handler for
	`file-name-directory' and `file-name-nondirectory'.
	(tramp-completion-handle-file-name-directory)
	(tramp-completion-handle-file-name-nondirectory)
	(tramp-completion-run-real-handler): New functions.
	(tramp-completion-file-name-handler)
	(tramp-completion-handle-file-name-all-completions): Apply
	`tramp-completion-run-real-handler'.
	(tramp-parse-rhosts)
	(tramp-parse-shosts): Use `with-temp-buffer'. `result� renamed to
	`res' (otherwise side effects in XEmacs).

2002-08-24  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-completion-file-name-regexp)
	(tramp-completion-file-name-handler-alist)
	(tramp-flatten-list)
	(tramp-completion-dissect-file-name)
	(tramp-get-completion-rsh)
	(tramp-parse-rhosts)
	(tramp-parse-rhosts-group)
	(tramp-get-completion-ssh): Doc string tuned.
	(tramp-methods): Doc string and custom type extended for
	`tramp-completion-function'.
	(tramp-completion-function): Variable added. Is it really used?
	Other variables like `tramp-completion-function' aren't used.
	(tramp-completion-file-name-handler-alist): Add handler for
	`file-name-completion'.
	(tramp-completion-handle-file-name-completion): New function.

2002-08-18  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-parse-rhosts)
	(tramp-parse-rhosts-group)
	(tramp-parse-shosts)
	(tramp-parse-shosts-group): New functions.

2002-08-17  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-completion-dissect-file-name)
	(tramp-completion-dissect-file-name1): New functions.

2002-08-16  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-get-completion-function)
	(tramp-get-completion-rsh)
	(tramp-get-completion-ssh)
	(tramp-get-completion-telnet): New functions.
	(tramp-methods): Add `tramp-completion-function' for all methods.

2002-08-15  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-get-completion-methods): New function.
	(tramp-find-default-method): Allow host to be nil (like user).

2002-08-14  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-completion-file-name-regexp-unified)
	(tramp-completion-file-name-regexp-separate)
	(tramp-completion-file-name-regexp)
	(tramp-completion-file-name-handler-alist): New defcustoms.
	(tramp-completion-file-name-handler): New function. Add
	`tramp-completion-file-name-handler' to `file-name-handler-alist'.
	(tramp-run-real-handler): Add `tramp-completion-file-name-handler'
	to `inhibit-file-name-handlers'.
	(tramp-completion-handle-file-name-all-completions)
	(tramp-completion-handle-file-name-completion): New functions.

2002-08-12  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp'
	must be called again after activating `ange-ftp'.
	(tramp-ange-ftp-file-name-p): Check for Xemacs.

2002-08-08  Michael Albinus  <Michael.Albinus@alcatel.de>

	* net/tramp.el (tramp-do-copy-or-rename-file): Don't pass
	KEEP-DATE to tramp-invoke-ange-ftp 'rename.
	(tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
	tramp-invoke-ange-ftp 'write-region.
	(tramp-handle-set-file-modes): Change order of FILENAME and MODE
	passing to tramp-invoke-ange-ftp 'set-file-modes.
	(tramp-flatten-list): New function. Maybe this functionality does
	exist already elsewhere in the libraries.
	(tramp-invoke-ange-ftp): Apply `tramp-flatten-list' to parameter
	list in order to avoid nested lists, f.e. when invoked from
	`tramp-handle-dired-call-process'.

2002-09-05  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* net/tramp.el (tramp-chunksize): New kluge variable.
	(tramp-send-region): If tramp-chunksize is non-nil, send region in
	parts and sleep 0.1 seconds between chunks.

2002-09-03  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* net/tramp.el (tramp-handle-insert-directory): Use
	`insert-buffer-substring' instead of `insert-buffer', which is not
	supposed to be used from Lisp.  Remember old point in a variable
	instead of using `mark'.  Suggestion from Stefan Monnier.
	(tramp-unified-filenames): New variable.  Use it in default value
	of other filename variables.
	(file-expand-wildcards): Don't advise unless "[" and "]" are used
	in the filename format.

2002-09-01  Kai Gro�ohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>

	* net/tramp.el (tramp-methods): Remove duplicate definition of
	ssh1-old and ssh2-old.
2002-09-22 13:23:36 +00:00
Kai Großjohann
1fc85daee0 * dired.el (dired-insert-directory): Always add "--dired" to to
SWITCHES for remote files.
* files.el (insert-directory): Comment saying that "--dired"
might be in the SWITCHES.
* net/ange-ftp.el (ange-ftp-ls): Handle "--dired" in LSARGS.
(ange-ftp-insert-directory): Comment explaining "--dired"
handling.
2002-09-22 13:01:10 +00:00
Markus Rost
f8aba1ce99 (mail-abbrev-make-syntax-table): Give %!._- word constituent syntax. 2002-09-21 20:11:08 +00:00
Richard M. Stallman
4e189812e9 (custom-make-dependencies): Bind to t around evaluating the def-form. 2002-09-21 20:00:30 +00:00
Richard M. Stallman
6da43544b7 (custom-dont-initialize): New variable.
(custom-declare-variable): Don't init the variable
if custom-dont-initialize is non-nil.
2002-09-21 19:59:42 +00:00
ShengHuo ZHU
3cc82ee498 * gnus-art.el (gnus-article-x-face-command): Use
gnus-article-compface-xbm if bound.
2002-09-21 19:57:11 +00:00