1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-19 01:10:57 -08:00
Commit graph

22722 commits

Author SHA1 Message Date
Kenichi Handa
b2ba2dc0b5 (japanese-replace-region): New function.
(japanese-katakana-region, japanese-hiragana-region,
japanese-hankaku-region, japanese-zenkaku-region): Don't change
point.  Use japanese-replace-region to change text.
1998-07-19 05:17:35 +00:00
Kenichi Handa
99848db078 (isearch-input-method-function): New variable.
(isearch-input-method-local-p): New variable.
(isearch-mode): Setup the above two variable.  Set
input-method-function to nil locally.
(isearch-done): Restore the previous value of
input-method-function.
1998-07-19 05:17:35 +00:00
Kenichi Handa
277576f6bc (Fdefine_charset): Fix doc-string. 1998-07-19 05:17:35 +00:00
Kenichi Handa
9dfb82d5cc (dumpglyphs): After calling ccl_driver, set cp->byte1 to
zero for 1-byte font.
1998-07-19 05:17:35 +00:00
Richard M. Stallman
a01588fc82 (sgml-mode): Call kill-local-variables
here directly, then set major-mode, then call sgml-mode-common.
Run the hooks here at the end.
(html-mode): Likewise.
(sgml-mode-common): Don't call kill-local-variables; don't run hooks.
1998-07-19 00:04:01 +00:00
Simon Marshall
1283797124 (lazy-lock-fontify-after-visage): Renamed from lazy-lock-fontify-after-outline.
(lazy-lock-install-hooks): Add to hs-hide-hook too.
(lazy-lock-unstall): Remove it.
(lazy-lock-fontify-rest-after-change):
(lazy-lock-defer-rest-after-change): Ensure properties are always
removed from the rest of the buffer by widening before using point-max.
1998-07-17 15:13:21 +00:00
Stephen Eglen
fc6bfeec0b (forms-mode): Doc fix (remove slashes from keybindings). 1998-07-17 14:01:15 +00:00
Richard M. Stallman
a53afa115c (archive-mode): Make the buffer unibyte. 1998-07-17 08:34:27 +00:00
Richard M. Stallman
8dc33e1146 (archive-extract): If the extractor signals an
error, trap it, so that the buffer created for a member is killed.
1998-07-17 03:21:14 +00:00
Kenichi Handa
b528110c6c (quail-japanese-kanji-kkc): Adjusted for the change of quail.el.
(quail-japanese-switch-package): Likewise.
1998-07-16 00:14:44 +00:00
Kenichi Handa
9045dc7e0a (kkc-show-conversion-list-index-chars):
Default value changed.
(kkc-keymap): Renamed from kkc-mode-map.  Key binding for
kkc-non-kkc-command are deleted.
(kkc-mode): This function deleted.
(kkc-canceled): This variable deleted.
(kkc-converting): New variable.
(kkc-region): 3rd optional arg is deleted.  Completely rewritten
to adjust for the change in quail.el.
(kkc-terminate, kkc-cancel): Adjusted for the change of
kkc-region.
(kkc-non-kkc-command): This function deleted.
(kkc-select-from-list): Use last-input-event instead of
last-input-char.  Put an unknown event back to
unread-input-method-events.
1998-07-16 00:14:44 +00:00
Kenichi Handa
b58fc490b4 (quail-mode): This variable deleted.
(quail-current-key): Make it buffer local.
(quail-current-str, quail-current-translations): Likewise.
(quail-reset-conversion-region): This variable deleted.
(quail-use-package): Call quail-activate at the tail.
(quail-translation-keymap, quail-simple-translation-keymap): Key
bindings for quail-execute-non-quail-command deleted.
(quail-conversion-keymap): Likewise.  Add key bindings for
quail-self-insert-command.
(quail-delete-overlays): Chekc overlay-start for overlays before
deleting them.
(quail-mode): This function deleted.
(quail-inactivate, quail-activate): New functions.
(quail-saved-current-map, quail-saved-current-buffer): These
variables deleted.
(quail-toggle-mode-temporarily, quail-execute-non-quail-command):
These functions deleted.
(quail-exit-conversion-mode, quail-prefix-arg): These variables
deleted.
(quail-error): New error condition.
(quail-error): New function.
(quail-translating, quail-converting): New variables.
(quail-input-method, quail-overlay-region-events): New function.
(quail-start-translation): Completely re-written.
(quail-start-translation-in-conversion-mode): This function
deleted.
(quail-start-conversion): New function.
(quail-terminate-translation): Just set quail-translating to nil.
(quail-update-translation): Put some events back to
unread-input-method-events instead of unread-command-events.  Call
quail-error instead of error.
(quail-self-insert-command): Adjusted for the change of
quail-start-translation.
(quail-next-translation): Don't call
quail-execute-non-quail-command, instead, put an event back of
unread-command-events.
(quail-prev-translation, quail-next-translation-block,
quail-prev-translation-block): Likewize.
(quail-conversion-backward-char): Call quail-error instead of
error.  Set quail-translating to nil.
(quail-conversion-forward-char): Likewize.
(quail-conversion-delete-char): Call quail-error instead of error.
If conversion region gets vacant, set quail-converting to nil.
(quail-conversion-backward-delete-char): Likewize.
(quail-no-conversion): Just set quail-converting to nil.
(quail-mouse-choose-completion): Call quai-error instead of error.
(quail-choose-completion-string): Likewize.
(quail-help): Don't handle quail-mode-map.
1998-07-16 00:14:44 +00:00
Kenichi Handa
9afa6c3575 ("Ethiopic"): Typo in sample-text fixed. 1998-07-16 00:14:44 +00:00
Kenichi Handa
8bc49fd1f3 (read_process_output): Even if we read data without
code conversion, calculate character counts.  If we insert the
data into a unibyte buffer, treat the data as unibyte.
1998-07-16 00:14:44 +00:00
Eli Zaretskii
9959c16e4f (file-name-invalid-regexp): Fix the part which handles colons in file names. 1998-07-15 10:21:04 +00:00
Richard M. Stallman
6356e646f5 (Info-complete-menu-buffer): Add defvar. 1998-07-15 00:09:43 +00:00
Richard M. Stallman
ddf8921158 (Info-read-node-name-1, Info-read-node-name):
Rename completion-table to Info-read-node-completion-table.
(Info-read-node-completion-table): Add defvar.
1998-07-15 00:07:49 +00:00
Richard M. Stallman
86f281250c (find-function-regexp): Added :version 20.3.
(find-variable-regexp, find-function-after-hook): Likewise.
(find-function-recenter-line): Likewise.
(find-function-recenter-line): Remove autoload cookie.
(find-function-do-it): Made more solid.  `save-excursion' around
call to `find-function-noselect'.  `find-function-other-window'
and `find-function-other-frame' point behaviour should be correct
now when function in a current buffer.
(find-function-setup-keys): New function to set up keybindings.
1998-07-14 23:42:21 +00:00
Karl Heuer
7aa5f6cf26 Added next-buffer/previous-buffer keybindings (bound to M-n/M-p).
(crisp-unbury-buffer): New function.

Fixed bogus XEmacs/Lucid string-match checking.
Made modeline entry mouse2-able.

(crisp-mode-map): Make this a sparse keymap parented from
current-global-map.
(crisp-mode-original-keymap): Don't copy the keymap.
(crisp-last-last-command): Renamed from last-last-command.  defvar it.
(crisp-mode): Honor ARG.

(crisp-kill-line, crisp-copy-line): When a region isn't highlighted,
use the region from point to eol.  Honor prefix argument.

(crisp-submit-bug-report): New command, taken from cc-mode.

Shortened the version numbering, removed the release-version tracking

(crisp-version): New function.
New keybindings `C-home', `C-end', `M-home', `M-end', `C-f', `M-l',
`M-m'.

