Commit graph

18262 commits

Author SHA1 Message Date
Kenichi Handa
efbc7e89e3 Don't make the keymap
describe-cyrillic-environment-map and
setup-cyrillic-environment-manp.  Names of coding systems changed.
Give them more informative doc-string. Make iso-8859-5 alias of
cyrillic-iso-8bit, alternativenyj alias of
cyrillic-alternativenyj.  For Cyrillic, provide single langauge
environment "Cyrillic".
Delete the code of calling register-input-method.
1997-06-18 13:03:19 +00:00
Kenichi Handa
9e9af2e94f Provide cyril-util nstead of language/cyril-util.
(setup-cyrillic-iso-environment,
setup-cyrillic-koi8-environment,
setup-cyrillic-alternativnyj-environment): Deleted.
(setup-cyrillic-environment): New function.
1997-06-18 13:02:11 +00:00
Kenichi Handa
a69ed912b7 Provide ethio-util instead of language/ethio-util.
(ethio-fidel-to-tex-map): Correct several elements.
1997-06-18 13:00:03 +00:00
Kenichi Handa
3ea2f73c2c Adjusted for the coding system name change.
Set cyrillic-koi8 for newsgroup "relcom".
1997-06-18 12:57:51 +00:00
Kenichi Handa
c23d387243 Set syntaxes of Ethiopic characters. 1997-06-18 12:55:57 +00:00
Kenichi Handa
44c034c118 (mode-line-mule-info): Change style for showing
an activated input method.
1997-06-18 12:55:15 +00:00
Kenichi Handa
2792ce1648 Change mnemonic letters for iso-2022-7bit-ss2 and
iso-2022-7bit-lock.  Set coding-category-iso-8-2 to
japanese-iso-8bit.
1997-06-18 12:55:14 +00:00
Kenichi Handa
d0b9c3ab1f Define describe-coding-system instead of
describe-current-coding-system in help-map and mule-menu-keymap.
In mule-menu-keymap, enable set-buffer-process-coding-system only
when the current buffer has been associated with some subprocess.
(set-language-info): Doc-string modified because input-method is
not a valid KEY argument now.
(leim-list-file-name, leim-list-header, leim-list-entry-regexp):
New variables.
(update-leim-list-file, update-all-leim-list-files): New
functions.
(current-input-method): Doc-string modified because the value is
now input method name.
(defualt-input-method, previous-input-method): Likewise.
(current-input-method-title): Doc-string modified because now each
input method does not have to set this variable.
(input-method-alist): New variable.
(register-input-method): Register input method in
input-method-alist.
(read-language-and-input-method-name): Deleted.
(read-input-method-name): New function.
(activate-input-method, select-input-method, toggle-input-method):
Modified for the above change.
(read-multilingual-string): Likewise.
(describe-current-input-method): Renamed from
describe-input-method.
(describe-input-method): New function.
(describe-language-environment): Do not put a vacant line at the
top of *Help* buffer.  Show a title string of each input method.
1997-06-18 12:55:13 +00:00
Kenichi Handa
426f97dc59 (list-character-sets): Set major mode of *Help*
buffer to help-mode.
(describe-coding-system): If user input null for coding system,
call describe-current-coding-system.
(describe-current-coding-system-briefly): Doc-string modified.
(print-coding-system-briefly): Print parent and alises of coding
system.
(describe-current-coding-system): Show more information neatly.
(list-coding-systems): If called interactively, do not list up
coding categories.
(list-input-methods): New function.
(mule-diag): Call list-input-methods for listing input methods.
1997-06-18 12:55:12 +00:00
Kenichi Handa
be1d31dcea (coding-system-parent): New function.
(coding-system-lessp): New function.
(coding-system-list): Sort coding systems by coding-system-lessp.
An element of returned list is always coing system, never be a
cons.
(modify-coding-system-alist): Renamed from
set-coding-system-alist.
(prefer-coding-system): New function.
(compose-chars-component): But fix for handling a composite
character of no compositon rule.
1997-06-18 12:55:11 +00:00
Kenichi Handa
6e9722b062 (coding-system-type): Doc-string modified.
(coding-system-category): New function.
(make-subsidiary-coding-system): Argument BASE deleted.
(make-coding-system): Put properties no-initial-designation and
coding-category to a newly created coding system.
(define-coding-system-alias): Put property parent-coding-system
to a new alias, property alias-coding-systems to a parent.
1997-06-18 12:55:09 +00:00
Kenichi Handa
ff913e9291 (quail-current-data): New variable.
(quail-use-package): Do not reload a package already loaded.
(quail-define-package): Update TITLE field of input-method-alist.
(quail-map-p): TRANSLATION may be a cons.
(quail-define-rules): Add autoload cookie.
(quail-defrule): Add autoload cookie.  Handle the case that TRANS
is a cons.
(quail-get-translation, quail-lookup-key, quail-translate-key,
quail-show-translations, quail-completion-list-translations,
quail-show-kbd-layout): Likewise.
(quail-hide-guidance-buf): Check if window WIN exists before
deleting it.
(quail-directory-name): New variable.
(quail-update-leim-list-file): New function.
1997-06-18 12:55:07 +00:00
Kenichi Handa
fc3c34a837 (rmail-enable-decoding-message): Deleted.
(rmail-revert): Bind enable-multibyte-characters to nil before
calling rmail-convert-file.
(rmail-convert-to-babyl-format): If enable-multibyte-characters is
nil, do not convert code.
1997-06-18 12:55:02 +00:00
Kenichi Handa
f320358931 (command-line): Load "leim-list.el". 1997-06-18 12:55:00 +00:00
Richard M. Stallman
42a3e6fa48 Customize.
(command-line): Translate iso-8859-9 into latin-5.
(command-line-1): Recognize setting inhibit-startup-echo-area-message
with customization buffer.
1997-06-18 07:07:57 +00:00
Richard M. Stallman
32884eab96 (help-map): Make C-i run info-lookup-symbol. 1997-06-18 06:50:55 +00:00
Richard M. Stallman
97a084c17a Further fix previous change. 1997-06-18 06:42:38 +00:00
Karl Heuer
0948761df6 (ffap-soft-value): Make this a function again; the macro
version does intern-soft too early.  Deleted XEmacs-specific code.

