1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
Commit Graph

46399 Commits

Author SHA1 Message Date
Masatake YAMATO
335028c3be * help.el (describe-minor-mode): New function implementation.
Accept both minor mode string and minor mode indicator.
(describe-minor-mode-completion-table-for-indicator)
(describe-minor-mode-completion-table-for-symbol): New functions.
minor-mode-list is used here.
(describe-minor-mode-from-symbol): renamed
from (old) describe-minor-mode. Use
describe-minor-mode-completion-table-for-symbol.
Don't use eval. Just use symbol-name.
(describe-minor-mode-from-indicator): Document is updated.
Use `format-mode-line'. Use
describe-minor-mode-from-symbol instead of
describe-minor-mode.
Use describe-minor-mode-completion-table-for-indicator.
(expand-minor-mode-indicator-object): removed.
(lookup-minor-mode-from-indicator): remove the fist white
space from both indicator and anindicator before comparing them.

* bindings.el (mode-line-major-mode-keymap)
(mode-line-minor-mode-keymap): defined keys for the maps
here in `defvar'.
2003-04-12 17:28:24 +00:00
Glenn Morris
428d45d255 (gomoku-buffer-name): New constant.
(gomoku-mode): Doc fix.  Add call to kill-all-local-variables,
for global-font-lock-mode.
(gomoku): Do not call gomoku-switch-to-window directly, else the
player is asked the startup questions twice after a killed game.
(gomoku-prompt-for-other-game): Throw an error if no new game,
since otherwise answering no after a killed game has no effect.
(gomoku-switch-to-window): Use gomoku-buffer-name.
2003-04-12 15:51:57 +00:00
Glenn Morris
be550ccc61 (f90-abbrev-start): Only offer help if abbrev-mode is active. 2003-04-12 15:45:59 +00:00
Glenn Morris
1d97a48dc2 (fortran-abbrev-start): Only offer help if abbrev-mode is active. 2003-04-12 15:44:59 +00:00
John Paul Wallington
88ff724bdf (help-add-fundoc-usage): Pass an empty string to `format' if
no newlines are necessary.
2003-04-12 04:28:43 +00:00
Stefan Monnier
6901b111fe (head_table): Use switch-frame as event_kind for select-window. 2003-04-11 23:44:43 +00:00
Stefan Monnier
a4e19f6e86 (kbd_buffer_get_event): Don't handle SELECT_WINDOW_EVENT
specially, so that they can't hide an implicit switch-frame event.
(make_lispy_event): Handle SELECT_WINDOW_EVENT.
(keys_of_keyboard): Don't bind [select-window] in special-event-map.
2003-04-11 23:19:50 +00:00
Stefan Monnier
f3ce1df88f (Fformat): Lisp_Object/int mixup.
(format2): Remove unused var numargs.
2003-04-11 23:17:42 +00:00
Stefan Monnier
b6cb37aeac (global-map): Bind [select-window]. 2003-04-11 22:40:58 +00:00
Stefan Monnier
0ec6b206d4 *** empty log message *** 2003-04-11 19:05:32 +00:00
John Paul Wallington
b688ed4495 (type-break-warning-countdown-string): Doc fix; escape open paren at col 0. 2003-04-11 13:07:10 +00:00
Kenichi Handa
e301806fbf *** empty log message *** 2003-04-11 11:11:25 +00:00
Kenichi Handa
aea797fc6e (utf-translate-cjk-mode): Fix incorrect
place of parenthesis.
2003-04-11 11:10:48 +00:00
Kenichi Handa
aa95b71094 *** empty log message *** 2003-04-11 11:03:01 +00:00
Kenichi Handa
c36b37ed1b Don't set after-insert-file-adjust-coding-function.
(after-insert-file-set-coding): Renamed from
after-insert-file-set-buffer-file-coding-system.
2003-04-11 11:00:36 +00:00
Kenichi Handa
2080470e71 (Vafter_insert_file_adjust_coding_function): Delete
this variable.
(Qafter_insert_file_set_coding): New variable.
(syms_of_fileio): Initialize and staticpro it.  Delete declaration
for after-insert-file-adjust-coding-function.
(Finsert_file_contents): Call Qafter_insert_file_set_coding
instead of Vafter_insert_file_adjust_coding_function.
2003-04-11 10:59:02 +00:00
Masatake YAMATO
36278af32a 2003-04-11 Masatake YAMATO <jet@gyve.org>
* progmodes/etags.el (select-tags-table-mode-map):
	Don't create new keymap. Instead copy from button-buffer-map.
	Bind push-button to `t' instead of binding
	select-tags-table-select directly

	* (tags-select-tags-table): New button.

 	* progmodes/etags.el (select-tags-table): Put
	a button for each selections.
