1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-22 10:26:20 +00:00
Commit Graph

49284 Commits

Author SHA1 Message Date
Luc Teirlinck
6827d7308d *** empty log message *** 2004-02-12 01:53:51 +00:00
Luc Teirlinck
5410f047b3 (lisp-mode-variables): Adapt outline-regexp to the new conventions for
commenting out code.
2004-02-12 01:50:46 +00:00
Stefan Monnier
5fe502289c (cvs-menu): Add `tag'. 2004-02-11 20:01:12 +00:00
John Paul Wallington
1cdb6ab4a7 (smtpmail-try-auth-methods): Fix typo. 2004-02-11 07:21:09 +00:00
Stefan Monnier
540d066630 Don't use compile any more, use diff-mode instead.
(diff-regexp-alist, diff-old-file, diff-new-file)
(diff-parse-differences, diff-process-setup): Remove.
(diff-sentinel): New fun.
(diff): Use it.  Run the process ourselves.
Use diff-mode for the rest of the processing.
2004-02-11 06:06:24 +00:00
Stefan Monnier
17c91d7900 (diff): Simplify code handling `switch'. 2004-02-11 06:01:50 +00:00
Stefan Monnier
ef5c80252f (diff): Add a revert-buffer function. 2004-02-10 21:59:19 +00:00
Stefan Monnier
4c11f6a8f2 (diff-switches): New fun.
(diff, diff-backup): Use it.
(diff): Clean up the args construction.  Use backquote.
Use listp instead of consp to avoid putting a nil arg.
2004-02-10 21:37:35 +00:00
Jan Djärv
b9aafad504 x-dnd.el: Add COMPOUND_TEXT, handle FILE_NAME correctly, add Motif (CDE)
protocol.
2004-02-10 17:27:26 +00:00
Jan Djärv
706c1e4f43 * xselect.c (x_get_foreign_selection): Add new optional parameter
time_stamp.
(Fx_get_selection_internal): Ditto, pass time_stamp to
x_get_foreign_selection.