(ffap-string-at-point-mode-alist): added "=" and
"&" to the url syntax, as suggested by SJE.
(ffap-read-file-or-url): fixed the HIST argument to
completing-read (only visible in XEmacs?), as reported by
Christoph Wedler <wedler@fmi.uni-passau.de>.
(ffap-kpathsea-expand-path) New func, replaces ffap-add-subdirs,
a first attempt at kpathsea emulation.  Also convert "" to "." in
path lists, for XEmacs. Suggestions from SJE.
Added mouse-track support (but no binding), as
suggested by MDB. Moved Emacs mouse bindings from
"down-mouse" events to ordinary mouse events.
(ffap-alist): added ffap-fortran-mode, as requested by MDB.
Rewrote and merged XEmacs support, eliminating file
ffap-xe.el.  Modified ffap-other-frame to work in dedicated
frames, fixing a bug reported by JENS.
(ffap-menu-rescan): avoid modifying the buffer.
Two bugs reported by Christoph Wedler <wedler@fmi.uni-passau.de>:
(ffap-fixup-url): avoid autoloading through url-normalize-url.
(ffap-read-file-or-url): for XEmacs, give extra HACK-HOMEDIR arg
to `abbreviate-file-name'.
(ffap-file-at-point): suppress errors from `ffap-alist'.
(ffap-url-at-point): modified regexp to accept
mail hostnames ending with a digit.  Fixes bug report of SJE.
(ffap-url-at-point): use higher level function
(w3-view-this-url t) suggested by wmperry, instead of
w3-zone-at/w3-zone-data or widget-at/widget-get.
(ffap-url-at-point): modified to work with
w3-version "WWW 2.3.64 1996/06/02 06:20:23" alpha, which
uses the 'widget package rather than the old w3-zone-at.
Bug was reported by JENS.
Adopted comments and doc strings to Emacs coding
conventions.  Reorganized.  Retired v18 support.
(ffap-bindings): Offers a default installation.
(ffap-string-at-point): Modified arguments.
(ffap-gnus-hook): Updated for Gnus 5.
(ffap-tex-init): Delayed initialization of `ffap-tex-path'.
(ffap-dired): New entry in `ffap-alist'.
(ffap-menu-rescan): May fontify the choices in buffer.
(ffap-read-file-or-url): `PC-completion-as-file-name-predicate'
used if available, to work with complete.el.
1997-06-18 04:24:37 +00:00
Karl Heuer
a7b88742ff (lm-display-statistics): Display stats in mode line.
(lm-number-of-trials, lm-sum-of-moves): New vars.
Various doc fixes.
1997-06-18 04:23:02 +00:00
Michael Kifer
e36a387ddd new version 1997-06-18 01:26:55 +00:00
Michael Kifer
dd824ce4e9 Added [ediff-misc] to menu-bar-tools-menu 1997-06-18 00:26:54 +00:00
Richard M. Stallman
3eb37b087e (tar-extract): Use second argument of
view-buffer instead of setting view-exit-action.
1997-06-17 22:04:57 +00:00
Richard M. Stallman
7a26bfc661 (archive-extract): Use second argument of
view-buffer instead of setting view-exit-action.
1997-06-17 22:02:01 +00:00
Richard M. Stallman
48879301fd (scheme): Add defgroup.
Put defcustom's into this group.

(scheme-mode-commands): Remove keybinding of \t to old `scheme-indent-line'.
Bind \e\C-q to `indent-sexp', not `scheme-indent-sexp'.
(scheme-mit-dialect): Use defcustom.
(dsssl-sgml-declaration):  Likewise.  Fix doc string.
1997-06-17 21:54:16 +00:00
Richard M. Stallman
b32410669e (finder-list-keywords): Create *Finder* buffer if nec. 1997-06-17 21:51:35 +00:00
Richard M. Stallman
44a0dbd7cd Fix previous change. 1997-06-17 21:47:30 +00:00
Richard M. Stallman
b5263b80d3 (fill-context-prefix): Fix criteria for first line,
and for second line; always fetch prefixes from both lines.
1997-06-17 21:46:40 +00:00
Richard M. Stallman
32632f6677 (icon-indent-line): A comment ends at the end of the
line, delete call to inexistent function.

