1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
Commit graph

28067 commits

Author SHA1 Message Date
Michael Kifer
d35bee0ea6 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
* viper-util.el (viper-put-on-search-overlay): New subroutine.
	(viper-flash-search-pattern): No operation when using Emacs
	doesn't support face.
	Use `viper-put-on-search-overlay'.
2000-04-07 16:10:04 +00:00
Ken Raeburn
c0333abccb * intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
that looks like a lisp object.
(SET_INTERVAL_OBJECT): Don't explicitly compare the object with zero, instead
see whether it's an integer object, since they can't have intervals.
(GET_INTERVAL_OBJECT): Simply assign to the destination.
2000-04-05 18:53:39 +00:00
Ken Raeburn
74e49b38a8 * lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Provide a GNU C macro version that handles lisp-object unions.
(XSET) [!NO_UNION_TYPE]: Set the value field first, then the type field, to
better cope with ENABLE_CHECKING and calls that modify a Lisp_Object using its
old value.
2000-04-05 18:47:29 +00:00
Ken Raeburn
7c752c8099 make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP 2000-04-05 17:29:31 +00:00
Gerd Moellmann
c407c57000 *** empty log message *** 2000-04-04 21:15:08 +00:00
Gerd Moellmann
4d3edcb4c7 (compare_window_configurations): Signal an error
if parameters C1 or C2 aren't window configurations.
2000-04-04 21:07:45 +00:00
Gerd Moellmann
1ea1fb7e14 (isearch-mode-map): Define M-C-s like C-s and M-C-r
like C-r.
2000-04-04 21:04:34 +00:00
Gerd Moellmann
9ffb4859b8 Some doc fixes.
(makefile-mode-abbrev-table): New variable.
(makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
(makefile-font-lock-keywords): Fontify includes and conditionals.
(toplevel): Require `dabbrev' and `add-log' when compiling.
2000-04-04 21:03:15 +00:00
Gerd Moellmann
8f3ff96be4 (perform-replace): Don't move forward one char
when MATCH-AGAIN is nil, and REGEXP-FLAG is t.  We don't want
to do that because it leaves point 1 position after the last
replacement, after everything has been replaced.
2000-04-04 21:01:53 +00:00
Gerd Moellmann
60bffb784f (with-buffer-unmodified): New macro.
(with-buffer-prepared-for-font-lock): Don't preserve buffer's
modified state.
(jit-lock-function-1): Extracted from jit-lock-function; not
preserving buffer's modified state.
(jit-lock-function, jit-lock-stealth-fontify): Call
jit-lock-function-1.
2000-04-04 21:00:36 +00:00
Gerd Moellmann
852c283098 Remove supernumerary copyright line. 2000-04-04 20:59:17 +00:00
Gerd Moellmann
685e5ed20f *** empty log message *** 2000-04-04 15:03:37 +00:00
Gerd Moellmann
170c1b2668 Provide facilities for inserting space before left
parentheses and uncapitalization of identifiers.
(glasses-mode): Try to remove old overlays in all cases.
2000-04-04 15:01:53 +00:00
Gerd Moellmann
bf1de43e9e (Fbyte_code): Add a bunch of BEFORE_POTENTIAL_GC/
AFTER_POTENTIAL_GC calls around calls to functions that can
signal an error and thus invoke the debugger.
2000-04-04 14:54:29 +00:00
Gerd Moellmann
62f20204b7 *** empty log message *** 2000-04-03 21:21:42 +00:00
Gerd Moellmann
92d8844ebe (compile-internal): Display the compilation
buffer in a different frame, if it's already displayed there.
2000-04-03 21:20:05 +00:00
Gerd Moellmann
6460c4009c *** empty log message *** 2000-04-03 20:54:40 +00:00
Gerd Moellmann
3d6c79c5fa (Fbase64_decode_region, Fbase64_decode_string): Signal
an error if decoding fails.
2000-04-03 20:48:22 +00:00
Gerd Moellmann
c0510d2712 *** empty log message *** 2000-04-03 19:34:41 +00:00
Gerd Moellmann
0740c73886 (sendmail-user-agent-compose): Recognize a `body'
header and insert its value as mail body.
2000-04-03 19:31:33 +00:00
Gerd Moellmann
cbbc320513 (member-ignore-case): New function. 2000-04-03 19:29:56 +00:00
Gerd Moellmann
3b99a4f882 (fill-individual-paragraphs): If a no-prefix
line is followed by one that matches CITATION-REGEXP, end the
paragraph.
2000-04-03 19:28:16 +00:00
Gerd Moellmann
18f183760f (insert-directory): List the total free space
along with the used space.
2000-04-03 19:26:43 +00:00
Gerd Moellmann
36c5e6177b (rmail-user-mail-address-regexp): New option.
(rmail-make-basic-summary-line): Use that option.
2000-04-03 19:25:08 +00:00
Gerd Moellmann
7e65cba265 (dabbrev-ignored-regexps): New user-option.
(dabbrev--find-expansion): Ignore buffers matching a regexp
from dabbrev-ignored-regexps.
2000-04-03 19:23:35 +00:00
Gerd Moellmann
0166aed1b5 (jka-compr-compression-info-list): Add `.z'
to extensions handled by gzip.
2000-04-03 13:30:55 +00:00
Gerd Moellmann
587a49abfb (NUM_MOUSE_BUTTONS): Removed. 2000-04-03 12:19:31 +00:00
Gerd Moellmann
fa7dad5bfc (larger_vector): Make externally visible. 2000-04-03 12:13:45 +00:00
Gerd Moellmann
acb3b16fad (larger_vector): Add prototype. 2000-04-03 12:12:35 +00:00
Gerd Moellmann
8e1e42402f (lispy_mouse_names): Variable removed.
(Vlispy_mouse_stem): New variable.
(syms_of_keyboard): Initialize Vlispy_mouse_stem.
(make_lispy_event) <mouse_click, scroll_bar_click>: Don't abort
for any mouse button number.  Increase size of mouse_syms and
button_down_location as needed.  Call modify_event_symbol with
different arguments.
(make_lispy_event) <scroll_bar_click> [USE_TOOLKIT_SCROLL_BARS]:
Call modify_event_symbol with different arguments.
(make_lispy_event) <w32_scroll_bar_click> [WINDOWSNT]: Don't abort
for any button number.  Call modify_event_symbol with different
arguments.
(modify_event_symbol): Rename NAME_ALIST to NAME_ALIST_OR_STEM.
Accept a string for NAME_ALIST_OR_STEM.
2000-04-03 12:11:39 +00:00
Kenichi Handa
843930b70c Fix encoding of the file. 2000-04-03 11:39:31 +00:00
Kenichi Handa
5de75f53b1 (encoded-string-description): Use uppercase letters for hexadecimal
format.
2000-04-03 11:11:58 +00:00
Kenichi Handa
3a100fd68d *** empty log message *** 2000-04-03 11:10:05 +00:00
Kenichi Handa
993b2a7dd4 (encoded-string-description):
Rewritten.   Try pretty description for ISO 2022 escape sequences
only if CODING-SYSTEM is based on ISO 2022.
2000-04-03 04:05:41 +00:00
Kenichi Handa
14c04384b5 *** empty log message *** 2000-04-03 04:05:06 +00:00
Stefan Monnier
2d1675e45c * regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
(RE_MULTIBYTE_P, RE_STRING_CHAR_AND_LENGTH): New macros.
(GET_CHAR_BEFORE_2): Moved from charset.h plus fixed minor bug when
we are between str1 and str2.
(MAX_MULTIBYTE_LENGTH, CHAR_STRING) [!emacs]: Provide trivial default.
(PATFETCH): Use `TRANSLATE'.
(PATFETCH_RAW): Fetch multibyte char if applicable.
(PATUNFETCH): Remove.
(regex_compile): Rely on PATFETCH to do most of the multibyte magic.
When writing a char, write it directly into the pattern buffer rather
than going needlessly through a temp char-array.
(re_match_2_internal): Similarly, rely on RE_STRING_CHAR to do the
multibyte magic and remove the useless `#ifdef emacs'.
(bcmp_translate): Don't compare as multibyte chars when in a unibyte
buffer.
* regex.h (struct re_pattern_buffer): Make field `multibyte'
conditional on `emacs'.
* charset.h (GET_CHAR_BEFORE_2): Moved to regex.c.
2000-04-02 23:56:46 +00:00
Ken Raeburn
096540869a * composite.c (run_composite_function): Use NILP when checking for nil.
(syms_of_composite): Delete local var NARGS, pass an int as first argument to
Fmake_hash_table.
2000-04-02 02:42:12 +00:00
Ken Raeburn
2387b382ff fix error in last log message 2000-04-02 02:33:22 +00:00
Ken Raeburn
c01fbf95df * editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Lisp_Object boolean value.
(Fformat): Use a temporary variable to avoid ENABLE_CHECKING problems reading
from and changing the same lisp value in an XSETSTRING call.
2000-04-02 02:31:07 +00:00
Ken Raeburn
cc2d8c6b3d * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
versions of XMARK and friends here, because XMARK and friends won't work on an
integer field if NO_UNION_TYPE is not defined.
(make_number): Define as a function if it's not defined as a macro.
2000-04-02 01:52:58 +00:00
Dave Love
ccf5869a2e *** empty log message *** 2000-04-01 14:42:59 +00:00
Dave Love
2279eb90bb Change customization group to c' from C'. 2000-04-01 14:36:01 +00:00
Gerd Moellmann
27660e89c5 *** empty log message *** 2000-04-01 13:39:21 +00:00
Gerd Moellmann
4e6ba4a490 (TN_no_color_video): New variable.
(term_init): Intitialize TN_no_color_video.
(enum no_color_bit): New enumeration.
(MAY_USE_WITH_COLORS_P): New macro.
(turn_on_face): Use it to determine if attributes may be used
combined with colors.
2000-04-01 13:33:12 +00:00
Ken Raeburn
6fc556fdb4 Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
* xdisp.c (compute_string_pos): Fix order of arguments to
string_pos_nchars_ahead.
(handle_fontified_prop, add_to_log): Pass int, not Lisp_Object, as
count arg to variable-arg routines like Frun_hook_with_args and Fformat.
(back_to_previous_visible_line_start, build_desired_tool_bar_string):
Pass Lisp_Object, not int, to fixed-arg routines like
Fget_char_property and Fmake_string.
(reconsider_clip_changes): Use XINT when comparing integer lisp
objects, or passing them as int arguments.
(mark_window_display_accurate, insert_left_trunc_glyphs, append_space,
extend_face_to_end_of_line): Use make_number when storing or passing
integer values as lisp objects.
(set_cursor_from_row, highlight_trailing_whitespace): Use INTEGERP,
not implicit test against zero, for glyph object.
(try_window_id): Don't use make_number when we want an int value.

