Dave Love [Sat, 3 Jun 2000 16:43:02 +0000 (16:43 +0000)]
byte-compile-dynamic since we typically don't use
all the widgets. Don't require cl or widget. Remove
eval-and-compile. Don't autoload finder-commentary. Doc fixes.
(widget-read-event): Removed. Callers changed to use read-event.
(widget-button-release-event-p): Renamed from
button-release-event-p.
(widget-field-add-space, widget-field-use-before-change):
Uncustomize.
(widget-specify-field): Use keymap property, not local-map.
(widget-specify-button): Obey :suppress-face.
(widget-specify-insert): Use modern backquote syntax.
(widget-image-directory): Renamed from widget-glyph-directory.
(widget-image-enable): Renamed from widget-glyph-enable.
(widget-image-find): Replaces widget-glyph-find.
(widget-button-pressed-face): Move defvar.
(widget-image-insert): Replaces widget-glyph-insert.
(widget-convert): Use keywordp.
(widget-leave-text, widget-children-value-delete): Use mapc.
(widget-keymap): Remove XEmacs stuff.
(widget-field-keymap, widget-text-keymap): Define all inside
defvar.
(widget-button-click): Don't set point at the click, but re-centre
if we scroll out of window. Rewritten for images v. glyphs &c.
(widget-tabable-at): Use POS arg, not point.
(widget-beginning-of-line, widget-end-of-line)
(widget-item-value-create, widget-sublist, widget-princ-to-string)
(widget-sexp-prompt-value, widget-echo-help): Simplify.
(widget-default-create): Use widget-image-insert; some rewriting.
(widget-visibility-value-create)
(widget-push-button-value-create, widget-toggle-value-create): Use
widget-image-insert.
(checkbox): Create on and off images dynamically.
(documentation-link): Change :help-echo.
(widget-documentation-link-echo-help): Remove.
Stefan Monnier [Fri, 2 Jun 2000 23:07:08 +0000 (23:07 +0000)]
(easy-mmode-derive-name): New function.
(easy-mmode-define-toggle, define-minor-mode): Use it.
(easy-mmode-define-keymap): Docstring fix.
(define-derived-mode): Default PARENT to fundamental-mode.
Add the derived-mode-parent symbol-property.
(easy-mmode-derived-mode-p): New function.
Dave Love [Fri, 2 Jun 2000 18:37:43 +0000 (18:37 +0000)]
[This needs more work on the outline stuff.]
Doc fixes.
(todo) <defgroup>: Add :version.
(todo-add-category): Don't use pushnew.
(todo-cmd-raise): Fix typo.
(todo-top-priorities): Change temp buffer name.
(todo-category-alist): Avoid redundant lambda.
(todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
Use outline-next-heading.
Kenichi Handa [Thu, 1 Jun 2000 11:02:58 +0000 (11:02 +0000)]
(tibetan-composable-pattern): More
characters included.
(tibetan-consonant-transcription-alist): Rule for "R" added.
(tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
"+R" added.
(tibetan-base-to-subjoined-alist): Rule for "RA" added.
Kenichi Handa [Thu, 1 Jun 2000 10:59:56 +0000 (10:59 +0000)]
(tibetan-add-components): Fixes for new
encoding of Tibetan characters.
(tibetan-decompose-precomposition-alist): New variable.
(tibetan-decompose-region): Convert precomposed characters to
non-precomposed characters.
(tibetan-decompose-string): Likewise.
(tibetan-composition-function): Fix args to
thibetan-compose-string.
Kenichi Handa [Thu, 1 Jun 2000 06:22:31 +0000 (06:22 +0000)]
(isearch-update): Set disable-point-adjustment to t
to prevent the point moving to the end of a composition when a
part of a composition is searched.
(isearch-other-meta-char): If the key invoking this command can be
mapped by function-key-map to a printing char, call
isearch-process-search-char directly.
Stefan Monnier [Thu, 1 Jun 2000 04:58:08 +0000 (04:58 +0000)]
* byte-run.el (make-obsolete, make-obsolete-variable):
Add an optional WHEN argument and change the format of the
symbol-property information.
* emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
(byte-compile-obsolete, byte-compile-variable-ref): Understand the
new obsolete-symbol-property format and print WHEN if it is provided.
(make-obsolete): Update the calls to use the third argument.
Dave Love [Wed, 31 May 2000 17:41:51 +0000 (17:41 +0000)]
(change-log-font-lock-keywords) <function>: Add
pattern for function of change.
(change-log-font-lock-keywords) <acknowledgements>: Amalgamate
acknowledgements patterns.
Kenichi Handa [Wed, 31 May 2000 03:49:49 +0000 (03:49 +0000)]
(quail-start-conversion): Don't include
unhandled events in the returned events, but set them in
unread-command-events. Exit if all inputs are deleted.
Jason Rumney [Tue, 30 May 2000 21:59:27 +0000 (21:59 +0000)]
Format and doc changes to bring closer to xterm.c.
(w32_char_font_type): New enum.
(Qw32_charset_*, w32_codepage_for_font): Moved to w32fns.c.
(w32_per_char_metric): Use w32_char_font_type instead of unicode_p.
(w32_encode_char): New function.
(x_encode_char): Removed.
(x_get_glyph_and_face_encoding): Use w32_encode_char in place of
x_encode_char and w32_font_is_double_byte.
(x_produce_image_glyph): Use image_ascent.
(x_produce_glyphs): Use new version of w32_per_char_metric and
handle NULL return value. Allow extra line spacing.
(W32_TEXTOUT): Distinguish between Unicode and DBCS text.
(w32_get_glyph_overhangs): Remove unicode_p param. Use
w32_font_type member of glyph instead.
(x_draw_glyph_string): Draw underline and strike-out for BDF fonts.
(fast_find_position): Make sure not to consider rows not visible
in the window.
(w32_read_socket) [WM_MENUSELECT]: Cannot call
w32_menu_display_help with input blocked, as it can abort.
(x_display_and_set_cursor): Choose cursor depending
on buffer-local value of cursor_type.
(x_draw_bar_cursor): Add parameter WIDTH.
Jason Rumney [Tue, 30 May 2000 21:49:28 +0000 (21:49 +0000)]
(NUM_TRANSLATED_MOUSE_BUTTONS): New constant.
(emacs_button_translation): Use it.
(do_mouse_event): Allow up to 32 mouse buttons by allowing any bit
in `mask' to be set.
Jason Rumney [Tue, 30 May 2000 21:45:33 +0000 (21:45 +0000)]
Format and doc changes to bring closer to xfns.c.
(VIETNAMESE_CHARSET): Define if not defined in system headers.
(Qline_spacing, Qcenter): New variables.
(Qw32_charset_*, w32_codepage_for_font): Moved from w32term.c.
(x_set_line_spacing): New function.
(x_set_frame_parameters): Use FRAME_NEW_WIDTH, FRAME_NEW_HEIGHT macros.
(x_specified_cursor_type): New function.
(x_set_cursor_type): Use it.
(x_set_name, x_set_title): Use ENCODE_SYSTEM to encode titlebar and
icon strings.
(validate_x_resource_name, x_get_resource_string): Measure lengths
of external strings in bytes.
(w32_wnd_proc) [WM_MEASURE_ITEM]: Avoid calling
GetTextExtentPoint32 with NULL title.
(Fx_create_frame): Initialize Qline_spacing.
(w32_load_system_font): Initialize font->double_byte_p.
(x_to_w32_charset): Use Vw32_charset_info_alist.
(Image, busy cursor, tooltip functions): Merged changes from
xfns.c. Not yet functional on Windows.
Gerd Moellmann [Tue, 30 May 2000 20:02:22 +0000 (20:02 +0000)]
(finger-X.500-host-regexps): New user-option.
(finger): If HOST matches a regexp from finger-X.500-host-regexps,
send a query containing USER only, not USER@HOST.
Gerd Moellmann [Mon, 29 May 2000 15:51:23 +0000 (15:51 +0000)]
(redisplay_window): Really switch buffers when
displaying mode lines, and temporarily set selected_frame to the
frame of the window that's redisplayed.