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

18923 Commits

Author SHA1 Message Date
Richard M. Stallman
3a426197fd *** empty log message *** 2001-10-30 18:41:07 +00:00
Richard M. Stallman
2dc96f0f8e (enriched-face-ans): FIx previous change. 2001-10-30 18:19:46 +00:00
Gerd Moellmann
3f99f94823 *** empty log message *** 2001-10-30 17:00:10 +00:00
Gerd Moellmann
8d7b140f13 (iso-accents-compose): Remove a
superfluous setq.
2001-10-30 16:10:09 +00:00
Gerd Moellmann
6389d65c8c (nnimap-date-days-ago): Defeat locale. 2001-10-30 11:24:50 +00:00
Eli Zaretskii
ae83015970 (list-buffers-noselect): If the buffer's name
starts with a blank, but it visits a file, do show it (for files
whose names start with a blank).
2001-10-30 10:44:17 +00:00
Stefan Monnier
8e8223e20f *** empty log message *** 2001-10-30 08:51:51 +00:00
Stefan Monnier
03e3e2e91f (sentence-end-double-space, sentence-end-without-period): Move to paragraphs.
(fill-indent-according-to-mode): Change default to t.
(fill-context-prefix): Simplify control-flow and use a more
sophisticated merge that unifies both previous checks.
(fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
(fill-nobreak-predicate): Make it into a defcustom'd hook.
(fill-nobreak-p): New fun.
(fill-region-as-paragraph): Use it.
Handle `fill-indent-according-to-mode' slightly differently.
(fill-individual-paragraphs-prefix): Simplify the control-flow.
(fill-individual-paragraphs-citation): Fix.
2001-10-30 08:08:12 +00:00
Stefan Monnier
629261c740 (sentence-end-double-space, sentence-end-without-period): Move from fill.el.
(forward-paragraph): Use `parstart' and `parsep' for temp variables
rather than rebinding `paragraph-start' and `paragraph-separate'.
2001-10-30 06:46:49 +00:00
Stefan Monnier
9e59bf581e (text-mode-map): Remove the \t binding.
(text-mode): Simplify now that the default is more favorable.
(paragraph-indent-text-mode): Fix last change.
2001-10-30 06:00:10 +00:00
Stefan Monnier
07187d5515 (use-hard-newlines): Use define-minor-mode.
(paragraph-start): Change default to the `text-mode' value.
2001-10-30 05:57:43 +00:00
Stefan Monnier
a17b712b4d (indent-line-function): Change default to indent-relative.
(tab-always-indent): Add an `always' setting.
(indent-according-to-mode): Handle `indent-relative' and
`indent-relative-maybe' specially.
(indent-for-tab-command): Rename `prefix-arg' to `arg'.
Handle the `always; case for `tab-always-indent'.
Don't call indent-according-to-mode for indent-relative' and
`indent-relative-maybe'.
(insert-tab): Rename `prefix-arg' to `arg'.
(indent-region): Indent the first line as well.
(indent-relative): Don't mark the buffer modified if the indentation
is unchanged.
2001-10-30 05:37:08 +00:00
Stefan Monnier
0fb36e365e (paragraph-indent-minor-mode): Don't set paragraph-separate.
Set paragraph-start more carefully.  Set indent-line-function.
(paragraph-indent-text-mode): Use it and define-derived-mode.
2001-10-30 05:26:44 +00:00
Stefan Monnier
1c787e34e5 (find-function-search-for-symbol):
If the regexp doesn't match, use a looser one.
(find-variable-noselect): Add `file' argument.
2001-10-30 04:51:55 +00:00
Stefan Monnier
98a68b08df (cvs-mode-commit-hook): New hook.
(cvs-mode-commit): Run it.
2001-10-30 04:41:28 +00:00
Stefan Monnier
70c2a4848d (log-edit): Run hook after `log-edit-files'. 2001-10-30 04:32:58 +00:00
Stefan Monnier
3ebb84168d (delay-mode-hooks): Add edebug-spec.
(edebug-instrument-function): Use `find-function-noselect'.
2001-10-30 03:31:32 +00:00
Richard M. Stallman
4d083a8fd2 *** empty log message *** 2001-10-30 00:34:09 +00:00
Richard M. Stallman
df4eaaf048 (term-if-emacs19): Macro deleted.
Callers changed to use progn instead.
2001-10-30 00:27:25 +00:00
Richard M. Stallman
cacf219364 (blink-cursor-mode): Doc fix. 2001-10-30 00:24:12 +00:00
Richard M. Stallman
8767d8666a (find-backup-file-name): Use make-backup-file-name. 2001-10-30 00:23:32 +00:00
Richard M. Stallman
10b088c638 (edebug-window-live-p): Always alias to window-live-p.
(edebug-set-conditional-breakpoint): Unconditionally use
the former Emacs >=19 definition.
(edebug-mark): Define unconditionally.
(edebug-eval-expression): Always call read-from-minibuffer
and specify history list.
(edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
edebug-set-conditional-breakpoint.
(edebug-emacs-version-specific): Function deleted;
do the job at top level.
(edebug-emacs-19-specific): Function deleted, this is the default.
2001-10-30 00:21:34 +00:00
Richard M. Stallman
dead519df9 *** empty log message *** 2001-10-30 00:21:12 +00:00
Sam Steingold
bcaf1c362c (convert-standard-filename): Handle cygwin-specific pathnames. 2001-10-29 18:49:16 +00:00
Eli Zaretskii
95125512c2 (read-face-name): Doc fix.
(make-face-bold, make-face-unbold, make-face-italic)
(make-face-unitalic, make-face-bold-italic, invert-face): Remove
trailing blank from the prompt passed to read-face-name.
2001-10-29 18:40:23 +00:00
Eli Zaretskii
e76ecac5af *** empty log message *** 2001-10-29 18:23:29 +00:00
Eli Zaretskii
e458cb4997 (invert-face): Check for 'unspecified, not for nil,
when testing whether face colors are not specified.  From
David.Kastrup@t-online.de (David Kastrup).
2001-10-29 18:06:50 +00:00
Sam Steingold
d90a41e8ba (byte-recompile-directory): Report numbers of files skipped and failed too. 2001-10-29 17:26:26 +00:00
Kai Großjohann
e2c2a3e282 (log-view-mode-map): Bind M-n' and M-p', not `M n'
and `M p'.
2001-10-29 15:46:46 +00:00
Gerd Moellmann
f6f4bfb3d5 (iso-accents-compose): Push SECOND-CHAR
as is on unread-command-events instead of `(SECOND-CHAR)'.
2001-10-29 15:44:21 +00:00
André Spiegel
a480997780 # 2001-10-29 12:28:12 +00:00
André Spiegel
3f19e41228 # Doc fix, completing prev change. 2001-10-29 12:26:15 +00:00
Gerd Moellmann
3f08fcd2a6 *** empty log message *** 2001-10-29 12:25:58 +00:00
Gerd Moellmann
426b5652c6 (enriched-face-ans): Handle face attributes
of the form `(FACE1 FACE2 ...).
2001-10-29 12:25:27 +00:00
André Spiegel
ecd50f6599 Mention vc-*-switches in backend API documentation.
(vc-annotate): Adapt doc string to recent change.
2001-10-29 12:21:26 +00:00
Gerd Moellmann
0ccfdad267 *** empty log message *** 2001-10-29 11:39:52 +00:00
Gerd Moellmann
ab606888d5 (dired-omit-startup): Show ``Omit'' only in Dired
buffers.
2001-10-29 11:39:24 +00:00
Gerd Moellmann
60ebcfe88e *** empty log message *** 2001-10-29 09:44:56 +00:00
Gerd Moellmann
058fb10a33 (sql-mysql): Doc change by RMS.
(sql-db2): Doc change.
(sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
(sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
2001-10-29 09:35:04 +00:00
Gerd Moellmann
6fd735df02 *** empty log message *** 2001-10-29 09:11:17 +00:00
Gerd Moellmann
1fd520b6b3 (substitute-env-vars): Don't quote argument to `rx';
it's a macro.
2001-10-29 09:10:48 +00:00
Gerd Moellmann
8997e990e4 *** empty log message *** 2001-10-29 08:28:56 +00:00
Gerd Moellmann
e5515302f5 (recursive-load-depth-limit): Added. 2001-10-28 16:24:15 +00:00
Richard M. Stallman
bb41818d98 (version18p, version20p): Vars deleted.
All uses removed--assume Emacs version is >= 20.
2001-10-28 14:21:59 +00:00
Richard M. Stallman
36656ee3bc (sc-emacs-features): Test for "Emacs 19"
by really checking that it is not version 18.
2001-10-28 14:20:39 +00:00
Richard M. Stallman
46f90d0ff3 (eval-defun): Doc fix. 2001-10-28 14:15:14 +00:00
Richard M. Stallman
eef442a57e *** empty log message *** 2001-10-28 14:14:44 +00:00
Miles Bader
5bbf4378a0 *** empty log message *** 2001-10-28 10:22:34 +00:00
Miles Bader
c7f814cb6d (face-attribute): Add INHERIT argument, consider face inheritance if non-nil.
(face-attribute-merged-with): New function.
(face-attribute-specified-or): New macro.
(face-foreground, face-background, face-stipple): Add INHERIT argument.
Use `face-attribute-specified-or'.
2001-10-28 10:19:33 +00:00
Stefan Monnier
e8ac59b819 (syntax-ppss-stats): Be more robust when dividing by 0. 2001-10-28 05:43:36 +00:00
Stefan Monnier
8259bf101d Require `syntax'.
(font-lock-defaults-alist): Don't define keywords for lisp languages.
Use `c-font-lock-syntactic-face-function' for c languages.
(font-lock-mode): Don't unset vars when turning the mode off.
(font-lock-default-fontify-buffer): Don't unset vars at the end.
(font-lock-extra-managed-props): New var.
(font-lock-default-unfontify-region): Use it.
(font-lock-apply-syntactic-highlight): Flush the syntax cache.
Don't eval the value when there's no match.
(font-lock-ppss-stats): New var.
(font-lock-ppss): New fun.
(font-lock-fontify-syntactically-region): Use it and syntax.ppss.
(font-lock-apply-highlight): Allow `highlight' to set several props.
(font-lock-set-defaults): Use dolist.
(font-lock-unset-defaults): Remove.
(font-lock-match-c-style-declaration-item-and-skip-to-next):
Try to recognize prototypes using `foo P_ ((args))'.
({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
(c-font-lock-keywords-2): Fix last change to still use Anders' trick.
(c-font-lock-syntactic-face-function): New function.
(font-lock-match-c++-style-declaration-item-and-skip-to-next)
(c++-keywords): Use a more sophisticated regexp to handle
shallowly nested templates.
2001-10-28 04:48:16 +00:00
Stefan Monnier
b2e8c203e4 (sgml-tags-invisible): Typo. 2001-10-28 04:12:46 +00:00
Stefan Monnier
73d25e5276 (sgml-empty-tags): New var.
(sgml-tag): Use it.  Cleanup with `cond'.
(sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
Mark the overlays and only delete those that are marked.
(sgml-skip-close-p): Remove.
(sgml-value): Replace sgml-skip-close-p with its definition.
(html-tag-alist): Use sgml-xml a bit more.
(html-mode): Set sgml-empty-tags.
2001-10-28 04:10:40 +00:00
Stefan Monnier
001c08a170 *** empty log message *** 2001-10-28 03:29:49 +00:00
Stefan Monnier
b9f6016110 Use when', dolist', `push', ...
(texinfo-update-node, texinfo-sequential-node-update):
Don't bind the obsolete `auto-fill-hook'.
(texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
Use `set-buffer' rather than `switch-to-buffer'.
(texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
Use `set-buffer' rather than `switch-to-buffer'.
2001-10-28 03:24:14 +00:00
Stefan Monnier
56487dd411 *** empty log message *** 2001-10-27 23:26:53 +00:00
Stefan Monnier
6553d8f222 (gnus-setup-message): Setup reaper for MML buffers. 2001-10-27 22:52:29 +00:00
Stefan Monnier
f81b71c78b (mail-mode-syntax-table): Let it inherit from text-mode-syntax-table.
(mail-mode): Use define-derived-mode.
Fix ordering of alternatives in adaptive-fill-regexp.
(mail-mode-map): Don't rely on keymap's internal representation.
2001-10-27 22:19:29 +00:00
Sam Steingold
c71a58a384 (mouse-buffer-menu-mode-groups): added SGML group 2001-10-27 16:32:35 +00:00
Sam Steingold
c77c3a7302 renamed html-xhtml' to sgml-xml' and generalized accordingly 2001-10-27 16:07:35 +00:00
Gerd Moellmann
9ac553b952 Remove installation instructions. There's nothing to do. 2001-10-27 15:08:48 +00:00
Eli Zaretskii
8e5ff9aaa4 *** empty log message *** 2001-10-27 15:02:14 +00:00
Eli Zaretskii
25cacfa7f0 No change. Error by bob, not eliz, logging change for wrong file. 2001-10-27 14:57:00 +00:00
Stefan Monnier
b9c6ab6847 *** empty log message *** 2001-10-27 08:12:55 +00:00
Gerd Moellmann
cfc3aed3fe (ange-ftp-send-cmd): Call fix-name-func for
`mdtm'.  From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
2001-10-27 07:53:11 +00:00
Stefan Monnier
fdf1c7c32f (text-mode): Use define-derived-mode.
(toggle-text-mode-auto-fill): Use derived-mode-p.
2001-10-27 07:42:11 +00:00
Stefan Monnier
bcfb9effc9 *** empty log message *** 2001-10-27 05:21:32 +00:00
Eli Zaretskii
944e6f601b *** empty log message *** 2001-10-26 21:41:35 +00:00
Eli Zaretskii
aa32689c0c (x-frob-font-slant, x-frob-font-weight): Add
make-obsolete cookies, to follow faces.el.
2001-10-26 21:27:19 +00:00
Eli Zaretskii
bd6eb1cb4e *** empty log message *** 2001-10-26 21:24:04 +00:00
Eli Zaretskii
3fc67165a0 (internal-get-face): Use facep instead of the obsolete
internal-find-face.
(internal-frob-font-weight, internal-frob-font-slant): New
defailiases for obsolete functions.
(x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
(x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
(x-make-font-bold-italic): Use internal-frob-font-weight and
internal-frob-font-slant aliases instead of the obsolete
x-frob-... functions.
2001-10-26 21:16:09 +00:00
Sam Steingold
e5d1dee911 (html-mode); set mode-name' based on html-xhtml' 2001-10-26 20:55:36 +00:00
Sam Steingold
58203d918e (html-mode): Set `html-xhtml' from the DOCTYPE.
(html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
(sgml-tag): Close empty tags in XHTML.
2001-10-26 20:29:10 +00:00
Stefan Monnier
05dcc52533 Re-indent. 2001-10-26 20:11:25 +00:00
Jason Rumney
317672ff40 *** empty log message *** 2001-10-26 19:56:32 +00:00
Jason Rumney
ac169f7bb3 Use ANSI fonts for iso10646-1 if UNICODE is not defined in system headers. 2001-10-26 18:59:41 +00:00
Sam Steingold
4fb0e5588a (derived-mode-hook-name, derived-mode-map-name)
(derived-mode-syntax-table-name, derived-mode-abbrev-table-name):
define defsubsts before they are first used
2001-10-26 17:51:38 +00:00
Sam Steingold
5950e02941 some code simplifications: when instead of if+progn;
line-beginning-position instead of progn+bol+point
2001-10-26 17:40:59 +00:00
Sam Steingold
5682d301c3 regenerated 2001-10-26 15:40:03 +00:00
Sam Steingold
b52b132fbf sugar: escape a "{" in the first column to pacify font-lock 2001-10-26 15:37:54 +00:00
Sam Steingold
07fedaed79 (c-font-lock-keywords-2): Do not require labels to be alone on the line. 2001-10-26 15:04:58 +00:00
Eli Zaretskii
d4e34d243c *** empty log message *** 2001-10-26 14:25:06 +00:00
Eli Zaretskii
f2e2418951 (button): Special face definition for MS-DOS terminals. 2001-10-26 14:23:10 +00:00
Sam Steingold
187cd25bb0 (sh-font-lock-close-heredoc): check the args for being non-nil 2001-10-26 13:54:45 +00:00
Sam Steingold
035107fa9c no functional changes - a preparation for the next patch 2001-10-26 13:48:53 +00:00
Gerd Moellmann
63db25edff (artist-version): 1.2.4.
(artist-butlast-fn): New variable.
(artist-butlast): New function.
(artist-ellipse-mirror-quadrant): Use it.
(artist-mouse-draw-poly): Use nil for `point-list'.
(artist-mouse-draw-poly): Check for point-list being nil.
2001-10-26 09:51:14 +00:00
Gerd Moellmann
627a4e30dc (ps-mode-print-function): Remove quote for
lambda expression.
(ps-mode-menu-main): Submenu with options on/off was replaced with
a toggle button.
(ps-mode, ps-run-mode): Define with `define-derived-mode'
(ps-mode): Autoload cookie added on same line as comment
(ps-mode-tabkey, ps-mode-backward-delete-char):
(ps-mode-r-balance): Replace `delete-horizontal-space' and
`indent-to' with `indent-line-to'
(ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
instead of `eval'.
(ps-mode-print-region): Use `with-temp-buffer'.
(ps-run-start): Use of `mapconcat'.  Use `apply' instead of
`eval'.
(numerous places): Add back-tick and tick around names in
docstrings, fix punctuation in docstrings, remove trailing spaces.
2001-10-26 09:14:37 +00:00
Stefan Monnier
6436765542 (sgml-font-lock-keywords-1): Ignore comments.
(sgml-font-lock-keywords-2): Use `eval'.  Moved from sgml-mode-common.
(sgml-font-lock-syntactic-keywords): New var.
(sgml-mode-common): Drop the two args.
Don't make buffer-local variables that aren't used.
Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
Don't set `before-string' props from sgml-display-text.
(sgml-mode): Use define-derived-mode.
(sgml-tags-invisible): Use sgml-display-text.
(sgml-quote): New command.
(html-tag-alist): Add args for `span'.
(html-mode): Use define-derived-mode.
Set sgml-display-text and sgml-tag-face-alist.
2001-10-25 22:25:30 +00:00
Sam Steingold
598f34fa52 (add-log-always-start-new-record): New user option. 2001-10-25 17:49:13 +00:00
Richard M. Stallman
a3fbafe2f0 *** empty log message *** 2001-10-25 15:30:00 +00:00
Richard M. Stallman
c2c3a05deb (tags-query-replace): Make tags-loop-scan
bind case-fold-search if FROM is not all lower case.
2001-10-25 15:26:46 +00:00
Gerd Moellmann
dfe92a6aca *** empty log message *** 2001-10-25 13:32:54 +00:00
Gerd Moellmann
538ef02ab9 (normal-top-level): Check for frame-initial-frame
only if it's really used.
2001-10-25 13:32:29 +00:00
Gerd Moellmann
879eadc3f9 *** empty log message *** 2001-10-25 10:13:23 +00:00
Gerd Moellmann
5a38ea8508 (mh-recenter): Call recenter with arg `(4)'. 2001-10-25 10:13:00 +00:00
Gerd Moellmann
5b6a51aaea *** empty log message *** 2001-10-25 07:50:16 +00:00
Gerd Moellmann
e335e1949d (compilation-parse-errors-filename-function):
New variable.
(compilation-parse-errors): Use it.
2001-10-25 07:47:48 +00:00
Stefan Monnier
d73a471bf4 *** empty log message *** 2001-10-25 05:54:03 +00:00
Stefan Monnier
2e89869265 (checkdoc-eval-defun): Call eval-defun
interactively so that C-u M-C-x still does edebug.
(checkdoc-sentencespace-region-engine): Don't force a double-space
after `.' if it doesn't look like an end-of-sentence.
(debug-ignored-errors): Add `disambiguate ...'.
2001-10-25 05:51:39 +00:00
Stefan Monnier
3bd171d52c (font-lock-keywords): Make sure texinfo-clone-environment is called. 2001-10-25 05:22:30 +00:00