* xfaces.c (xlfd_symbolic_value): Make last argument a Lisp_Object, to
be consistent with callers.
(Fbitmap_spec_p): Use XINT to get numeric value of height.
(lface_hash): Apply XFASTINT to lisp values before folding in.

* xfns.c (Fx_show_tip): Use make_number to get lisp objects to fill in window
width and height.  Pass an int, not a lisp object, as first arg to Finsert.
2000-04-01 12:59:53 +00:00
Ken Raeburn
3578db3c16 * window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
with int lvalues via casts; instead, just yield lisp object
lvalues.
(enlarge_window): Variable sizep now points to Lisp_Object.  Use
proper accessor macros.
(shrink_window_lowest_first): w->top is Lisp_Object; use XINT.
(grow_mini_window): Fix typo getting int value of root->height.
2000-04-01 12:39:03 +00:00
Gerd Moellmann
610d841ea4 *** empty log message *** 2000-04-01 12:25:00 +00:00
Gerd Moellmann
17e8204bae (realize_basic_faces): Block input while realizing
the faces.
2000-04-01 12:23:25 +00:00
Gerd Moellmann
a2272f321b (vc-backend-diff): Return the correct status if we had to
retry the rcsdiff command without the --brief option.
2000-04-01 12:19:35 +00:00
Dave Love
46a610ab78 (vcursor-move): Use display-color-p. 2000-04-01 12:09:42 +00:00