summaryrefslogtreecommitdiff
path: root/src/minibuf.c
Commit message (Collapse)AuthorAgeFilesLines
* (read_minibuf): If input is empty, return empty string.Richard M. Stallman1998-02-081-9/+14
| | | | | (Fread_string): Return DEFAULT_VALUE here, if input is empty. (Fcompleting_read): Likewise.
* (Fread-string): Doc fix.Stephen Eglen1998-01-221-2/+5
| | | | (Fread-from-minibuffer): Doc fix.
* Update copyright year.Richard M. Stallman1998-01-211-1/+1
|
* (Fminibuffer_complete_word): Fix a bug of referingKenichi Handa1998-01-121-1/+1
| | | | `i'. We must refer `i_byte' instead.
* (read_minibuf): Handle bytes vs charsRichard M. Stallman1998-01-051-4/+14
| | | | when checking for junk at end of expression.
* (test_completion): Pass both kinds of size to oblookup.Richard M. Stallman1998-01-051-40/+56
| | | | | | | (Fminibuffer_complete_word): Scan string bytes and chars. Pass new args to insert_from_string. (Ftry_completion): Use size_byte while comparing. (Fall_completions): Use size_byte while comparing.
* (Fcompleting_read): Doc fix.Richard M. Stallman1998-01-021-1/+1
|
* (Fminibuffer_complete_word): Handle bytes vs charactersRichard M. Stallman1997-12-311-19/+20
| | | | | | | when comparing buffer against string. (temp_echo_area_glyphs): Save, update, delete text using byte and char positions. (read_minibuf): BACKUP_N counts bytes.
* (Fread_command, Fread_variable): Fix previous change.Richard M. Stallman1997-12-271-2/+2
|
* (Fread_variable): If DEFAULT_VALUE is symbol, use its name.Richard M. Stallman1997-12-211-7/+29
| | | | (Fread_command): Likewise.
* (Vread_buffer_function): New var.Karl Heuer1997-12-191-7/+27
| | | | | (syms_of_minibuf): Set up Lisp var. (Fread_buffer): Use Vread_buffer_function.
* (read_minibuf_unwind): Fix return type and return nil.Andreas Schwab1997-11-211-2/+8
| | | | | | | (temp_echo_area_glyphs): Define as returning nothing. (init_minibuf_once): Likewise. (syms_of_minibuf): Likewise. (keys_of_minibuf): Likewise.
* (read_minibuf): Return DEFALT here, if minibuffer is empty.Karl Heuer1997-10-161-4/+4
| | | | (Fread_from_minibuffer, Fcompleting_read): Don't do that here.
* (syms_of_minibuf): Doc fix.Richard M. Stallman1997-09-131-3/+1
|
* (read_minibuf): Fix use of Ffboundp.Richard M. Stallman1997-09-031-2/+3
|
* (Fread_from_minibuffer, Fread_string): Doc fixes.Richard M. Stallman1997-09-021-7/+7
| | | | (Fread_no_blanks_input, Fcompleting_read): Doc fixes.
* Fix previous change.Richard M. Stallman1997-08-271-1/+1
|
* (read_minibuf): Inherit enable-multibyte-charactersRichard M. Stallman1997-08-261-3/+12
| | | | along with the input method, if requested.
* (Qcurrent_input_method, Qactivate_input_method): NewKenichi Handa1997-08-261-30/+70
| | | | | | | | | | | | | | | | | variables. (syms_of_minibuf): Intern and staticpro them. (read_minibuf): New argument INHERIT_INPUT_METHOD. If it is nonzero, remember the current input method in INPUT_METHOD, and activate it after switching to the minibuffer. (Fread_from_minibuffer): New argument INHERIT_INPUT_METHOD. (Fread_minibuffer): Call read_minibuf with INHERIT_INPUT_METHOD nil. (Fread_string): New argument INHERIT_INPUT_METHOD. (Fread_no_blanks_input): Likewise. (Fread_command): Call Fcompleting_read with INHERIT_INPUT_METHOD nil. (Fread_function, Fread_variable, Fread_buffer): Likewise (Fcompleting_read): New argument INHERIT_INPUT_METHOD.
* (read_minibuf): New arg disable_multibyte.Richard M. Stallman1997-08-181-5/+7
| | | | | (Fcompleting_read): Pass 1 for disable_multibyte if the completion table is read-file-name-internal.
* (choose_minibuf_frame_1): New function.Richard M. Stallman1997-07-221-4/+10
| | | | | (read_minibuf): Make an unwind protect to run that. (read_minibuf_unwind): Don't call choose_minibuf_frame here.
* (Fcompleting_read): gcpro def.Richard M. Stallman1997-07-191-1/+5
|
* (Fread_from_minibuffer): Remove extra get_keymap argument.Richard M. Stallman1997-07-121-2/+2
| | | | (Fminibuffer_complete): Convert Fset_window_start argument to Lisp_Integer.
* Fix bugs with inappropriate mixing of Lisp_Object with int.Richard M. Stallman1997-07-041-1/+1
|
* Fix previous change.Richard M. Stallman1997-06-251-1/+1
|
* (read_minibuf): New arg allow_props.Richard M. Stallman1997-06-251-9/+26
| | | | | | | If it is 0, discard text properties from the result. Callers changed. (minibuffer_allow_text_properties): New variable. (Fread_from_minibuffer): That variable controls allow_props arg. (syms_of_minibuf): Set up Lisp var.
* (Fread_from_minibuffer): Add gcpro.Richard M. Stallman1997-05-151-1/+5
|
* (Fread_command): New optional arg DEFAULT-VALUE. Callers changed.Richard M. Stallman1997-05-101-57/+80
| | | | | | | | | | | | | (Fread_variable, Fread_string, Fread_from_minibuffer): Likewise. (read_minibuf): Now static. New arg DEFALT. Callers changed. Bind minibuffer-default here. (read_minibuf_unwind): Now static. (Fcompleting_read): Past DEF to Fread_from_minibuffer; no need to use it directly here. (Fcompleting_read): New arg DEF. Callers changed. (Qminibuffer_default): New variable. (syms_of_minibuf): Initialize it.
* (read_minibuf): Get the string from the minibufferRichard M. Stallman1997-04-111-2/+4
| | | | even if the user has selected a different buffer.
* (scmp, Fdisplay_completion_list): Fix Lisp_Object/integer confusion.Karl Heuer1997-04-101-6/+6
|
* Include charset.h.Karl Heuer1997-02-201-8/+27
| | | | | | (read_minibuf): Pay attention to multibyte characters in the arg INITIAL while handling the arg BACKUP_N. (scmp, Fminibuffer_complete_word): Handle multibyte characters.
* (Fminibuffer_message): New function.Richard M. Stallman1997-02-101-32/+45
| | | | (syms_of_minibuf): Set up Lisp function.
* (syms_of_minibuf): Doc fix.Richard M. Stallman1996-12-081-1/+2
|
* (choose_minibuf_frame): Don't change selected_frame'sRichard M. Stallman1996-11-111-2/+5
| | | | selected window even if it is a minibuffer window, if it is active.
* (read_minibuf_unwind): Don't restore minibuf_window;Richard M. Stallman1996-10-261-1/+20
| | | | | | instead call choose_minibuf_frame. (choose_minibuf_frame): Don't let any other frame keep its minibuf window selected.
* (read_minibuf): Use FRAME_LEFT_SCROLL_BAR_WIDTHRichard M. Stallman1996-09-211-1/+2
| | | | to set the cursor position at the end.
* (Fcompleting_read): Doc fix.Richard M. Stallman1996-09-181-1/+1
|
* (read_minibuf_unwind): Clear last_overlay_modified field.Richard M. Stallman1996-09-161-0/+1
|
* (read_minibuf): If not in minibuffer window,Richard M. Stallman1996-09-131-3/+9
| | | | cancel the active minibuffer.
* Removed support for !MULTI_FRAME.Karl Heuer1996-09-011-4/+0
|
* (Fminibuffer_complete_word): Check forRichard M. Stallman1996-08-301-0/+1
| | | | unexpected data type returned by Ftry_completion.
* (Vhistory_length, Qhistory_length): New variables.Richard M. Stallman1996-08-291-3/+35
| | | | | (syms_of_minibuf): Register and initialise these. (read_minibuf): Truncate history list if needed.
* (Fread_from_minibuffer): Make position 0 in the initialRichard M. Stallman1996-08-071-2/+6
| | | | input mean the beginning.
* (choose_minibuf_frame): Eliminate MSDOS-non-MULTI_FRAME conditional.Richard M. Stallman1996-06-101-4/+0
|
* (choose_minibuf_frame): Support multiple frames on MSDOS.Richard M. Stallman1996-06-101-1/+1
|
* (read_minibuf): GCPRO ambient_dir.Richard M. Stallman1996-04-101-4/+4
|
* (read_minibuf): Rearrange operations, mainly puttingRichard M. Stallman1996-04-071-28/+42
| | | | | the read_minibuf_unwind setup and the associated variable changes together after saving the frame configuration.
* (read_minibuf): Bind inhibit-read-only to t around clearing the minibuffer.Richard M. Stallman1996-02-251-16/+30
| | | | | (read_minibuf_unwind): Likewise. Also, clearing the buffer is now the last thing we do.
* (Fset_minibuffer_window): New function.Richard M. Stallman1996-01-291-1/+20
| | | | (keys_of_minibuf): defsubr it.
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|