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

10211 commits

Author SHA1 Message Date
Richard M. Stallman
00a34088ee (read_minibuf): GCPRO things. 1994-12-25 21:14:46 +00:00
Richard M. Stallman
04be39934f (wrong_type_argument): Use Lisp_Type_Limit. 1994-12-25 17:49:39 +00:00
Richard M. Stallman
eeed793e62 (enum Lisp_Type): Rename Max_Lisp_Type to Lisp_Type_Limit. 1994-12-25 17:49:06 +00:00
Richard M. Stallman
4d1207f6f5 (enum Lisp_Type): Add Max_Lisp_Type. 1994-12-25 17:47:27 +00:00
Richard M. Stallman
e1351ff7c3 (wrong_type_argument): Abort if VALUE is invalid Lisp object. 1994-12-25 17:28:51 +00:00
Richard M. Stallman
65135ec220 (ange-ftp-save-match-data): Macro deleted.
Most callers use save-match-data.
(ange-ftp-process-filter, ange-ftp-process-sentinel)
(ange-ftp-gwp-filter): Don't save the match data explicitly.

(ange-ftp-process-filter, ange-ftp-gwp-filter):
After comint output processing, update STR.
1994-12-25 14:35:19 +00:00
Richard M. Stallman
6492fcd1f9 Initial revision 1994-12-25 04:33:23 +00:00
Richard M. Stallman
eff52a4c6f (SET_REGS_MATCHED): Do nothing if set_regs_matched_done is 1.
Set set_regs_matched_done to 1.
(re_match_2_internal): New local var set_regs_matched_done.
Set it to 0 when appropriate.
(POP_FAILURE_POINT): Set set_regs_matched_done to 0.

(re_match_2_internal, case duplicate): Call SET_REGS_MATCHED.
1994-12-24 23:40:43 +00:00
Richard M. Stallman
5eb6298247 (dabbrev-abbrev-char-regexp): Accept symbol chars
as well as word constituent chars.
1994-12-24 21:39:16 +00:00
Richard M. Stallman
c9e2fc17aa Initial revision 1994-12-24 16:49:59 +00:00
Richard M. Stallman
2e6286be6c Fix quoting conventions and spaces at end of sentence. 1994-12-24 16:47:58 +00:00
Richard M. Stallman
d2eafd888d (facemenu-key): Change to M-g. 1994-12-24 16:43:16 +00:00
Richard M. Stallman
e9fd42adae (BASE_PURESIZE): Incremented by 20k. 1994-12-24 16:42:33 +00:00
Richard M. Stallman
fb15c113b9 (save-buffers-kill-emacs): Fix backward test of value of
run-hook-with-args-until-failure.
1994-12-24 16:41:31 +00:00
Richard M. Stallman
d82e848c34 (byte-compile-dest-file): New variable.
(byte-compile-file): Bind that var, early on.
(byte-compile-dynamic): New variable.
(byte-compile-dynamic-docstrings): New variable.
(byte-compile-close-variables): Bind byte-compile-dynamic,
byte-compile-dynamic-docstrings, and byte-compiler-compatibility.
(byte-compile-file): Call normal-mode, not set-auto-mode.
(byte-compile-output-docform): New arguments PREFACE, NAME, SPECINDEX,
QUOTED.  Callers changed.  Output doc strings as references to the .elc
file itself, using #@ and #$ constructs.
(byte-compile-output-as-comment): New function.

(byte-compile-insert-header): Don't save-excursion.
Insert at point, and move point.  Insert extra newline at end.
(byte-compile-from-buffer): Insert the header before compilation.
1994-12-24 05:58:05 +00:00
Richard M. Stallman
5fe4899af7 (elp-pack-number): New function.
(elp-output-results): Use elp-pack-number to truncate time strings,
watching out for very small or very large numbers.

(elp-unset-master): Make it an interactive command.
1994-12-24 04:27:01 +00:00
Richard M. Stallman
8ea231fcac (read_char): Don't echo keys when echo_keystrokes is 0. 1994-12-24 01:53:16 +00:00
Richard M. Stallman
dd1ae35538 (dabbrev-completion): Now searches all buffers when given prefix arg 16.
(dabbrev--version): Variable deleted.
1994-12-24 01:35:28 +00:00
Richard M. Stallman
7313ccdbd0 Don't require cl, picture, or reporter.
Don't provide new-dabbrev.
(dabbrev--try-find): Don't use `loop'.
Don't create or kill local bindings.
(dabbrev-completion): Use key-description to say what to type.
Fix style of "done" message.
(dabbrev-submit-feedback): Function deleted.
(dabbrev--same-major-mode-p): Simplify.
(dabbrev-completion, dabbrev--abbrev-at-point): Fix error msg style.

