Pavel Janík [Wed, 24 Apr 2002 13:18:27 +0000 (13:18 +0000)]
(x-select-text, x-cut-buffer-or-selection-value): Check if any of the
available selection sources has new content and if so it will return that
content.
(c-mask-comment): More fixes when used from `c-do-auto-fill' and point
is at or near the limit of the comment. Fixed bug when the prefix
from `c-guess-fill-prefix' is longer than the text on the first line
of the comment when it's masked.
Colin Walters [Tue, 23 Apr 2002 20:34:58 +0000 (20:34 +0000)]
(toplevel): Require `cl' while compiling.
(occur-buffer, occur-nlines): Delete.
(occur-revert-properties): Rename to `occur-revert-properties'.
(occur-mode): Handle it. Set up font lock.
(occur-revert-function): Simply apply `occur-1'.
(occur-mode-find-occurence, occur-mode-mouse-goto)
(occur-mode-goto-occurrence-other-window)
(occur-mode-display-occurrence): Handle buffer property.
(list-matching-lines-face): Use defcustom.
(list-matching-lines-buffer-name-face): New variable.
(occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
in ibuffer.el.
(occur-read-primary-args): Move out of `occur'.
(occur): Delete. Now simply call `occur-1'.
(multi-occur, multi-occur-by-filename-regexp): New functions.
(occur-1): New function.
(occur-engine): Renamed from `ibuffer-occur-engine' to replace the
previous implementation of `occur'; taken from ibuf-ext.el.
(occur-fontify-on-property): New function.
(occur-fontify-region-function, occur-unfontify-region-function):
New functions.
Miles Bader [Tue, 23 Apr 2002 14:33:02 +0000 (14:33 +0000)]
(menu-bar-update-buffers-1): Don't display a directory separator if
there's no directory. Don't display directories at all if uniquify is
active. Some code cleanup.
(uniquify-buffer-name-style): Declare (but don't initialize).
(x_draw_hollow_cursor, x_draw_bar_cursor)
(x_draw_phys_cursor_glyph): Set phys_cursor_width here.
(x_display_and_set_cursor): Don't set phys_cursor_width here for
bar cursors only, to make phys_cursor_width contain what its name
suggests.
(notice_overwritten_cursor): Consider the cursor image erased if
the output area intersects the cursor image in y-direction.
Andreas Schwab [Tue, 23 Apr 2002 09:52:54 +0000 (09:52 +0000)]
(MAINT): New variable.
(${srcdir}/configure, $(srcdir)/src/stamp-h.in): Depend on this
instead of configure.in, to avoid running autoconf and autoheader
unless explicitly requested.
Miles Bader [Tue, 23 Apr 2002 08:36:35 +0000 (08:36 +0000)]
(menu-bar-update-buffers): Don't use constant lists for command menu
entries, since the low-level menu code modifies them. Cache the
resulting list.
(menu-bar-buffers-menu-command-entries): New variable.
Miles Bader [Tue, 23 Apr 2002 05:02:14 +0000 (05:02 +0000)]
(menu-bar-update-buffers): Add `Select Named Buffer'.
Add separator line before commands
Remove old crufty code that tried to line things up by adding
spaces to entries (it doesn't work).
Move `Frames' submenu after the normal buffers, and add a
separator line before it.
(menu-bar-buffers-menu-list-buffers-entry): Variable removed.
(line-move-finish): Find beg and end of line
before calling line-move-to-column. Do consider intangible
when finding the end. Take more care in analyzing the results
of intangibility after line-move-to-column.
(c-mask-comment): Fixed bug where point was moved to the following line when
it was at the first line of a block comment where comment-start-skip matched
to eol.
(last_node): Make it a global variable.
(process_file): Print the tags from the nodes as soon as
possible, and delete the nodes. This brings down the memory
occupancy as etags to almost the same level as when the #line
directives were not parsed.
(free_fdesc): New function.
(find_entries): Use it.
(invalidate_nodes): In etags mode, do not just mark the nodes as
invalid, do delete them.
(scroll-all-page-down-all, scroll-all-page-up-all): Ignore the error if one
of the other windows being scrolled reaches the end/start of its buffer.
(scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all): New
functions to track `beginning-of-buffer' and `end-of-buffer'.
(auto-save-file-name-transforms): Doc string addition - no effect for
MS-DOS systems without long file names. Add third element for uniquifying
filenames.
(make-auto-save-file-name): Make a unique filename if indicated by
new element of auto-save-file-name-transforms.
Pavel Janík [Sat, 20 Apr 2002 13:39:57 +0000 (13:39 +0000)]
(find_next_selectable): New function.
(Down, Up, Right): Use it.
(find_next_selectable): Prevent endless loops when only one item is enabled
in the menu.
Pavel Janík [Fri, 19 Apr 2002 18:59:02 +0000 (18:59 +0000)]
(note_mode_line_or_margin_highlight): Remove unused variables `row', `i'
and `area'.
(XTread_socket) <KeyPress>: Pass KeyPress events when in menu to toolkit
library.
Pavel Janík [Fri, 19 Apr 2002 18:56:51 +0000 (18:56 +0000)]
(xlwMenuTranslations, xlwMenuActionsList): Add translations for cursor keys
and RET.
(find_next_selectable, find_prev_selectable): New functions used for
finding menu-items.
(Down, Up, Left, Right): New functions.
Stefan Monnier [Fri, 19 Apr 2002 18:38:16 +0000 (18:38 +0000)]
(clear_font_table): Don't free the default font of
a frame even if it's on another display.
(Finternal_set_lisp_face_attribute): Don't use XFRAME on something
that could be Qt.
Eli Zaretskii [Fri, 19 Apr 2002 12:22:13 +0000 (12:22 +0000)]
Update maintainer.
(f90-line-continued): Recognize blank/comment lines embedded in
continuation lines.
(f90-looking-at-program-block-start): No extra indentation after
function or subroutine keyword appears in single quotes.