(crisp-copy-line): No need to save point.

Removed S-right and S-left bindings.

Abstract the marking and selection interfaces so that we can be
compatible with both Emacs and XEmacs.  And try and make the
behavior as close as possible under both environments so that there
are no surprises.
1998-07-14 22:17:35 +00:00
Richard M. Stallman
aaa154880b (lisp-font-lock-keywords-2): support `handler-*',
`restart-*', `*-bind', `abort', `the', `break', `compiler-let'
`symbol-macrolet' etc.
(lisp-font-lock-keywords-1): Support `define-*-macro',
`define-condition', `define-setf-expander' etc.
1998-07-14 08:22:05 +00:00
Richard M. Stallman
09a4d958b2 Indent restart-case', handler-bind' and `restart-bind' correctly. 1998-07-14 08:20:17 +00:00
Richard M. Stallman
8c05b76c93 (read-quoted-char): Bind input-method-function to nil. 1998-07-14 08:15:51 +00:00
Richard M. Stallman
4b9c8a0604 (do-auto-fill): Always break before any whitespace
so that point ends up at the right place.
1998-07-14 05:51:20 +00:00
Richard M. Stallman
20f6783d3c (Finsert_file_contents): When replacing, in multibyte bfr,
always extend the range to a character boundary.
1998-07-13 22:11:54 +00:00
Richard M. Stallman
7c968ca53e (rmail-edit-current-message, rmail-cease-edit):
Save and restore save-buffer-coding-system in another local variable.
1998-07-13 22:04:35 +00:00
Andrew Innes
200127fd0d (ps-do-despool): Bind ps-printer-name to printer-name if the former is
nil.
1998-07-13 19:58:49 +00:00
Andrew Innes
070d1949d1 (add_menu_item): Draw menu items like titles if call_data is 0. 1998-07-13 19:54:15 +00:00
Eli Zaretskii
538d05bb65 (set_clipboard_data, get_clipboard_data, Fw16_set_clipboard_data,
Fw16_get_clipboard_data, Fx_selection_exists_p): Use CF_OEMTEXT instead
of CF_TEXT.
1998-07-13 14:29:35 +00:00
Richard M. Stallman
b3a0387c09 (fill-individual-paragraphs-prefix): New
subroutine taken from fill-individual-paragraphs.  Really check that
JUST-ONE-LINE-PREFIX is longer than TWO-LINES-PREFIX in its whitespace.
(fill-individual-paragraphs-citation): New subroutine.
(fill-nonuniform-paragraphs): Arg MAILP renamed.
(fill-individual-paragraphs): Arg MAILP renamed.
1998-07-13 02:11:16 +00:00
Richard M. Stallman
706e3d8591 (mail-citation-prefix-regexp): New variable.
(mail-fill-yanked-message): Pass mail-citation-prefix-regexp
to fill-individual-paragraphs.
1998-07-13 01:45:43 +00:00
Richard M. Stallman
7ec4806e71 (jka-compr-insert-file-contents): Replace incorrect
inline code with call to find-operation-coding-system.
1998-07-13 01:10:09 +00:00
Andrew Innes
0108f679e4 (Fw32_set_clipboard_data): Set Vlast_coding_system_used.
(Fw32_get_clipboard_data): Likewise.
1998-07-12 20:24:23 +00:00
Karl Heuer
0469366f99 (Fcopy_marker): Make return from wrong_type_argument
fall thru into normal case.
1998-07-12 19:13:45 +00:00
Andrew Innes
b2a8c84d18 dos-w32.el (file-name-buffer-file-type-alist): Force tags files to be
read as raw-text-dos (to handle files in DOS format).
1998-07-12 15:20:27 +00:00
Richard M. Stallman
ad37b071b9 Add selection-coding-system. 1998-07-12 06:01:55 +00:00
Richard M. Stallman
14915c37c2 (set-selection-coding-system): Renamed from set-clipboard-coding-system.
Set the variable's new name, selection-coding-system.
1998-07-12 05:58:47 +00:00
Richard M. Stallman
bb2c867843 (rmail-output-to-rmail-file):
Clean up handling of relative file names in DEFAULT-FILE.
1998-07-12 05:56:12 +00:00
Richard M. Stallman
17e7ef1b77 (Fchars_in_region): Coerce markers. 1998-07-12 03:15:53 +00:00
Richard M. Stallman
e73ec04be6 (find-file-noselect-1): Use kill-local-variable on
buffer-file-coding-system, instead of setting it.
(save-buffer): Doc fix.
(basic-save-buffer): Doc fix.
1998-07-12 03:14:44 +00:00
Andrew Innes
e59fe83bff (w32_menu_show): Set widget call_data to 0 if definition is nil.
(add_menu_item): Gray menu entry if widget call_data is 0.
1998-07-11 21:52:17 +00:00
Richard M. Stallman
93e4ce1b88 (Vselection_coding_system):
Renamed from Vclipboard_coding_system.  All uses changed.
(syms_of_xselect): Rename Lisp variable.
1998-07-11 20:42:12 +00:00
Karl Heuer
59588cd48b More commentary.
(speedbar-xemacsp) Moved definition.
(speedbar-initial-expansion-mode-list) was
`speedbar-initial-expansion-list' and now has multiple modes.
(speedbar-stealthy-function-list) now has mode labels.
(speedbar-initial-expansion-list-name,
speedbar-previously-used-expansion-list-name,
speedbar-special-mode-key-map, speedbar-track-mouse-flag,
speedbar-tag-hierarchy-method, speedbar-tag-split-minimum-length,
speedbar-tag-regroup-maximum-length,
speedbar-hide-button-brackets-flag) New variables
(speedbar-special-mode-expansion-list) updated documentation.
(speedbar-navigating-speed, speedbar-update-speed) phasing out.
(speedbar-vc-indicator) removed space from this var.
(speedbar-indicator-separator, speedbar-obj-do-check,
speedbar-obj-to-do-point, speedbar-obj-indicator, speedbar-obj-alist,
speedbar-indicator-regex) new variables.
(speedbar-directory-unshown-regexp) New variable.
(speedbar-supported-extension-expressions) Added more extensions.
(speedbar-add-supported-extension,
speedbar-add-ignored-path-regexp) Made interactive.
(speedbar-update-flag) nil w/ no window system.
(speedbar-file-key-map) Moved some key bindings from
`speedbar-key-map' to this map.
(speedbar-make-specialized-keymap) New function.
(speedbar-file-key-map) New key map.
(speedbar-easymenu-definition-special) Updated to new functions.
(speedbar-easymenu-definition-trailer) Changed conditional part.
(speedbar-frame-mode) Removed commented code, fixed W32 cursor
bug, Updated to better handle terminal frames.
(speedbar-switch-buffer-attached-frame) New function.
(speedbar-mode) Updated documentation, no local keymap,
correct `temp-buffer-show-function' use, enable mouse-tracking.
(speedbar-show-info-under-mouse) New function.
(speedbar-reconfigure-keymaps) Was `speedbar-reconfigure-menubar'.
Enable major display mode specific menus & key maps.
(speedbar-temp-buffer-show-function) Fix use of `temp-buffer-show-hook'
(speedbar-track-mouse, speedbar-track-mouse-xemacs) New functions.
(speedbar-restricted-move, speedbar-restricted-next,
speedbar-restricted-prev, speedbar-navigate-list,
speedbar-forward-list, speedbar-backward-list) New commands.
(speedbar-refresh) Updated message printing & verbosity.
(speedbar-item-load) Updated message.
(speedbar-item-byte-compile) Updated doc & reset scanners.
(speedbar-item-info) Overhauled with more details.
(speedbar-item-copy) Update messages.
(speedbar-generic-item-info) New function
(speedbar-item-delete) Update messages.
(speedbar-item-object-delete) New function.
(speedbar-select-window) Update doc.  Use `show-buffer'.
(speedbar-make-button) Update doc.
(speedbar-initial-expansion-list, speedbar-initial-menu,
speedbar-initial-keymap, speedbar-initial-stealthy-functions,
speedbar-add-expansion-list,
speedbar-change-initial-expansion-list) New functions.
(speedbar-maybe-add-localized-support,
speedbar-add-localized-speedbar-support,
speedbar-remove-localized-speedbar-support) Imported from speedbspec
(speedbar-file-lists) Filter out some directories.
(speedbar-make-tag-line) Can hide brackets.
(speedbar-change-expand-button-char) Protect invisible text prop.
(speedbar-insert-files-at-point) Ignore case during comares.
(speedbar-apply-one-tag-hierarchy-method,
speedbar-create-tag-hierarchy) New functions.
(speedbar-insert-generic-list) Now calls hierarchy functions on tags.
(speedbar-update-contents) Handles localized support.
(speedbar-update-directory-contents) Uses fn for expansion list,
Fixed directory cacheing bug.
(speedbar-timer-fn) Calls localized support function.
(speedbar-stealthy-update-recurse) New variable
(speedbar-stealthy-updates) Handle new stealth function format.
(speedbar-clear-current-file) Handle indicator regex.
(speedbar-update-current-file) Ignores case, update handle
indicator regex, Fix line positioning.
(speedbar-add-indicator) Handles obj indicators now.
(speedbar-check-objects, speedbar-check-obj-this-line) New functions.
(speedbar-double-click) Fix tripple click error.
(speedbar-line-file, speedbar-goto-this-file) Handle indicator regex.
(speedbar-line-path) Only try to get a file when in "files" display.
(speedbar-line-depth) Handle indicator regex.
(speedbar-dir-follow) Turn of smart-adjust to disable cache use.
(speedbar-directory-buttons-follow) Hack for W32 emacs directories.
(speedbar-buffers-key-map) New key map.
(speedbar-buffer-easymenu-definition) New meny items.
(speedbar-buffer-buttons, speedbar-buffer-buttons-temp,
speedbar-buffer-buttons-engine, speedbar-buffer-click,
speedbar-buffer-kill-buffer, speedbar-buffer-revert-buffer)
New functions.
1998-07-10 16:48:06 +00:00
Karl Heuer
acb50e3cd4 (gud-speedbar-key-map) New variable.
(gud-install-speedbar-variables) New function
Install speedbar keymap only when speedbar is loaded.
(gud-gdb-get-stackframe) Added : to regex for c++.
1998-07-10 16:47:28 +00:00
Karl Heuer
96ee3f292f No longer depends on speedbspec for byte compile.
(Info-speedbar-key-map) New key map.
(Info-install-speedbar-variables) New function.
(Info-speedbar-menu-items) Update to new functions.
Install speedbar keymap only when speedbar is loaded.
(Info-speedbar-browser) New command.
(Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node,
Info-speedbar-expand-node, Info-speedbar-fetch-file-nodes) New function
(Info-speedbar-buttons) Handle new node button commands.
1998-07-10 16:46:59 +00:00
Karl Heuer
b04fa5c5a0 No longer depends on speedbspec for byte compile.
(rmail-speedbar-match-folder-regexp) new variable.
(rmail-speedbar-menu-items) Updated speedbar menu items.
(rmail-speedbar-key-map) New keymap.
(rmail-install-speedbar-variables) New function.
Install speedbar keymap only when speedbar is loaded.
(rmail-speedbar-buttons) Use `rmail-speedbar-match-folder-regexp'.
1998-07-10 16:46:21 +00:00
Richard M. Stallman
f8f34fa23d Indent `handler-case' correctly. 1998-07-10 03:20:14 +00:00
Richard M. Stallman
3fd00dcb42 (lisp-font-lock-keywords): Fontify handler-case', ccase',
`ctypecase', `assert', `error'.
1998-07-10 03:19:33 +00:00
Eli Zaretskii
583f5d53e6 (Vclipboard_coding_system): New variable.
(set_clipboard_data, set_clipboard_data): New parameter Raw
determines whether CRLF <-> NL translation needs to be done.  All
callers changed.
(Fw16_set_clipboard_data): Encode the text using
Vclipboard_coding_system, if necessary.
(Fw16_get_clipboard_data): Decode the text using
Vclipboard_coding_system, if necessary.
(syms_of_win16select): DEFVAR Vclipboard_coding_system and
staticpro it.
1998-07-09 14:02:15 +00:00
Richard M. Stallman
fea4012025 (fill-individual-paragraphs): Fix previous change. 1998-07-09 05:32:47 +00:00
Richard M. Stallman
6e9ed08693 (set-language-environment): Test unibyte-syntax instead of using a
fixed list of latin-N character sets.
1998-07-09 04:53:59 +00:00