1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-06 11:55:48 +00:00
Commit Graph

13385 Commits

Author SHA1 Message Date
Dave Love
f67171e6b6 Remove Emacs 18 compatibility code. Prepend `cl-' to autoload names
for some hash functions.  Don't autoload eval-when-compile.  Don't
provide mini-cl.
(cl-emacs-type): Remove.
(cl-map-extents): Remove compatibility code.
1999-12-18 17:00:52 +00:00
Dave Love
d17f0db587 Small doc fixes.
(scheme-mode-variables): Don't make imenu-generic-expression
buffer-local redundantly.
1999-12-18 16:47:43 +00:00
Dave Love
35079221bb Bind free variables. 1999-12-18 16:36:31 +00:00
Dave Love
94c79e1040 (byte-compile-constp): Include keywords. 1999-12-18 16:30:48 +00:00
Dave Love
ea04824c8e Bind free variables when compiling. 1999-12-18 16:27:10 +00:00
Dave Love
6628e7f806 dummy 1999-12-18 16:14:32 +00:00
Gerd Moellmann
b1aa088394 *** empty log message *** 1999-12-16 19:51:49 +00:00
Dave Love
3920868a41 (custom-declare-variable): Purecopy value. 1999-12-16 19:43:46 +00:00
Dave Love
291cfb968c (set-face-attribute): Purecopy the attributes set. 1999-12-16 19:41:04 +00:00
Gerd Moellmann
d20f4d9813 (completion-ignored-extensions): Add .tfm. 1999-12-16 19:29:06 +00:00
Dave Love
ba8b2c1a39 Comment. 1999-12-16 19:16:19 +00:00
Dave Love
5cf713b1e3 *** empty log message *** 1999-12-16 19:07:06 +00:00
Dave Love
b92dd692ad (byte-compile-bound-variables): Doc fix.
(byte-extrude-byte-code-vectors): Use remprop.
(byte-compile-lambda): Check that arg is a lambda.
1999-12-16 15:26:03 +00:00
Gerd Moellmann
76f5e2afd4 System for adding and removing keywords.
Both local (previously added keyword) and global keywords
can be removed.
(font-lock-remove-keywords): New user-level function.
(font-lock-update-removed-keyword-alist): New internal function.
(font-lock-removed-keywords-alist): New variable.
(font-lock-add-keywords): Updates `font-lock-removed-keywords-alist'.
Empty `font-lock-keywords-alist' when `append' is `set' to avoid
growing datastructures.
(font-lock-set-defaults): Removes keywords stored in
`font-lock-removed-keywords-alist' after local keywords added.
(c-keywords, c++-keywords): Better "case" support for
complex constant expressions, e.g. "case 1<<A_BIT_NO:".
(c-keywords): Only highlight preprocessor
directives when spelled correctly.
(font-lock-match-c++-structor-declaration,
c++-keywords): Fontify constructors and destructors with function
face inside C++ class declarations.
1999-12-16 15:05:06 +00:00
Gerd Moellmann
031999fb80 *** empty log message *** 1999-12-16 13:23:58 +00:00
Gerd Moellmann
5bd471e85a Fix typo. 1999-12-16 13:22:42 +00:00
Gerd Moellmann
f2d20357bb (sh-mode): If there is no #!-line, use the shell
from sh-shell-file.
1999-12-16 13:21:37 +00:00
Gerd Moellmann
340fe50f3b (java-keywords): Add Javadoc tags as of JDK 1.2.1. 1999-12-16 12:11:18 +00:00
Eli Zaretskii
a5e0e1a8ab * ls-lisp.el (ls-lisp-insert-directory): Print an explicit message
if one of the files specified cannot be accessed by
file-attributes.  Do not strip any leading directories from the
file names, to behave more like `ls' does.

* dired.el (dired-get-filename): Handle absolute file names.
(dired-readin-insert): If argument is a cons, don't print
"wildcard" on the ``total'' line.
1999-12-16 09:43:32 +00:00
Carsten Dominik
7c4d13cca6 * reftex.el (reftex-compile-variables): respect new structure of
`reftex-index-macro'
(reftex-compile-variables): Use the changed structure of
`reftex-label-alist'.

