1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-17 10:06:13 +00:00
Commit Graph

13701 Commits

Author SHA1 Message Date
Gerd Moellmann
b6a22bf83e *** empty log message *** 2000-02-18 11:35:29 +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
Gerd Moellmann
d621caf7c8 *** empty log message *** 2000-02-17 16:18:09 +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
53c80cf65e (list-faces-display): Use display-mouse-p, not window-system. 2000-02-17 14:01:20 +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
ea1856442d (dired-do-copy): Remove spurios character.`n'
within the code.
2000-02-17 09:13:39 +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
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
99e95407a0 *** empty log message *** 2000-02-15 10:30:58 +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
Kenichi Handa
e5dd1155a4 Setup case table for Vietnamese. 2000-02-13 23:50:32 +00:00
Kenichi Handa
eae61d8f4a *** empty log message *** 2000-02-13 23:50:09 +00:00
Gerd Moellmann
fb07a30287 *** empty log message *** 2000-02-12 19:50:59 +00:00
Gerd Moellmann
b878827d99 (toplevel): Require CL at compile time.
(uniquify-push): Removed.
2000-02-12 19:48:01 +00:00
Gerd Moellmann
5a7b902473 (shadow-when): Removed. 2000-02-12 19:47:18 +00:00
Gerd Moellmann
2b706b50d0 (tempo-dolist, tempo-mapc): Removed.
(tempo-process-and-insert-string): Use dolist instead of
tempo-dolist.
2000-02-12 19:46:42 +00:00
Gerd Moellmann
fba5d1de83 (sgml-mode-common): Remove `$' from regexp for paragraph-start. 2000-02-12 19:45:53 +00:00
Gerd Moellmann
97bd30eb51 (rmail-dont-reply-to): Remove leading commas as well. 2000-02-12 19:44:56 +00:00
Dave Love
a0eddf92d5 *** empty log message *** 2000-02-10 18:50:33 +00:00
Dave Love
4e85dd7ae5 Don't bother testing for defalias. Don't set up `caar' &c that we now
have.
2000-02-10 17:54:30 +00:00
Dave Love
99f016129e (widgets) [defgroup]: Remove url link.
(widget-color-choice-list, widget-color-history, widget-mouse-help):
Deleted.
(widget-specify-field, widget-specify-button): Don't use
widget-mouse-help as help-echo property.
(default): Use #'ignore for :validate and :mouse-down-action.
(checkbox): Add help-echo.
(widget-sexp-validate): Rewritten to clarify error messages.
(character): Use char-valid-p in :match function.
(widget-color-complete): Use facemenu-color-alist.
(widget-color-action): Use facemenu-read-color.
2000-02-10 17:47:48 +00:00
Dave Love
6cbc1482fe (command-line-1): Don't call make-mode-line-mouse-sensitive. 2000-02-09 12:43:30 +00:00
Dave Love
5e1cddda2b (mode-line-input-method-map): New variable.
(mode-line-mule-info): Use it; fix last change.
(mode-line-mode-menu): Move definition.
(mode-line-mouse-sensitive-p): Deleted.
(mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
(make-mode-line-mouse-sensitive): Deleted.  Body moved to top level.
2000-02-09 12:18:48 +00:00
Ray Blaak
e97a246146 Make resourcestring a declaration region, like const and var. 2000-02-09 07:04:15 +00:00
Gerd Moellmann
f7136ee81a *** empty log message *** 2000-02-07 23:29:31 +00:00
Gerd Moellmann
77e38f8bbb (rmail-retry-failure): Use
rmail-beginning-of-message before rmail-toggle-header, because the
former toggles headers.
2000-02-07 23:27:14 +00:00
Stefan Monnier
fef8c55b16 (diff-kill-junk): New interactive function.
(diff-reverse-direction): Use delete-and-extract-region.
(diff-post-command-hook): Restrict the area so that the hook also works
outside of any diff hunk.  This is necessary for the minor-mode.
(diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
(diff-minor-mode): Setup the hooks for header-hunk rewriting.
2000-02-07 02:01:07 +00:00
Stefan Monnier
6e1d0d151d (font-lock-keywords): Fix doc for multiline matches.
(font-lock-add-keywords): Make it work even if font-lock-mode is nil,
so that it can be used more easily in <foo>-mode-hook.  Also make sure
to avoid duplicate entries.
(font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
(font-lock-remove-keywords): Just as was done for `add', allow it to
work even if font-lock-mode is nil.  Also make sure we don't modify
any pre-existing list by forcing a copy-sequence.  Finally rename
`major-mode' to `mode'.
(font-lock-fontify-syntactic-anchored-keywords)
(font-lock-fontify-anchored-keywords)
(font-lock-fontify-keywords-region): Use line-end-position.
Don't make `font-lock-multiline' local (it's now done in
font-lock-set-defaults).
(font-lock-set-defaults): Make `font-lock-multiline' local.  Also
move the `font-lock-fontified' creation to inside the `unless'.
2000-02-07 01:49:33 +00:00
Andrew Innes
a75dfea0a5 * dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
around image definitions and prototypes.
(gamma_correct) [WINDOWSNT]: New prototype.