(icon-font-lock-keywords-1): Improved regexp.
(icon-font-lock-keywords-2): Likewise.
1997-06-17 19:34:56 +00:00
Richard M. Stallman
a59faabe2b (Buffer-menu-mode): Doc fix.
(Buffer-menu-bury): Move the line to the end.
1997-06-17 19:32:04 +00:00
Richard M. Stallman
c361280d2c (split-window-save-restore-data): New function that
for view mode buffers saves information in view-return-to-alist.
(split-window-vertically, split-window-horizontally):
Call split-window-save-restore-data.
1997-06-17 05:10:06 +00:00
Richard M. Stallman
36570c928f (Buffer-menu-bury): New command.
(Buffer-menu-mode-map): Put Buffer-menu-bury on `b'.
1997-06-17 04:28:01 +00:00
Richard M. Stallman
df63ae664e (add-log-time-format): New variable.
(add-log-iso8601-time-string): New function.
(add-change-log-entry): Use add-log-time-format.
(add-log-iso8601-time-zone): Renamed from iso8601-time-zone.
1997-06-17 04:27:37 +00:00
Richard M. Stallman
1c0707fd10 (wait_reading_process_input): Fix previous change. 1997-06-17 04:15:18 +00:00
Richard M. Stallman
b3e13f5d78 Fix previous change. 1997-06-17 02:29:54 +00:00
Richard M. Stallman
1603f29ab9 (mail-mode): mail-header-separator affects paragraphs
only when there is nothing after it on the line.
(mail-mode-auto-fill, mail-mode-fill-paragraph):
Look for mail-header-separator only on a line by itself.
1997-06-17 00:08:51 +00:00
Richard M. Stallman
000a6a765e (grep-program): Comment out the use of zgrep. 1997-06-16 23:20:46 +00:00
Richard M. Stallman
b0edcc39e0 (icon-imenu-generic-expression): Improved regexp.
(icon-font-lock-keywords-1): Improved regexps.
(icon-font-lock-keywords-2): Likewise.
(icon-mode): Don't set font-lock-comment-start-regexp via
font-lock-defaults; it is not needed anymore.

(icon-imenu-generic-expression): Improved regexp.
(icon-mode): Don't use pushnew.
1997-06-16 23:13:12 +00:00
Richard M. Stallman
1036798c64 Comment change. 1997-06-16 17:32:40 +00:00
Richard M. Stallman
1b335d2908 (Fdo_auto_save): Use stdio to write the save-list file.
(Finsert_file_contents): Don't give up on the fast replace method
if the coding remains undecided.
1997-06-16 07:31:56 +00:00
Richard M. Stallman
203cb91615 Change copyright notices. 1997-06-16 07:29:16 +00:00
Richard M. Stallman
8b7037d930 Don't globally add to change-major-mode-hook.
(view-mode-enable): Add to change-major-mode-hook locally here.
(view-mode-disable): Remove from it locally here.
1997-06-16 06:55:37 +00:00
Richard M. Stallman
7ce63188c9 (wait_reading_process_input): When exiting because
the process WAIT_PROC has terminated, first read all its output.
1997-06-16 06:24:22 +00:00
Richard M. Stallman
78943c8ae6 (byte-save-current-buffer): Change to code 114 (0162). 1997-06-15 23:05:19 +00:00
Richard M. Stallman
4bc504c88c (vc-steal-lock): Use yes-or-no-p for confirmation. 1997-06-15 23:03:18 +00:00
Richard M. Stallman
123658267c Initial revision 1997-06-15 21:00:32 +00:00
Richard M. Stallman
00049484b8 Fix previous change. 1997-06-15 19:43:01 +00:00
Richard M. Stallman
25fe55afa6 Fix up whitespace. 1997-06-15 19:05:59 +00:00
Richard M. Stallman
766ff6275b (struct re_pattern_buffer): New member multibyte.
(re_match_object): New variable.
1997-06-15 19:02:27 +00:00
Richard M. Stallman
b18215fce4 (PTR_TO_OFFSET): New macro.
(POS_AS_IN_BUFFER): New macro.
(SYNTAX_ENTRY_VIA_PROPERTY): Set to take `syntax-table' text
property into account when doing SYNTAX (c).
(re_compile_fastmap): disable fastmap if any of wordbound
notwordbound wordbeg wordend notsyntaxspec syntaxspec are seen.
(re_search_2): SETUP_SYNTAX_TABLE_FOR_OBJECT at the start.
(re_match_object): New variable.
(re_match_2): SETUP_SYNTAX_TABLE_FOR_OBJECT at the start.
(re_match_2_internal): For any of wordbound notwordbound wordbeg
wordend notsyntaxspec syntaxspec call UPDATE_SYNTAX_TABLE before
doing SYNTAX (c).


