bpt/emacs.git
24 years ago(Fset_buffer_multibyte): Arrange for a thorough
Gerd Moellmann [Wed, 22 Dec 1999 10:57:23 +0000 (10:57 +0000)]
(Fset_buffer_multibyte): Arrange for a thorough
redisplay after changing the multibyteness of a buffer.

24 years ago(XTread_socket): At the beginning of the loop, pass the
Gerd Moellmann [Wed, 22 Dec 1999 10:29:16 +0000 (10:29 +0000)]
(XTread_socket): At the beginning of the loop, pass the
frame's X window to XFilterEvent instead of None because that's
the X window for which the IC was created.  This makes dead
accents work when the pointer is not in Emacs' frame.
(XTread_socket) <KeyPress>: Don't call XFilterEvent here.

24 years ago(sh-mode): Don't call sh-set-shell
Gerd Moellmann [Wed, 22 Dec 1999 09:53:20 +0000 (09:53 +0000)]
(sh-mode): Don't call sh-set-shell
with third argument t.

24 years agoVersion 1.2 is released.
Gerd Moellmann [Tue, 21 Dec 1999 14:01:00 +0000 (14:01 +0000)]
Version 1.2 is released.
(antlr): This package has a web page.
Menu/keymap additions for commenting/uncommenting
regions.  Suggested by Dale Davis <Dale_Davis@securify.com>.
(antlr-mode-map): New binding [C-c C-c].
(antlr-mode-menu): New entries.
Respect Emacs conventions.
((require 'cl)): Only use during compilation.
(antlr-language-for-option): New function to avoid using `find'.
(antlr-mode): Use it.
(antlr-with-syntax-table): Define new instead using XEmacs' one.
(antlr-imenu-create-index-function): Change accordingly.
(antlr-inside-rule-p): Ditto.
(antlr-end-of-rule): Ditto.
(antlr-end-of-body): Ditto.
(antlr-beginning-of-rule): Ditto.
(antlr-indent-line): Ditto.
Really use `antlr-tab-offset-alist'.
(antlr-set-tabs): Don't use hard-coded values.
Minor navigation changes.  Not perfect, but this
won't be possible without a huge time penalty.
(antlr-skip-exception-part): Be more specific.
(antlr-skip-file-prelude): Don't skip action prelude of next rule.
Renamed from `antlr-skip-grammar-header'.
(antlr-next-rule): Change accordingly.
(antlr-end-of-body): Ditto.  Better error message.
(antlr-beginning-of-body): Better error message.
(antlr-imenu-create-index-function): Skip rule action prelude.
Minor syntax highlighting changes.
(antlr-font-lock-default-face): Deletia.
(antlr-font-lock-tokendef-face): Changed color.
(antlr-font-lock-tokenref-face): Changed color.
(antlr-font-lock-literal-face): Changed color.
(antlr-font-lock-additional-keywords): Minor changes.

24 years agoFont-lock changes by Anders Lindgren.
Gerd Moellmann [Tue, 21 Dec 1999 09:13:56 +0000 (09:13 +0000)]
Font-lock changes by Anders Lindgren.
CWarn.

24 years ago*** empty log message ***
Gerd Moellmann [Tue, 21 Dec 1999 09:08:41 +0000 (09:08 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Dave Love [Mon, 20 Dec 1999 23:09:55 +0000 (23:09 +0000)]
*** empty log message ***

24 years ago(auto-mode-alist) default mode for extension ".pro" set to `idlwave-mode'
Carsten Dominik [Mon, 20 Dec 1999 14:24:13 +0000 (14:24 +0000)]
(auto-mode-alist) default mode for extension ".pro" set to `idlwave-mode'

24 years agoTeXInfo documentation of the IDLWAVE mode and shell
Carsten Dominik [Mon, 20 Dec 1999 11:18:31 +0000 (11:18 +0000)]
TeXInfo documentation of the IDLWAVE mode and shell

24 years agoA debugging toolbar for IDLWAVE
Carsten Dominik [Mon, 20 Dec 1999 11:12:58 +0000 (11:12 +0000)]
A debugging toolbar for IDLWAVE

24 years agoShell mode for interaction with the idl program (idl = Interactive
Carsten Dominik [Mon, 20 Dec 1999 11:12:17 +0000 (11:12 +0000)]
Shell mode for interaction with the idl program (idl = Interactive
Data Language)

24 years agoRoutine information for IDLWAVE mode.
Carsten Dominik [Mon, 20 Dec 1999 11:11:05 +0000 (11:11 +0000)]
Routine information for IDLWAVE mode.

24 years agoMajor mode for editing files of the Interactive Data Language
Carsten Dominik [Mon, 20 Dec 1999 11:10:02 +0000 (11:10 +0000)]
Major mode for editing files of the Interactive Data Language

24 years ago(Fx_show_tip): Add missing UNGCPRO.
Dave Love [Mon, 20 Dec 1999 10:51:59 +0000 (10:51 +0000)]
(Fx_show_tip): Add missing UNGCPRO.

24 years ago(Fcompleting_read): Rename arg INIT to INITIAL_INPUT.
Richard M. Stallman [Sun, 19 Dec 1999 19:13:08 +0000 (19:13 +0000)]
(Fcompleting_read): Rename arg INIT to INITIAL_INPUT.

24 years ago(completion-ignored-extensions): Add .pdf.
Gerd Moellmann [Sun, 19 Dec 1999 16:14:37 +0000 (16:14 +0000)]
(completion-ignored-extensions): Add .pdf.

24 years agoPut the version info into binary on MS-DOS as well.
Eli Zaretskii [Sun, 19 Dec 1999 14:18:26 +0000 (14:18 +0000)]
Put the version info into binary on MS-DOS as well.

24 years ago*** empty log message ***
Gerd Moellmann [Sun, 19 Dec 1999 13:16:06 +0000 (13:16 +0000)]
*** empty log message ***

24 years ago(debugger-continue): Don't continue If
Gerd Moellmann [Sun, 19 Dec 1999 13:12:28 +0000 (13:12 +0000)]
(debugger-continue): Don't continue If
debugger-may-continue is nil.

24 years ago(debugger_may_continue): New variable.
Gerd Moellmann [Sun, 19 Dec 1999 13:07:33 +0000 (13:07 +0000)]
(debugger_may_continue): New variable.
(syms_of_eval): Add a DEFVAR_BOOL for it.
(call_debugger): Bind it.

24 years ago(IT_set_face): Don't swap face colors when highlight or
Eli Zaretskii [Sun, 19 Dec 1999 11:22:35 +0000 (11:22 +0000)]
(IT_set_face): Don't swap face colors when highlight or
fp->tty_reverse_p is set, unless the computed colors are identical
to frame colors.  Print both original and computed colors to
termscript file.
(IT_write_glyphs): Track the changes in handling of composite
characters.
(IT_set_frame_parameters): Don't set frame colors from
unspecified-fg and unspecified-bg pseudo-colors.

24 years ago(pop3-movemail-file-coding-system): Doc fix.
Dave Love [Sun, 19 Dec 1999 00:39:01 +0000 (00:39 +0000)]
(pop3-movemail-file-coding-system): Doc fix.
(pop3-movemail): Replace binding of pop3-movemail-file-coding-system.

24 years ago*** empty log message ***
Dave Love [Sat, 18 Dec 1999 17:44:05 +0000 (17:44 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Dave Love [Sat, 18 Dec 1999 17:37:02 +0000 (17:37 +0000)]
*** empty log message ***

24 years agoDon't put optimization info on `eql'.
Dave Love [Sat, 18 Dec 1999 17:28:36 +0000 (17:28 +0000)]
Don't put optimization info on `eql'.
(side-effect-free-fns): Add gethash, hash-table-count.
(side-effect-and-error-free-fns): Add hash-table-p.

24 years agoRemove conditional definition of eval-when-compile. Don't specify abs,
Dave Love [Sat, 18 Dec 1999 17:10:56 +0000 (17:10 +0000)]
Remove conditional definition of eval-when-compile.  Don't specify abs,
expt, gethash, hash-table-count, hash-table-p as side-effect-free here.
(cl-emacs-type): Don't declare.
(cl-compile-time-init): Remove Emacs 18 compiler patch.
(cl-parse-loop-clause): Remove compatibility code.

24 years agoRemove Emacs 18 compatibility code. Prepend `cl-' to autoload names
Dave Love [Sat, 18 Dec 1999 17:00:52 +0000 (17:00 +0000)]
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.

24 years agoSmall doc fixes.
Dave Love [Sat, 18 Dec 1999 16:47:43 +0000 (16:47 +0000)]
Small doc fixes.
(scheme-mode-variables): Don't make imenu-generic-expression
buffer-local redundantly.

24 years agoBind free variables.
Dave Love [Sat, 18 Dec 1999 16:36:31 +0000 (16:36 +0000)]
Bind free variables.

24 years ago(byte-compile-constp): Include keywords.
Dave Love [Sat, 18 Dec 1999 16:30:48 +0000 (16:30 +0000)]
(byte-compile-constp): Include keywords.

24 years agoBind free variables when compiling.
Dave Love [Sat, 18 Dec 1999 16:27:10 +0000 (16:27 +0000)]
Bind free variables when compiling.

24 years agodummy
Dave Love [Sat, 18 Dec 1999 16:14:32 +0000 (16:14 +0000)]
dummy

24 years agokeywordp.
Dave Love [Fri, 17 Dec 1999 17:41:56 +0000 (17:41 +0000)]
keywordp.

24 years ago*** empty log message ***
Dave Love [Fri, 17 Dec 1999 15:06:49 +0000 (15:06 +0000)]
*** empty log message ***

24 years ago(Fkeywordp): New function.
Dave Love [Fri, 17 Dec 1999 15:00:56 +0000 (15:00 +0000)]
(Fkeywordp): New function.
(syms_of_data): Install it.

24 years ago*** empty log message ***
Gerd Moellmann [Thu, 16 Dec 1999 19:51:49 +0000 (19:51 +0000)]
*** empty log message ***

24 years ago(custom-declare-variable): Purecopy value.
Dave Love [Thu, 16 Dec 1999 19:43:46 +0000 (19:43 +0000)]
(custom-declare-variable): Purecopy value.

24 years ago(set-face-attribute): Purecopy the attributes set.
Dave Love [Thu, 16 Dec 1999 19:41:04 +0000 (19:41 +0000)]
(set-face-attribute): Purecopy the attributes set.

24 years ago(completion-ignored-extensions): Add .tfm.
Gerd Moellmann [Thu, 16 Dec 1999 19:29:06 +0000 (19:29 +0000)]
(completion-ignored-extensions): Add .tfm.

24 years agoComment.
Dave Love [Thu, 16 Dec 1999 19:16:19 +0000 (19:16 +0000)]
Comment.

24 years agoAdd diff-mode.
Dave Love [Thu, 16 Dec 1999 19:09:41 +0000 (19:09 +0000)]
Add diff-mode.

24 years ago*** empty log message ***
Dave Love [Thu, 16 Dec 1999 19:07:06 +0000 (19:07 +0000)]
*** empty log message ***

24 years ago(byte-compile-bound-variables): Doc fix.
Dave Love [Thu, 16 Dec 1999 15:26:03 +0000 (15:26 +0000)]
(byte-compile-bound-variables): Doc fix.
(byte-extrude-byte-code-vectors): Use remprop.
(byte-compile-lambda): Check that arg is a lambda.

24 years agoSystem for adding and removing keywords.
Gerd Moellmann [Thu, 16 Dec 1999 15:05:06 +0000 (15:05 +0000)]
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.

24 years ago*** empty log message ***
Gerd Moellmann [Thu, 16 Dec 1999 13:23:58 +0000 (13:23 +0000)]
*** empty log message ***

24 years agoFix typo.
Gerd Moellmann [Thu, 16 Dec 1999 13:22:42 +0000 (13:22 +0000)]
Fix typo.

24 years ago(sh-mode): If there is no #!-line, use the shell
Gerd Moellmann [Thu, 16 Dec 1999 13:21:37 +0000 (13:21 +0000)]
(sh-mode): If there is no #!-line, use the shell
from sh-shell-file.

24 years ago(java-keywords): Add Javadoc tags as of JDK 1.2.1.
Gerd Moellmann [Thu, 16 Dec 1999 12:11:18 +0000 (12:11 +0000)]
(java-keywords): Add Javadoc tags as of JDK 1.2.1.

24 years ago* ls-lisp.el (ls-lisp-insert-directory): Print an explicit message
Eli Zaretskii [Thu, 16 Dec 1999 09:43:32 +0000 (09:43 +0000)]
* 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.

24 years ago(tty_defined_color): Fix last change.
Eli Zaretskii [Thu, 16 Dec 1999 09:38:21 +0000 (09:38 +0000)]
(tty_defined_color): Fix last change.

24 years ago(BUILD_GLYPH_STRINGS): For pcc, remove continuation in arg list.
Dave Love [Wed, 15 Dec 1999 17:46:18 +0000 (17:46 +0000)]
(BUILD_GLYPH_STRINGS): For pcc, remove continuation in arg list.

24 years agoUpdate to reftex 4.9
Carsten Dominik [Wed, 15 Dec 1999 17:27:40 +0000 (17:27 +0000)]
Update to reftex 4.9

24 years ago* reftex.el (reftex-compile-variables): respect new structure of
Carsten Dominik [Wed, 15 Dec 1999 17:02:38 +0000 (17:02 +0000)]
* 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.

24 years ago(redisplay_window) <optional new window start>: Check
Gerd Moellmann [Wed, 15 Dec 1999 16:27:45 +0000 (16:27 +0000)]
(redisplay_window) <optional new window start>: Check
that window start is in [BEGV..ZV].

24 years agoCopyright up-date.
Dave Love [Wed, 15 Dec 1999 15:18:34 +0000 (15:18 +0000)]
Copyright up-date.

24 years ago1999-12-15 Kenichi Handa <handa@etl.go.jp>
Dave Love [Wed, 15 Dec 1999 15:15:29 +0000 (15:15 +0000)]
1999-12-15  Kenichi Handa  <handa@etl.go.jp>

* regex.c (regex_compile): Adjusted for the change of CHAR_STRING.

1999-12-04  Stefan Monnier  <monnier@cs.yale.edu>

* regex.c (regex_compile): Recognize *?, +? and ?? as non-greedy
operators and handle them properly.
* regex.h (RE_ALL_GREEDY): New option.
(RE_UNMATCHED_RIGHT_PAREN_ORD): Moved to the end where alphabetic
sorting would put it.
(RE_SYNTAX_AWK, RE_SYNTAX_GREP, RE_SYNTAX_EGREP)
(_RE_SYNTAX_POSIX_COMMON): Use the new option to keep old behavior.

24 years agoExplain that unused input methods can be removed from the installation
Eli Zaretskii [Wed, 15 Dec 1999 15:14:20 +0000 (15:14 +0000)]
Explain that unused input methods can be removed from the installation
directory after "make install".

24 years agoSet file name to ../info/ccmode, to avoid problems
Gerd Moellmann [Wed, 15 Dec 1999 13:59:45 +0000 (13:59 +0000)]
Set file name to ../info/ccmode, to avoid problems
on 8+3 filesystems.

24 years agoChanges for separate unspecified foreground and background colors
Eli Zaretskii [Wed, 15 Dec 1999 13:14:38 +0000 (13:14 +0000)]
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.

24 years ago(code_convert_region): Fix the secoding arg to
Kenichi Handa [Wed, 15 Dec 1999 12:49:36 +0000 (12:49 +0000)]
(code_convert_region): Fix the secoding arg to
update_compositions.

24 years ago*** empty log message ***
Kenichi Handa [Wed, 15 Dec 1999 00:53:45 +0000 (00:53 +0000)]
*** empty log message ***

24 years ago(fill-find-break-point): Delete codes for
Kenichi Handa [Wed, 15 Dec 1999 00:52:08 +0000 (00:52 +0000)]
(fill-find-break-point): Delete codes for
composite characters.
(fill-region-as-paragraph): Likewise.

24 years agoRegister tibetan-composition-function in
Kenichi Handa [Wed, 15 Dec 1999 00:50:58 +0000 (00:50 +0000)]
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.

24 years agoMost functions rewritten.
Kenichi Handa [Wed, 15 Dec 1999 00:50:18 +0000 (00:50 +0000)]
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.

24 years agoRegister thai-composition-function in
Kenichi Handa [Wed, 15 Dec 1999 00:48:14 +0000 (00:48 +0000)]
Register thai-composition-function in
composition-function-table.
(thai-tis620): Delete `pre-write-conversion' property.

24 years agoMostly rewritten.
Kenichi Handa [Wed, 15 Dec 1999 00:47:53 +0000 (00:47 +0000)]
Mostly rewritten.

24 years agoRegister lao-composition-function in
Kenichi Handa [Wed, 15 Dec 1999 00:47:31 +0000 (00:47 +0000)]
Register lao-composition-function in
composition-function-table.

24 years ago(thai-category-table): Use
Kenichi Handa [Wed, 15 Dec 1999 00:46:54 +0000 (00:46 +0000)]
(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.

24 years ago(quail-install-map): New optional arg
Kenichi Handa [Wed, 15 Dec 1999 00:42:43 +0000 (00:42 +0000)]
(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

24 years ago(set-nested-alist): Set BRANCHES (if
Kenichi Handa [Wed, 15 Dec 1999 00:42:14 +0000 (00:42 +0000)]
(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.

24 years ago(iso-2022-7bit, iso-2022-7bit-ss2
Kenichi Handa [Wed, 15 Dec 1999 00:41:44 +0000 (00:41 +0000)]
(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.

24 years ago(encode-coding-char): Don't check
Kenichi Handa [Wed, 15 Dec 1999 00:41:22 +0000 (00:41 +0000)]
(encode-coding-char): Don't check
composite character.

24 years ago(mule-version): Updated to 5.0 (AOI).
Kenichi Handa [Wed, 15 Dec 1999 00:40:48 +0000 (00:40 +0000)]
(mule-version): Updated to 5.0 (AOI).
(mule-version-date): Updated to 1999.12.7.
(with-category-table): New macro.

24 years ago(vertical-centering-font-regexp): New
Kenichi Handa [Wed, 15 Dec 1999 00:40:24 +0000 (00:40 +0000)]
(vertical-centering-font-regexp): New
variable.

24 years agoFix cateogries of Lao symbols.
Kenichi Handa [Wed, 15 Dec 1999 00:39:59 +0000 (00:39 +0000)]
Fix cateogries of Lao symbols.

24 years ago(what-cursor-position): Show "(composed)" if the
Kenichi Handa [Wed, 15 Dec 1999 00:39:33 +0000 (00:39 +0000)]
(what-cursor-position): Show "(composed)" if the
character is composed.

24 years ago(ps-plot-region): Handle new composition.
Kenichi Handa [Wed, 15 Dec 1999 00:38:58 +0000 (00:38 +0000)]
(ps-plot-region): Handle new composition.

24 years agoDefine encode-composition-rule and find-composition
Kenichi Handa [Wed, 15 Dec 1999 00:34:01 +0000 (00:34 +0000)]
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.

24 years agoRewritten for new composition.
Kenichi Handa [Wed, 15 Dec 1999 00:32:16 +0000 (00:32 +0000)]
Rewritten for new composition.

24 years agoNew file.
Kenichi Handa [Wed, 15 Dec 1999 00:28:11 +0000 (00:28 +0000)]
New file.

24 years ago(x_append_glyph): Setup members of struct glyph properly
Kenichi Handa [Wed, 15 Dec 1999 00:27:21 +0000 (00:27 +0000)]
(x_append_glyph): Setup members of struct glyph properly
for composition.
(x_append_composite_glyph): New function.
(VCENTER_BASELINE_OFFSET): New macro.
(x_produce_glyphs): If it->what == IT_COMPOSITION, setup members
of struct it for the composition.  Cache pixel offsets in the
struct composition.  Delete codes for a composite character.
Handle Vignore_relative_composition in composition code.
(struct glyph_string): Delete member cmpcharp, add new member cmp.
(x_set_cursor_gc): Check s->cmp, not s->cmpcharp.
(x_compute_glyph_string_overhangs): Likewise.
(x_get_glyph_overhangs): Delete codes for a composite character.
(x_right_overwritten): Check s->cmp, not s->cmpcharp.
(x_draw_glyph_string_background): Likewise.  Delete codes for
checking s->gidx for a composition.
(x_draw_glyph_string_foreground): Delete code for a composite
character.
(x_draw_composite_glyph_string_foreground): New function.
(x_draw_glyph_string_box): Check s->cmp, not s->cmpcharp.
(x_draw_glyph_string): Handle the case of COMPOSITE_GLYPH.
(struct work): Deleted.
(x_fill_composite_glyph_string): Argument changed.  Mostly
rewritten for that.
(x_fill_glyph_string): Don't check CHARSET_COMPOSITION.
(BUILD_CHAR_GLYPH_STRINGS): Don't handle composition here.
(BUILD_COMPOSITE_GLYPH_STRING): New macro.
(BUILD_GLYPH_STRINGS): For composition, call
BUILD_COMPOSITE_GLYPH_STRING.
(x_new_font): Initialize f->output_data.x->baseline_offset, not
f->output_data.x->font_baseline.

24 years ago(struct x_output): Change member font_baseline to
Kenichi Handa [Wed, 15 Dec 1999 00:26:32 +0000 (00:26 +0000)]
(struct x_output): Change member font_baseline to
baseline_offset.

24 years ago(lisp_data_to_selection_data): Adjusted for the change
Kenichi Handa [Wed, 15 Dec 1999 00:26:05 +0000 (00:26 +0000)]
(lisp_data_to_selection_data): Adjusted for the change
for find_charset_in_str.

24 years agoInclude intervals.h.
Kenichi Handa [Wed, 15 Dec 1999 00:25:34 +0000 (00:25 +0000)]
Include intervals.h.
(syms_of_xfns): Make `display' property nonsticky by default.

24 years ago(choose_face_fontset_font): Delete codes for a
Kenichi Handa [Wed, 15 Dec 1999 00:24:07 +0000 (00:24 +0000)]
(choose_face_fontset_font): Delete codes for a
composite character.
(realize_x_face): Likewise.  Change a place to set local variable
`f' to avoid a bug of GCC 2.8.1 on Solaris.

24 years ago(it_props): Add an entry for composition.
Kenichi Handa [Wed, 15 Dec 1999 00:23:27 +0000 (00:23 +0000)]
(it_props): Add an entry for composition.
(face_before_or_after_it_pos): For composition, check face of a
character after the composition.
(handle_composition_prop): New function.
(get_next_display_element): Adjusted for the change of
CHAR_STRING.
(set_iterator_to_next): Handle the case that it->method ==
next_element_from_composition.
(next_element_from_composition): New function.
(message_dolog): Adjusted for the change of CHAR_STRING.
(set_message_1): Likewise.
(check_point_in_composition): New function.
(reconsider_clip_changes): If point moved into or out of
composition, set b->clip_changed to 1 to force updating of the
screen.
(disp_char_vector): Delete codes for a composite character.
(decode_mode_spec_coding): Adjusted for the change of CHAR_STRING.

24 years ago(Frecenter): Clear all caches of compositions.
Kenichi Handa [Wed, 15 Dec 1999 00:22:26 +0000 (00:22 +0000)]
(Frecenter): Clear all caches of compositions.

24 years ago(Vtext_property_default_nonsticky): New variable
Kenichi Handa [Wed, 15 Dec 1999 00:21:42 +0000 (00:21 +0000)]
(Vtext_property_default_nonsticky): New variable
(syms_of_textprop): Declare it as a Lisp variable.

24 years ago(encode_terminal_code): Delete codes for a composite
Kenichi Handa [Wed, 15 Dec 1999 00:21:15 +0000 (00:21 +0000)]
(encode_terminal_code): Delete codes for a composite
character.  Adjusted for the change of CHAR_STRING.
(produce_glyphs): When called, it->what can be IT_COMPOSITION.
Delete codes for a composite character.

24 years ago(SYNTAX_ENTRY_INT): Delete codes for a composite
Kenichi Handa [Wed, 15 Dec 1999 00:20:44 +0000 (00:20 +0000)]
(SYNTAX_ENTRY_INT): Delete codes for a composite
character.

24 years ago(search_buffer): Adjusted for the change of CHAR_STRING.
Kenichi Handa [Wed, 15 Dec 1999 00:20:26 +0000 (00:20 +0000)]
(search_buffer): Adjusted for the change of CHAR_STRING.

24 years agoInclude composite.h.
Kenichi Handa [Wed, 15 Dec 1999 00:17:54 +0000 (00:17 +0000)]
Include composite.h.
(read_process_output): Call update_compositions.

24 years ago(printchar): Adjusted for the change of CHAR_STRING.
Kenichi Handa [Wed, 15 Dec 1999 00:17:25 +0000 (00:17 +0000)]
(printchar): Adjusted for the change of CHAR_STRING.

24 years ago(readchar): Adjusted for the change of CHAR_STRING.
Kenichi Handa [Wed, 15 Dec 1999 00:17:03 +0000 (00:17 +0000)]
(readchar): Adjusted for the change of CHAR_STRING.
Delete a code that handles an invalid too-long multibyte sequence
because we are now sure that we never encounter with such a
sequence.
(read_multibyte): Use macro MAX_MULTIBYTE_LENGTH, not
MAX_LENGTH_OF_MULTI_BYTE_FORM.
(init_obarray): Likewise.
(read1): Likewise.  Adjusted for the change of CHAR_STRING.

24 years ago(QCtest, QCweakness, Qequal): Extern them.
Kenichi Handa [Wed, 15 Dec 1999 00:16:30 +0000 (00:16 +0000)]
(QCtest, QCweakness, Qequal): Extern them.
(hash_put): Adjusted for the change of the definition.
(signal_after_change): Likewise.
(check_point_in_composition): Extern it.

24 years ago(push_key_description): Adjusted for the change of
Kenichi Handa [Wed, 15 Dec 1999 00:15:57 +0000 (00:15 +0000)]
(push_key_description): Adjusted for the change of
CHAR_STRING.
(Ftext_char_description): Likewise.

24 years ago(Vdisable_point_adjustment): New variable.
Kenichi Handa [Wed, 15 Dec 1999 00:15:16 +0000 (00:15 +0000)]
(Vdisable_point_adjustment): New variable.
(Vglobal_disable_point_adjustment): New variable.
(syms_of_keyboard): Declare them as Lisp variables.
(command_loop_1): Check them and call adjust_point_for_property if
necessary.
(adjust_point_for_property): New function.

24 years ago(adjust_intervals_for_insertion): To check stickines
Kenichi Handa [Wed, 15 Dec 1999 00:14:44 +0000 (00:14 +0000)]
(adjust_intervals_for_insertion): To check stickines
of properties, pay attention to text-property-default-nonsticky.
(merge_properties_sticky): Likewise.
(get_property_and_range): New function.

24 years agoInclude composite.h.
Kenichi Handa [Wed, 15 Dec 1999 00:14:19 +0000 (00:14 +0000)]
Include composite.h.
(get_property_and_range): Extern it.
(Vtext_property_default_nonsticky): Extern it.

24 years ago(copy_text): Adjusted for the change of CHAR_STRING.
Kenichi Handa [Wed, 15 Dec 1999 00:13:49 +0000 (00:13 +0000)]
(copy_text): Adjusted for the change of CHAR_STRING.
(insert_char): Likewise.
(insert): Call update_compositions.
(insert_and_inherit): Likewise.
(insert_before_markers): Likewise.
(insert_before_markers_and_inherit): Likewise.
(insert_from_string): Likewise.
(insert_from_string_before_markers): Likewise.
(insert_from_buffer): Likewise.
(replace_range): Likewise.
(count_combining_composition): Deleted.
(count_combining_before): Delete codes for a composite character.
(count_combining_after): Likewise.
(del_range_1): Call update_compositions.
(del_range_byte): Likewise.
(del_range_both): Likewise.
(Fcombine_after_change_execute): Likewise.