Kai Großjohann [Mon, 2 Sep 2002 12:53:12 +0000 (12:53 +0000)]
* net/tramp.el: Version 2.0.15 released.
(require 'base64): Most modern Emacsen have the base64
encode/decode functions built in, so test to see if they are bound
before we go blindly requiring base64.el. From Steve Youngs
<youngs@xemacs.org>.
(tramp-feature-write-region-fix): XEmacs doesn't have a
'find-operation-coding-system' and this variable doesn't seem to
be used anywhere so wrap it in (unless (featurep 'xemacs)). From
Steve Youngs <youngs@xemacs.org>.
(tramp-methods): Remove duplicate definition of ssh1-old and
ssh2-old.
(tramp-open-connection-su): Use user name "root" if no user name
is given.
From Michael Albinus <Michael.Albinus@alcatel.de>:
* net/tramp.el (tramp-invoke-ange-ftp):
(tramp-ange-ftp-file-name-p): Check for Xemacs.
(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-invoke-ange-ftp): `tramp-disable-ange-ftp' must be called
again after activating `ange-ftp'.
Kim F. Storm [Mon, 2 Sep 2002 10:41:25 +0000 (10:41 +0000)]
(multi-occur): Made "ido-aware":
Changed prompt to use C-j instead of RET to end.
Set ido-ignore-item-temp-list to the selected buffers so far, so
they are automatically excluded from the list of choices.
Use add-to-list instead of push.
Kim F. Storm [Mon, 2 Sep 2002 10:40:56 +0000 (10:40 +0000)]
(ido-ignore-item-temp-list): New variable.
(ido-read-internal): Don't set ido-default-item if the default is
member of ido-ignore-item-temp-list.
Don't return first match for C-j if no text is entered.
(ido-buffer-internal): Check for empty string return.
(ido-make-buffer-list1): Use member instead of memq.
(ido-window-buffer-p): Likewise.
(ido-get-bufname): Ignore buffers on ido-ignore-item-temp-list.
(ido-ignore-item-p): Ignore items on ido-ignore-item-temp-list.
(kill-line): Use end-of-visible-line to determine
if rest of line is blank.
(end-of-visible-line): Cope if end-of-line moved back over
invisible intangible chars at end of line.
(completion-setup-function): Don't use directory-sep-char.
Remove (eval-when-compile) for free variables.
(f90-menu): Remove ":active" keyword where not needed.
(f90-menu, f90-add-imenu-menu): Use lookup-key rather than
imenu--index-alist.
A few whitespace changes.
Andrew Choi [Sat, 31 Aug 2002 00:53:12 +0000 (00:53 +0000)]
2002-08-30 Andrew Choi <akochoi@shaw.ca>
* macterm.c (expose_overlaps): New function (merge code from
xterm.c).
(expose_window): Use it to fix the display of overlapping
rows (merge code from xterm.c).
Kim F. Storm [Fri, 30 Aug 2002 23:10:09 +0000 (23:10 +0000)]
(Valternate_cursor_type, Qalternate_cursor_type): Removed.
(get_window_cursor_type): Don't use them.
(syms_of_xdisp): Remove intern, staticpro, and defvar for them.
Stefan Monnier [Fri, 30 Aug 2002 21:55:07 +0000 (21:55 +0000)]
(easy-menu-filter-return):
Handle the case where the filter returns a single menu entry.
(easy-menu-add): Improve docstring.
(easy-menu-current-active-maps): Remove.
(easy-menu-get-map): Use current-active-maps.
Stefan Monnier [Fri, 30 Aug 2002 21:52:10 +0000 (21:52 +0000)]
(custom-unlispify-menu-entry): Don't remove
the -p prefix from variables since they shouldn't have it anyway.
(custom-group-menu-create, customize-menu-create):
Only cdr if applicable, since custom-menu-create might return
a vector (i.e. a single menu entry).
(consider_token, C_entries): Switch to C++ parsing when
auto-detection is enabled and the `::' qualifier is met.
(consider_token, C_entries): Several bugs corrected that tagged
some declarations even though --declarations was not used.
(plainc): New macro.
(C_entries): Use it.
(C_entries): Several cosmetic changes.
(C_entries): Invalidate the token is some cases.
(ibuffer-update): Revert expansion of `caddr'.
(ibuffer-fontification-alist): Check hidden buffer case isn't
visiting a file and change its face to italic.
Kim F. Storm [Fri, 30 Aug 2002 12:02:10 +0000 (12:02 +0000)]
(x_specified_cursor_type): Remove prototype.
(x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH.
(x_display_and_set_cursor): Use get_window_cursor_type.
Remove unused local variables cursor_non_selected, active_cursor.
Redraw cursor if hbar cursor width changes.
(make_mac_frame): Set FRAME_DESIRED_CURSOR.
Kim F. Storm [Fri, 30 Aug 2002 12:00:12 +0000 (12:00 +0000)]
(Qbar, Qhbar, Qbox, Qhollow, Vblink_cursor_alist):
Variables consolidated here.
(Valternate_cursor_type, Qalternate_cursor_type): New variables.
(Vcursor_in_non_selected_windows): Renamed from
cursor_in_non_selected_windows and changed to Lisp_Object.
(syms_of_xdisp): Define and staticpro new and moved variables.
(get_specified_cursor_type): Renamed from x_specified_cursor_type;
consolidated here. Recognize Qhollow setting.
(set_frame_cursor_types): New function to set frame cursor types
based on the frame parameters.
(get_window_cursor_type): New function to calculate new cursor
type and width for the specified window. Based on duplicated
code consolidated here.
Enhancements: cursor-in-non-selected-windows may be a cursor type,
check buffer-local alternate-cursor-type and blink-cursor-alist
before using built-in blink off methods.
Kim F. Storm [Fri, 30 Aug 2002 11:58:54 +0000 (11:58 +0000)]
These changes consolidates the handling of the cursor
type in xdisp.c, moving duplicate code and functionality from
xfns.c, xterm.c, w32fns.c, w32term.c, macfns.c, and macterm.c.
Stefan Monnier [Thu, 29 Aug 2002 21:48:50 +0000 (21:48 +0000)]
Use match-string and drop useless `function's.
(ange-ftp-get-process): Bind `ange-ftp-this-user' and
`ange-ftp-this-host' before running ange-ftp-process-startup-hook.
(ange-ftp-ls-parser): Use `switches' arg instead of dynamic binding.
(ange-ftp-parse-dired-listing): Update the calls.
(dired-local-variables-file): Declare to shut quieten the compiler.
(ange-ftp-file-entry-active-p): Remove.
(ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
Don't exclude dangling symlinks.
(ange-ftp-file-name-completion-1): Make predicate optional.
(ange-ftp-parse-list-func-alist): Use add-to-list to update.
(ange-ftp-fix-name-for-bs2000): Use subst-char-in-string.
(ange-ftp-bs2000-posix-hook-installed): Remove.
(ange-ftp-add-bs2000-posix-host): Don't use it anymore.
(ange-ftp-bs2000-cd-to-posix): Use `ange-ftp-this-user' and
`ange-ftp-this-host' instead of `user' and `host'.
(byte-compile-warning-prefix):
Decide here whether to print which form we're compiling.
If we do that, still print file and line. Make file name
relative to default-directory. Print fewer newlines.
(byte-compile-log-file): Print something even if no file.
Print messages for entering and leaving directories,
and set default-directory.
(displaying-byte-compile-warnings): Only sometimes bind warning-series.
(byte-compile-warning-series): New function.
(byte-compile-file): Set byte-compile-last-logged-file, don't bind it.
(byte-compile-display-log-head-p): Function deleted.
(C_entries): Corrected a problem with const C++ funcs.
(ignoreindent): Renamed from noindentypedefs.
(cjava, cplpl): They are now macros instead of local vars.
(FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): New macros.
(struct w32_output): New fields blink_off_cursor, blink_off_cursor_width.
(FRAME_CURSOR_WIDTH): New macro.
(x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and
FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist.
(Vblink_cursor_alist): New variable.
(syms_of_w32fns): Initialize and defvar it.
(x_specified_cursor_type): Recognize Qbox for filled box.
Exceptions are hollow boxes.
(Qbox, Qhollow): New variables.
(syms_of_w32fns): Initialize and staticpro them.