Richard M. Stallman [Sun, 29 Sep 2002 17:53:58 +0000 (17:53 +0000)]
(user-mail-address): Initialize to a useful value
once Emacs is started up; initialize to "" at loadup time.
(command-line): "", not nil, means user-mail-address not set yet.
Richard M. Stallman [Sun, 29 Sep 2002 17:52:36 +0000 (17:52 +0000)]
(Window Configurations): Refer to winner.el as example.
Richard M. Stallman [Sun, 29 Sep 2002 17:51:45 +0000 (17:51 +0000)]
(Freplace_match): Adjust match data for the substitution
just made in the buffer.
Richard M. Stallman [Sun, 29 Sep 2002 17:46:12 +0000 (17:46 +0000)]
(STOP_POLLING, RESUME_POLLING): New macros.
(redisplay_internal): Use them. Do RESUME_POLLING at end of function.
Kai Großjohann [Sun, 29 Sep 2002 16:22:19 +0000 (16:22 +0000)]
Version 2.0.24 released.
(tramp-methods, tramp-completion-function-alist):
Rename "*-old" methods to "*_old". From Michael Albinus.
(tramp-completion-function-alist): Use
`tramp-completion-function-alist-ssh' for the "fcp" method. From
Michael Albinus.
(tramp-default-method-alist): Use "su" for "root@localhost".
(tramp-host-regexp): Allow "#" for "host#port" kludge.
(tramp-ange-ftp-file-name-p): If METHOD is nil, find the right
default method. Require additional args USER and HOST for this.
Callers changed.
(tramp-handle-file-local-copy): More local bindings. Bind results
of tramp-get-{remote,local}-{de,en}coding earlier to avoid nasty
"are you awake" problem.
(tramp-action-password): Protect against clobbered match data.
(tramp-open-connection-setup-interactive-shell): Explicitly set
tramp-last-cmd-time before invoking tramp-send-command the first
time. Otherwise, tramp-send-command would issue "echo are you
awake" right at the first time, which is not what we want.
Reported by Douglas Gray Stephens.
(tramp-find-inline-encoding): Don't redirect stdout to
/dev/null to avoid "chmode go-rwx" operation from "mimencode
>/dev/null" as root(!), and to check the output of the decoding
command.
(tramp-maybe-open-connection): Don't send "are you awake" if
process has died.
Colin Walters [Sun, 29 Sep 2002 14:48:27 +0000 (14:48 +0000)]
(calc-dispatch-map): Actually set to keymap.
Colin Walters [Sun, 29 Sep 2002 14:47:24 +0000 (14:47 +0000)]
*** empty log message ***
Mike Williams [Sun, 29 Sep 2002 06:00:18 +0000 (06:00 +0000)]
(sgml-guess-indent): Handle tabs correctly.
Richard M. Stallman [Sun, 29 Sep 2002 05:20:51 +0000 (05:20 +0000)]
*** empty log message ***
Richard M. Stallman [Sun, 29 Sep 2002 04:19:06 +0000 (04:19 +0000)]
(defcustom): Doc fix.
Richard M. Stallman [Sun, 29 Sep 2002 03:34:12 +0000 (03:34 +0000)]
(unload-feature): When undefining a variable, delete its buffer-local bindings.
Richard M. Stallman [Sun, 29 Sep 2002 03:31:15 +0000 (03:31 +0000)]
(remove-yank-excluded-properties): Fix bugs in handling of category properties.
Richard M. Stallman [Sun, 29 Sep 2002 03:30:41 +0000 (03:30 +0000)]
(ps-print-emacs-type): Error if ps-print is
activated in Epoch, inLucid or in Emacs v19 or lesser.
Value can no longer be `lucid'.
(ps-print-version): New version number (6.5.8).
(faces): Never do (require 'faces).
Simon Josefsson [Sun, 29 Sep 2002 03:19:55 +0000 (03:19 +0000)]
(smtpmail-via-smtp): Only negotiate starttls on
streams that were opened using starttls.
Paul Reilly [Sun, 29 Sep 2002 01:51:48 +0000 (01:51 +0000)]
Update changelog for ear/war addtions to auto-mode-alist.
Paul Reilly [Sun, 29 Sep 2002 01:43:10 +0000 (01:43 +0000)]
auto-mode-alist: Use archive-mode for ear/EAR (Enterprise ARchive) and
war/WAR (Web ARchive) files.
Robert J. Chassell [Sat, 28 Sep 2002 19:39:42 +0000 (19:39 +0000)]
Fix typo: @same --> @samp
Robert J. Chassell [Sat, 28 Sep 2002 19:38:45 +0000 (19:38 +0000)]
Fix Texinfo build failure by running `texinfo-all-menus-update'.
Jonathan Yavner [Sat, 28 Sep 2002 18:45:56 +0000 (18:45 +0000)]
New major mode "SES" for spreadsheets.
New function (unsafep X) determines whether X is a safe Lisp form.
New support module testcover.el for coverage testing.
John Paul Wallington [Sat, 28 Sep 2002 02:09:30 +0000 (02:09 +0000)]
(m4-font-lock-keywords)
(m4-mode-syntax-table, m4-mode-abbrev-table, m4-m4-buffer)
(m4-m4-region): Doc fixes.
Stefan Monnier [Fri, 27 Sep 2002 23:16:27 +0000 (23:16 +0000)]
Use the new usage-in-docstring syntax.
(cl-push, cl-pop): Remove. Use pop and push throughout the file instead.
(cl-transform-lambda): Add usage info to docstring if the arglist is complex.
Stefan Monnier [Fri, 27 Sep 2002 23:03:17 +0000 (23:03 +0000)]
(make-autoload): Add usage info to docstring.
(autoload-print-form): Also quote open-[-in-column 0.
Stefan Monnier [Fri, 27 Sep 2002 22:59:41 +0000 (22:59 +0000)]
(help-with-tutorial): Use minibuffer-completion-help.
(help-split-fundoc): Don't support old syntax any more.
(help-add-fundoc-usage): New fun.
Stefan Monnier [Fri, 27 Sep 2002 22:32:48 +0000 (22:32 +0000)]
(cl-push, cl-pop): Remove. Use pop and push throughout the file instead.
(cl-hash-lookup): Remove.
(cl-make-hash-table, cl-hash-table-p, cl-gethash, cl-puthash)
(cl-remhash, cl-clrhash, cl-maphash, cl-hash-table-count): Simplify.
Stefan Monnier [Fri, 27 Sep 2002 22:19:22 +0000 (22:19 +0000)]
(cl-push, cl-pop): Remove.
Use pop and push throughout the file instead.
Stefan Monnier [Fri, 27 Sep 2002 22:18:17 +0000 (22:18 +0000)]
Don't precompute menu shortcuts during
loading since the current keymaps might be all weird.
Stefan Monnier [Fri, 27 Sep 2002 22:07:38 +0000 (22:07 +0000)]
(main): Always use /tmp and non-qualified hostname.
Stefan Monnier [Fri, 27 Sep 2002 22:06:02 +0000 (22:06 +0000)]
(server-socket-name): Always use /tmp and non-qualified hostname.
Stefan Monnier [Fri, 27 Sep 2002 21:12:12 +0000 (21:12 +0000)]
(define-minor-mode): Don't add properties
to the name since they're added by mode-line-format already.
(define-minor-mode): Run (,mode -1) when needed.
Stefan Monnier [Fri, 27 Sep 2002 20:55:33 +0000 (20:55 +0000)]
(tar-untar-buffer): Handle dir-entries.
(tar-summarize-buffer, tar-mode, tar-extract, tar-copy, tar-expunge)
(tar-alter-one-field, tar-subfile-save-buffer, tar-mode-write-file):
Don't hardcode 1 == point-min.
Richard M. Stallman [Fri, 27 Sep 2002 20:52:15 +0000 (20:52 +0000)]
Comment changes.
Stefan Monnier [Fri, 27 Sep 2002 19:51:58 +0000 (19:51 +0000)]
(write-abbrev-file): Don't hardcode point-min == 1.
Stefan Monnier [Fri, 27 Sep 2002 19:50:12 +0000 (19:50 +0000)]
*** empty log message ***
Stefan Monnier [Fri, 27 Sep 2002 19:44:05 +0000 (19:44 +0000)]
(read-key-auxiliary-map): New var.
(read-key): Use it.
(make-temp-file): Make the file have mode 600.
(add-minor-mode): Don't add properties to the name since it's
added by mode-line-format already.
Be more careful with the mode-line-menu entry name.
Stefan Monnier [Fri, 27 Sep 2002 19:08:41 +0000 (19:08 +0000)]
(ask-user-about-supersession-threat): Don't abort when the user hits mouse-2.
Stefan Monnier [Fri, 27 Sep 2002 18:47:28 +0000 (18:47 +0000)]
Add info about --eval and --display.
Stefan Monnier [Fri, 27 Sep 2002 18:30:30 +0000 (18:30 +0000)]
Add info about --eval, --display, and --alternate-editor.
Stefan Monnier [Fri, 27 Sep 2002 18:21:44 +0000 (18:21 +0000)]
Remove SYSV support.
(eval, display): New vars.
(longopts): Add --eval and --display.
(decode_options): Add -e and -d processing.
(print_help_and_exit): Update the usage string.
(main): Add support for --eval and --display.
Stefan Monnier [Fri, 27 Sep 2002 17:47:38 +0000 (17:47 +0000)]
(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.
Stefan Monnier [Fri, 27 Sep 2002 17:43:29 +0000 (17:43 +0000)]
(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.
Stefan Monnier [Fri, 27 Sep 2002 17:37:47 +0000 (17:37 +0000)]
(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.
Richard M. Stallman [Fri, 27 Sep 2002 17:03:46 +0000 (17:03 +0000)]
(STOP_POLLING, RESUME_POLLING): New macros.
(read_char): Use them. Do all exits thru the end of the function.
Colin Walters [Fri, 27 Sep 2002 04:55:22 +0000 (04:55 +0000)]
(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'.
Kenichi Handa [Fri, 27 Sep 2002 00:47:25 +0000 (00:47 +0000)]
(try_font_list): Pay attention to the case that FAMILY is nil.
Simon Josefsson [Thu, 26 Sep 2002 23:19:58 +0000 (23:19 +0000)]
(mail-hist-next-input): Fix docstring.
Richard M. Stallman [Thu, 26 Sep 2002 22:06:00 +0000 (22:06 +0000)]
*** empty log message ***
Richard M. Stallman [Thu, 26 Sep 2002 22:05:50 +0000 (22:05 +0000)]
Whitespace changes.
Richard M. Stallman [Thu, 26 Sep 2002 22:04:14 +0000 (22:04 +0000)]
(__restrict_arr): Don't define if already defined.
Richard M. Stallman [Thu, 26 Sep 2002 22:03:41 +0000 (22:03 +0000)]
(run_pre_post_conversion_on_str): Save and restore Vdeactivate_mark.
Richard M. Stallman [Thu, 26 Sep 2002 22:02:23 +0000 (22:02 +0000)]
(unrmail): Do the work directly,
without actually selecting the messages in the from file.
(unrmail-unprune): New subroutine.
Richard M. Stallman [Thu, 26 Sep 2002 22:00:22 +0000 (22:00 +0000)]
(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.
Richard M. Stallman [Thu, 26 Sep 2002 21:57:53 +0000 (21:57 +0000)]
(solar-equinoxes-solstices): Use time properly adjusted for DST in the result.
Richard M. Stallman [Thu, 26 Sep 2002 21:57:17 +0000 (21:57 +0000)]
(follow-generic-filter): Simply bind deactivate-mark.
Bind inhibit-read-only; don't mess with buffer-read-only.
Richard M. Stallman [Thu, 26 Sep 2002 21:57:00 +0000 (21:57 +0000)]
(speedbar-refresh): Simply bind deactivate-mark.
Richard M. Stallman [Thu, 26 Sep 2002 21:56:42 +0000 (21:56 +0000)]
(inferior-emacs-lisp-mode): Treat the header as output,
if comint-use-prompt-regexp-instead-of-fields is nil.
Stefan Monnier [Thu, 26 Sep 2002 20:37:46 +0000 (20:37 +0000)]
*** empty log message ***
John Paul Wallington [Thu, 26 Sep 2002 17:54:00 +0000 (17:54 +0000)]
(ibuffer-update): Call `minibufferp' with argument
instead of within `with-current-buffer'.
Stephen Eglen [Thu, 26 Sep 2002 15:52:31 +0000 (15:52 +0000)]
(iswitchb-completions): Test that iswitchb-common-match-string is a
string, before printing common completions.
John Paul Wallington [Thu, 26 Sep 2002 10:17:02 +0000 (10:17 +0000)]
Mention minibufferp's optional buffer arg.
John Paul Wallington [Thu, 26 Sep 2002 09:59:44 +0000 (09:59 +0000)]
(Fminibufferp): Add an optional `buffer' argument.
Kenichi Handa [Thu, 26 Sep 2002 08:04:18 +0000 (08:04 +0000)]
(try_font_list): New arg PREFER_FACE_FAMILY. If it is
nonzero, try face's family at first. Otherwise try FAMILY at
first.
(choose_face_font): If C is a single byte char or latin-1, call
try_font_list with PREFER_FACE_FAMILY 1.
Simon Josefsson [Wed, 25 Sep 2002 20:23:19 +0000 (20:23 +0000)]
*** empty log message ***
Stefan Monnier [Wed, 25 Sep 2002 20:22:57 +0000 (20:22 +0000)]
*** empty log message ***
Simon Josefsson [Wed, 25 Sep 2002 20:21:28 +0000 (20:21 +0000)]
(mail-extr-ignore-single-names): Change default.
(mail-extract-address-components): Doc fix.
Stefan Monnier [Wed, 25 Sep 2002 20:17:32 +0000 (20:17 +0000)]
Remove emacsserver.
Stefan Monnier [Wed, 25 Sep 2002 20:03:21 +0000 (20:03 +0000)]
Remove references to emacsserver.
Stefan Monnier [Wed, 25 Sep 2002 19:54:13 +0000 (19:54 +0000)]
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.
Stefan Monnier [Wed, 25 Sep 2002 19:34:07 +0000 (19:34 +0000)]
(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.
Stefan Monnier [Wed, 25 Sep 2002 18:58:37 +0000 (18:58 +0000)]
(find-library-name): Correctly find "f.el.gz" from "f.elc" or "f.elc.gz".
Stefan Monnier [Wed, 25 Sep 2002 17:45:29 +0000 (17:45 +0000)]
Add/remove spaces.
Kenichi Handa [Wed, 25 Sep 2002 13:25:33 +0000 (13:25 +0000)]
*** empty log message ***
Kenichi Handa [Wed, 25 Sep 2002 13:19:59 +0000 (13:19 +0000)]
(select-safe-coding-system): Handle
safe but rejected default coding systems and unsafe default
coding systems differently.
Francesco Potortì [Wed, 25 Sep 2002 10:59:22 +0000 (10:59 +0000)]
Oliver Scholz's patch to gamegrid.el (he does not have CVS access).
Kenichi Handa [Wed, 25 Sep 2002 08:52:30 +0000 (08:52 +0000)]
(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.
Kenichi Handa [Wed, 25 Sep 2002 08:51:36 +0000 (08:51 +0000)]
*** empty log message ***
Kenichi Handa [Wed, 25 Sep 2002 08:11:03 +0000 (08:11 +0000)]
(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.
Kenichi Handa [Wed, 25 Sep 2002 08:10:28 +0000 (08:10 +0000)]
*** empty log message ***
Stefan Monnier [Tue, 24 Sep 2002 21:11:25 +0000 (21:11 +0000)]
(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.
Markus Rost [Tue, 24 Sep 2002 18:40:59 +0000 (18:40 +0000)]
(edit-and-eval-command): Protect command-history.
(repeat-complex-command): Protect command-history.
Juanma Barranquero [Tue, 24 Sep 2002 15:16:39 +0000 (15:16 +0000)]
(eshell-occur-mode-mouse-goto, eshell-poor-mans-grep): Remove references to
`occur-buffer'.
Juanma Barranquero [Tue, 24 Sep 2002 10:18:05 +0000 (10:18 +0000)]
(sh-mark-init): Don't set `occur-buffer'.
(sh-mark-line): Likewise. Use 'occur-target and 'occur-match instead of 'occur
and 'occur-point.
Juanma Barranquero [Tue, 24 Sep 2002 08:35:43 +0000 (08:35 +0000)]
(occur-find-match): New function.
(occur-next, occur-prev): Use it.
Kenichi Handa [Tue, 24 Sep 2002 04:15:02 +0000 (04:15 +0000)]
(quail-completion): Be sure to scroll quail-completion-buf.
Stefan Monnier [Mon, 23 Sep 2002 20:54:28 +0000 (20:54 +0000)]
*** empty log message ***
Richard M. Stallman [Mon, 23 Sep 2002 16:04:57 +0000 (16:04 +0000)]
(doctor-doc): Add 2 question words.
(doctor-getnoun): Parse and save the complete object phrase.
Richard M. Stallman [Mon, 23 Sep 2002 16:03:03 +0000 (16:03 +0000)]
(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.
Richard M. Stallman [Mon, 23 Sep 2002 16:02:14 +0000 (16:02 +0000)]
(*1): Fix previous change.
Juanma Barranquero [Mon, 23 Sep 2002 08:28:56 +0000 (08:28 +0000)]
(tramp-unified-filenames): Autoload it.
Michael Kifer [Mon, 23 Sep 2002 06:07:34 +0000 (06:07 +0000)]
* ediff-init.el (ediff-get-next-window): bug fix.
Markus Rost [Mon, 23 Sep 2002 04:59:08 +0000 (04:59 +0000)]
Add tramp-[1-9]*
Richard M. Stallman [Mon, 23 Sep 2002 00:20:26 +0000 (00:20 +0000)]
(select-safe-coding-system): Cope if default-coding-system gives nil
which was then used in `min'.
Richard M. Stallman [Mon, 23 Sep 2002 00:17:51 +0000 (00:17 +0000)]
(sendmail-send-it): If user's buffer is unibyte, make tembuf unibyte.
Kai Großjohann [Sun, 22 Sep 2002 17:39:18 +0000 (17:39 +0000)]
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>.
Kai Großjohann [Sun, 22 Sep 2002 13:55:14 +0000 (13:55 +0000)]
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.
Kai Großjohann [Sun, 22 Sep 2002 13:23:36 +0000 (13:23 +0000)]
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.
Kai Großjohann [Sun, 22 Sep 2002 13:01:10 +0000 (13:01 +0000)]
* 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.
Markus Rost [Sat, 21 Sep 2002 20:11:08 +0000 (20:11 +0000)]
(mail-abbrev-make-syntax-table): Give %!._- word constituent syntax.
Richard M. Stallman [Sat, 21 Sep 2002 20:00:30 +0000 (20:00 +0000)]
(custom-make-dependencies): Bind to t around evaluating the def-form.
Richard M. Stallman [Sat, 21 Sep 2002 19:59:42 +0000 (19:59 +0000)]
(custom-dont-initialize): New variable.
(custom-declare-variable): Don't init the variable
if custom-dont-initialize is non-nil.
ShengHuo ZHU [Sat, 21 Sep 2002 19:57:11 +0000 (19:57 +0000)]
* gnus-art.el (gnus-article-x-face-command): Use
gnus-article-compface-xbm if bound.