1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-01 03:33:28 -07:00
Commit graph

151382 commits

Author SHA1 Message Date
Karl Heuer
013961a120 (C_SWITCH_MACHINE): Define only if THIS_IS_MAKEFILE. 1995-12-21 17:11:50 +00:00
Karl Heuer
2d5f65a994 (Fstore_kbd_macro_event): New function.
(syms_of_macros): defsubr it.
1995-12-21 17:11:28 +00:00
Karl Heuer
d36b882672 (init_lread): Add ../lisp (in build dir) to load-path
when dumping.
1995-12-21 17:11:03 +00:00
Karl Heuer
d964248c51 (Fkey_binding): Handle text-property keymaps.
Include puresize.h.
(store_in_keymap): Check PURE_P (def) and copy if nec.
1995-12-21 17:10:27 +00:00
Karl Heuer
22a513448f (Fcommand_execute): Allow function + args list as cmd.
(cmd_error_internal): Use print_error_message.
1995-12-21 17:08:30 +00:00
Karl Heuer
51931aca6e (syms_of_fileio): Doc fix. 1995-12-21 17:00:42 +00:00
Karl Heuer
fc950e0910 (skip_debugger): New function.
(find_handler_clause): Call skip_debugger.
(Vdebug_ignored_errors): New variable.
(syms_of_eval): Set up Lisp variable.
1995-12-21 17:00:18 +00:00
Karl Heuer
260e2e2a33 (Fset_time_zone_rule): Move static var environbuf
to top level.
(syms_of_editfns): Initialize environbuf explicitly.

(Vbuffer_access_fontified_property): New variable.
(syms_of_editfns): Set up Lisp var.
(make_buffer_string): Don't call the Vbuffer_access_fontify_functions
if the text is already fontified.
(Fbuffer_string): Pas 1 for PROPS arg.
(update_buffer_properties): New subroutine.
(Finsert_buffer_substring): Use update_buffer_properties.

(make_buffer_string): New arg PROPS.
(Fbuffer_string, Fbuffer_substring): Pass new arg.
(Fbuffer_substring_no_properties): New function.
(syms_of_editfns): defsubr it.
(Vbuffer_access_fontify_functions): New variable.
(Qbuffer_access_fontify_functions): New variable.
(syms_of_editfns): Set up Lisp variable, initialize them.
(make_buffer_string): Run this new hook.
1995-12-21 16:58:55 +00:00
Karl Heuer
62380da21c (HAVE_LIBXMU): Add #undef. 1995-12-21 16:58:14 +00:00
Karl Heuer
e5443bab69 (Fbackward_char, Fforward_char): Rename arg to ARG. 1995-12-21 16:57:16 +00:00
Karl Heuer
71eda2d573 (Fcall_interactively): Handle an arg of form (FCN ARGS...).
(Fcall_interactively): Move have_prefix_arg label to 'p'.
1995-12-21 16:57:00 +00:00
Karl Heuer
29ea926860 (struct buffer): Delete redisplay_end_trigger field. 1995-12-21 16:56:26 +00:00
Karl Heuer
a25f13ae8a (Fkill_buffer): Rename arg bufname to buffer.
Don't gcpro it after the last use.
(Fswitch_to_buffer, Fpop_to_buffer): Rename arg bufname to buffer.
(Fset_buffer): Likewise, and rename local buffer to buf.

(reset_buffer, init_buffer_once): Delete code that touches
redisplay_end_trigger field in buffer.
1995-12-21 16:55:39 +00:00
Karl Heuer
449d572b14 (LIBXT): Handle LIBXT_STATIC.
(THIS_IS_MAKEFILE): New definition.

(dotdot): New variable.
(SOME_MACHINE_LISP): Use relative file names.
(shortlisp): New variable.
(${etc}DOC): Use shortlisp instead of lisp.

