1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00
Commit graph

49027 commits

Author SHA1 Message Date
Luc Teirlinck
bc83b22ba7 *** empty log message *** 2004-01-18 01:47:10 +00:00
Luc Teirlinck
4ffff234d7 *** empty log message *** 2004-01-18 01:26:19 +00:00
Thien-Thi Nguyen
d14b04bc3c (diary-entry-time): Fix typo/bug:
Remove spurious left square bracket in XX:XXam regexp.
2004-01-17 13:48:26 +00:00
Miles Bader
7af0e8d775 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-41
Make fringe-drawing stuff compile without a window-system

* src/xdisp.c (Voverflow_newline_into_fringe)
(move_it_in_display_line_to, redisplay_internal)
(update_window_fringes, redisplay_window, display_line, window):
Add `#ifdef HAVE_WINDOW_SYSTEM' around fringe-drawing stuff, so
that it compiles without a window-system.
* src/dispnew.c (direct_output_for_insert, update_window): Likewise.
2004-01-17 03:31:26 +00:00
Luc Teirlinck
a151ecffc9 Do not require cl at run time. 2004-01-17 03:01:45 +00:00
Kim F. Storm
3c0882ae5c (x_update_window_end): Call draw_window_fringes.
(x_after_update_window_line): Just set redraw_fringe_bitmaps_p
in row instead of actually drawing fringe bitmaps.
(x_draw_fringe_bitmap): Handle bottom aligned bitmaps.
(x_draw_window_cursor): Draw cursor in fringe.
2004-01-16 18:47:40 +00:00
Kim F. Storm
88e6b646f5 (Voverflow_newline_into_fringe): New variable.
(IT_OVERFLOW_NEWLINE_INTO_FRINGE): New macro.
(move_it_in_display_line_to): Overflow newline into fringe for
rows that are exactly as wide as the window.
(up_arrow_bits, down_arrow_bits, first_line_bits, last_line_bits)
(filled_box_cursor_bits, hollow_box_cursor_bits, bar_cursor_bits)
(hbar_cursor_bits, hollow_square_bits): New fringe bitmaps.
(fringe_bitmaps): Add new bitmaps.
(draw_fringe_bitmap): Make extern.  Remove WHICH arg.
Select proper bitmap for cursor in fringe when appropriate.
Handle alignment of bitmap to top or bottom of row.
(draw_row_fringe_bitmaps): Don't select bitmaps here; that is now
done by update_window_fringes.
(update_window_fringes, draw_window_fringes): New functions.
(redisplay_internal): Call update_window_fringes in case only
cursor row is updated.
(redisplay_window): Call update_window_fringes.
Explicitly call draw_window_fringes if redisplay was done using
the current matrix or the overlay arrow is in the window.
(try_window_reusing_current_matrix): Mark scrolled rows for
fringe update (to update buffer-boundaries / scrolling icons).
(find_last_unchanged_at_beg_row): Handle exact width lines line
continued lines.
(display_line): Overflow newline into fringe for rows that are
exactly as wide as the window.  Don't append space for newline
in this case.
(notice_overwritten_cursor): Explicitly clear cursor bitmap
in fringe as if it had been overwritten.
(erase_phys_cursor): Erase cursor bitmap in fringe.
(syms_of_xdisp): Mark show-trailing-whitespace and
void-text-area-pointer as user options.
DEFVAR_LISP Voverflow_newline_into_fringe.  Enable by default.
2004-01-16 18:47:20 +00:00
Kim F. Storm
5fbcdd1927 (x_update_window_end): Call draw_window_fringes.
(x_after_update_window_line): Just set redraw_fringe_bitmaps_p
in row instead of actually drawing fringe bitmaps.
(w32_draw_fringe_bitmap): Handle bottom aligned bitmaps.
(w32_draw_window_cursor): Draw cursor in fringe.
2004-01-16 18:46:47 +00:00
Kim F. Storm
797dc7b8e2 (x_update_window_end): Call draw_window_fringes.
(x_after_update_window_line): Just set redraw_fringe_bitmaps_p
in row instead of actually drawing fringe bitmaps.
(x_draw_fringe_bitmap): Handle bottom aligned bitmaps.
(mac_draw_window_cursor): Draw cursor in fringe.
2004-01-16 18:46:29 +00:00
Kim F. Storm
60e992936a (row_equal_p, update_window_line): Compare fringe bitmaps
instead of related indicator fields.
Compare exact_window_width_line_p and cursor_in_mouse_face_p indicators.
(direct_output_for_insert): Handle exact width lines like
contined lines.  Call update_window_fringes.
(update_window): Call update_window_fringes.
(scrolling_window): Don't skip desired rows with changed bitmaps.
Check if fringe bitmaps changes when assigning scrolled rows.
2004-01-16 18:46:11 +00:00
Kim F. Storm
557c387e70 (struct glyph_row): New members left_fringe_bitmap,
right_fringe_bitmap, redraw_fringe_bitmaps_p for new fringe handling.
New members exact_window_width_line_p and cursor_in_fringe_p for
overflowing newlines into right fringe.
New members indicate_bob_p, indicate_top_line_p, indicate_eob_p,
and indicate_bottom_line_p for buffer boundaries and scrolling.
(enum fringe_bitmap_type): Add UP_ARROW_BITMAP, DOWN_ARROW_BITMAP,
FIRST_LINE_BITMAP, LAST_LINE_BITMAP, FILLED_BOX_CURSOR_BITMAP,
HOLLOW_BOX_CURSOR_BITMAP, BAR_CURSOR_BITMAP, HBAR_CURSOR_BITMAP,
and HOLLOW_SQUARE_BITMAP.
(draw_fringe_bitmap, draw_window_fringes, update_window_fringes):
Add prototypes.
2004-01-16 18:40:46 +00:00
Kim F. Storm
40b2672a79 (struct buffer): New member indicate_buffer_boundaries. 2004-01-16 18:40:33 +00:00
Kim F. Storm
8e8767f80e (init_buffer_once): Set buffer_defaults and
buffer_local_flags for indicate_buffer_boundaries.
(syms_of_buffer): Defvar_per_buffer it, and defvar_lisp_nopro
default- variable for it.
2004-01-16 18:40:22 +00:00
Kim F. Storm
77a9cf6944 Add cursor in fringe support.
Add buffer boundary and scrolling indications.
2004-01-16 18:39:56 +00:00
Richard M. Stallman
557be03634 Comment change. 2004-01-16 18:26:32 +00:00
Richard M. Stallman
a53692379f (rmail-get-new-mail): New local rsf-number-of-spam.
Call rmail-spam-filter.  Delete and expunge spam.
Print number of spam messages deleted.
Save and restore the deletion status of old messages when reading
new mail with spam filter, so that expunging spam does not expunge
msgs deleted by the user.

(rmail-only-expunge): added an optional argument dont-show to
prevent showing message after expunge.
2004-01-16 18:23:37 +00:00
Richard M. Stallman
7a21fef9ec (cl-cannot-unload): New function.
(cl-unload-hook): Defvar this to run cl-cannot-unload.
2004-01-16 18:20:00 +00:00
Jan Djärv
a633a9544b * xterm.c (handle_one_xevent): Don't handle characters that are part
of an old style (XLookupString) compose sequence.
2004-01-16 10:21:54 +00:00
Luc Teirlinck
3e7274ae13 *** empty log message *** 2004-01-16 01:48:11 +00:00
Luc Teirlinck
637692f434 Add fmakunbound' for declare'. 2004-01-16 01:13:41 +00:00
Luc Teirlinck
a6d2eef700 (declare): New macro. 2004-01-16 01:07:46 +00:00
Luc Teirlinck
40d2bb40d9 (Instrumenting Macro Calls): `declare' is not a special form. 2004-01-16 00:51:12 +00:00
Luc Teirlinck
462d9c4387 (Defining Macros): Update description of `declare', which now is a macro.
(Wrong Time): Fix typos.
2004-01-16 00:43:54 +00:00
Thien-Thi Nguyen
c1bfdd5447 (scheme-font-lock-keywords-2): Add "force". 2004-01-15 14:18:24 +00:00
Kenichi Handa
8046052576 (Freplace_match): Use make_multibyte_string or
make_unibyte_string according to the buffer multibyteness.
2004-01-15 11:31:57 +00:00
Luc Teirlinck
e75c1a57f7 (Compilation Functions): Expand descriptions of `compile-defun',
`byte-compile-file', `byte-recompile-directory' and `batch-byte-compile'.
In particular, mention and describe all optional arguments.
(Disassembly): Correct and clarify the description of `disassemble'.
2004-01-14 22:59:33 +00:00
Luc Teirlinck
944e099f43 *** empty log message *** 2004-01-14 22:52:15 +00:00
Stefan Monnier
7fc34f8550 *** empty log message *** 2004-01-14 14:40:24 +00:00
Stefan Monnier
d05b383acd (struct interval_block, struct string_block)
(struct symbol_block, struct marker_block, live_string_p)
(live_cons_p, live_symbol_p, live_float_p, live_misc_p):
Better preserve alignment for objects in blocks.
(FLOAT_BLOCK_SIZE): Adjust for possible alignment padding.
2004-01-14 14:35:23 +00:00
Stefan Monnier
2fcad71e3e (defvar_per_buffer): Remove dead declaration. 2004-01-14 14:29:48 +00:00
Stefan Monnier
cf91865fcf Update TOO_MUCH_RAM error message. 2004-01-14 14:26:41 +00:00
Stefan Monnier
eccab14434 (do_check_ram_size): Don't hardcode the lisp address space size. 2004-01-14 14:24:38 +00:00
Stefan Monnier
cf062f6b5f (mouse-wheel-down-event, mouse-wheel-up-event):
Test window-system rather than system-type (for X11/Mac).
2004-01-14 14:22:17 +00:00
Stefan Monnier
074eb6acbe Docstring fix. 2004-01-14 14:20:45 +00:00
Stefan Monnier
9b07d7346e *** empty log message *** 2004-01-13 11:59:02 +00:00
Luc Teirlinck
9a7268cf3a *** empty log message *** 2004-01-13 00:24:12 +00:00
Glenn Morris
d9acc06f0e *** empty log message *** 2004-01-13 00:22:47 +00:00
Luc Teirlinck
7618fe8e02 (compile-defun): Doc fix. 2004-01-12 23:28:29 +00:00
Luc Teirlinck
4007b34c12 *** empty log message *** 2004-01-12 23:26:55 +00:00
Richard M. Stallman
09843470aa (rmail-convert-to-babyl-format): Use mail-unquote-printable-region.
(rmail-hex-string-to-integer, rmail-decode-quoted-printable):
(rmail-hex-char-to-integer): Functions deleted.
2004-01-12 21:59:03 +00:00
Richard M. Stallman
1c81a393d5 (mail-unquote-printable-hexdigit): Upcase CHAR.
(mail-unquote-printable-region): New arg NOERROR.
For invalid encoding, either signal an error to just return nil.
2004-01-12 21:53:39 +00:00
Luc Teirlinck
bcb6b6b8b1 Various small changes in addition to the following.
(Regexp Example): Adapt to new value of `sentence-end'.
(Regexp Functions): The PAREN argument to `regexp-opt' can be `words'.
(Search and Replace): Add usage note for `perform-replace'.
(Entire Match Data): Mention INTEGERS and REUSE arguments to `match-data'.
(Standard Regexps): Update for new values of `paragraph-start' and
`sentence-end'.
2004-01-12 04:21:01 +00:00
Luc Teirlinck
90c3aa5934 *** empty log message *** 2004-01-12 04:17:38 +00:00
Jan Djärv
ecb3b438dd Lucid pop up menus stay up, dialogs closes with ESC. 2004-01-12 02:03:41 +00:00
Jan Djärv
66070bd113 * xmenu.c (popup_get_selection): Check new parameter down_on_keypress
if a key press should pop down.  Only pop down if a key is pressed
outside the menu/dialog.
(create_and_show_popup_menu): Pass 0 for down_on_keypress to
popup_get_selection.
(create_and_show_dialog): Pass 1 for down_on_keypress to
popup_get_selection.
2004-01-12 01:46:49 +00:00
Jan Djärv
244c93fe57 Changes for lucid popup menus (keyboard traversal enabled) and dialogs
(Xaw and Xm pop down on ESC).
2004-01-12 01:45:22 +00:00
Glenn Morris
0fbe422d1c *** empty log message *** 2004-01-12 01:02:18 +00:00
Glenn Morris
30e8032dfc (appt-issue-message): Mark as obsolete rather than deleting outright. 2004-01-12 00:57:00 +00:00
Glenn Morris
21dcb70922 *** empty log message *** 2004-01-11 22:28:18 +00:00
Glenn Morris
cfd8fe0138 Update Appointments section. 2004-01-11 22:27:38 +00:00