* w32term.c (x_make_frame_visible): Replace call to
input_poll_signal with poll_for_input.

* window.c [WINDOWSNT]: Include w32term.h.

* xdisp.c [WINDOWSNT]: Include w32term.h.

* makefile.nt: Add dependencies on w32gui.h.
(OBJ1): Include atimer.obj.
($(BLD)\atimer.obj): New dependency rule.

* w32.c (sigmask): New function (does nothing).
(sigunblock): Ditto.

* frame.c [WINDOWSNT]: Include w32term.h.

* w32gui.h (struct W32FontStruct): Add ascent and descent slots.

* lread.c (syms_of_lread): Fix literal newlines.

* emacs.c (USAGE): Split into USAGE1 and USAGE2, to work-around
the string constant limit (2048 bytes) in MSVC.
(main): Ditto.
2000-02-06 23:37:51 +00:00
Andrew Innes
90abecd329 (x-handle-args): Comment out call to message. 2000-02-06 23:37:19 +00:00
Andrew Innes
3c5b0995d5 (install): Synchronize rules for compiling with Unix version. 2000-02-06 23:36:33 +00:00
Dave Love
9ff33afbe7 (mode-line-mule-info): Fix/extend last change. 2000-02-04 20:35:08 +00:00
Dave Love
b85e9462bf *** empty log message *** 2000-02-04 15:18:30 +00:00
Carsten Dominik
44dff07587 Version number and date updated 2000-02-04 10:14:51 +00:00
Carsten Dominik
ca660d22e8 (idlwave-shell-print): Fixed bug with
idlwave-shell-expression-overlay.  Implemented printing of
expressions on higher levels of the calling stack.
(idlwave-shell-display-level-in-calling-stack): Restore stack
level.
(idlwave-retrieve-expression-from-level): New function.
(idlwave-shell-last-calling-stack): Variable removed.
(idlwave-shell-reset): Argument action reversed (`visible' to
`hidden').  Also remove stop-line overlay.
(idlwave-shell-calling-stack-routine): New variable.
(idlwave-shell-parse-stack-and-display): Messages now display
negative level numbers.
(idlwave-shell-mode): Set `modeline-format'.
(idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
(idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
21.
(idlwave-shell-print-expression-function): New option.
2000-02-04 10:10:40 +00:00
Carsten Dominik
595ab50b06 (idlwave-template): Respect `idlwave-abbrev-change-case'.
(idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
idlwave-while): respect `idlwave-reserved-word-upcase'.
(idlwave-rw-case): New function.
(idlwave-statement-match): Fixed problem with assignment regexp.
(idlwave-font-lock-keywords): Improved regexp for keyword
parameters.
(idlwave-surround): New argument LENGTH to support padding of
operators longer than 1 char.
2000-02-04 10:09:56 +00:00
Carsten Dominik
8124289f5b (idlwave-toolbar-add-everywhere, idlwave-toolbar-remove-everywhere):
Keybindings prefix is now `tool-bar' instead of `toolbar'.
2000-02-04 10:08:49 +00:00
Carsten Dominik
6081676610 RefTeX 4.11 2000-02-04 10:04:45 +00:00
Carsten Dominik
9e9f557f44 (reftex-change-label): add `A-Z' to char class in regexp. 2000-02-04 10:04:00 +00:00
Carsten Dominik
ce1a4cb24a (reftex-with-special-syntax): Bind `case-fold-search' to nil. 2000-02-04 10:03:22 +00:00
Carsten Dominik
46177d5436 (reftex-compile-variables): regexp-quote the
environment names before they go into the section regexp.
2000-02-04 10:01:08 +00:00
Dave Love
3f42935193 Replace completion-dolist with dolist. 2000-02-03 15:45:10 +00:00
Dave Love
048d06bdf5 Replace tar-dolist, tar-dotimes with dolist, dotimes. 2000-02-03 15:14:15 +00:00
Dave Love
f26c34fdef *** empty log message *** 2000-02-02 20:25:23 +00:00