(keymap.o): Depend on puresize.h.
1995-12-21 16:54:34 +00:00
Karl Heuer
2c081c2d63 (redisplay_window): Don't do the scroll_step thing
if startp is outside the accessible part of the buffer.
1995-12-21 16:52:06 +00:00
Karl Heuer
fcd4533c72 (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
(LOADLIBES): Use LIB_STANDARD_LIBSRC.
1995-12-21 16:45:29 +00:00
Karl Heuer
5750ebd89f Add #undef for index and rindex. 1995-12-21 08:06:29 +00:00
Karl Heuer
99d7a69de1 Improve copying status message. 1995-12-21 08:01:26 +00:00
Karl Heuer
3d68df05ca Just "solaris" now defaults to version 2.4.
Add sunos4.1.n-noshare as alternative.
1995-12-21 07:59:49 +00:00
Roland McGrath
501cf4283f (compilation-mode): Add autoload cookie. 1995-12-20 19:41:30 +00:00
Karl Heuer
453ed650c8 (Fcall_interactively): Don't log prompt strings. 1995-12-19 23:20:14 +00:00
Noah Friedman
6f579a691a (apropos-zippy): New command.
(yow-load-message, yow-after-load-message): New constants.
(yow, read-zippyism): Use them.

Now KEN and BARBIE are PERMANENTLY ADDICTED to MIND-ALTERING DRUGS..
1995-12-19 22:33:55 +00:00
Karl Heuer
26a4a227ac (apropos-match-face): Use `secondary-selection' rather
than `highlight' to distinguish it from mouse-face highlighting of
hyperlinks.
(apropos-mode-map): Rename from `apropos-local-map'.
(apropos-mode): Set it rather than have a local-map that made RET
locally unusable when copied to other buffer.
(apropos-print): Use it.  When there is only one property, show
what it is.  Remove superfluous `save-excursion', thus making help
commands' return-message be correct.
(apropos-print, apropos-describe-plist): `print-help-return-message'
like help commands.
1995-12-19 22:01:53 +00:00
Karl Heuer
ef818feb0d Use <paths.h>, not "paths.h". 1995-12-19 21:43:33 +00:00
Karl Heuer
fdee13ec10 (dired-flag-backup-files): Undo previous change. 1995-12-19 21:39:23 +00:00
Karl Heuer
066327aee3 (make-backup-file-name, backup-file-name-p): Use ~ even
on ms-dos.
1995-12-19 21:30:13 +00:00
Karl Heuer
53588795b1 [!MULTI_FRAME] (syms_of_frame): Make mouse-pixel-position
a synonym for mouse-position, for the benefit of lisp packages
that use it.
1995-12-19 21:10:33 +00:00
Karl Heuer
2eb271bec4 (display-time): make it work under ms-dos by setting the
`dos-display-time' variable instead of invoking `wakeup' as
asynchronous process (which doesn't work under ms-dos).
1995-12-19 21:02:04 +00:00
Karl Heuer
8ee2fef4e0 delete declarations for `Vdos_menubar_clock' and
`Vdos_timer_hooks'.
1995-12-19 21:00:06 +00:00
Karl Heuer
c9c65c869e (syms_of_dosfns): delete the `dos-menubar-clock' and
`dos-timer-hooks' variables (the usual modeline time display now
works and `display-time-hook' can be used under DOS).
1995-12-19 20:59:46 +00:00
Karl Heuer
382cafff99 (check_timer): get rid of the DOS-specific menubar clock
feature; call `display-time-filter' from time.el to display time
on the modeline instead.  This makes `display-time' work under DOS.
(abort): use our own function instead of the one from the library
which reverts the console device to cooked mode.
(syms_of_msdos): `dos-display-time'--a new variable for
communicating with `display-time'.
1995-12-19 20:57:15 +00:00
Karl Heuer
600a5f71e6 (auto-mode-alist): Recognize .S and .asm extensions. 1995-12-19 20:28:26 +00:00
Paul Eggert
ac138dc079 Fix misspelling in comment. 1995-12-17 03:32:19 +00:00
Lars Magne Ingebrigtsen
ddc2544e5e * nntp.el (nntp-open-server): Enable successful "connectionless"
server switching.
1995-12-16 14:54:55 +00:00
Stan Cox
627bd32d94 (AViiON): Add ix86-dg-dgux 1995-12-16 03:32:35 +00:00
Karl Heuer
7caa541657 Mouse-click method now bound using text
properties rather than local-set-key
1995-12-15 21:19:29 +00:00
Karl Heuer
c7608a53b0 (mail-bury): Use window-dedicated-p. 1995-12-15 21:16:34 +00:00
Karl Heuer
1540e4e9cc (set-auto-mode): Recognize `#!/bin/env INTERPRETER' hack. 1995-12-15 21:11:52 +00:00
Stan Cox
1bdabbcd25 (i*86*) Change [345] to [3456] 1995-12-15 15:43:33 +00:00
Richard M. Stallman
764387aaab (LD_SWITCH_MACHINE): Don't define if using GCC. 1995-12-15 02:21:20 +00:00
Richard M. Stallman
97a1ff91ab (x_set_menu_bar_lines) [USE_X_TOOLKIT]:
Don't crash for non-X frame.
1995-12-15 02:17:06 +00:00
Richard M. Stallman
69f033abe1 (message_dolog): Save and restore windows_or_buffers_changed. 1995-12-15 02:13:54 +00:00
Lars Magne Ingebrigtsen
6346a6e6d5 * gnus.el (gnus-summary-mode-line-format,
gnus-article-mode-line-format, gnus-group-mode-line-format):
Include the buffer name in the default mode strings.
(gnus-mode-non-string-length): Changed the default to not
limit/pad mode line lengths.
(gnus-set-mode-line): Supply new values for the mode string
variables.
(gnus-summary-remove-lines-marked-with): Put point on the current
article after expunging lines.
1995-12-14 12:05:03 +00:00
Roland McGrath
83287e5be3 Fix completely broken changes of 4 Feb 95 by brat@htilbom.ernet.in,
which were obviously never tested or even examined closely before
being installed.
(find-tag-file-order): Variable removed.
(find-tag-noselect): Remove gratuitously added variable SEARCH-TAG and
bogus clobbering of find-tag-order for patterns ending in dot (serious
braindamage here).
(find-tag-in-order): Remove gratuitously added variable TAGS-TABLE-FILE.
Remove variable MATCH-TYPE and code testing it for stupid special case.
(etags-recognize-tags-table): Put tag-exact-file-name-match-p first in
find-tag-tag-order list.  Don't set bogus find-tag-file-order variable.
(etags-snarf-tag): Notice file name match and return tag info with t
in place of tag text.
(etags-goto-tag-location): If (car TAG-INFO) is t, go directly to
the specified location.
(tag-exact-file-name-match-p): Renamed from tag-filename-match-p, and fixed.
(tags-table-files): Doc fix: names are returned unexpanded.
(etags-tags-table-files): Don't expand file names.
(tags-table-including, next-file): Expand result of (tags-table-files).
(tags-complete-tags-table-file): New function, helper for interactive
spec of list-tags.
(list-tags): Revert to original code, but use that function to lazify
the completion table.
(tags-list-functions-in-file, tags-locate-file-in-tags-table):
Functions removed.
1995-12-14 06:34:54 +00:00
Roland McGrath
66fc2bf5cf (generate-file-autoloads): If no buffer visiting FILE exists, read it into
a temp buffer for processing without visiting it.
1995-12-14 05:08:02 +00:00
Ian Lance Taylor
bf141a8c74 Accept *-*-ieee*. 1995-12-13 21:43:08 +00:00
Karl Heuer
0640d7bff7 (bibtex-auto-fill-function): Adapted for use with
changed autofill policy of emacs-19.30 (uses now fill-prefix
instead of indent-line-function).
(bibtex-indent-line-function): Removed (not used any more).

(bibtex-make-field): Was broken when called
non-interactively.

(bibtex-make-field): Point is now placed on closing
brace or quote (suggested by Karl Eichwalder <ke@ke.Central.DE>).

(bibtex-clean-entry): Comma after last field isn't
deleted anymore (new standard in BibTeX 0.99 and 1.xx).
(bibtex-enclosing-reference-maybe-empty-head): Works with entries
with comma after last field.
(bibtex-reference): Permits entries with comma after last field.
(bibtex-font-lock-keywords): Enhanced to support new field-name
characters (suggested by Martin Maechler
<maechler@stat.math.ethz.ch>).

(bibtex-field-name): Now numbers (not as the first sign), dashes,
and underscores are allowed (suggested by Martin Maechler
<maechler@stat.math.ethz.ch> and Oren Patashnik
<opbibtex@labrea.Stanford.EDU>).

(bibtex-make-field): Was broken on lines containing
non-parenthesized entries (reported by Karl Eichwalder
<ke@ke.Central.DE>).

(bibtex-validate-buffer): Changed so that preamble
references are ignored (same as string entries) (reported by
Martin Maechler <maechler@stat.math.ethz.ch>).

(bibtex-enclosing-reference-maybe-empty-head):
New function to be used in case reference head may be empty.
(bibtex-clean-entry, bibtex-pop-previous, bibtex-pop-next): Uses
now bibtex-enclosing-reference-maybe-empty-head.
(bibtex-mode): Added support for font-lock mode.
(bibtex-font-lock-keywords): New variable with font-lock keywords
for BibTeX mode.

(bibtex-make-optional-field): Not longer interactive
(suggested by Karl Eichwalder <karl@pertron.central.de>).

(bibtex-maintain-sorted-entries): Set to nil, since it
requires more user attention and more restricted files to have
this set to t.
(bibtex-maintain-sorted-entries,
bibtex-sort-ignore-string-entries): Made buffer local, since it
may depend on the buffer which preferences to use.
(bibtex-validate-buffer): Looking for correct sort order only when
bibtex-maintain-sorted-entries is non-nil.
Put a comment in the `KNOWN BUGS' section about the
quote-inside-quotes problem.
(whole file): Changed string `true' in some documentation strings
to `non-nil' (e.g. `if variable has a true/non-nil value').
(bibtex-mode-map): Changed `move/edit' to `bibtex-edit'.

(bibtex-sort-entries): Now works correctly with
`@String' entries inside BibTeX files (i.e. after the occurence of
other references).
(bibtex-validate-buffer): Inserted code which looks if entries are
balanced (a single non-escaped quote inside braces was not
detected till now, but bibtex-sort-entries stumbles about it).

(bibtex-entry): bibtex-move-outside-of-entry is only
called when bibtex-maintain-sorted-entries is nil (otherwise
bibtex-find-entry-location determines the correct location).
(bibtex-find-entry-location): Now uses binary search. As before,
it assumes that the buffer is sorted without duplicates (but as
before it is only called when bibtex-maintain-sorted-entries is
t). Ignores `@String' entries if told so via variable
bibtex-sort-ignore-string-entries.

(bibtex-clean-entry): Respect
bibtex-maintain-sorted-entries when inserting autokey.
(bibtex-validate-buffer): Searching whole buffer for duplicates
and correct order is now done directly instead of calling
bibtex-find-entry-location (since this is to be reprogrammed to
use a binary search instead a sequential one).

(bibtex-parse-keys): May now be called with an
optional parameter which (if t) tells bibtex-parse-keys that it
should abort if input is pending.
(bibtex-mode): The instance of bibtex-parse-keys called in
auto-save-mode-hook is now called with this new parameter set to
t, so an auto-save caused by exceeding auto-save-interval is now
aborted immediately if user is still typing.

(bibtex-print-help-message, bibtex-clean-entry): Use
now constant strings instead of custom ones.

(bibtex-clean-entry): Changed the call of
bibtex-enclosing-reference to a more specific call so entries
without a key (here allowed) can be handled.
(bibtex-reference-key): Cleared off parentheses (caused string
entries enclosed by parentheses instead of braces to be not added
to bibtex-completion-candidates).
(bibtex-complete-string): Made it use bibtex-string.

(bibtex-keys,
bibtex-buffer-last-parsed-for-keys-tick): New buffer-local
variables to make parsing of BibTeX buffer for reference keys
(needed by TAB completion in minibuffer when entering key) more
occasional.
(bibtex-parse-keys): New function to parse for keys (functionality
was partially included in bibtex-entry).
(bibtex-entry): Changed to use bibtex-parse-keys.
(bibtex-mode): Installs bibtex-parse-keys as an
auto-save-mode-hook, so whole buffer is parsed at most when it is
autosaved.
(bibtex-clean-entry): Calls bibtex-parse-keys on the new entry, so
bibtex-keys remains consistent for new entries that are finished
by calling this function (most should).

(bibtex-inside-field): Be independent on current
setting of bibtex-field-right-delimiter (allows more intermixing
between quotes and braces).
(bibtex-make-field): Last change didn't make it work correctly
when called non-interactively by bibtex-entry (fixed).
1995-12-13 20:26:13 +00:00
Karl Heuer
482a1bd230 (x_connection_closed): Don't delete dpyinfo if it's null. 1995-12-13 20:08:11 +00:00
Karl Heuer
f13101e9c2 (dired-flag-backup-files): Under MS-DOS, search for
possible backup files by checking for filenames which end with a
`k' (the backup extension is `.bak').
1995-12-13 19:42:33 +00:00
Simon Marshall
905cf8f284 Take optional arg FRAME.
If flag not nil or t, don't change the attribute.
1995-12-13 15:31:07 +00:00