Kim F. Storm [Fri, 21 May 2004 23:36:10 +0000 (23:36 +0000)]
(struct backtrace): Add debug_on_exit member.
(Fgarbage_collect): Clear out buffer undo_list markers after gc_sweep.
Identify those markers as Lisp_Misc_Free objects. Clear car and cdr of
the removed cons cells.
(mark_object): Undo previous change - disallow Lisp_Misc_Free objects.
(gc_sweep): Clear cons_blocks before sweeping strings, so we don't have
any cons cells pointing to unallocated stings.
Do not lisp_free any marker blocks, as there may still be pointers
to them from buffer undo lists at this stage of GC.
(allout-chart-subtree, allout-rebullet-topic-grunt): Don't mention in the
docstring these arguments meant for internal (recursive) use only.
(allout-char-spec): Comment out (it's not implemented).
(allout-old-expose-topic, allout-exposure): Fix docstring and add obsolescence
declaration.
(allout-flatten-exposed-to-buffer, allout-indented-exposed-to-buffer): Fix typos
in docstring.
(my-mark-marker): Doc fix.
(produce-allout-mode-map, allout-sibling-index, allout-isearch-expose)
(allout-distinctive-bullet, allout-open-topic, allout-reindent-body)
(allout-rebullet-heading, allout-process-exposed, allout-insert-listified)
(allout-latex-verb-quote, allout-insert-latex-header)
(allout-insert-latex-trailer): Make arguments match their use in
docstring.
(allout-primary-bullet, allout-old-style-prefixes, allout-inhibit-protection)
(allout-init, allout-mode, allout-before-change-protect, allout-flag-region):
Use "Emacs" instead of "emacs" in docstrings.
Luc Teirlinck [Thu, 20 May 2004 23:32:27 +0000 (23:32 +0000)]
(find-file-noselect-1): Limit the scope of the
`inhibit-read-only' binding. Make sure that `inhibit-read-only'
is, by default, nil during the execution of
`find-file-not-found-functions' and `find-file-hook'.
Stefan Monnier [Wed, 19 May 2004 19:10:19 +0000 (19:10 +0000)]
(do-auto-fill): Remove unused vars `bol' and `opoint'.
(completion-setup-function): Use with-current-buffer.
Properly save excursion. Simplify.
Don't assume there is necessarily a `mouse-face' property somewhere.
Stefan Monnier [Wed, 19 May 2004 16:38:34 +0000 (16:38 +0000)]
Add support for new '\_<' and '\_>' regexp operators, matching the
beginning and ends of symbols.
* regex.c (enum syntaxcode): Add Ssymbol.
(init_syntax_once): Set the syntax for '_' to Ssymbol, not Sword.
(re_opcode_t): New opcodes `symbeg' and `symend'.
(print_partial_compiled_pattern): Print the new opcodes properly.
(regex_compile): Parse the new operators.
(analyse_first): Skip symbeg and symend (they match only the empty string).
(mutually_exclusive_p): `symend' is mutually exclusive with \s_ and
\sw; `symbeg' is mutually exclusive with \S_ and \Sw.
(re_match_2_internal): Match symbeg and symend.
Jason Rumney [Mon, 17 May 2004 22:51:47 +0000 (22:51 +0000)]
(Fw32_register_hot_key, Fw32_unregister_hot_key)
(Fw32_toggle_lock_key) [USE_LISP_UNION_TYPE]: Cast from Lisp_Object
using i member.
(w32_quit_key): Rename from Vw32_quit_key, and make an int.
(syms_of_w32fns, globals_of_w32fns): Use Lisp_Object and int consistently.
(w32_color_map_lookup): Return a Lisp_Object.
(x_to_w32_charset, w32_to_x_charset, w32_to_all_x_charsets):
Use EQ to compare Lisp_Objects.
(w32_parse_hot_key): Use int for lisp_modifiers consistently.
(w32_wnd_proc): Use w32_num_mouse_buttons.
Jason Rumney [Mon, 17 May 2004 21:05:06 +0000 (21:05 +0000)]
* w32proc.c (w32_pipe_read_delay): Rename from Vw32_pipe_read_delay
and make it an int.
* w32proc.c (create_child) [USE_LSB_TAG]: Don't try to mask pid.
Glenn Morris [Mon, 17 May 2004 18:52:51 +0000 (18:52 +0000)]
(f90-end-block-re, f90-start-block-re): New constants.
(hs-special-modes-alist): Add an f90-mode entry. This will not be
100% successful, but should handle a sizable majority of code.