1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00
Commit graph

27412 commits

Author SHA1 Message Date
Gerd Moellmann
b6a22bf83e *** empty log message *** 2000-02-18 11:35:29 +00:00
Gerd Moellmann
2114e13f51 (merge_widget_value): Fix incorrect assignment of
safe_strdup'd help string.
2000-02-18 11:35:16 +00:00
Gerd Moellmann
c382fb0af7 (caar, cadr, cdar, cddr): Add defsetfs. 2000-02-18 10:50:09 +00:00
Gerd Moellmann
3c0ed7cec3 (lisp-indent-259): Indentation fix. 2000-02-17 20:45:37 +00:00
Ken Raeburn
3b3cc4a489 include -lz and -ljpeg when testing for -ltiff 2000-02-17 20:04:15 +00:00
Dave Love
e3d4de904d (C_DEBUG_SWITCH): Define to allow optimization. 2000-02-17 19:11:45 +00:00
Gerd Moellmann
d621caf7c8 *** empty log message *** 2000-02-17 16:18:09 +00:00
Gerd Moellmann
2313132fd2 (main): Use #if GC_MARK_STACK instead of #ifdef. 2000-02-17 16:17:17 +00:00
Gerd Moellmann
0b3789363d (enum mem_type): Compile unconditionally. 2000-02-17 16:15:06 +00:00
Gerd Moellmann
4d8cabfd06 (pascal-mode-syntax-table): Change syntax
of `*' to handle `(* ... *)' comments.
2000-02-17 16:03:59 +00:00
Eli Zaretskii
3b451f7412 (tty_defined_color): Don't return faulire indication
for unspecified-fg and unspecified-bg pseudo-colors.
2000-02-17 15:32:52 +00:00
Gerd Moellmann
1216f5e413 (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
(GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
[GC_MARK_STACK]: New defines.
(GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, UNGCPRO)
[GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS]: Define as no-ops.
2000-02-17 15:23:58 +00:00
Gerd Moellmann
39ec21eae0 (main) [GC_MARK_STACK]: Initialize stack_base. 2000-02-17 15:22:35 +00:00
Gerd Moellmann
a21260d97c (Fget_buffer_create, Fmake_indirect_buffer): Use
allocate_buffer instead of xmalloc.
2000-02-17 15:21:58 +00:00
Gerd Moellmann
344000084d (mark_object): Don't mark symbol names in pure space.
(gc_sweep): Don't unmark symbol names in pure space.

(toplevel): Include setjmp.h.
(PURE_POINTER_P): New define.
(enum mem_type) [GC_MARK_STACK]: New enumeration.
(Vdead) [GC_MARK_STACK]: New variable.
(lisp_malloc): Add parameter TYPE, call mem_insert if
GC_MARK_STACK is defined.
(allocate_buffer): New function.
(lisp_free) [GC_MARK_STACK]: Call mem_delete.
(free_float) [GC_MARK_STACK]: Set type to Vdead.
(free_cons) [GC_MARK_STACK]: Set car to Vdead.
(stack_base, mem_root, mem_z) [GC_MARK_STACK]: New variables.
(MEM_NIL) [GC_MARK_STACK]: New define.
(struct mem_node) [GC_MARK_STACK]: New structure.
(mem_init, mem_find, mem_insert, mem_delete, mem_insert_fixup)
(mem_delete_fixup, mem_rotate_left, mem_rotate_right)
(live_string_p, live_cons_p, live_symbol_p, live_float_p)
(live_misc_p, live_vector_p, live_buffer_p, mark_memory)
(mark_stack) [GC_MARK_STACK]: New functions.
(Fgarbage_collect) [GC_MARK_STACK]: Call mark_stack.
(clear_marks): Removed.
(gc_sweep): Set free conses' car, free floats' type, free
symbols' function to Vdead.  Use lisp_free to free buffers.
(init_alloc_once): Initialize Vdead.
(survives_gc_p): Return non-zero for pure objects.

Add comments throughout the file.
2000-02-17 15:21:21 +00:00
Eli Zaretskii
53c80cf65e (list-faces-display): Use display-mouse-p, not window-system. 2000-02-17 14:01:20 +00:00
Gerd Moellmann
2503c8b1ae (stop_other_atimers): Don't call cancel_atimer because
that unblocks alarms.
2000-02-17 13:15:26 +00:00
Gerd Moellmann
249652b19d *** empty log message *** 2000-02-17 12:15:05 +00:00
Eli Zaretskii
538d88fb93 (mule-menu-keymap)
(describe-language-environment-map, set-coding-system-map)
(setup-language-environment-map): Convert to new (menu-item...
form, add help strings.  Change names of menu items for better
clarity.  "Mule" menu-bar item removed (it's now in the "Options"
submenu).
2000-02-17 11:10:31 +00:00
Eli Zaretskii
7f315c7cd9 (global-map): Menu-bar items converted to the new
format (menu-item..., rearranged for better CUA compliance, and
their names changed for better clarity.  Help strings added.
2000-02-17 11:08:09 +00:00
Gerd Moellmann
8389e1e25c *** empty log message *** 2000-02-17 09:49:05 +00:00
Gerd Moellmann
1073bdc3f7 Remove LISP_FLOAT_TYPE. 2000-02-17 09:47:23 +00:00
Gerd Moellmann
cc94f3b24e Remove LISP_FLOAT_TYPE' and standalone'. 2000-02-17 09:45:46 +00:00
Gerd Moellmann
10689a01d9 (make_frame): Set frame initiallly to `garbaged'. 2000-02-17 09:20:23 +00:00
Gerd Moellmann
ea1856442d (dired-do-copy): Remove spurios character.`n'
within the code.
2000-02-17 09:13:39 +00:00
Kenichi Handa
4a09dee02e (decode_mode_spec_coding): Delete superfluous code.
Allocate sufficient memory for eol_str in the case that eoltype is
Lisp_Int.
2000-02-17 08:19:21 +00:00
Kenichi Handa
bfc17d180a *** empty log message *** 2000-02-17 08:15:20 +00:00
Stefan Monnier
2b927d02c8 (Fforward_comment): Undo the previous change, since cc-mode
depends on the previous behavior.
2000-02-17 05:57:38 +00:00
Dave Love
84fe35f0e4 Don't require custom. Add more specific :groups to various deffaces.
(set-face-attribute): Purecopy args.
(read-face-name): Default to name at point and use it in prompt.
Remove colon from arg in all callers.
(list-faces-display): Hyperlink to face descriptions and customize
buffers.
2000-02-16 22:58:42 +00:00
Dave Love
d932ce2079 (facemenu-set-face): Amend interactive prompt. 2000-02-16 22:45:03 +00:00
Dave Love
aaa659ef05 Mention some new packages, extra configure options. 2000-02-16 22:32:57 +00:00
Dave Love
82d2c7c522 *** empty log message *** 2000-02-16 19:21:54 +00:00
Dave Love
b2aeee30bf 2000-02-02 Per Abrahamsen <abraham@dina.kvl.dk>
* wid-edit.el (widget-match-inline): An atom never matches a
          list.
2000-02-16 13:28:33 +00:00
Gerd Moellmann
b49cb76457 (vfork) [!HAVE_VFORK]: Removed. 2000-02-16 00:36:27 +00:00
Dave Love
41bc75e63c Obsolete. 2000-02-15 18:10:29 +00:00
Gerd Moellmann
99e95407a0 *** empty log message *** 2000-02-15 10:30:58 +00:00
Gerd Moellmann
aace035ecc (BROKEN_PTY_READ_AFTER_EAGAIN): Define. 2000-02-15 10:27:48 +00:00
Gerd Moellmann
3433b6bdab (send_process) [BROKEN_PTY_READ_AFTER_EAGAIN]:
Workaround for FreeBSD bug.  Flush output queue after EAGAIN in
write(2).
2000-02-15 10:27:23 +00:00
Richard M. Stallman
27a6c72932 (specbind): For buffer-local value, record the current buffer also.
(unbind_to): Cope with that change.
2000-02-15 09:58:41 +00:00
Richard M. Stallman
1f35ce36c2 (set_internal): Don't make variable buffer-local
if within a let-binding for the same buffer.
(let_shadows_buffer_binding_p): New function.
2000-02-15 09:57:33 +00:00
Richard M. Stallman
6ffd3cf701 *** empty log message *** 2000-02-15 09:56:18 +00:00
Gerd Moellmann
f9bd4abe62 (bibtex-mode): Replaced manual splitting of path
at ':' characters by call to split-string.

Added RCS version identification.

Some temporary comments removed.
(bibtex-field-name, bibtex-entry-type): Made the relationship
explicit.
(bibtex-field-const): Allow capital letters.
(bibtex-start-of-string): Deleted because unused.

Unified some nomenclature.  We no longer
use the term 'reference' to describe a bibtex entry as a whole.
Further, reference keys are no longer called 'labels'.
(bibtex-keys): Renamed to bibtex-reference-keys.
(bibtex-reformat-previous-labels): Renamed to
bibtex-reformat-previous-reference-keys.
(bibtex-reference-type): Renamed to bibtex-entry-type.
(bibtex-reference-head): Renamed to bibtex-entry-head.
(bibtex-reference-maybe-empty-head): Renamed to
bibtex-entry-maybe-empty-head.
(bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
(bibtex-search-reference): Renamed to bibtex-search-entry.
(bibtex-enclosing-reference-maybe-empty-head): Renamed to
bibtex-enclosing-entry-maybe-empty-head.
(bibtex-entry-field-alist, bibtex-entry-head,
bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
bibtex-map-entries, bibtex-search-entry,
bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
bibtex-complete-key, bibtex-String) : Use the new nomenclature.

(bibtex-strings, bibtex-keys): Removed redundant
comment.
(bibtex-format-field-delimiters): New function, functionality
extracted from bibtex-format-entry.
(bibtex-autokey-get-yearfield-digits): New function, functionality
extracted from bibtex-autokey-get-yearfield.

Completely reimplemented parsing of bibtex
entries in order to avoid stack overflow in the regexp matcher if
field contents become large.
(bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
bibtex-field-string-part-not-braced,
bibtex-field-string-part-no-inner-braces,
bibtex-field-string-part-1-inner-brace,
bibtex-field-string-part-2-inner-braces,
bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
bibtex-field-string-quoted, bibtex-field-string,
bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
as parsing is now performed by the following functions.
(bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
bibtex-parse-field-string, bibtex-search-forward-field-string,
bibtex-parse-association, bibtex-field-name-for-parsing,
bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
bibtex-search-forward-field, bibtex-search-backward-field,
bibtex-start-of-field, bibtex-end-of-field,
bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
bibtex-parse-string-prefix, bibtex-parse-string-postfix,
bibtex-parse-string, bibtex-search-forward-string,
bibtex-search-backward-string, bibtex-start-of-string,
bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
bibtex-end-of-text-in-string): New functions for the parsing of bibtex
entries.  Instead of reporting the results of the parsing by
match-beginning or match-end, these functions return data structures
that hold the corresponding positions.
(bibtex-enclosing-field): Changed to also report field boundaries by
return values rather than by match-beginning or match-end.  The
following functions have been adapted to use the new parsing
functions.
(bibtex-skip-to-valid-entry, bibtex-search-reference,
bibtex-enclosing-field, bibtex-format-entry,
bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
bibtex-print-help-message, bibtex-end-of-entry,
bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
method for parsing.
(bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
bibtex-map-entries, bibtex-flash-head,
bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
bibtex-autokey-change, bibtex-autokey-get-namefield,
bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
order to make the new binding of case-fold-search immediately
visible.

Copyright notice is up to date.
Added constant 'bibtex-maintainer-salutation.

(bibtex-mode): use with-temp-buffer rather
than make-temp-name, use match-string-no-properties and eliminate
a quadratic behavior when building bibtex-strings.

(bibtex-reference-key): Accept string entries whose
reference key contains upper case letters.

(bibtex-reference-head): Allow entries to start with
a new line.

Hiding of entry bodies is not longer provided by
bibtex.el directly.  Instead the hideshow package can be used.
Added a special bibtex entry to hs-special-modes-alist.
(bibtex-hs-forward-sexp): Added for hideshow.el.

(bibtex-entry-field-alist): Added booktitle field to
proceedings entry type (for cross referencing). Thanks to
Wagner Toledo Correa for the suggestion.

Added `reftex-view-crossref-from-bibtex' to menu.
2000-02-15 09:38:09 +00:00
Gerd Moellmann
cad5347512 (Fsave_window_excursion): Doc fix. 2000-02-15 09:35:31 +00:00
Stefan Monnier
1aa963c813 (back_comment): Make sure we only consider comment-starters
of the relevant style and return -1 in case of a failure to find the
beginning of the comment.
(Fforward_comment): If back_comment fails, go back to the position just
after the comment-end.
(scan_lists): Add comment describing a very minor bug.
2000-02-15 06:21:26 +00:00
Stefan Monnier
b9b84fd34d (Ftry_completion, Fall_completions): Add a reference to
`completion-regexp-list' in the docstring.
2000-02-14 23:36:15 +00:00
Dave Love
3a28db80b0 (tty_defined_color): Declare color_idx unsigned long. 2000-02-14 18:05:57 +00:00
Stefan Monnier
8a44227ac5 documented \{n,m\} intervals 2000-02-14 17:04:17 +00:00
Stefan Monnier
d7f89643a4 *** empty log message *** 2000-02-14 17:02:14 +00:00
Stefan Monnier
fb4a568d44 * regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
to Emacs' syntax.  Also fix the comment about set/not-set meanings
since Emacs syntax is not the value 0 any more.
* search.c (compile_pattern_1): Remove RE_CHAR_CLASSES from the syntax
since it's now part of RE_SYNTAX_EMACS.
2000-02-14 17:00:16 +00:00
Kenichi Handa
e5dd1155a4 Setup case table for Vietnamese. 2000-02-13 23:50:32 +00:00