Kai Großjohann [Sat, 29 Mar 2003 15:31:07 +0000 (15:31 +0000)]
(file-relative-name): If FILENAME and DIRECTORY are on
different drives (on DOS/Windows) or use different handlers, do
like `expand-file-name' on FILENAME and return an absolute name.
From Lars Hansen <larsh@math.ku.dk>.
Kai Großjohann [Sat, 29 Mar 2003 15:16:57 +0000 (15:16 +0000)]
* tramp.el: Version 2.0.31 released.
(tramp-handle-expand-file-name): Do not allow ".." to
cross file handler boundaries, so that "/user@host:/../foo"
expands to itself, rather than "/foo". This is intended to work
in conjunction with a change in `file-relative-name' which makes
sure to use absolute file names if FILE and DIRECTORY have
different handlers.
(tramp-handle-insert-directory): Comment out XEmacs
kludge. Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
* Makefile.in (../info/tramp): Compile Emacs, instead of XEmacs,
version of manual.
(with-category-table): Use `make-symbol' to avoid variable capture.
Set table within `unwind-protect'. Ensure table is restored in
correct buffer. Add docstring. Basically, copy `with-syntax-table'.
(checkdoc-display-status-buffer): Fix docstring.
(checkdoc-interactive, checkdoc-message-interactive): Make them perform spell
checking when appropriate.
(checkdoc-interactive-loop): Fix docstring and a few typos.
(checkdoc-interactive-ispell-loop)
(checkdoc-message-interactive-ispell-loop): New functions.
(checkdoc-next-error): Fix docstring.
(checkdoc-this-string-valid-engine): Fix typo.
(checkdoc-ispell-docstring-engine): Do test for checkdoc-autofix-flag = nil.
Jonathan Yavner [Fri, 28 Mar 2003 16:45:19 +0000 (16:45 +0000)]
No error when marking functions whose body just returns a constant. Handle
screwy top-level macros that create functions and store them as properties of
symbols. Support for CL's function* macro.
Stefan Monnier [Fri, 28 Mar 2003 14:22:11 +0000 (14:22 +0000)]
(take_vertical_position_into_account): Remove.
(xt_action_hook): Call set_vertical_scroll_bar if needed.
(XM_SB_MIN, XM_SB_RANGE): Remove (min is now set to 0).
(xm_scroll_callback, x_create_toolkit_scroll_bar)
(x_set_toolkit_scroll_bar_thumb): Simplify.
(x_scroll_bar_expose): Only compile if !USE_TOOLKIT_SCROLL_BARS.
(XTread_socket): Remove unused var.
(x_make_frame_invisible): Replace goto with else.
(update_tool_bar): Recompute tool bar if
update_mode_lines is set. Set w->update_mode_line
only if the tool bar contents actually change.
(update_menu_bar): Undo previous change.
John Wiegley [Tue, 25 Mar 2003 20:59:35 +0000 (20:59 +0000)]
2003-03-26 Steve Youngs <youngs@xemacs.org>:
(eshell-plain-locate-behavior): Make the default the return value of
`eshell-under-xemacs-p', ie, nil for GNU/Emacs and non-nil for
XEmacs.
Stefan Monnier [Tue, 25 Mar 2003 16:30:15 +0000 (16:30 +0000)]
(store_symval_forwarding): Delete special read-only
hack for type == -1, since we now use ->constant instead.
(Fkill_local_variable): Don't use XBUFFER if it can be nil.
Stefan Monnier [Tue, 25 Mar 2003 16:20:38 +0000 (16:20 +0000)]
(overlays_in): Declare static.
(syms_of_buffer) <enable-multibyte-characters>: Use the symbol's
`constant' field rather than the variable's `type' field.
Kim F. Storm [Mon, 24 Mar 2003 11:00:39 +0000 (11:00 +0000)]
Rework last change so C-x C-SPC C-SPC does not
repeat pop-global-mark by default.
(pop-global-mark-quick-repeat): New user option.
(set-mark-command): Use it.
(c-parse-state): Added kludge to avoid an infinite loop when Emacs'
open-paren-in-column-zero rule kicks in and causes the sexp functions
to misbehave.
Kim F. Storm [Sat, 22 Mar 2003 01:21:09 +0000 (01:21 +0000)]
(ido-mode): Remove unused NOBIND arg. Fix doc string accordingly.
(ido-define-mode-map): Bind C-l for both file and dir modes.
(ido-wide-find-file, ido-wide-find-dir, ido-make-directory):
Let-bind enable-recursive-minibuffers to t around read-string.
Kenichi Handa [Sat, 22 Mar 2003 01:07:17 +0000 (01:07 +0000)]
(indian-font-foundry): New variable.
(indian-script-language-alist): New variable.
(indian-font-char-index-table): New variable.
(indian-font-char): New function.
(indian-font-char-range): New function.
(font-ccl-encoder-alist): Add entry for AKRUTI font.
Kim F. Storm [Fri, 21 Mar 2003 13:52:28 +0000 (13:52 +0000)]
The following changes consolidate code related to writing and
inserting glyphs, exposing frame, the tool bar, the mouse face,
the output cursor, and help echo from xterm.c, w32term.c and
macterm.c into xdisp.c. It also generalizes the use of the
window_part enum instead of using numeric values throughout.
* xdisp.c: Consolidate gui-independent code here.
Include keymap.h.
(Qhelp_echo): Import.
(mouse_autoselect_window, x_stretch_cursor_p): Declare here.
(help_echo_string, help_echo_window, help_echo_object)
(previous_help_echo_string, help_echo_pos): Declare here.
(output_cursor, last_mouse_frame, last_tool_bar_item): Declare here.
(estimate_mode_line_height): Define here. Handle windowing
systems directly (without using estimate_mode_line_height_hook).
(x_y_to_hpos_vpos, get_tool_bar_item, note_tool_bar_highlight):
(update_window_cursor, update_cursor_in_window_tree)
(fast_find_position, fast_find_string_pos)
(note_mode_line_highlight, note_mode_line_or_margin_highlight)
(expose_area, expose_line, expose_overlaps, expose_window)
(expose_window_tree, phys_cursor_in_rect_p): New generic versions;
declared static as they are only used locally in xdisp.c.
(draw_glyphs): Rename from x_draw_glyphs and make static.
(tool_bar_item_info, notice_overwritten_cursor): Make static.
(frame_to_window_pixel_xy, get_glyph_string_clip_rect)
(set_output_cursor, x_cursor_to, handle_tool_bar_click)
(x_write_glyphs, x_insert_glyphs, x_clear_end_of_line):
(x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor)
(display_and_set_cursor, x_update_cursor, x_clear_cursor)
(show_mouse_face, clear_mouse_face, cursor_in_mouse_face_p)
(note_mouse_highlight, x_clear_window_mouse_face)
(cancel_mouse_face, x_draw_vertical_border, expose_frame)
(x_intersect_rectangles): New generic functions for use by xdisp.c
and GUI front-ends.
(syms_of_xdisp): Initialize and staticpro help_echo* variables.
Defvar_bool "x-streach-cursor" and "mouse-autoselect-window" here.
Kim F. Storm [Fri, 21 Mar 2003 13:52:06 +0000 (13:52 +0000)]
* window.c (enum window_part): Move to dispextern.h.
(coordinates_in_window): Use enum window_part member names
instead of numbers to describe return value.
(struct check_window_data): Change part member to window_part.
(check_window_containing): Return window_part unaltered.
(window_from_coordinates): Change part arg from int to enum
window_part. Allow part arg to be null. All users changed.
Kim F. Storm [Fri, 21 Mar 2003 13:51:33 +0000 (13:51 +0000)]
(No_Cursor): Define as 0 for W32.
(XRectangle): Add X compatible rectangle type.
(NativeRectangle): Declare as RECT for W32.
(CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros.