1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 12:40:49 -08:00
Commit graph

17802 commits

Author SHA1 Message Date
Luc Teirlinck
eb99610125 *** empty log message *** 2004-01-31 04:41:35 +00:00
Luc Teirlinck
238aedc973 (Fread_file_name_internal): Correctly handle the case where
insert-default-directory is nil.
(Fread_file_name): Always return an empty string if the user exits
with an empty minibuffer.  Adapt the docstring accordingly.
(syms_of_fileio): Adapt the docstring of insert-default-directory to
the change in Fread_file_name.
2004-01-31 04:24:23 +00:00
Eli Zaretskii
a0367d423d Fix the prototype for xfree. 2004-01-30 17:12:40 +00:00
Kenichi Handa
13f52ed814 (string_char_to_byte): Optimize for ASCII only string.
(string_byte_to_char): Likewise.
2004-01-29 02:54:22 +00:00
Jason Rumney
d57625a021 *** empty log message *** 2004-01-28 23:33:32 +00:00
Jason Rumney
39a0e1353f * makefile.w32-in, w32fns.c: Add `default-printer-name' function. 2004-01-28 23:31:03 +00:00
Steven Tamm
911c78b4aa unexecmacos.x (unexec_copy): Do not copy more than was requested (count)
to prevent overwriting during unexec.
2004-01-28 06:07:36 +00:00
Jan Djärv
ce38070aa2 * process.c (sigchld_handler): Add comment about not calling malloc 2004-01-27 21:34:43 +00:00
Jan Djärv
eb37b8fd09 * process.h: Add extern to synch_process_termsig. 2004-01-27 09:40:23 +00:00
Steven Tamm
21a3e65787 Move setting of scroll bars from make_mac_frame to
make_mac_terminal_frame to prevent clobbering of
scroll-bar-mode.
2004-01-27 07:32:41 +00:00
Richard M. Stallman
d62a265d18 *** empty log message *** 2004-01-27 04:57:18 +00:00
Richard M. Stallman
5fbbc83b2b (Freplace_match): Handle nonexistent back-references properly. 2004-01-27 04:52:09 +00:00
Jan Djärv
ff23641911 Do not call strsignal in signal handler, it calls malloc.
New variable synch_process_termsig that callproc checks and calls
strsignal outside signal handler.
2004-01-26 23:41:09 +00:00
Jan Djärv
6b0824c950 (mkdir, rmdir): Also check synch_process_termsig. 2004-01-26 23:40:08 +00:00
Jan Djärv
b0c681e2ef synch_process_termsig new variable. 2004-01-26 23:39:50 +00:00
Jan Djärv
c22aeff8e8 (sigchld_handler): Set synch_process_termsig
if terminated by a signal.  synch_process_death setting removed.
2004-01-26 23:39:30 +00:00
Jan Djärv
ca4981285f Define synch_process_termsig.
(Fcall_process): Initiate synch_process_termsig to zero and
check if non-zero and get signal name after subprocess has ended.
2004-01-26 23:39:08 +00:00
Andreas Schwab
41b867eace (Fpurecopy): Declare size as EMACS_INT to not lose bits. 2004-01-26 11:54:36 +00:00
Andreas Schwab
3164abe6d1 (print_preprocess): Declare size as EMACS_INT to not lose bits.
(print_object): Likewise.
2004-01-26 11:53:59 +00:00
Luc Teirlinck
29a831f8ba (Fwindow_minibuffer_p): Doc fix. 2004-01-26 03:27:33 +00:00
Luc Teirlinck
a08084fff1 *** empty log message *** 2004-01-26 03:25:37 +00:00
Jonathan Yavner
b19ac4751a *** empty log message *** 2004-01-24 17:40:21 +00:00
Jonathan Yavner
728345f8b1 For `format', make source and documentation match. 2004-01-24 17:39:47 +00:00
Kenichi Handa
fe905025d0 (Fmd5): If OBJECT is a buffer different from the current
one, set buffer to OBJECT temporarily.
2004-01-23 00:14:48 +00:00
Stefan Monnier
455316e213 *** empty log message *** 2004-01-22 15:28:25 +00:00
Stefan Monnier
d92f48d3ab (kbd_buffer_gcpro): Remove.
(kbd_buffer_store_event, clear_event, Fdiscard_input)
(stuff_buffered_input, init_keyboard, syms_of_keyboard):
Don't intitialize and/or maintain the variable any more.  It was made
redundant by my commit of 2003-06-15.
2004-01-21 20:19:41 +00:00
Stefan Monnier
438fc6c0c0 *** empty log message *** 2004-01-21 19:36:00 +00:00
Stefan Monnier
1b35bdf447 [USE_LSB_TAG && !DECL_ALIGN]: Signal an error. 2004-01-21 19:32:49 +00:00
Jan Djärv
5335a4eeb8 lisp.h: Add undef DECL_ALIGN 2004-01-21 15:30:28 +00:00
Stefan Monnier
371b1542e5 Add .gdb_history 2004-01-21 05:47:54 +00:00
Stefan Monnier
dcdaeebcaf *** empty log message *** 2004-01-21 05:46:48 +00:00
Stefan Monnier
43ff45a00d (wait_reading_process_input) [SYNC_INPUT]: Check interrupt_input_pending. 2004-01-21 05:27:58 +00:00
Stefan Monnier
35d3b513d3 (QUIT) [SYNC_INPUT]: Check interrupt_input_pending as well. 2004-01-21 05:24:01 +00:00
Stefan Monnier
b65c1b4489 (handle_async_input): New fun, extracted from input_available_signal.
(input_available_signal, reinvoke_input_signal): Use it.
2004-01-21 05:15:12 +00:00
Stefan Monnier
d710758638 *** empty log message *** 2004-01-21 05:03:24 +00:00
Stefan Monnier
d4f8198baf (buffer_defaults, buffer_local_symbols): Use DECL_ALIGN. 2004-01-21 04:32:19 +00:00
Stefan Monnier
9aa0928de7 [USE_LSB_TAG]: Add definitions for Lisp_Object value
manipulation macros for when tags are in the lower bits.
(struct Lisp_Free) [USE_LSB_TAG]: Add padding.
(DECL_ALIGN): New macro.
(DEFUN): Use it.
2004-01-21 04:31:21 +00:00
Stefan Monnier
39eec98ffd [ENABLE_CHECKING]: Don't force union type. 2004-01-21 04:19:21 +00:00
Stefan Monnier
4fa2eaa05c (__attribute__): Remove outdated workaround. 2004-01-21 04:04:01 +00:00
Stefan Monnier
6839cd1500 (main) [USE_LSB_TAG]: Don't range check the ram. 2004-01-21 04:02:39 +00:00
Stefan Monnier
831b476c5a (lisp_malloc, lisp_align_malloc) [USE_LSB_TAG]:
Don't check range of malloc address.
(pure_alloc) [USE_LSB_TAG]: Enforce alignment.
2004-01-21 03:34:32 +00:00
Stefan Monnier
9076a82311 (wait_reading_process_input): Lisp_Object/int mixup. 2004-01-20 21:19:33 +00:00
Stefan Monnier
45c7d781c6 (Ffile_attributes): Lisp_Object/int mixup. 2004-01-20 21:18:31 +00:00
Kenichi Handa
ba0290651f *** empty log message *** 2004-01-19 00:35:31 +00:00
Kenichi Handa
07836f47b2 (fontset_font_pattern): Fix previous change. 2004-01-19 00:22:03 +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
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