[emacs]: Include charset.h and category.h

[!emacs] (BASE_LEADING_CODE_P, WORD_BOUNDARY_P,	CHAR_HEAD_P,
SINGLE_BYTE_CHAR_P, SAME_CHARSET_P, MULTIBYTE_FORM_LENGTH,
STRING_CHAR_AND_LENGTH, GET_CHAR_AFTER_2, GET_CHAR_BEFORE_2):
New dummy macros.

(enum re_opcode_t): New member categoryspec and notcategoryspec.

(STORE_CHARACTER_AND_INCR, EXTRACT_CHARACTER,
CHARSET_LOOKUP_RANGE_TABLE_WITH_COUNT,
CHARSET_LOOKUP_RANGE_TABLE, CHARSET_BITMAP_SIZE,
CHARSET_RANGE_TABLE_EXISTS_P, CHARSET_RANGE_TABLE
CHARSET_PAST_RANGE_TABLE): New macros.

(TRANSLATE): Cast return value to unsigned char, not char.

(struct range_table_work_area): New structure.

(EXTEND_RANGE_TABLE_WORK_AREA, SET_RANGE_TABLE_WORK_AREA,
FREE_RANGE_TABLE_WORK_AREA, CLEAR_RANGE_TABLE_WORK_USED,
RANGE_TABLE_WORK_USED, RANGE_TABLE_WORK_ELT): New macros.

(FREE_STACK_RETURN): Call FREE_RANGE_TABLE_WORK_AREA.

(regex_compile): Declare `c' and `c1' as int to store multibyte characters.
Declare range_table_work and initialize	it.
Initialize bufp->multibyte to 0 if not emacs.
For case '[' and `default', code re-written to handle multibyte characters.
Add code for case 'c' and 'C' to handle category spec.

(re_compile_fastmap): New local variables k, simple_char_max,
and match_any_multibyte_characters.
Use macro CHARSET_BITMAP_SIZE.
Handle multibyte characters in cases charset, charset_not,
wordchar, notwordchar, anychar, syntaxspec, notsyntaxspec,
categoryspec, notcategoryspec.

(STOP_ADDR_VSTRING, POS_ADDR_VSTRING): New macros.

(re_search_2): Code re-written to handle multibyte characters.

(AT_WORD_BOUNDARY): Macro disabled.

(re_match_2_internal): New local variable multibyte.  `d' is
incremented while paying attention to multibyte characters if necessary.
For case charset, charsetnot, wordbound, notwordbound,
wordbeg, wordend, matchsyntax, and matchnotsyntax, code
re-written to handle multibyte characters.
Add code for case categoryspec and notcategoryspec.
Declare c, c1 as unsigned int, not unsigned char.
1997-06-15 19:00:12 +00:00
Richard M. Stallman
06cc857db5 Many doc fixes.
(texinfo-all-menus-update): Check for @detailmenu.
(texinfo-master-menu): Likewise.
(texinfo-multiple-files-update): Likewise.
(texinfo-insert-master-menu-list): Put in @detailmenu if appropriate.
1997-06-15 17:39:13 +00:00