* data.c (Fbyteorder): New function.
2004-02-10 17:20:15 +00:00
Jan Djärv
3a42401d9d * xselect.c (x_get_foreign_selection): Add new optional parameter
time_stamp.
(Fx_get_selection_internal): Ditto, pass time_stamp to
x_get_foreign_selection.
2004-02-10 17:19:14 +00:00
Jan Djärv
d4be0d3140 * data.c (Fbyteorder): New function. 2004-02-10 17:18:34 +00:00
Jan Djärv
c2d12b5d17 Move include stdio for some files. 2004-02-10 17:14:51 +00:00
Kim F. Storm
a510f26946 Add fringe.o to OBJ1. 2004-02-10 16:32:07 +00:00
Kenichi Handa
3638f0e08f *** empty log message *** 2004-02-10 03:58:37 +00:00
Kenichi Handa
b040ac646b (x-select-utf8-or-ctext): Use compare-strings instead of while loop. 2004-02-10 03:52:37 +00:00
Miles Bader
4d449b11a0 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-84
Add lisp/emacs-lisp/macroexp.el
2004-02-10 01:52:31 +00:00
Luc Teirlinck
68e4cc5703 Set CDPATH to an empty string. 2004-02-09 23:22:28 +00:00
Sam Steingold
4c1947b96e (w32_draw_fringe_bitmap): Fixed a typo in the last patch. 2004-02-09 18:49:44 +00:00
Jan Djärv
5890e9f7ac Move include stdio.h to same place as in other files. 2004-02-09 15:39:49 +00:00
Miles Bader
429e7e2d69 Resolve CVS conflicts 2004-02-09 12:42:04 +00:00
Kim F. Storm
41840482b0 (mac_draw_bitmap): Add overlay_p arg.
(x_draw_fringe_bitmap):  Handle overlayed fringe bitmaps;
thanks to YAMAMOTO Mitsuharu for advice on how to do this.
Use cursor color for displaying cursor in fringe.
2004-02-09 09:18:17 +00:00
Kim F. Storm
a3993cc86e *** empty log message *** 2004-02-09 09:17:22 +00:00
Kenichi Handa
f73145c173 (tar-extract): Fix for the case that a file doesn't have end-of-line. 2004-02-09 05:48:42 +00:00
Stefan Monnier
fc4d69e139 (window-safely-shrinkable-p): Don't change the buffer-list.
Don't allow shrink if there's a window on our right.
2004-02-09 00:56:25 +00:00
Martin Stjernholm
7fefaee7c9 Added extra dependencies in the recompile target needed to cope with
the compile time macro expansions in CC Mode.
2004-02-09 00:49:54 +00:00
Stefan Monnier
6cfd4f3ad9 (prolog-program-name): Use gprolog if available.
(prolog-mode-syntax-table, prolog-mode-abbrev-table, prolog-mode-map):
Bring together declaration and initialization.
(prolog-mode-variables): Don't set the syntax table.
Don't set paragraph-start and comment-indent-function.
Add /*..*/ to the comment regexps.
(prolog-mode-commands): Remove.  Do it during init of prolog-mode-map.
(prolog-mode-map): Don't bind TAB.
(prolog-mode): Set the syntax table.
(prolog-comment-indent): Remove.
(inferior-prolog-mode-map): Initialize in the declaration.
(inferior-prolog-mode-syntax-table)
(inferior-prolog-mode-abbrev-table): New vars.
(inferior-prolog-mode): Derive from comint-mode.
(run-prolog): Avoid switch-to-buffer which can fail in dedicated and
minibuffer windows.
2004-02-08 23:37:11 +00:00
Kim F. Storm
c3c6c23cc6 (no-fringe-bitmap, undef-fringe-bitmap)
(left-truncation-fringe-bitmap, right-truncation-fringe-bitmap)
(up-arrow-fringe-bitmap, down-arrow-fringe-bitmap)
(continued-line-fringe-bitmap, continuation-line-fringe-bitmap)
(overlay-arrow-fringe-bitmap, top-left-angle-fringe-bitmap)
(top-right-angle-fringe-bitmap, bottom-left-angle-fringe-bitmap)
(bottom-right-angle-fringe-bitmap, left-bracket-fringe-bitmap)
(right-bracket-fringe-bitmap, filled-box-cursor-fringe-bitmap)
(hollow-box-cursor-fringe-bitmap, hollow-square-fringe-bitmap)
(bar-cursor-fringe-bitmap, hbar-cursor-fringe-bitmap)
(empty-line-fringe-bitmap): Define standard fringe bitmaps id's.
2004-02-08 23:33:16 +00:00
Kim F. Storm
82722af355 *** empty log message *** 2004-02-08 23:32:37 +00:00
Kim F. Storm
fe1a14c1eb (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps.
Use cursor color for displaying cursor in fringe.
(x_redisplay_interface): Add null handlers for
define_fringe_bitmap and destroy_fringe_bitmap functions.
2004-02-08 23:21:19 +00:00
Kim F. Storm
6d9257263e (Voverflow_newline_into_fringe, syms_of_xdisp)
(left_bits, right_bits, up_arrow_bits, down_arrow_bits)
(continued_bits, continuation_bits, ov_bits, first_line_bits)
(last_line_bits, filled_box_cursor_bits, hollow_box_cursor_bits)
(bar_cursor_bits, hbar_cursor_bits, zv_bits, hollow_square_bits)
(fringe_bitmaps, draw_fringe_bitmap, draw_row_fringe_bitmaps)
(draw_window_fringes, compute_fringe_widths, update_window_fringes):
Move fringe handling vars and code to new file fringe.c.
(handle_display_prop): Handle left-fringe and right-fringe
display properties; store user fringe bitmaps in iterator.
(move_it_in_display_line_to): Handle cursor in fringe at eob.
(clear_garbaged_frames): Set force_flush_display_p if resized.
(redisplay_window): Redraw fringe bitmaps if not just_this_one_p.
(display_line): Handle cursor in fringe at eob.
(display_line): Set row user fringe bitmaps from iterator.
2004-02-08 23:20:52 +00:00
Kim F. Storm
4fa0780f70 (w32_draw_fringe_bitmap): Copy unadapted code from
xterm.c to handle overlayed fringe bitmaps and to use cursor color
for displaying cursor in fringe.
(w32_define_fringe_bitmap, w32_destroy_fringe_bitmap): New W32
specific functions to define and destroy fringe bitmaps in fringe_bmp.
(w32_redisplay_interface): Add them to redisplay_interface.
(w32_term_init): Call w32_init_fringe instead of explicitly
defining fringe bitmaps in fringe_bmp array.
(x_delete_display): Call w32_reset_fringes instead of explicitly
destroying fringe bitmaps in fringe_bmp array.
2004-02-08 23:20:23 +00:00
Kim F. Storm
288670f579 (x_draw_fringe_bitmap): Copy unadapted code from
xterm.c to handle overlayed fringe bitmaps and to use cursor color
for displaying cursor in fringe.
(x_redisplay_interface): Add null handlers for
define_fringe_bitmap and destroy_fringe_bitmap functions.
2004-02-08 23:20:10 +00:00
Kim F. Storm
d5653b7876 (syms_of_fringe, init_fringe, init_fringe_once):
Add prototypes.
2004-02-08 23:19:48 +00:00
Kim F. Storm
21fb8f5690 (struct frame): New member force_flush_display_p. 2004-02-08 23:19:37 +00:00
Kim F. Storm
0fc4c63e47 (main) [HAVE_WINDOW_SYSTEM]: Call init_fringe_once,
syms_of_fringe, and init_fringe.
2004-02-08 23:19:25 +00:00
Kim F. Storm
5cbd733a77 (row_equal_p): Compare fringe bitmap faces and overlay
arrows.
(update_frame): Do flush_display if force_flush_display_p to
ensure display (specifically fringes) are updated in a timely
manner when resizing the frame by dragging the mouse.
(update_window_line): Update row if overlay arrow changed.
(scrolling_window): Redraw fringe bitmaps if fringe bitmap faces
or overlay arrow changed.
2004-02-08 23:19:15 +00:00
Kim F. Storm
2251a6f2b7 (FRINGE_ID_BITS): New definition for number of
bits allocated to hold a fringe number.  Increase number of bits
from 4 to 8 to allow user defined fringe bitmaps.
(struct glyph_row, struct it): New members left_user_fringe_bitmap,
left_user_fringe_face_id, right_user_fringe_bitmap,
right_user_fringe_face_id.
(enum fringe_bitmap_type, struct fringe_bitmap, fringe_bitmaps):
Move to new file fringe.c.
(MAX_FRINGE_BITMAPS): Define here.
(struct draw_fringe_bitmap_params): New members bits, cursor_p,
and overlay_p.  Change member which to int.
(struct redisplay_interface): New members define_fringe_bitmap
and destroy_fringe_bitmap.
(valid_fringe_bitmap_id_p): Add prototype.
(w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: Add prototypes.
2004-02-08 23:18:36 +00:00
Kim F. Storm
2d05deefc7 New file. Move original fringe related declarations
and code from dispextern.h and xdisp.c here.
Rework code to support user defined fringe bitmaps, redefining
standard bitmaps, ability to overlay user defined bitmap with
overlay arrow bitmap, and add faces to bitmaps.
(Voverflow_newline_into_fringe): Declare here.
(enum fringe_bitmap_align): New enum.
(..._bits): All bitmaps are now defined without bitswapping; that
is now done in init_fringe_once (if necessary).
(standard_bitmaps): New array with specifications for the
standard fringe bitmaps.
(fringe_faces): New array.
(valid_fringe_bitmap_id_p): New function.
(draw_fringe_bitmap_1): Rename from draw_fringe_bitmap.
(draw_fringe_bitmap): New function which draws fringe bitmap,
possibly overlaying bitmap with cursor in right fringe or the
overlay arrow in the left fringe.
(update_window_fringes): Do not handle overlay arrow here.
Compare and copy fringe bitmap faces.
(init_fringe_bitmap): New function.
(Fdefine_fringe_bitmap, Fdestroy_fringe_bitmap): New DEFUNs to
define and destroy user defined fringe bitmaps.
(Fset_fringe_bitmap_face): New DEFUN to set face for a fringe bitmap.
(Ffringe_bitmaps_at_pos): New DEFUN to read current fringe bitmaps.
(syms_of_fringe): New function.  Defsubr new DEFUNs.
DEFVAR_LISP Voverflow_newline_into_fringe.
(init_fringe_once, init_fringe): New functions.
(w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: New functions.
2004-02-08 23:18:16 +00:00
Kim F. Storm
0c4dd03b93 (obj): Add fringe.o.
(fringe.o): New dependencies.
2004-02-08 23:17:23 +00:00
Andreas Schwab
e1dc18db5b *** empty log message *** 2004-02-08 22:45:30 +00:00
Andreas Schwab
95d837b240 (gnus-summary-increase-score): Fix format string. 2004-02-08 22:45:11 +00:00
Andreas Schwab
557bc6f37b (nnlistserv-kk-wash-article): Fix paren nesting. 2004-02-08 22:44:43 +00:00
Andreas Schwab
2df5044f34 (with-vc-file): Fix unsafe uses of error.
(vc-cancel-version): Likewise.
2004-02-08 22:42:42 +00:00
Andreas Schwab
c971696d04 (defstruct): Remove extra format string
argument.
(cl-struct-setf-expander): Likewise.
2004-02-08 22:41:39 +00:00
Andreas Schwab
0b762d9a53 (ex-mark): Remove extra format string
argument.
2004-02-08 22:41:18 +00:00
Andreas Schwab
7f076e0828 (eshell-hist-word-reference): Fix format
string.
2004-02-08 22:40:55 +00:00
Andreas Schwab
db22de71ec (eshell-send-invisible): Fix format string. 2004-02-08 22:40:35 +00:00
Andreas Schwab
79cd7893f4 (calc-do-prefix-help): Remove extra format
string argument.
2004-02-08 22:40:16 +00:00
Andreas Schwab
1e9a52a584 (calc-convert-time-zones): Fix format string. 2004-02-08 22:39:49 +00:00