Per Abrahamsen [Thu, 14 Feb 2002 16:47:11 +0000 (16:47 +0000)]
2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
* facemenu.el (describe-text-done): New function.
(describe-text-mode-map): New variable.
(describe-text-mode-hook): New option.
(describe-text-mode): New function.
(describe-text-widget): New function.
(describe-text-sexp): New function.
(describe-text-properties): New function.
(describe-text-category): New command.
(describe-text-at): New command.
(facemenu-menu): Replace `list-text-properties-at' with
`describe-text-at' in the menu.
(Finternal_make_lisp_face, Finternal_copy_lisp_face)
(update_face_from_frame_parameter): Increment face_change_count
and windows_or_buffers_changed to force redisplay using changed faces.
(QCpropertize): New variable.
(mode_line_proptrans_alist): New variable.
(display_mode_element): New arg PROPS; all calls changed.
Implement this, for strings.
Handle literal output of strings by sharing the
main-line code for strings, using local var `literal'.
Handle :propertize feature.
(syms_of_xdisp): Initialze and staticpro QCpropertize and
mode_line_proptrans_alist.
(define-mail-abbrev): Define as system abbrev.
(mail-abbrev-in-expansion-header-p): Copy the code of mail-header-end
to avoid needing sendmail.el at run time.
(mode-line-minor-mode-keymap): Definition moved up.
Initialization moved up too.
(mode-line-modes): Use :propertize.
(mode-line-mode-menu-keymap): Var deleted.
(mode-line-copied-mode-name): Var deleted.
(mode-line-mode-name): Function deleted.
(mode-line-mode-menu): Each item now shows its mode line lighter.
(minor-mode-alist): Don't call propertize here.
Per Abrahamsen [Tue, 12 Feb 2002 09:49:46 +0000 (09:49 +0000)]
2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
* menu-bar.el (menu-bar-options-save): Only save
`current-language-environment' and `default-input-method' when
marked as customized.
* international/mule-cmds.el
(setup-specified-language-environment): Mark
`current-language-environment' as customized.
(set-input-method): Mark
`default-input-method' as customized when called interactively.
(toggle-input-method): Ditto.
Per Abrahamsen [Mon, 11 Feb 2002 16:47:55 +0000 (16:47 +0000)]
2002-02-11 Per Abrahamsen <abraham@dina.kvl.dk>
* toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
* menu-bar.el (menu-bar-mode): Ditto.
* cus-edit.el (customize-mark-to-save): Always save variables
without a standard value.
* menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
(menu-bar-options-save): Ditto.
(menu-bar-showhide-menu): Ditto.
(menu-bar-options-menu): Ditto.
(menu-bar-scroll-bar-right, menu-bar-scroll-bar-left,
menu-bar-scroll-bar-none): Removed.
(menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
expressions instead.
* cus-edit.el (customize-set-value): Return value.
(customize-set-variable): Ditto.
(customize-save-variable): Ditto.
(customize-set-variable): Load dependencies before setting value.
(custom-load-symbol): Autoload it.
(customize-mark-as-set): New function.
Pavel Janík [Mon, 11 Feb 2002 06:25:53 +0000 (06:25 +0000)]
(strokes-do-stroke, strokes-do-complex-stroke): Doc fix.
(strokes-help): Do not use doubled with-output-to-temp-buffer.
Fix the help string.
(strokes-prompt-user-save-strokes): Fix typo.
(strokes-list-strokes): Use proper exit-actionargument for
view-buffer.
Update copyright notice.
Pavel Janík [Mon, 11 Feb 2002 06:09:53 +0000 (06:09 +0000)]
Various doc and message fixes.
(non-iso-charset-alist): Add mac-roman. Don't add entries for
codepages already present.
(list-block-of-chars): Display space for null entries in
translation table. Display tab specially.
(list-non-iso-charset-chars): Check for null charsets. Use pop
for clarity. Don't break 8-bit sets into sections between ranges.
(list-charset-chars): Avoid indent-tabs-mode.
(describe-char-after): Maybe use the text property for syntax
table information. Maybe report char-code-property-table info.
Maybe report character's unicode. Tweak printing of list info.
(list-input-methods): Add xref buttons.
(dump-charsets, dump-codings): Deleted (obsolete).
From Dave Love <fx@gnu.org>.
Kim F. Storm [Sat, 9 Feb 2002 22:58:25 +0000 (22:58 +0000)]
(make_gap_smaller): Preserve BEG_UNCHANGED during gap
reduction. This fixes a display problem where stray newlines were
inserted in the window (corrected by C-l). Clarified code (IMHO).
Pavel Janík [Sat, 9 Feb 2002 13:56:42 +0000 (13:56 +0000)]
(menu-bar-options-save): Take care of line-number-mode and
column-number-mode variables.
(menu-bar-showhide-menu): New menu-items "Show Line Number" and "Show
Column Number" in "Show/Hide" menu.
Kim F. Storm [Fri, 8 Feb 2002 23:49:51 +0000 (23:49 +0000)]
(Qmode_line_inactive): New face variable for mode-line
in non-selected windows.
(realize_basic_faces): Realize it.
(syms_of_term): Intern and staticpro it.
Kim F. Storm [Fri, 8 Feb 2002 23:48:02 +0000 (23:48 +0000)]
(window_box_height): Use CURRENT_MODE_LINE_FACE_ID.
(pos_visible_p, handle_face_prop): Likewise.
(display_mode_lines): Likewise, but for the real selected window.
(init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID.