1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-20 20:50:53 -08:00
Commit graph

6838 commits

Author SHA1 Message Date
Karl Heuer
b55535f3b0 (rmail-make-basic-summary-line):
Recognize user-mail-address in From field means msg is from you.
1995-12-21 18:07:18 +00:00
Karl Heuer
40e09f8812 (rmail-ignored-headers): Add resent-date, nntp-posting-host.
(rmail-retry-failure): Fix previous change.
Combine variables mail-buffer and rmail-buffer.
Look for an end-delimiter in case where the start-of-bounce
delimiter looks like -- plus some more text.

(rmail-search): Doc fix.
1995-12-21 18:02:18 +00:00
Karl Heuer
107e7c7045 Doc fixes. 1995-12-21 18:01:15 +00:00
Karl Heuer
7cf202bd65 (rmail-spool-directory): Try /var/spool/mail.
(news-path): Use /var/spool/news as last resort.
1995-12-21 18:01:03 +00:00
Karl Heuer
69e01b8eb2 (window-setup-hook): Clear blink-matching-paren-on-screen;
don't touch  blink-paren-function.
1995-12-21 17:59:43 +00:00
Karl Heuer
34bb441e23 (makefile-font-lock-keywords): Fix bad structure
for the "^\t+#" element.

Add faces to menu only if window-system.
(makefile-mode): Do not check if makefile-define-space-face is
defined.  Call it only if window-system.
1995-12-21 17:56:09 +00:00
Karl Heuer
22466c0996 (lpr-switches, lpr-add-switches): Doc fixes. 1995-12-21 17:55:44 +00:00
Karl Heuer
93353fea26 (lisp-fill-paragraph): Several changes.
Change how to recognize partial comment lines,
how to find start of region to fill.  Use fill-region.
Use tabs when making comment-fill-prefix.
1995-12-21 17:54:46 +00:00
Karl Heuer
64690f3dfa (iso-ascii-convenient): New variable.
(iso-ascii-display): New function to implement that variable.
Use it instead of using standard-display-ascii directly.
1995-12-21 17:54:34 +00:00
Karl Heuer
72c2a4c132 Many doc fixes. 1995-12-21 17:50:40 +00:00
Karl Heuer
99ae9e9fda (isearch-done): Use executing-kbd-macro.
(isearch-just-started): New variable.
(isearch-mode): Set it.
(isearch-search): Clear it.
(isearch-repeat): If isearch-just-started, don't test for empty match.
(isearch-unread): Use store-kbd-macro-event.

(isearch-search-and-update): Use isearch-case-fold-search
around the looking-at call.
1995-12-21 17:49:54 +00:00
Karl Heuer
0a8e8bc63e (imenu-update-menubar): New function.
(imenu-add-to-menubar): Use an ordinary menu bar submenu.
Add imenu-add-to-menubar to menu-bar-update-hook to update the submenu.
(imenu--make-index-alist): Add noerror argument.
(imenu--menubar-select): New function.
(imenu--create-keymap-1, imenu--create-keymap-2): New arg COMMANDS.
(imenu): Allow a string as arg.
1995-12-21 17:47:08 +00:00
Karl Heuer
bcdef904cb (gud-sdb-marker-filter): Modify the regexp for sysVR3 to
take care of the asterisk prompt.  Correctly set gud-marker-acc.
1995-12-21 17:45:44 +00:00
Karl Heuer
409adbc7fb (enable-flow-control-on): Try the whole TERM name
before trying to strip off words from the end.
1995-12-21 17:43:20 +00:00
Karl Heuer
3a30dc2546 (report-emacs-bug): If `mail' asks for confirmation
and the user doesn't give it, don't do anything more.
Explain a way to cancel the message.
Include recent keys and recent *Messages* messages at end.
1995-12-21 17:40:55 +00:00
Karl Heuer
e470e6f041 (standard-display-european): Test code 161, not 160. 1995-12-21 17:39:04 +00:00
Karl Heuer
6f71c5cd11 (symbol-under-point, symbol-before-point)
(symbol-under-or-before-point, symbol-before-point-for-complete):
Use unwind-protect to restore syntax table.
(symbol-before-point, symbol-before-point-for-complete):
Start the backward scan-sexps from point, not (1+ (point)).
1995-12-21 17:38:40 +00:00
Karl Heuer
14fcc701c7 (calendar-astro-from-absolute): Autoload it. 1995-12-21 17:34:52 +00:00
Karl Heuer
393ae6ec84 (byte-compile-output-docform): Don't do dynamic doc
strings if byte-compile-compatibility.
1995-12-21 17:33:20 +00:00
Karl Heuer
92751e420f (byte-compile-unfold-lambda): Recursively optimize body. 1995-12-21 17:32:21 +00:00
Karl Heuer
560fcebc15 (ange-ftp-load): Added missing form to `cdr' down
tryfiles in `while' loop.

(ange-ftp-start-process): Bind env var TERM to dumb.
1995-12-21 17:30:47 +00:00
Roland McGrath
501cf4283f (compilation-mode): Add autoload cookie. 1995-12-20 19:41:30 +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
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
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
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
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
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
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
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
Karl Heuer
4d4826ab5c (rmail-forward): Delete trailing blank lines. 1995-12-13 04:59:53 +00:00
Karl Heuer
7e34da22f0 (sendmail-send-it): Added support for Resent-CC and
Resent-BCC headers.
1995-12-13 02:19:05 +00:00
Karl Heuer
dea10df4d4 (fill-context-prefix): Doc fix. 1995-12-13 02:09:24 +00:00
Karl Heuer
f7c7053ea6 Provide sh-script. 1995-12-13 01:37:58 +00:00
Karl Heuer
4f675a8c50 (change-log-mode): Defaults for `indent-tabs-mode'
and `tab-width'.
1995-12-13 01:36:02 +00:00
Karl Heuer
bfc8e97b47 (sh-mode-map): Make the code more legible.
(sh-font-lock-keywords-1): Allow keyword `in' at eol too.
(sh-font-lock-keywords-only): New variable to prevent an apostrophe
in comment from misfontifying buffer, but to allow users who don't
have such to get strings fontified.
(sh-mode): Use it.
1995-12-13 01:22:05 +00:00
Simon Marshall
b7ffee5fb7 Wrap case-fold-search for x-frob-font-weight and x-frob-font-slant. 1995-12-12 08:20:37 +00:00
Simon Marshall
6152f5f070 Use comint-input-sender to send text (Peter Gabriel <gabriel@or.iabg.de>). 1995-12-11 13:52:09 +00:00
Simon Marshall
7d7d915a20 Don't turn on in any buffer with a leading space in its name.
When (un)fontifying, make sure we're doing it in the whole buffer.
Make a command to refontify the window.
1995-12-09 16:35:57 +00:00
Lars Magne Ingebrigtsen
a828a776d8 (gnus-simplify-mode-line): New function to simplify the
mode line in a safer manner.
(gnus-group-mode, gnus-browse-mode, gnus-summary-mode,
gnus-article-mode, gnus-server-mode): Use the function.
1995-12-09 08:52:17 +00:00
Lars Magne Ingebrigtsen
8bb6fec9b4 (gnus-group-set-mode-line): Allow user defined specs in the group
format mode line.
1995-12-08 05:11:19 +00:00