* reftex-vars.el (reftex-index-math-format,
(reftex-toc-max-level): New option.
reftex-index-phrases-search-whole-words,
reftex-index-phrases-case-fold-search,
reftex-index-phrases-skip-indexed-matches,
reftex-index-phrases-wrap-long-lines,
reftex-index-phrases-sort-prefers-entry,
reftex-index-phrases-sort-in-blocks): New options.
(reftex-index-macros): Option structure changed.
(reftex-index-macros-builtin): Added `repeat' item to each entry.
(reftex-label-alist): Additional item in each entry to specify if
the environment should be listed in the TOC.
(eval-when-compile (require 'cl)) added.

* reftex-index.el (reftex-index-selection-or-word): No longer
deals with "repeat".
(reftex-index): "repeat property in `reftex-index-macro-alist' is
now used.
(reftex-index-phrases-comment-regexp,
reftex-index-phrases-macrodef-regexp,
reftex-index-phrases-phrase-regexp1,
reftex-index-phrases-phrase-regexp2,
reftex-index-phrases-phrase-regexp12, reftex-index-phrases-help):
New constants.
(reftex-index-phrases-macro-data, reftex-index-phrases-files,
reftex-index-phrases-font-lock-keywords,
reftex-index-phrases-font-lock-defaults, reftex-index-phrases-map,
reftex-index-phrases-restrict-file): New variables.
(reftex-index-phrase-selection-or-word,
reftex-index-visit-phrases-buffer,
reftex-index-initialize-phrases-buffer,
reftex-index-phrases-save-and-return, reftex-index-phrases-mode,
reftex-index-next-phrase, reftex-index-this-phrase,
reftex-index-all-phrases, reftex-index-region-phrases,
reftex-index-phrases-parse-header,
reftex-index-phrases-toggle-restricted, reftex-index-new-phrase,
reftex-index-find-next-conflict-phrase, reftex-index-phrases-info,
reftex-index-phrases-set-macro-key, reftex-index-sort-phrases,
reftex-compare-phrase-lines, reftex-index-make-phrase-regexp,
reftex-index-simplify-phrase, reftex-index-phrases-find-dup-re,
reftex-index-make-replace-string,
reftex-query-index-phrase-globally, reftex-query-index-phrase,
reftex-index-phrase-match-is-indexed,
reftex-index-phrases-fixup-line,
reftex-index-phrases-replace-space,
reftex-index-select-phrases-macro): New functions.
(reftex-index-globalize, reftex-index-globally): functions removed
(eval-when-compile (require 'cl)) added.

* reftex-toc.el (reftex-toc-mode): Create new indicator for max
level.
(reftex-toc-max-level-indicator): New variable.
(reftex-toc-max-level): New command.
(reftex-toc-map): New keybinding `t'.
(reftex-toc-help): Constant updated.
(eval-when-compile (require 'cl)) added.

* reftex-ref.el (reftex-offer-label-menu): Prefix to `t' command key
can change `reftex-toc-max-level'
(eval-when-compile (require 'cl)) added.

* reftex-sel (reftex-insert-docstruct): Respect
`reftex-toc-max-level'
(eval-when-compile (require 'cl)) added.

* reftex-auc.el (eval-when-compile (require 'cl)) added.

* reftex-vcr.el (eval-when-compile (require 'cl)) added.

* reftex-cite.el (reftex-citep, reftex-citet): New commands.
(reftex-citation, reftex-do-citation,
reftex-figure-out-cite-format): Additional argument FORMAT-KEY to
preselect a citation format.
(eval-when-compile (require 'cl)) added.

* reftex-parse.el (reftex-context-substring): Optional parameter
to-end
(reftex-section-info): Deal with environment matches.
(eval-when-compile (require 'cl)) added.

* reftex-global.el (eval-when-compile (require 'cl)) added.
1999-12-15 17:02:38 +00:00
Eli Zaretskii
f9d2fdc464 Changes for separate unspecified foreground and background colors
on character terminals:

* dispextern.h (FACE_TTY_DEFAULT_FG_COLOR)
(FACE_TTY_DEFAULT_BG_COLOR):  New macros.

* xfaces.c (Qunspecified_fg, Qunspecified_bg): New variables.
(syms_of_xfaces): Initialize and staticpro them.
(tty_defined_color): If the color name is unspecified-fg or
unspecified-bg, return FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR, respectively, as the pixel value.
(tty_color_name): If the color pixel value is either
FACE_TTY_DEFAULT_FG_COLOR or FACE_TTY_DEFAULT_BG_COLOR, return
Qunspecified_fg or Qunspecified_bg, respectively.
(Finternal_set_lisp_face_attribute): Allow values Qunspecified_fg
and Qunspecified_bg for foreground and background colors.
(realize_default_face): If the foreground and background colors
are not specified, default to Qunspecified_fg and Qunspecified_bg.
(realize_tty_face): By default, set the face colors to
FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR.
[MSDOS]: Handle FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR when face colors are not defined.
Reverse the colors if the default colors were reversed.

* dispnew.c (init_display): Initialize the frame pixels of the
initial frame to FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR.

* term.c (turn_on_face): If the default fore- and background
colors are reversed, enter inverse video mode.  Don't send color
escape sequences for unspecified foreground and background colors.
(turn_off_face): Handle unspecified-fg and unspecified-bg colors.

* dosfns.c (unspecified_colors): New variable.
(msdos_stdcolor_idx): Handle unspecified-fg and unspecified-bg
color names, return FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR, respectively.
(msdos_stdcolor_name): Handle FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR, return Qunspecified_fg and
Qunspecified_bg, respectively.

* msdos.c (IT_set_face): Support FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR as pixel values.

* faces.el (face-read-integer, read-face-attribute)
(color-defined-p, color-values): Allow color values unspecified-fg
and unspecified-bg, handle them as unspecified.
1999-12-15 13:14:38 +00:00
Kenichi Handa
5ec14d3c00 *** empty log message *** 1999-12-15 00:53:45 +00:00
Kenichi Handa
34a500b327 (fill-find-break-point): Delete codes for
composite characters.
(fill-region-as-paragraph): Likewise.
1999-12-15 00:52:08 +00:00
Kenichi Handa
d169c89e68 Register tibetan-composition-function in
composition-function-table.
(tibetan-composable-pattern): New variable.
(tibetan-subjoined-transcription-alist): Change key "R" to "+R".
(tibetan-precomposition-rule-alist): Move punctuations to
tibetan-punctuation-transcription-alist and
tibetan-obsolete-glyphs.
(tibetan-punctuation-transcription-alist): New variable.
(tibetan-obsolete-glyphs): New variable.
(tibetan-regexp): Improve the initialization code.
1999-12-15 00:50:58 +00:00
Kenichi Handa
3bdf8898b0 Most functions rewritten.
(tibetan-char-p): Renamed from tibetan-char-examin.
(tibetan-composable-examin) (tibetan-complete-char-examin)
(tibetan-vertical-stacking) (tibetan-composition): Deleted.
(tibetan-add-components): New function.
(tibetan-composition-function): New function.
1999-12-15 00:50:18 +00:00
Kenichi Handa
c27737aa24 Register thai-composition-function in
composition-function-table.
(thai-tis620): Delete `pre-write-conversion' property.
1999-12-15 00:48:14 +00:00
Kenichi Handa
31ce771921 Mostly rewritten. 1999-12-15 00:47:53 +00:00
Kenichi Handa
86e2a80397 Register lao-composition-function in
composition-function-table.
1999-12-15 00:47:31 +00:00
Kenichi Handa
c595d8887d (thai-category-table): Use
make-category-table, not copy-category-table, to initialize it.
(thai-composition-pattern): New variable.
(thai-with-thai-category-table): New macro.
(thai-compose-region, thai-compose-string): Rewritten.
(thai-post-read-conversion): Rewritten.
(thai-pre-write-conversion): Deleted.
(thai-composition-function): New function.
1999-12-15 00:46:54 +00:00
Kenichi Handa
817e162fea (quail-install-map): New optional arg
NAME.
(quail-get-translation): If DEF is a symbol but not a function,
ignore it.
(quail-start-translation): Put a key sequence undefined in the
translation keymap in unread-command-events, not generated-events.
Return parameterized event (compose-last-chars N) if the input
characters should be composed.
(quail-map-definition): If DEF is t, treat it as nil.
(quail-delete-last-char): Delete the quail region.
(quail-show-translations): Don't show list of translations if the
quail package is deterministic.
(quail-completion-max-depth): New variable.
(quail-completion-1): Pay attention to the above variable.  Fix
for the case that a translation is a function.
(quail-map-from-table, quail-map-from-table-1,
quail-map-from-table-2): New functions.
(quail-lookup-map-and-concat): New function
1999-12-15 00:42:43 +00:00
Kenichi Handa
72594565db (set-nested-alist): Set BRANCHES (if
non-nil) at the tail of ALIST.
(compose-region, decompose-region, decompse-string,
reference-point-alist, compose-chars): Moved to composite.el.
(compose-chars-component, compose-chars-rule,
decompose-composite-char): Deleted.
1999-12-15 00:42:14 +00:00
Kenichi Handa
ccac3d772c (iso-2022-7bit, iso-2022-7bit-ss2
iso-2022-7bit-lock, iso-2022-7bit-lock-ss2, iso-2022-8bit-ss2,
x-ctext): Give `composition' property t.
1999-12-15 00:41:44 +00:00
Kenichi Handa
5b8d2ff502 (encode-coding-char): Don't check
composite character.
1999-12-15 00:41:22 +00:00
Kenichi Handa
35554641be (mule-version): Updated to 5.0 (AOI).
(mule-version-date): Updated to 1999.12.7.
(with-category-table): New macro.
1999-12-15 00:40:48 +00:00
Kenichi Handa
0c4f97d011 (vertical-centering-font-regexp): New
variable.
1999-12-15 00:40:24 +00:00
Kenichi Handa
d5f05a67da Fix cateogries of Lao symbols. 1999-12-15 00:39:59 +00:00
Kenichi Handa
f0d16a7fec (what-cursor-position): Show "(composed)" if the
character is composed.
1999-12-15 00:39:33 +00:00
Kenichi Handa
9d4d60c169 (ps-plot-region): Handle new composition. 1999-12-15 00:38:58 +00:00
Kenichi Handa
d0da93b3a1 Define encode-composition-rule and find-composition
for Emacs 20.4 and the earlier versions.
(ps-mule-init-external-library): Just require a feature for
external libraries.
(ps-mule-prologue): Postscript code modified for new composition.
(ps-mule-find-wrappoint): New arg COMPOSITION.
(ps-mule-plot-string): Delete code for composite characaters.
(ps-mule-plot-composition): New funcion.
(ps-mule-prepare-font-for-components): New function.
(ps-mule-plot-components): New function.
(ps-mule-composition-prologue-generated): Renamed from
ps-mule-cmpchar-prologue-generated.
(ps-mule-composition-prologue): New named from
ps-mule-cmpchar-prologue.  Modified for new composition.
(ps-mule-plot-rule-cmpchar, ps-mule-plot-cmpchar,
ps-mule-prepare-cmpchar-font): Deleted.
(ps-mule-string-encoding): New arg NO-SETFONT.
(ps-mule-bitmap-prologue): In Postscript code of BuildGlyphCommon,
check Composing, not Cmpchar
(ps-mule-initialize): Set ps-mule-composition-prologue-generated
to nil.
(ps-mule-begin-job): Check existence of new composition.
1999-12-15 00:34:01 +00:00
Kenichi Handa
c674f3518f New file. 1999-12-15 00:28:11 +00:00
Gerd Moellmann
5806e8a61d (default-input-method): Specify
that it should be set after current-language-environment.
1999-12-14 13:00:09 +00:00
Gerd Moellmann
13b5da0446 (custom-handle-keyword): Add :set-after.
(custom-add-dependencies): New function.
(custom-set-variables): Take dependencies between args into
account.
1999-12-14 12:56:36 +00:00
Gerd Moellmann
c3c60f13d5 *** empty log message *** 1999-12-14 10:46:48 +00:00
Gerd Moellmann
b624447c44 (battery): Doc fix. 1999-12-14 10:19:59 +00:00
Gerd Moellmann
295ccc644c *** empty log message *** 1999-12-12 18:53:40 +00:00
Gerd Moellmann
03d218b4f8 *** empty log message *** 1999-12-12 18:29:58 +00:00
Gerd Moellmann
51f606dea8 Installed version 5.26 1999-12-12 18:24:19 +00:00
Dave Love
3fc5589700 *** empty log message *** 1999-12-12 16:13:50 +00:00
Dave Love
409f8a3f94 Require cl when compiling. Don't autoload kemap and minor-mode-alist
stuff.  Don't set zmacs-region-stays.
(footnote-insert-text-marker, Footnote-insert-pointer-marker): Avoid
`acons'.
(footnote-mode-line-string, Footnote-add-footnote): Remove autoload
cookie.
1999-12-12 16:04:25 +00:00
Gerd Moellmann
d8eccf12ba *** empty log message *** 1999-12-12 13:23:20 +00:00