(dabbrev-filter-elements): New macro.
(dabbrev--select-buffers, dabbrev--find-expansion): Use that.
(dabbrev--search): Use that.
1994-12-24 01:30:55 +00:00
Richard M. Stallman
6163b3ba74 Complete rewrite by Lars.Lindberg@sypro.cap.se. 1994-12-24 01:26:51 +00:00
Richard M. Stallman
2c62739ddc Give syntax of keywords. 1994-12-23 18:03:42 +00:00
Richard M. Stallman
b9a5a6afd9 Initial revision 1994-12-23 17:58:46 +00:00
Richard M. Stallman
313f3cb427 (reporter-submit-bug-report): Set up for status messages.
Use mail-text to position point to the body of the message.

(reporter-beautify-list): Complete rewrite.
Optional nocompact-p argument.

(reporter-dump-variable): Invert the test and
passing of compact-p argument to reporter-beautify-list.  List
values are not printed as defuns or function calls.

Updated package list.

(reporter-lisp-indent): New defun.

(reporter-dont-compact-list)
(reporter-status-message, reporter-status-count): New variables.

(reporter-update-status, reporter-beautify-list)
reporter-dump-variable): Now smarter about formating variables
with list values.  Checks the value of reporter-dont-compact-list.
1994-12-23 17:33:21 +00:00
Richard M. Stallman
1a2c394158 (next-line, previous-line): If interactive and not in
kbd macro, catch the error and beep instead.
1994-12-23 17:25:50 +00:00
Richard M. Stallman
e0d3266876 Recommend doc strings for all functions and variables. 1994-12-23 15:11:57 +00:00
Richard M. Stallman
53ece92895 entered into RCS 1994-12-23 15:06:14 +00:00
Richard M. Stallman
37c2c98b16 (XTupdate_begin): Discard records of prior mouse highlight
when frame must be redrawn.

(x_make_frame_visible, x_make_frame_invisible)
(x_iconify_frame): Give error if frame has explicit_parent.
(x_new_font): Don't set window height if frame has explicit_parent.

(x_mouse_leave): New function broken out of XTread_socket.
When x_focus_event_frame is nonzero, assume that frame gets focus.
(XTread_socket): Use x_mouse_leave for LeaveNotify.
1994-12-23 05:12:32 +00:00
Richard M. Stallman
a59e4f3d62 (x_set_frame_parameters): Handle icon-left, icon-top parms.
(Fx_color_values): Doc fix.