2003-04-11 09:08:29 +00:00
Kenichi Handa
87a4ed45aa *** empty log message *** 2003-04-11 08:40:02 +00:00
Kenichi Handa
211a9f6b25 *** empty log message *** 2003-04-11 07:45:15 +00:00
Kenichi Handa
17388a6277 * international/quail.el (quail-guidance-str)
(quail-guidance-frame): New variables.
(quail-guidance-win): Delete this variable.
(quail-setup-overlays): Make overlay not rear-advancing.
(quail-kill-guidance-buf): Delete this function.
(quail-activate): Add/remove quail-show-guidance to/from
post-command-hook.
(quail-input-method): Don't setup quail-guidance-buf.  Initialize
quail-guidance-str to "".
(quail-start-translation): Call quail-show-guidance at first.
(quail-start-conversion): Likewise.
(quail-terminate-translation): Don't erase quail-guidance-buf.
(quail-update-translation): Stretch overlays if their starting and
ending positions are same.
(quail-update-current-translations): Check the width of the
current window, not the width of quail-guidance-win.
(quail-make-guidance-frame): Delete the arg BUF.  Fix position
calculation.  Don't set the window buffer, just return the new
frame.
(quail-minibuffer-message): New function.
(quail-show-guidance): Renamed from quail-show-guidance-buf.  Use
message and quail-minibuffer-message to display the guidance.
(quail-hide-guidance): Renamed from quail-hide-guidance-buf.  Only
delete quail-guidance-frame.
(quail-update-guidance): Just update quail-guidance-str, not
display it.
(quail-get-translations): Renamed from quail-show-translations.
Return a string instead of inserting it in quail-guaidance-buf.
2003-04-11 03:58:22 +00:00
Kenichi Handa
389144243f *** empty log message *** 2003-04-11 02:07:08 +00:00
Kenichi Handa
9f1c8be4ea (temp_echo_area_glyphs): Adjust prototype. 2003-04-11 02:06:34 +00:00
Kenichi Handa
805221da23 (temp_echo_area_glyphs): Change the arg to Lisp
string.  Callers changed.
2003-04-11 02:06:15 +00:00
Kenichi Handa
da1ebad19f (sort-coding-systems): Set higher priority to a coding system listed
in coding-category-list.
2003-04-11 01:20:36 +00:00
Kenichi Handa
de814dd9b3 (sort-coding-systems): Lower the
priorities of all utf-16 base coding systems.
2003-04-11 00:42:18 +00:00
Juanma Barranquero
7418081f48 (modify-all-frames-parameters): Deleted. 2003-04-10 16:31:00 +00:00
Juanma Barranquero
84b538ecf8 (desktop-buffer-file): Restore major-mode if it is different from the normal
mode.
2003-04-10 16:26:12 +00:00
Kenichi Handa
a288d97973 *** empty log message *** 2003-04-10 12:02:31 +00:00
Kenichi Handa
b6426b0329 * fileio.c (Vafter_insert_file_adjust_coding_function): New
variable.
(syms_of_fileio): Declare it as a lisp variable.
(Finsert_file_contents): Call
Vafter_insert_file_adjust_coding_function before calling
decode-format.
2003-04-10 12:01:10 +00:00
Kenichi Handa
8d1d818a10 Set after-insert-file-adjust-coding-function to
after-insert-file-set-buffer-file-coding-system instead of adding it
to after-insert-file-functions.
2003-04-10 11:59:45 +00:00
Kenichi Handa
20412adcc2 (indian-2-column-to-ucs-region): Fix for
the case of replacing multibyte characters.
2003-04-10 11:57:54 +00:00
Richard M. Stallman
92464ae63f (file-chase-links): Fix previous change. 2003-04-09 19:06:19 +00:00
Juanma Barranquero
f7df88f47a (new-frame): Add obsolescence declaration. 2003-04-09 17:45:20 +00:00
Juanma Barranquero
034ade66e3 (modify-all-frames-parameters): New function to change parameters in all
existing and future frames.
2003-04-09 17:38:47 +00:00
Juanma Barranquero
1cef654128 (set-frame-font): Allow keeping frame size after changing font. 2003-04-09 17:28:30 +00:00
Jan Djärv
f979dc056e * xterm.c (xg_scroll_callback): Call gtk_range_get_adjustment to
get GtkAdjustment as widget now is a GtkRange.

