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

10633 commits

Author SHA1 Message Date
Gerd Moellmann
92a90e893a (resize_mini_window): Add parameter exact_p. Resize
to exact size if exact_p is non-zero.
(display_echo_area_1): Call resize_mini_window with
new parameter.
(redisplay_internal): Ditto.
(resize_echo_area_axactly): New.
(hscroll_window_tree): Choose cursor row from
desired or current matrix.
(redisplay_internal): Hscroll before updating.
1999-09-12 20:21:58 +00:00
Gerd Moellmann
abf4a9f7e0 (Fforward_word): Use prompt_end_charpos instead
of minibuffer_prompt_length.
1999-09-12 20:21:56 +00:00
Gerd Moellmann
1e3f16d5eb (read_minibuf_unwind): Call resize_mini_window with
new parameter.
(read_minibuf): Use prompt_end_charpos instead
of minibuffer_prompt_length.
(read_minibuf_unwind): Ditto.
(Fminibuffer_complete_and_exit): Ditto.
(Fminibuffer_complete_word): Ditto.
(Fminibuffer_prompt_end): Ditto.
(read_minibuf): Return mini-buffer contents
without the prompt.
(read_minibuf): Set minibuf_prompt_width to the
current column after inserting prompt.
(Fminibuffer_prompt_width): Return minibuf_prompt_width.
1999-09-12 20:21:55 +00:00
Gerd Moellmann
8f12e41de7 (command_loop_1): Resize mini-window to the
exact size of a message displayed, if any.
1999-09-12 20:21:53 +00:00
Gerd Moellmann
2da8bf64bd (Fbuffer_string): Use prompt_end_charpos instead
of minibuffer_prompt_length.
(Fline_beginning_position): Ditto.
(make_buffer_string_both): Take out the code
to handle mini-buffer prompts.
(Fbuffer_string): Handle the prompt here, instead.
1999-09-12 20:21:51 +00:00
Gerd Moellmann
c99f608057 Change prototype of resize_mini_window.
Add prototype for resize_echo_area_axactly.
1999-09-12 20:21:50 +00:00
Gerd Moellmann
8ac211e8a5 (prompt_end_charpos): Replaces
minibuffer_prompt_length.
1999-09-12 20:21:49 +00:00
Gerd Moellmann
c8bd802016 (Fget_buffer_create): Use prompt_end_charpos instead
of minibuffer_prompt_length.
(Fmake_indirect_buffer): Ditto.
(Fkill_buffer): Ditto.
(Ferase_buffer): Ditto.
1999-09-12 20:21:48 +00:00
Richard M. Stallman
a1628e9150 (del_range_1): Don't treat minibuffer prompt specially. 1999-09-12 17:29:24 +00:00
Richard M. Stallman
e2dae3f29f (Fline_beginning_position): Handle minibuffer prompt here. 1999-09-12 17:28:03 +00:00
Ken Raeburn
8e713be64c Use XCAR and XCDR instead of explicit member references. 1999-09-12 07:05:34 +00:00
Ken Raeburn
70949dac51 Use XCAR, XCDR, XFLOAT_DATA instead of explicit member access. 1999-09-12 05:07:01 +00:00
Richard M. Stallman
756a3cb656 (run_window_scroll_functions): If hook functions switch
buffers, switch back after.
1999-09-12 02:49:25 +00:00
Ken Raeburn
3331fb0688 Use XCAR and XCDR. 1999-09-11 20:42:47 +00:00
Ken Raeburn
ee88f64dad (FOR_EACH_FRAME): Use XCAR and XCDR.
(PIXEL_X_FROM_CANON_X, PIXEL_Y_FROM_CANON_Y): Use XFLOAT_DATA.
1999-09-11 18:40:57 +00:00
Ken Raeburn
e35efe896b (GET_TRANSLATION_TABLE): Use XCDR. 1999-09-11 18:35:57 +00:00
Richard M. Stallman
e1f6572f2a (XTread_socket): In XSetInputFocus, use RevertToParent,
not RevertToPointerRoot.
(XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
Fix the code to clear around the scroll bar.
1999-09-11 01:15:25 +00:00
Richard M. Stallman
0aee588ddc (Fbeginning_of_line): Don't handle minibuffer prompt here. 1999-09-11 01:12:39 +00:00
Gerd Moellmann
fcf431dc3f (x_build_heuristic_mask): Accept a list `(R G B)'
as background color specification instead of an integer.
(image-cache-eviction-delay): Replaces image-eviction-seconds.
(Vimage_cache_eviction_delay): Replaces Vimage_eviction_seconds.
(clear_image_cache, syms_of_xfns): Use it.
(Qpostscript): Replaces Qghostscript.
(gs_type): Use it.
(gs_image_p): Ditto.
(syms_of_xfns): Initialize Qpostscript.
1999-09-10 16:19:34 +00:00
Richard M. Stallman
c280bc6a3d (Ferase_buffer): Don't erase the minibuffer prompt. 1999-09-10 06:32:34 +00:00
Gerd Moellmann
3ccff1e302 (QCindex): New.
(syms_of_xfns): Initialize QCindex.
(gif_load): Use it instead of `:image'.
1999-09-09 14:54:29 +00:00
Gerd Moellmann
38b5e49776 (Fmakehash): Accept just one optional argument TEST. 1999-09-09 14:54:28 +00:00
Richard M. Stallman
72bba429ca (Fwrite_region): Finish renaming CONFIRM to MUSTBENEW.
(Fwrite_region) [DOS_NT]: Handle `excl' here too.
1999-09-09 04:24:12 +00:00
Gerd Moellmann
d3acf96b57 (Qwhen): Replaces QCwhen.
(syms_of_xdisp): Initialized it instead of QCwhen.
(handle_single_display_prop): Use it instead of QCwhen.
1999-09-08 22:12:34 +00:00
Richard M. Stallman
fbd1209a4a (read_minibuf): Put all three properties on the same range--the whole prompt. 1999-09-08 21:14:25 +00:00
Kenichi Handa
63f4d57914 (CHAR_COMPONENTS_VALID_P): Fix for ASCII. 1999-09-08 11:49:34 +00:00
Kenichi Handa
0ad3f83d15 Reset MSBs of arguments of MAKE_CHAR. 1999-09-08 11:16:02 +00:00
Richard M. Stallman
0205059671 Clear up previous change. 1999-09-08 08:01:16 +00:00
Richard M. Stallman
95dccf7583 (Fbufsize): Accept an extra BUFFER parameter. 1999-09-08 07:56:20 +00:00
Richard M. Stallman
e52ad9c9c7 (Fbase64_decode_region): Don't place point outside of the
current accessible portion.
1999-09-08 07:54:18 +00:00
Richard M. Stallman
61684f41fc (fix_submap_inheritance): Do nothing if the proper parent is an
ancestor of SUBMAP; otherwise, add it as the ultimate ancestor.
1999-09-08 05:14:39 +00:00
Gerd Moellmann
5a4c88c4f4 (handle_single_display_prop): Change conditional
display property to `:when FORM . VALUE'.
1999-09-07 22:31:38 +00:00
Richard M. Stallman
f7b4065fc9 (Fwrite_region): Doc fix. 1999-09-07 19:40:09 +00:00
Richard M. Stallman
505ab9bc44 (Qexcl): New variable.
(report_file_error): Handle EEXIST specially.
(Fwrite_region): Special handling for CONFIRM = `excl'.
(syms_of_fileio): Initialize Qexcl.
1999-09-07 18:20:27 +00:00
Gerd Moellmann
05c8abbee2 (x_set_foreground_color): Call
update_face_from_frame_parameter.
(x_set_background_color): Ditto.
(x_set_mouse_color): Ditto.
(x_set_cursor_color): Ditto.
(x_set_border_color): Ditto.
(x_set_scroll_bar_foreground): Ditto.
(x_set_scroll_bar_background): Ditto.
1999-09-07 14:49:01 +00:00
Gerd Moellmann
8bd201d6c4 (recompute_basic_faces): Clear face cache.
(Finternal_set_lisp_face_attribute): Modify frame parameters
if attributes of certain faces are changed.
(update_face_from_frame_parameter): New.
(realize_basic_faces): Realize new basic faces.
(Qscroll_bar, Qcursor, Qborder, Qmouse): New.
(syms_of_xfaces): Intialize new symbols.
(Qfringe): Replaces Qmargin.
1999-09-07 14:48:59 +00:00
Gerd Moellmann
cfa2208264 (Fset_window_margins): Make window the first argument.
(set_window_buffer): Call Fset_window_margins with window as first
argument.
1999-09-07 14:48:56 +00:00
Gerd Moellmann
a46866a03a (Fmakehash): Take one argument, test, make all the
rest keyword arguments.
1999-09-07 14:48:55 +00:00
Gerd Moellmann
76a6bc491b (SCROLL_BAR_FACE_ID, BORDER_FACE_ID,
CURSOR_FACE_ID, MOUSE_FACE_ID): New.
1999-09-07 14:48:54 +00:00
Kenichi Handa
44c6492dfa Lots of comments fixed.
(SPLIT_MULTIBYTE_SEQ): Make it work also for ASCII string.
(CHAR_COMPONENTS_VALID_P): Name changed from
CHAR_COMPONENT_VALID_P.  Caller changed.
1999-09-07 12:19:26 +00:00
Kenichi Handa
9dd2aa1a51 Lots of comments fixed.
(PARSE_MULTIBYTE_SEQ): Make it work also for ASCII string.
(STRING_CHAR_AND_CHAR_LENGTH): This macro removed.
1999-09-07 12:18:57 +00:00
Richard M. Stallman
7baf49cf5e (syms_of_insdel): Define Lisp variable inhibit-modification-hooks. 1999-09-07 03:25:35 +00:00
Richard M. Stallman
c4ea52a64f [macintosh] (stat, fstat, mkdir, rmdir, utime, access)
(open, creat, unlink, read, write, rename, fopen, pause, alarm)
(signal, sleep, gmtime, localtime, ctime, time, index, mktemp)
(getpwuid, getpwnam, dup, dup2, isatty, getgid, getegid, getuid)
(geteuid, getpid, getenv, uname, opendir, closedir, readdir, getwd.):
New functions, replacing POSIX features.

[macintosh] (Mac2UnixPathname, Unix2MacPathname, CheckAlarm)
(InitMyPasswd, GetTempDirName, mystrchr, mystrtok, mystrcpy):
(InitEmacsPasswdDir, run_mac_command): New subroutines.

[macintosh] (targetTicks, alarm_signal_func, myPasswdName)
(myPasswd, emacsPasswdDir, emacsPasswd, myPasswdInited, mask)
(myPasswdDir, TempDirName, sys_siglist): New variables.

[macintosh] (execvp, wait, croak, fork, kill, sigsetmask)
(sigblock, request_sigio, unrequest_sigio, setpgrp, pipe, symlink)
(link, lstat, readlink, umask, chmod, sbrk, fsync, ioctl):
Define empty stubs so Emacs will link.
1999-09-06 22:32:26 +00:00
Dave Love
6340679d44 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
* s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
1999-09-06 16:07:27 +00:00
Dave Love
96fe259801 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
* s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
1999-09-06 16:06:14 +00:00
Dave Love
0248680a42 New version incorporating Michael Sperber's changes from XEmacs.
Should solve problems on AIX 4.3.
1999-09-06 16:01:15 +00:00
Dave Love
9426b3ccc4 Remove comment on DEFVAR_BOOL. 1999-09-06 11:03:51 +00:00
Dave Love
1ffcc3b149 (Vbyte_boolean_vars): New variable.
(defvar_bool, syms_of_lread): Use it.
1999-09-06 11:02:28 +00:00
Gerd Moellmann
e82d09c942 (Fx_show_tip): Improve documentation. 1999-09-05 21:22:48 +00:00
Gerd Moellmann
470049525f (Fset_window_vscroll): Make window the first argument,
amount to scroll the second.  Take non-negative vscroll as
argument.
(Fwindow_vscroll): Return non-negative vscroll.
1999-09-05 21:22:46 +00:00