1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00
Commit Graph

10298 Commits

Author SHA1 Message Date
Richard M. Stallman
f21fef3c9f (info): Always switch to buffer *info* even if
current buffer is in Info mode.
1998-02-27 23:30:11 +00:00
Karl Heuer
406f45176a Remove debugging statements. 1998-02-27 22:20:12 +00:00
Karl Heuer
4d49551aee (set-visited-file-name): Don't call backup-enable-predicate
when buffer-file-name is nil.
1998-02-27 22:13:26 +00:00
Karl Heuer
9b3d0a18fa (make-mode): Provide make-mode, not makefile. 1998-02-27 22:11:43 +00:00
Richard M. Stallman
f2e6033d73 (mouse-avoidance-kbd-command): Function deleted.
(mouse-avoidance-fancy-hook, mouse-avoidance-exile-hook)
(mouse-avoidance-banish-hook): Test whether last command
was a mouse command of any kind.
1998-02-27 21:52:27 +00:00
Karl Heuer
e5f0841ed0 (dired-do-toggle): Moved here from dired-x.el.
(dired-mode-map): Changed dired-do-toggle from "T" to "t".
1998-02-27 21:45:01 +00:00
Karl Heuer
45844080ce (dired-do-toggle): Function moved to dired.el. 1998-02-27 21:44:39 +00:00
André Spiegel
f4c7209704 Added version id. 1998-02-27 18:44:41 +00:00
André Spiegel
0d53f4669d (vc-default-init-version): New variable.
(vc-register): Use it.  Also use COMMENT argument.
1998-02-27 18:44:14 +00:00
Dave Love
be38bd1419 (iso-spanish, iso-german, iso-iso2tex,
iso-tex2iso, iso-gtex2iso, iso-iso2gtex, iso-iso2duden): Fix
doc, interactive spec.
1998-02-27 17:05:21 +00:00
Simon Marshall
17193f89b7 Changed to use directory-sep-char rather than "/". 1998-02-27 12:58:26 +00:00
Karl Heuer
f980ec39f6 (rmail-retry-failure): Don't insist on finding
MIME delimiter again at end of bounce text.
(mail-unsent-separator): Accept "Your message follows".
1998-02-25 23:26:45 +00:00
Dave Love
340483df0d (thing-at-point-url-at-point): Intuit ftp:// on `short' URLs. 1998-02-25 23:16:42 +00:00
Dave Love
0471bec299 (winner-mode): Autoload cookie for defcustom too. 1998-02-25 23:09:07 +00:00
Karl Heuer
29d593f89c (reftex-toc-mode, reftex-select-label-mode):
(reftex-select-bib-mode): New major modes for RefTeX's special
buffers.
(reftex-offer-label-menu): Put selection buffer into
`reftex-select-label-mode'.  Make selection buffer read-only.  Use
`reftex-erase-buffer'.
(reftex-do-citation): Put selection buffer into
`reftex-select-bib-mode'.  Make selection buffer read-only.  Use
`reftex-erase-buffer'.  Set `reftex-select-return-marker'.
(reftex-toc): Put *toc* buffer into reftex-toc-mode.  Add
mouse-face property.
(reftex-select-item): Use recursive edit instead of selfmade
command loop.  Removed unnecessary local bindings.  Changed the
tag for catch, to avoid problems with `exit' tag in
recursive-edit.  Moved the code around old command loop to pre-
and post-command-hook.
(reftex-select-pre-command-hook, reftex-select-post-command-hook):
(reftex-select-show-insertion-point): New functions.
(reftex-reference): Set `reftex-select-return-marker'.
(reftex-check-recursive-edit): Error message changed.
(reftex-select-search-minibuffer-map): Obsolete constant removed.
(reftex-select-next, reftex-select-previous, reftex-select-scroll-up):
(reftex-select-scroll-down, reftex-select-next-heading):
(reftex-select-previous-heading): Handle prefix arguments.
(reftex-toc, reftex-make-and-insert-label-list):
(reftex-insert-bib-matches): Add mouse-face property.
(reftex-highlight-selection): New option.
(reftex-select-mouse-accept): New command.
(reftex-select-recursive-edit, reftex-select-search-forward):
(reftex-select-search-backward, reftex-select-search):
(reftex-select-scroll-up, reftex-select-scroll-down):
(reftex-scroll-other-window, reftex-scroll-other-window-down):
(reftex-empty-toc-buffer): Removed obsolete functions.
(reftex-highlight-overlays): Removed obsolete 3rd overlay.
(reftex-select-label-map, reftex-select-bib-map): Removed obsolete
bindings, added mouse bindings, `digit-argument',
`negative-argument', `reftex-select-show-insertion-point'.
(reftex-erase-buffer): BUFFER now defaults to current buffer.
(reftex-label-alist-builtin): Added sidecap packages support.
(reftex-last-follow-point, reftex-select-return-marker): New
variables.
(reftex-toc, reftex-select-item): Set `reftex-last-follow-point'.
(reftex-toc-post-command-hook): Use `reftex-last-follow-point'.
(reftex-get-file-buffer-force): Turn off `enable-local-variables'
when reading a file literally.
1998-02-25 23:05:37 +00:00
Karl Heuer
9f0ef3ebed (mathlst): Fix typo.
(shortlst): Avoid saying "Can you be", which confuses the doctor.
1998-02-25 22:59:49 +00:00
Karl Heuer
c863c92df3 (vc-register): Update vc-buffer-backend. 1998-02-25 22:53:17 +00:00
Karl Heuer
176eb8cb50 (custom-file): New function.
(custom-save-delete): Use it.
(custom-save-all): Use it.
1998-02-25 22:46:28 +00:00
Karl Heuer
a1fee1bc2a Added support for the Emacs Lisp manual.
(info-complete-file): Use default value if MODE is nil.
(info-lookup-file-alist): Variable removed.
1998-02-25 22:45:29 +00:00
Karl Heuer
d5323ba0c2 (battery-linux-proc-apm-regexp): Load percentage
and remaining time have to match negative values.
(battery-linux-proc-apm): Initialize void %-sequences.
1998-02-25 22:44:24 +00:00
Karl Heuer
2154db49c8 (shell-dirtrack-mode): Renamed from shell-dirtrack-toggle.
(dirtrack-mode, shell-dirtrack-toggle): Defined as aliases.
1998-02-25 22:43:03 +00:00
Karl Heuer
92062a094c Add "q" for quit, and use "C" for copy and "R" for
rename as in dired.
1998-02-25 22:37:35 +00:00
Dan Nicolaescu
78900bc31d *** empty log message *** 1998-02-25 05:06:02 +00:00
Dave Love
4f850b2677 (require 'cl) unconditionally.
(winner): defgroup.
(winner-dont-bind-my-keys, winner-skip-buffers,
winner-skip-regexps, winner-mode, winner-mode-hook,
winner-mode-leave-hook); Customized.
(winner-mode): Add autoload cookie.
(winner-undo): Doc fix.
1998-02-25 00:28:55 +00:00
Dave Love
861f3c2917 (vc-checkin-hook): Add :options.
(vc-checkin, vc-comment-to-change-log): Doc fix.
1998-02-24 12:54:05 +00:00
Dave Love
9b7dee8699 (compilation-error-regexp-alist): Allow initial
program name in first pattern.
1998-02-24 12:45:02 +00:00
Stephen Eglen
5fea23bb9d Doc fix in Commentary section. 1998-02-23 17:51:06 +00:00
Stephen Eglen
0b5bb3ec88 Customized. 1998-02-22 22:01:28 +00:00
Stephen Eglen
ccc3ce39b4 Commented out line 471 (miniperl entry in interpreter-mode-alist)
Removed stray =06 entry on line 4445.
Customized.
1998-02-22 20:03:39 +00:00
Stephen Eglen
5636765c52 Customized. 1998-02-22 19:51:45 +00:00
Stephen Eglen
d1ebc62e6c Customized. 1998-02-22 17:34:42 +00:00
Karl Heuer
a63f38642a Fix indentation rules for
multiple-value-setf and multiple-value-list.
1998-02-22 00:30:03 +00:00
Simon Marshall
883212ce69 Changed font-lock-reference-face to font-lock-constant-face. 1998-02-20 14:58:27 +00:00
Simon Marshall
b6908641f2 *** empty log message *** 1998-02-20 14:55:48 +00:00
Simon Marshall
8acf2292d9 Renamed font-lock-reference-face to font-lock-constant-face. 1998-02-20 14:24:57 +00:00
Kenichi Handa
55e2a603da (rmail-decode-babyl-format): Message modified.
(rmail): Comment for the binding of rmail-enable-multibyte added.
1998-02-20 11:15:28 +00:00
Kenichi Handa
7d862e0779 (rmail-enable-multibyte): New variable
(rmail): Bind coding-system-for-read to raw-text.  Set the buffer
multibyte if necessary.
(rmail-convert-file): Call rmail-decode-babyl-format only when we
don't have to call rmail-convert-to-babyl-format.
(rmail-decode-babyl-format): If rmail-file-coding-system is nil,
detect it.
(rmail-get-new-mail): Bind rmail-enable-multibyte locally.
(rmail-convert-to-babyl-format): Check the value of
rmail-enable-multibyte instead of enable-multibyte-characters.
1998-02-20 01:45:50 +00:00
Kenichi Handa
295baf1f72 (setup-chinese-cns-environment): Correct
the settting of default-input-method.
1998-02-20 01:45:21 +00:00
Kenichi Handa
1f77639917 (select-safe-coding-system): Kill the
warning buffer before returning.
1998-02-20 01:44:10 +00:00
Kenichi Handa
a2b4abc18b (after-insert-file-set-buffer-file-coding-system): Call set-buffer-multibyte
instead of directly setting enable-multibyte-characters to nil.
1998-02-20 01:44:10 +00:00
Kenichi Handa
66353e86d1 * subr.el (sref): Doc-string added. 1998-02-20 01:43:38 +00:00
Simon Marshall
9c8de95c2a Keyword doc fixes and keyword tweaks. 1998-02-18 09:12:24 +00:00
Dave Love
aa7a8f0ee8 (sgml-mode-common): Downcase key for
assoc so upper-case markup works.
(sgml-attributes, sgml-tag-help): Likewise.
1998-02-17 20:08:22 +00:00
Richard M. Stallman
f014d22e07 (c-copy-tree): New function.
(c-initialize-builtin-style): Use c-copy-tree.
1998-02-17 07:26:46 +00:00
Richard M. Stallman
87f235fb1b (c-enable-xemacs-performance-kludge-p): New variable.
(c-default-style): Start doc string with *.

(c-default-style): Renamed from c-site-default-style.
1998-02-17 07:14:36 +00:00
Richard M. Stallman
0bacd8d0b2 (c-make-styles-buffer-local): Take an optional argument which switches
between make-variable-buffer-local and make-local-variable.  Generalize.

(c-offsets-alist): Three new syntactic symbols: innamespace,
namespace-open, namespace-close.  These support C++ namespace blocks.
Also, new syntactic symbol cpp-macro-cont, by default bound to
c-lineup-dont-change.  This symbol is assigned to subsequent lines of
a multi-line C preprocess macro definition.

(c-style-alist): "jdk" style for conformance with Sun's JDK style.

(c-set-style-2, c-initialize-builtin-style): Don't special case
"cc-mode", it's a derived style.  Fix setup of derived style
"cc-mode".  Introduce the new default style "user" which contains all
user customizations.
1998-02-17 07:13:59 +00:00
Richard M. Stallman
77e31a8d08 (c-mode, c++-mode, objc-mode, java-mode): Set
imenu-case-fold-search to nil.

(java-mode): Set c-method-key to nil.  I don't think this is necessary
for Java, and besides, the old value was inherited from Objective-C
which was clearly not right.

(c++-mode): Set c-extra-toplevel-key to c-C++-extra-toplevel-key.
(c-initialize-on-load): New variable, *not* customized.
1998-02-17 07:11:40 +00:00
Richard M. Stallman
f1063b2f66 Imenu support changed. 1998-02-17 07:10:49 +00:00
Richard M. Stallman
bb7830ef8a (c-postprocess-file-styles): If a file style or file offsets are set,
make the variables local to the buffer (via make-local-variable).

(c-java-method-key): Variable deleted.

(c-C-extra-toplevel-key)
(c-C++-extra-toplevel-key, c-extra-toplevel-key): New variables
which parameterize the search for additional top-level enclosing
constructs.

(c-mode-base-map): c-mark-function moved back to M-C-h.
1998-02-17 07:10:11 +00:00
Richard M. Stallman
e1c458ae08 (c-forward-syntactic-ws, c-backward-syntactic-ws):
Don't narrow, just make a simple check against the given limit.

(c-collect-line-comments): New function.

(c-literal-limits): New function that finds the start and end pos
of a comment or string surrounding point.

(c-literal-limits-fast): A faster variant of `c-literal-limits'
for newer Emacsen where the state returned from
`parse-partial-sexp' contains the starting pos of the last literal.

(c-parse-state): Use (c-point 'bod) instead of
beginning-of-defun directly.

(c-guess-basic-syntax): Fixed a few byte compiler warnings.

(c-backward-to-start-of-do): Break infloop for
invalid code, e.g. when someone types while (TRUE) { at the top of
a buffer, we shouldn't hang when the { is typed!

(c-backward-to-start-of-if): Ensure never
move forward, not even if point < lim.

(c-search-uplist-for-classkey): When searching up for a class key,
instead of hardcoding the extended search for "extern", use the new
variable c-extra-toplevel-key, which is language dependent.  For C++,
this variable includes the keyword "namespace" which will match C++
namespace introducing blocks.

(c-guess-basic-syntax): Support for recognizing C++ namespace
blocks, by elaborating on the mechanism used to find external
language blocks.  Searches which hardcoded "extern" now use
c-extra-toplevel-key, a language dependent variable.  Case clauses
that were modified: CASE 5A.1, CASE 5A.4, CASE 5F, CASE 5I, CASE
14A.

CASE 3: we can now determine whether we're at the beginning of a
 	cpp macro definition, or inside the middle of one. Set syntax to
 	'cpp-macro in the former case, 'cpp-macro-cont in the latter.  In
 	both cases, the relpos is the beginning of the macro.

(c-forward-syntactic-ws): Added code that skips forward over
multi-line cpp macros.

(c-beginning-of-macro): Moved, and made into a defsubst.  This
function can now actually find the beginning of a multi-line C
preprocessor macro.

(c-backward-syntactic-ws): Use c-beginning-of-macro to skip backwards
over multi-line macro definitions.

(c-in-literal, c-fast-in-literal): Use c-beginning-of-macro to
find out whether we're in a multi-line macro definition.

(c-fast-in-literal): Function which should be faster than
c-in-literal.  In XEmacs, this uses buffer-syntactic-context.
1998-02-17 07:08:44 +00:00