* gtkutil.c (xg_create_scroll_bar): Connect to value-changed on
GtkRange to avoid memory leak.
2003-04-09 16:44:45 +00:00
Thien-Thi Nguyen
8793a2bd24 (Man-heading-regexp): Accept hyphen. 2003-04-09 12:17:59 +00:00
Thien-Thi Nguyen
564b85ecca Initial revision 2003-04-09 11:50:50 +00:00
Kenichi Handa
f8c6b4c23d *** empty log message *** 2003-04-09 07:31:09 +00:00
Kenichi Handa
e46947a5d4 Specify rescale ratio 1.3 for CDAC fonts. 2003-04-09 07:30:23 +00:00
Kenichi Handa
f70400f256 (Vface_font_rescale_alist): New variable.
(struct font_name): New member rescale_ratio.
(font_rescale_ratio): New function.
(split_font_name): If NUMERIC_P is nonzero, set
font->rescale_ratio.
(better_font_p): On comparing point sized, pay attention to
recale_ratio member of fonts.
(build_scalable_font_name): Reflect font->rescale_ratio in the
font name.
(syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp
variable.
2003-04-09 07:26:59 +00:00
Kenichi Handa
50ebc53dd0 *** empty log message *** 2003-04-09 07:26:42 +00:00
Kenichi Handa
e613ea97b6 (read1): Before calling index, check if the 2nd
arguemnt is in ASCII range.
2003-04-09 07:12:51 +00:00
Kenichi Handa
cb98871c49 *** empty log message *** 2003-04-09 07:12:32 +00:00
Kenichi Handa
e97c230638 Register ?\221 and ?\226 in latin-extra-code-table. 2003-04-09 02:39:57 +00:00
Kenichi Handa
db0f2df817 *** empty log message *** 2003-04-09 02:39:40 +00:00
Richard M. Stallman
b0ada1471a *** empty log message *** 2003-04-09 01:41:03 +00:00
Richard M. Stallman
95c5b8fc6c Put #include of jpeglib.h at start of line. 2003-04-09 01:40:57 +00:00
Richard M. Stallman
4a2fce7a9f Handle multiple desktop files in different dirs.
Other cleanups.
Command line option --no-desktop introduced.
(desktop-read): Record buffers in the desktop file in
the same order as that in the buffer list,
(desktop-save): Put buffers in the order given in desktop file,
regardless of what handlers do.
(desktop-file-version): New variable. Version number of desktop
file format.
(desktop-create-buffer-form): Variable deleted.
(desktop-save): New customizable variable.
(desktop-kill): Changed to use `desktop-save'.
(desktop-file-name-format): New option: format in
which desktop file names should be saved.
(desktop-file-name): New function to convert a filename to the
format specified in `desktop-file-name-format'.
(desktop-create-buffer): Parameters renamed to descriptive
systematic names. These parameters are visible to handlers.
Renames:
ver    -> desktop-file-version
mim    -> desktop-buffer-minor-modes
pt     -> desktop-buffer-point
mk     -> desktop-buffer-mark
ro     -> desktop-buffer-read-only
locals -> desktop-buffer-locals
(desktop-buffer-major-mode, desktop-buffer-file-name)
(desktop-buffer-name): Unused customizable variables deleted.
(desktop-buffer-misc): Unused variable deleted.
(desktop-save, desktop-buffer-dired-misc-data):
Use `desktop-file-name'.
(desktop-path): New customizable variable.  List of directories in
which to lookup the desktop file. Replaces hardcoded list.
(desktop-globals-to-clear): New variable replaces hardcoded list.
(desktop-clear-preserve-buffers-regexp): New customizable variable.
(desktop-after-read-hook): New hook run after a desktop is read.
(desktop-no-desktop-file-hook): New hook when no desktop file found.
(desktop-change-dir): New function.
(desktop-save-in-load-dir): New function. Save desktop in
directory from witch it was loaded.
(desktop-revert): New function. Revert to the last loaded desktop.
2003-04-09 01:37:56 +00:00
Richard M. Stallman
7dde432d4c (minor-mode-list): New variable.
(add-minor-mode): Add to it.
2003-04-09 01:36:28 +00:00