| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
(re_match_2_internal, re_match_2_internal, re_match_2_internal):
Giving in to popular pressure to shut up the compiler with casts.
|
|
|
|
|
| |
signed value, and use a default value computed from the font's
maximum descent.
|
| |
|
|
|
|
| |
negative underline position can still use underlines.
|
|
|
|
| |
Make POS default to WINDOW's point, not the current buffer's point.
|
| |
|
|
|
|
| |
when it's necessary.
|
|
|
|
| |
child window sizes instead of from parent's size.
|
| |
|
|
|
|
| |
Handle obscured lines at the top of the window.
|
| |
|
|
|
|
| |
down after the last error condition check.
|
| |
|
|
|
|
| |
CODING_MODE_LAST_BLOCK).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also change several `int' into `re_wchar_t'.
(PATTERN_STACK_EMPTY, PUSH_PATTERN_OP, POP_PATTERN_OP): Remove.
(PUSH_FAILURE_POINTER): Don't cast any more.
(POP_FAILURE_REG_OR_COUNT): Remove the cast that strips `const'.
We want GCC to complain, since this piece of code makes
re_match non-reentrant, which *should* be fixed.
(GET_BUFFER_SPACE): Use size_t rather than unsigned long.
(EXTEND_BUFFER): Use RETALLOC.
(SET_LIST_BIT): Don't cast.
(re_wchar_t): New type.
(re_iswctype, re_wctype_to_bit): Make it crystal clear to GCC
that those two functions will always properly return.
(IMMEDIATE_QUIT_CHECK): Cast to void.
(analyse_first): Use recursion rather than an explicit stack.
(re_compile_fastmap): Can't fail anymore.
(re_search_2): Don't check re_compile_fastmap for failure.
(PUSH_NUMBER): Renamed from PUSH_FAILURE_COUNT.
Now also sets the new value (passed in a new argument).
(re_match_2_internal): Use it.
Also, use a new var `reg' of type size_t when looping through regs
rather than reuse the inappropriate `mcnt'.
|
| |
|
|
|
|
|
|
|
|
|
| |
(Fset_keymap_parent, store_in_keymap): Flush the where-is cache.
(where_is_internal): Renamed from Fwhere_is_internal.
Don't DEFUN any more. Arg `xkeymap' replaced by `keymaps'.
(Fwhere_is_internal): New function wrapping where_is_internal.
(where_is_internal_1): Handle the case where we're filling the cache.
(syms_of_keymap): Init and gcpro the where_is_cache(|_keymaps).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(Fpos_visible_in_window_p): Use pos_visible_p to determine
if position is visible and/or fully visible.
|
|
|
|
|
|
| |
is from C string, but we should encode it. Before calling
setup_raw_text_coding_system, be sure to flush out data by the
previous coding system.
|
| |
|
| |
|
|
|
|
| |
Use the correct overlay marker when checking after_overlay's start ins type.
|
|
|
|
| |
prev when startpos == pos.
|
| |
|
|
|
|
|
|
|
| |
Set the field stickiness correctly from overlay fields.
Use renamed `text_property_stickiness'.
(text_property_stickiness):
Renamed from `char_property_stickiness'.
|
|
|
|
| |
(Fget_char_property): Use it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Fmake_sparse_keymap): Docstring fix.
(synkey): Remove.
(shadow_lookup): Move up.
Handle the case where lookup-key returns an integer.
(where_is_internal_1): Drop arg `keymap'. Don't check shadowing.
(where_is_internal_2): Adapt to fewer args for where_is_internal_1.
(Fwhere_is_internal): Allow `xkeymap' to be a list of keymaps.
Simplify/rewrite the keymap-finding code.
Add check for command shadowing, using shadow_lookup.
|
| |
|
|
|
|
|
| |
rather than KEYMAPP, to allow EQ to work correctly if parent_entry is
a symbol.
|
|
|
|
| |
buffer's file_truename before trying remove its lock file.
|
|
|
|
|
|
|
| |
(directory_files_internal): Use it to ensure closedir is called
even if expand-file-name or file-attributes throw, eg. because of
a user interrupt. Also enable immediate_quit while calling
re_search, so that matching can be interrupted as well.
|
|
|
|
| |
height to a negative value (esp. with XSETFASTINT).
|
|
|
|
|
|
| |
NT-Emacs only.
(re_match_2_internal): Use IMMEDIATE_QUIT_CHECK instead of QUIT,
so that re_search functions only quit when callers expect them to.
|
|
|
|
|
|
|
|
|
|
| |
[GC_MALLOC_CHECK && GC_PROTECT_MALLOC_STATE]: New variables.
(protect_malloc_state) [GC_MALLOC_CHECK &&
GC_PROTECT_MALLOC_STATE]: New function.
(PROTECT_MALLOC_STATE): New macro.
(__malloc_initialize, morecore, _malloc_internal)
(_free_internal) _realloc_internal): Use it to make _heapinfo
read-only outside of gmalloc.
|
| |
|
| |
|
| |
|
|
|
|
| |
a symbol.
|
| |
|
|
|
|
| |
or CRLF, decode EOLs.
|
| |
|
|
|
|
| |
than 256 to a char not less than 256.
|