(Fx_create_frame): Check for parent-id parameter.
Set explicit_parent and parent fields.
Don't set visibility if explicit_parent.
[! USE_X_TOOLKIT] (x_window): Specify parent window.
1994-12-23 05:11:11 +00:00
Richard M. Stallman
af447694e7 (imenu-always-use-completion-buffer-p): A value of
`never' now means never display a completion buffer.
(imenu--completion-buffer): implement 'never behaviour.
1994-12-23 05:05:22 +00:00
Richard M. Stallman
906848bd86 Add icon-left and icon-top frame parameters. 1994-12-23 04:21:11 +00:00
Richard M. Stallman
cb4ad359c3 (bibtex-string, bibtex-preamble): Use forward-line.
(sort-subr): Don't call autload for this--that's done in loaddefs.el.
(bibtex-mode): Add autoload cookie.

Changed keybinding for bibtex-print-help-message
(from \C-ch to \C-c?). Therefore, describe-mode is not longer on
\C-c?. Also, changed prefix \C-cn for bibtex-narrow functions to
\C-c\C-r.
(bibtex-string-files): Changed documentation.
(bibtex-mode-map): Inscriptions of menu bar changed from "Entry
Types" to "Entry-Types" and "Bibtex Edit" to "BibTeX-Edit".
(bibtex-string-files): Changed documentation.
(bibtex-mode): If environment variable BIBINPUTS isn't defined,
string files are searched in the current directory.
(bibtex-completion-candidates): Now buffer-local to allow
evaluation of different bibtex-string-files in different buffers.
(bibtex-autokey-edit-before-use, bibtex-clean-entry): New variable
that determines, if the user is allowed to edit auto-generated
reference keys before they are used.
(bibtex-generate-autokey, bibtex-clean-entry): New function to
generate an autokey if necessary.
(bibtex-autokey-names, bibtex-autokey-name-change-strings,
bibtex-autokey-name-length, bibtex-autokey-name-separator,
bibtex-autokey-year-length, bibtex-autokey-titlewords,
bibtex-autokey-title-terminators,
bibtex-autokey-titlewords-stretch,
bibtex-autokey-titleword-first-ignore,
bibtex-autokey-titleword-abbrevs,
bibtex-autokey-titleword-change-strings,
bibtex-autokey-titleword-length,
bibtex-autokey-titleword-separator,
bibtex-autokey-name-year-separator,
bibtex-autokey-year-title-separator): New variables related to
bibtex-generate-autokey.
(bibtex-find-entry-location): Optional second parameter maybedup
to tell it that entering a duplicate entry isn't to report by an
error but by the return value of the function (necessary for
bibtex-clean-entry to find the correct position of an entry with
an autogenerated key without disturbing the user with unwanted
messages).
(bibtex-help-message): New variable to avoid printing of help
messages in the echo area.
(assoc-of-regexp): New function to match an alist of regexps.
(bibtex-string-files, bibtex-completion-candidates, bibtex-mode):
New variables to allow bibtex-complete-string to work on strings
initialized from a variable and from @String definitions in a list
of files, too.
(bibtex-predefined-strings, bibtex-entry-field-alist): Changed to
user options.
(bibtex-mode): Changed doc string.
(many functions and variables): Changed documentation strings of
variables and functions to hold a complete sentence in the first
line.
(bibtex-print-help-message): Now line dependent and reports if it
is called outside a BibTeX field.
(validate-bibtex-buffer): Completely rewritten to validate, if
buffer is syntactically correct.
(find-bibtex-duplicates): Moved into validate-bibtex-buffer.
(ispell-abstract, bibtex-ispell-abstract, ispell-bibtex-entry,
bibtex-ispell-entry, beginning-of-bibtex-entry,
bibtex-beginning-of-entry, end-of-bibtex-entry,
bibtex-end-of-entry, hide-bibtex-entry-bodies,
bibtex-hide-entry-bodies, narrow-to-bibtex-entry,
bibtex-narrow-to-entry, sort-bibtex-entries, bibtex-sort-entries,
validate-bibtex-buffer, bibtex-validate-buffer,
find-bibtex-entry-location, bibtex-find-entry-location): All
interactive functions are renamed, so that any interface function
begins with "bibtex-". Mapping:
ispell-abstract            --> bibtex-ispell-abstract
ispell-bibtex-entry        --> bibtex-ispell-entry
beginning-of-bibtex-entry  --> bibtex-beginning-of-entry
end-of-bibtex-entry        --> bibtex-end-of-entry
hide-bibtex-entry-bodies   --> bibtex-hide-entry-bodies
narrow-to-bibtex-entry     --> bibtex-narrow-to-entry
sort-bibtex-entries        --> bibtex-sort-entries
validate-bibtex-buffer     --> bibtex-validate-buffer
find-bibtex-entry-location --> bibtex-find-entry-location
(bibtex-maintain-sorted-entries,
bibtex-sort-ignore-string-entries): Default is now t.
(bibtex-complete-string): String list is built from additional
string list bibtex-predefined-string and current strings in file.
(string-equalp): Deleted and substituted by string-equal.
(assoc-string-equalp): Renamed to assoc-ignore-case.
(bibtex-entry): Reference key can be entered with completion. All
reference keys that are defined in buffer and all labels that
appear in crossreference entries are object to completion.
(Entry types): Changed order of entries in menu "entry types".
(bibtex-entry-field-alist): Changed order of entries slightly to
be more conform with standard BibTeX style layouts.
(bibtex-mode-map): Uniform keybindings for \C-c\C-e prefix (often
used types on control keys, sometimes used types on normal keys,
rarely used types on shift keys, almost never used types on meta
keys).
(bibtex-mode-map): Function narrow-to-bibtex-entry and counterpart
widen and function hide-bibtex-entry-bodies and counterpart
show-all bounded to appropriate local keys.
(bibtex-abbrev-table): Deleted
(bibtex-current-entry-label, put-string-on-kill-ring): Deleted
(AUCTeX provides all the functionality needed for citation
completion).
(bibtex-enclosing-reference, bibtex-pop-previous, bibtex-pop-next,
bibtex-clean-entry): Hacked for speed (bibtex-pop-previous and
bibtex-pop-next were to slow for larger BibTeX files).
(bibtex-pop-previous, bibtex-pop-next): Delimiters from previous
or next entry are changed to actual delimters if necessary.
(bibtex-entry): Fixed bug (False entry wasn't reported in error
message if bibtex-entry was called with undefined reference name).
(bibtex-entry-field-alist, bibtex-entry, bibtex-make-field,
bibtex-next-field, bibtex-clean-entry): Every reference entry now
contains a comment in addition to the name of the reference. This
comment appears in the echo area if you start editing that field
(after calling bibtex-next-field).
(bibtex-include-OPTcrossref, bibtex-entry): Changed
bibtex-include-OPTcrossref from single boolean variable to hold a
list of reference names which should have a crossref field.
(bibtex-complete-word): New function, which completes word
fragment before point to the longest prefix of predefined strings
in the buffer in the same way that ispell-complete-word operates
for words found in the dictionary.
(bibtex-reference-head): Start of bibtex-reference-head changed
from "^[ \t]*\\(" to "^\\( \\|\t\\)*\\(" (bibtex-pop-previous and
bibtex-pop-next didn't work, probably due to a bug in
re-search-forward).
(several functions): Added support for {} as field delimiters
(better than '"' for accented characters.
(bibtex-clean-entry): If optional field crossref is empty or
missing, former optional fields (if bibtex-include-OPTcrossref was
t) are necessary again. bibtex-clean-entry complains if they are
empty but not if they are missing, so you can intenionally omit
them, e. g. for a pseudo @Journal entry (needed for
crossreferences) made out of an @article with missing non-optional
fields.
Menu bar entries aren't centered anymore.
1994-12-23 04:18:29 +00:00
Richard M. Stallman
396e0e6ae5 (server-switch-buffer): Cope with dead frames and windows. 1994-12-23 03:30:53 +00:00
Richard M. Stallman
2291bfaae1 (gdb): Correct tbreak doc string.
(gud-mode): Define a Gud menu.
(gdb): Set debugger-specific menu entries.
(sdb) (dbx) (xdb): Likewise.
1994-12-22 23:22:32 +00:00
Richard M. Stallman
020c97d28e (enable-command): Always insert code to enable.
(disable-command): Insert newline before as well as after.
1994-12-22 22:53:34 +00:00
Richard M. Stallman
70f2097350 Comment change. 1994-12-22 22:05:52 +00:00
Richard M. Stallman
437fe5aeff (dired-string-replace-match): Function moved here. 1994-12-22 04:17:30 +00:00
Richard M. Stallman
f9acc7fb73 (dired-string-replace-match): Moved to dired.el. 1994-12-22 04:16:36 +00:00
Richard M. Stallman
ffd04ed01f *** empty log message *** 1994-12-22 00:01:19 +00:00
Richard M. Stallman
2b1e7b27b2 Fix in visible-bell. 1994-12-21 23:59:53 +00:00
Richard M. Stallman
04ae1b489a (Fget_buffer_create): Copy the name, and clear text props.
(assoc_ignore_text_properties): New function.
(Fget_buffer): Use assoc_ignore_text_properties.

(Fother_buffer): Take account of frame's buffer predicate.
1994-12-21 22:50:22 +00:00
Richard M. Stallman
4ed715c128 (C_DEBUG_SWITCH): Define this only if __GNUC__. 1994-12-21 22:28:02 +00:00
Richard M. Stallman
21015f9c30 (struct frame): New field buffer_predicate.
Move all the Lisp_Object fields to the top.
1994-12-21 22:27:25 +00:00
Richard M. Stallman
329ca57419 (Fmodify_frame_parameters): For non-X frames,
call store_frame_param for each parameter set.
(store_frame_param): Handle buffer_predicate field.
(frame_buffer_predicate): New function.
(Qbuffer_predicate): New variable.
(syms_of_frame): Set it up.
1994-12-21 22:26:02 +00:00
Richard M. Stallman
d17f2a43fa (mark_object): In a frame, mark the buffer_predicate.
Don't mark the height and width fields.
1994-12-21 22:23:49 +00:00
Richard Kenner
df6cf70cd7 (sun4:SunOS:*:*): Handle Solbourne OS/MP systems. 1994-12-21 20:51:03 +00:00
Richard M. Stallman
191cda94a8 (tex-start-shell): Use inheritance. 1994-12-21 20:08:17 +00:00
Richard M. Stallman
2fb419e1ce (gud-irixdbx-marker-filter): Changes for Irix dbx.
(dbx): gud-up, gud-down are now special cases for Irix.
1994-12-21 19:42:59 +00:00
Richard M. Stallman
700ea80976 (get_doc_string): Now static. Arg now Lisp_Object.
Allow (FILE . POS) as position argument.
(Fdocumentation, Fdocumentation_property): Fix calls to get_doc_string.
(Fdocumentation_property): Handle cons as value via get_doc_string.
(read_doc_string): New function.
1994-12-21 18:16:35 +00:00
Richard M. Stallman
ca248607ed (Fdefvar): Fix minor error in previous change.
(funcall_lambda): Fetch bytecode and constants vector from file if nec.
1994-12-21 18:15:35 +00:00
Richard M. Stallman
20ea2964cd (Qload_file_name, Vload_file_name): New variables.
(syms_of_lread): Initialize and staticpro it.
(Fload): Bind it.
(read_list): Before dumping, ignore (#$ . WHATEVER)--return 0.
1994-12-21 18:14:20 +00:00