Stefan Monnier [Tue, 14 May 2002 03:04:31 +0000 (03:04 +0000)]
(keymap_parent): New fun, extracted from Fkeymap_parent.
(Fkeymap_parent, keymap_memberp, fix_submap_inheritance): Use it.
(Fset_keymap_parent): Gcpro a bit more.
(access_keymap): Gcpro around meta_map call and around the main loop.
(get_keyelt): Gcpro when following indirect references.
(copy_keymap_item): New fun, extracted from Fcopy_keymap.
(copy_keymap_1, Fcopy_keymap): Use it. Don't copy the parent map.
(Fdefine_key, Flookup_key): Gcpro before calling get_keymap.
Remove useless ad-hoc remap code.
Kim F. Storm [Mon, 13 May 2002 20:35:30 +0000 (20:35 +0000)]
(cua-enable-cursor-indications): Default off.
(cua-mode): Print Enabled/Disabled messages if interactive.
Disable delete-selection-mode and pc-selection-mode when cua-mode
is enabled; reenable if cua-mode is turned off.
Remember setting of transient-mark-mode when cua-mode is enabled;
restore if cua-mode is disabled.
Glenn Morris [Sun, 12 May 2002 13:31:31 +0000 (13:31 +0000)]
(fortran-preprocessor-re): New variable. Use it for font-locking.
(fortran-previous-statement, fortran-next-statement): Make them skip over
preprocessor lines as they do with comment lines.
(fortran-calculate-indent): Use fortran-preprocessor-re.
Eli Zaretskii [Sat, 11 May 2002 21:33:13 +0000 (21:33 +0000)]
(decode_coding) <coding_type_ccl>: If a lone CR
characters is carried over from the previous block of text, adjust
coding->produced to account for the extra character.
Kim F. Storm [Fri, 10 May 2002 23:57:14 +0000 (23:57 +0000)]
(current_minor_maps): Fixed resizing of cmm_maps;
only update cmm_size if realloc actually succeeds.
Testing with initial size of 2 elements revealed that using
realloc on GNU/Linux would cause a random trap in xmalloc
later on, so I rewrote the code to use malloc/bcopy/free instead
of realloc.
Eli Zaretskii [Fri, 10 May 2002 09:42:49 +0000 (09:42 +0000)]
(menu-bar-showhide-scroll-bar-menu)
(menu-bar-showhide-menu): Use display-graphic-p, not
widnow-system.
(menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
Run a named function.
(showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
(menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
Fix help text.
Kim F. Storm [Fri, 10 May 2002 07:03:20 +0000 (07:03 +0000)]
(Vemulation_mode_map_alists): New variable.
(syms_of_keymap): DEFVAR_LISP it.
(current_minor_maps): Process keymap alists in that list before
minor-mode-overriding-map-alist and minor-mode-map-alist.
Markus Rost [Wed, 8 May 2002 15:54:59 +0000 (15:54 +0000)]
(filesets-conditional-sort): Use copy-sequence, not copy-list.
(filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
Defvar them to nil if running in Emacs.
Colin Walters [Wed, 8 May 2002 03:53:19 +0000 (03:53 +0000)]
(occur-unfontify-region-function): Delete.
(occur-mode): Don't use it.
(occur-engine): Respect `keep-props'.
(occur-accumulate-lines): If we're moving forward, decrement; don't
increment, and vice versa.
Kenichi Handa [Wed, 8 May 2002 01:50:08 +0000 (01:50 +0000)]
(tibetan-canonicalize-for-unicode-alist)
(tibetan-canonicalize-for-unicode-regexp): New variables.
(tibetan-canonicalize-for-unicode-region): New function.
(tibetan-strict-unicode): New variable.
(tibetan-pre-write-canonicalize-for-unicode): New function.
Colin Walters [Tue, 7 May 2002 08:11:41 +0000 (08:11 +0000)]
(ibuffer-mode-map): Bind it. Add :enable guard around
`ibuffer-filters-to-filter-group' menu item. Fix :enable guards for
`ibuffer-pop-filter-group' and `ibuffer-clear-filter-groups'.
(toplevel): Specialize `ibuffer-mode-groups-popup' menu items.
Eli Zaretskii [Tue, 7 May 2002 05:46:35 +0000 (05:46 +0000)]
(lisp_data_to_selection_data): Don't set selection
type if comes from the Lisp object's car. If the selection
contains a pure ASCII text, always return QSTRING as its type.
Pavel Janík [Tue, 7 May 2002 05:22:48 +0000 (05:22 +0000)]
(make_drawing_gcs): The scaling factor passed to
`x_alloc_lighter_color_for_widget' is a float, not an int, and it's
a multiplicative factor, so the name `delta' is inaccurate. Always base
disabled foreground on the normal foreground. Don't use the temporary
variable `temp'.