Kim F. Storm [Mon, 8 Nov 2004 23:34:12 +0000 (23:34 +0000)]
(update_window_fringes): Update fringe bitmaps if
cur and row ends_at_zv_p differs. If bitmaps of a row is updated,
also update previous row to get rid of misc. artifacts.
Nick Roberts [Mon, 8 Nov 2004 21:16:33 +0000 (21:16 +0000)]
(gdb-current-stack-level): New variable.
(gdb-info-frames-custom, gdb-frame-handler): Use it to find
current frame (in case of recursive calls).
(gdb-show-changed-values): Add :version keyword.
(next-error group, face): Move before first use.
(next-error-highlight, next-error-highlight-no-select): Likewise.
(line-move-invisible-p): Renamed from line-move-invisible.
(line-move): New args NOERROR and TO-END.
Return t if if succeed in moving specified number of lines.
(move-end-of-line): New function.
(beginning-of-buffer-other-window, end-of-buffer-other-window):
Use with-no-warnings.
Eli Zaretskii [Mon, 8 Nov 2004 13:56:55 +0000 (13:56 +0000)]
(mostlyclean, distclean, maintainer-clean)
(extraclean, bootfast): New targets.
(top_distclean): New macro, used by distclean, maintainer-clean,
and extraclean.
(.PHONY): Add bootfast.
(bootstrap): Make bootstrap-after in lisp.
(bootstrap-clean-before): Clean in man, lispref, and lispintro as
well.
Kenichi Handa [Mon, 8 Nov 2004 00:38:48 +0000 (00:38 +0000)]
(fontset_pattern_regexp): Cancel my previous change;
don't pay attention to '\' before '*'.
(fontset_pattern_regexp): Change the meaning of the second arg.
(Fnew_fontset): Call fs_query_fontset, not Fquery_fontset.
(check_fontset_name): Try NAME as literal at first, and if it
failes, try NAME as pattern.
Kim F. Storm [Sun, 7 Nov 2004 23:27:18 +0000 (23:27 +0000)]
(bootstrap, bootstrap-clean-before): Remove .elc
files before building.
(bootfast, bootstrap-clean-before-fast): New targets, like
bootstrap but don't remove .elc files.
Juri Linkov [Sun, 7 Nov 2004 20:52:51 +0000 (20:52 +0000)]
(info-lookup): Allow reusing in the current buffer
not only *info* buffer, but all (even renamed) Info buffers
by checking for major-mode instead of *info* buffer name.
(c-mode, autoconf-mode, emacs-lisp-mode, scheme-mode)
(octave-mode, maxima-mode) <doc-spec>:
Allow long dashes generated by Texinfo 4.7 before definitions.
(texinfo-mode) <doc-spec>: Add space to suffix to find command
definitions with argument separated by space.
Jan Djärv [Sun, 7 Nov 2004 09:13:26 +0000 (09:13 +0000)]
* dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs in
comparisons with integers instead of Lisp_Object address.
(Fmsdos_set_keyboard): Declare argument allkeys.
* msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s.
* dired.c: extern declare Fmsdos_downcase_filename on MSDOS to avoid
int/Lisp_Object mixup.
(idlwave-shell-examine-map): Move up before first use.
(idlwave-shell-temp-pro-file): Likewise.
(idlwave-shell-temp-rinfo-save-file): Likewise.
(idlwave-shell-temp-file): Minor doc fix.
Eli Zaretskii [Sat, 6 Nov 2004 16:17:45 +0000 (16:17 +0000)]
(install, maintainer-clean): Don't use "elisp-*" as it nukes elisp-cover.texi.
(dist): Change elisp-[0-9] to elisp-[1-9], as there could be no elisp-0 etc.
Stefan Monnier [Sat, 6 Nov 2004 10:01:56 +0000 (10:01 +0000)]
(easy-menu-get-map-look-for-name): Remove.
(easy-menu-lookup-name): New fun to replace it.
(easy-menu-get-map): Use it to obey menu item names (rather than just
keys) when looking up `path'.
(easy-menu-always-true-p): Rename from easy-menu-always-true.
(easy-menu-convert-item-1): Adjust to new name.
Kim F. Storm [Fri, 5 Nov 2004 11:30:44 +0000 (11:30 +0000)]
* xterm.c (handle_one_xevent): Don't queue X selection events
here, it may be too late if we start queuing after we have already
stored some selection events into the kbd buffer.
(struct selection_event_queue, queue, x_queue_selection_requests)
(x_queue_event, x_unqueue_events, x_start_queuing_selection_requests)
(x_stop_queuing_selection_requests): Remove/move to xselect.c.
(x_catch_errors_unwind): Block input around final XSync.
Kim F. Storm [Fri, 5 Nov 2004 11:30:31 +0000 (11:30 +0000)]
* xselect.c (struct selection_event_queue, selection_queue)
(x_queue_selection_requests, x_queue_event)
(x_start_queuing_selection_requests)
(x_stop_queuing_selection_requests): Add new queue for selection
input events to replace previous XEvent queue in xterm.c.
(queue_selection_requests_unwind): Adapt to new queue.
(x_reply_selection_request): Adapt to new queue. Unexpect
wait_object in case of x errors (memory leak).
(x_handle_selection_request, x_handle_selection_clear): Make static.
(x_handle_selection_event): New function. May queue selection events.
(wait_for_property_change_unwind): Use save_value instead of cons.
Clear property_change_reply_object.
(wait_for_property_change): Abort if already waiting.
Use save_value instead of cons for unwind data.
(x_handle_property_notify): Skip events already arrived, but don't
free them, as "arrived" field is checked by wait_for_property_change,
and it will be freed by unwind or explicit unexpect_property_change.
(x_get_foreign_selection): Add to new queue.
(receive_incremental_selection): Don't unexpect wait_object when done
as it has already been freed by previous wait_for_property_change.
Kim F. Storm [Fri, 5 Nov 2004 11:30:01 +0000 (11:30 +0000)]
(kbd_buffer_store_event_hold): Remove obsolete code.
(kbd_buffer_unget_event): New function.
(kbd_buffer_get_event, swallow_events): Combine SELECTION events
and use x_handle_selection_event.
(mark_kboards): Don't mark x and y of SELECTION_CLEAR_EVENT.
Jan Djärv [Fri, 5 Nov 2004 07:05:13 +0000 (07:05 +0000)]
* xselect.c (TRACE3): New debug macro.
(x_reply_selection_request): Use it.
(receive_incremental_selection): In call to TRACE0, the name of
a symbol is in xname.