Jason Rumney [Sat, 18 May 2002 15:30:47 +0000 (15:30 +0000)]
(w32_create_pixmap_from_bitmap_data): New function.
(xbm_load_image): Use it.
(xbm_load): Ditto.
(xbm_read_bitmap_data): Reverted to xfns.c version.
From David Ponce <dponce@voila.fr>.
Pavel Janík [Sat, 18 May 2002 08:05:54 +0000 (08:05 +0000)]
(forms-jump-record, forms-insert-record, forms-delete-record): Calculate
lines from the beginning of the accessible portion rather than from the
beginning of the buffer.
Eli Zaretskii [Fri, 17 May 2002 14:09:39 +0000 (14:09 +0000)]
(eval-and-compile): Add a trivial replacement for a
possibly missing encode-char.
(ps-mule-font-info-database-bdf): Add associations for Unicode
fonts. Doc fix.
(ps-mule-font-info-database-ps-bdf): Doc fix.
(ps-mule-encode-ucs2): New function for encoding Unicode characters.
Stefan Monnier [Thu, 16 May 2002 20:11:23 +0000 (20:11 +0000)]
(find-function-search-for-symbol): Find funs defined with defun-cvs-mode.
(find-function-space-re): New const. Skips comments as well.
(find-function-regexp, find-variable-regexp): Use it.
Kim F. Storm [Tue, 14 May 2002 20:30:55 +0000 (20:30 +0000)]
Improved commentary.
(keypad-setup, keypad-shifted-setup): Added choice to setup
Numeric keypad with decimal key; value is selected character.
(keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
(keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
(keypad-setup): Arg list changed to support the new options.
(dabbrev-case-distinction): New option.
(dabbrev--try-find): Handle dabbrev-case-distinction.
(dabbrev--search): Clean up the code.
(dabbrev-upcase-means-case-search): Doc fix.
(dabbrev-case-replace): Fix custom tags and docs.
Stefan Monnier [Tue, 14 May 2002 14:14:11 +0000 (14:14 +0000)]
(skeleton-transformation): Default to `identity'.
(skeleton-insert): Use `move-after' markers and `insert' rather
than rely on insert-before-markers.
(skeleton-internal-1): Handle `> \n' specially so that the newline
is inserted before the first line is indented.
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.