Commit graph

24306 commits

Author SHA1 Message Date
Richard M. Stallman
90bb2ff453 (view-file): If existing buffer's major mode is special,
don't go into view mode.
2003-07-09 16:16:54 +00:00
Richard M. Stallman
60389964c5 (dired-move-to-filename-regexp): Allow quote in months. 2003-07-09 15:52:59 +00:00
Martin Stjernholm
7bfc3fdba3 2003-07-08 Martin Stjernholm <bug-cc-mode@gnu.org>
* cc-engine.el (c-guess-basic-syntax): Do not do hidden buffer
	changes; there's third party code that calls this function
	directly.

2003-07-07  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-fonts.el (javadoc-font-lock-keywords,
	autodoc-font-lock-keywords): Don't byte compile on font lock
	initialization when running from byte compiled files.

2003-07-06  Alan Mackenzie  <bug-cc-mode@gnu.org>

	* cc-engine.el: Fix AWK mode indentation when previous statement
	ends with auto-increment "++".

2003-07-05  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* cc-langs.el, cc-styles.el (c-style-alist, c-lang-variable-inits,
	c-lang-variable-inits-tail): The values of these are changed, so
	declare them as variables and not constants.
2003-07-08 23:24:44 +00:00
Markus Rost
d775d486e9 (dolist, dotimes): Doc fix. 2003-07-08 16:57:15 +00:00
John Paul Wallington
d73a7bb8af 2003-07-08 Kim F. Storm <storm@cua.dk>
* international/mule-cmds.el (set-display-table-and-terminal-coding-system):
	Don't break bootstrap if standard-display-table isn't setup yet.
2003-07-08 09:24:46 +00:00
Richard M. Stallman
c6de56a0cf *** empty log message *** 2003-07-07 21:06:01 +00:00
Richard M. Stallman
6e5cbb634e (ehelp-command): Use defalias to define ehelp-command.
Give it a doc string, and autoload it.
2003-07-07 21:05:17 +00:00
Richard M. Stallman
6df8016c93 (desktop-buffer-info, desktop-buffer-mh): Use with-no-warnings. 2003-07-07 21:04:28 +00:00
Richard M. Stallman
774f8aee6f (Info-search): If find invisible text, search again. 2003-07-07 21:03:32 +00:00
Richard M. Stallman
7f8e0f51fd (search-whitespace-regexp): Add a shy group around it. 2003-07-07 21:02:18 +00:00
Richard M. Stallman
50099a09c1 (Man-name-regexp): Match + as part of name. 2003-07-07 21:01:55 +00:00
Richard M. Stallman
0f7df53513 (visible-mode): Renamed from vis-mode.
(vis-mode-saved-buffer-invisibility-spec): Doc fix.

(current-word): New arg REALLY-WORD specifies
don't include punctuation chars.
2003-07-07 21:00:26 +00:00
Richard M. Stallman
12cf32ce47 (debug, debugger-env-macro): Use with-no-warnings while accessing and
binding unread-command-char.
2003-07-07 20:57:50 +00:00
Richard M. Stallman
2fe837ffdc (set-display-table-and-terminal-coding-system):
Use explicit loop instead of calling standard-display-default.
2003-07-07 20:56:24 +00:00
Richard M. Stallman
34301ace3d (ange-ftp-file-symlink-p):
Use condition-case to catch error in ange-ftp-get-files.
2003-07-07 20:55:38 +00:00
Richard M. Stallman
654805e39d (browse-url-browser-function): Add alternative for Epiphany.
(browse-url-epiphany-program, browse-url-epiphany-arguments)
(browse-url-epiphany-startup-arguments)
(browse-url-epiphany-new-window-is-tab): New variables.
(browse-url-epiphany, browse-url-epiphany-sentinel): New functions.
2003-07-07 20:54:56 +00:00
Richard M. Stallman
c72095b345 (compile-auto-highlight): Default now t.
(compile): Doc fix.
(compilation-next-error): Fix previous change.
2003-07-07 20:53:19 +00:00
Richard M. Stallman
96c0d9e953 (tex-main-file): Use with-no-warnings. 2003-07-07 20:52:27 +00:00
Richard M. Stallman
7461dcb0fd (xml-mode): Add autoload cookie. 2003-07-07 20:50:15 +00:00
Nick Roberts
7a7b20311c (gdb-source-info): Display current frame when
attaching to an existing process.
(gdb-setup-windows, gdb-source-info): Start with gud-comint-buffer
while laying out windows when attaching to an existing process.
2003-07-07 18:53:42 +00:00
Nick Roberts
f667e4db2d *** empty log message *** 2003-07-07 18:52:23 +00:00
Stefan Monnier
6c379bb9f8 *** empty log message *** 2003-07-07 15:24:40 +00:00
Stefan Monnier
00d32b3f98 (Info-menu): Use Info-menu-entry-name-re. 2003-07-07 14:46:00 +00:00
John Paul Wallington
0757777795 (vc-annotate-offset): Move defvar up. 2003-07-06 19:09:10 +00:00
Stefan Monnier
d0a0a08a1f (vc-stay-local, vc-stay-local-p): Move to vc-hooks.el. 2003-07-06 17:28:12 +00:00
Stefan Monnier
113414a913 (vc-stay-local, vc-stay-local-p): Move from vc.el. 2003-07-06 17:26:48 +00:00
Stefan Monnier
dc92db4ef6 (Info-menu-entry-name-re): Disallow : again: I misunderstood the problem. 2003-07-06 17:00:41 +00:00
Stefan Monnier
2760913103 (Info-menu-entry-name-re): Be careful to avoid multiple ways
to match the same text.  Allow : after : again.
2003-07-06 16:35:23 +00:00
Kim F. Storm
cf90703fc4 (Info-menu-entry-name-re): Add `:' to second [] part.
This should fix the infinite loop when extracting menu names.
2003-07-06 11:47:04 +00:00
Kim F. Storm
0590029112 *** empty log message *** 2003-07-06 11:46:47 +00:00
Martin Stjernholm
3aae776cfe (auto-mode-alist, interpreter-mode-alist): Removed entries to CC Mode
modes to avoid duplicates; they are now added with autoload directives
in cc-mode.el.
2003-07-05 20:02:18 +00:00
Martin Stjernholm
a2f3d16b3e New patch version. 2003-07-05 19:57:01 +00:00
Martin Stjernholm
2eb455ab32 (c-style-alist, c-lang-variable-inits, c-lang-variable-inits-tail): The
values of these are changed, so declare them as variables and not constants.
2003-07-05 19:54:33 +00:00
Martin Stjernholm
50fdde0e7e Fixed some autoload problems: Try to ensure that the entry for ".c"
extension comes before the one for ".C" on auto-mode-alist', to behave
better on case insensitive OS:es.  Fixed incorrect entries that were added
to interpreter-mode-alist'.  Moved the autoload directives for AWK to the
top level since they aren't recognized anywhere else.  Do not use the new
AWK mode doc in the autoload form for the old AWK mode.
2003-07-05 19:53:33 +00:00
John Paul Wallington
392cb21b2f (customize-create-theme): Call `customize-create-theme' in
Reset widget's notify function.  Blush.
2003-07-05 14:53:30 +00:00
Kai Großjohann
d715b065ad 2003-06-30 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
* textmodes/bibtex.el (bibtex-sort-entry-class): new entry
	catch-all.
	(bibtex-sort-ignore-string-entries): default value t.
	(bibtex-entry-kill-ring-max): Reintroduced as it was removed
	erroneously in previous version.
	(bibtex-string-files): Docstring reflects new parsing scheme.
	(bibtex-autokey-transcriptions): Merge some rewrite entries, fix
	docstring, add # as one of the chars to crush
	(bibtex-autokey-prefix-string, bibtex-autokey-names)
	(bibtex-autokey-names-stretch, bibtex-autokey-additional-names)
	(bibtex-autokey-name-change-strings)
	(bibtex-autokey-name-case-convert, bibtex-autokey-name-length)
	(bibtex-autokey-name-separator, bibtex-autokey-year-length)
	(bibtex-autokey-use-crossref, bibtex-autokey-titlewords)
	(bibtex-autokey-title-terminators)
	(bibtex-autokey-titlewords-stretch)
	(bibtex-autokey-titleword-ignore)
	(bibtex-autokey-titleword-case-convert)
	(bibtex-autokey-titleword-abbrevs)
	(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)
	(bibtex-autokey-before-presentation-function)
	(bibtex-entry-type-history, bibtex-entry-maybe-empty-head): Fix
	docstring.
	(bibtex-strings, bibtex-reference-keys): Use
	lazy-completion-table and make-variable-buffer-local.
	(bibtex-sort-entry-class-alist): Use downcase, account for
	catch-all.
	(bibtex-braced-string-syntax-table)
	(bibtex-quoted-string-syntax-table): New variables.
	(bibtex-parse-nested-braces): Remove.
	(bibtex-parse-field-string): Use syntax table and forward-sexp.
	(bibtex-parse-association): Simplify.
	(bibtex-parse-field-name): Obey bibtex-autoadd-commas.
	(bibtex-parse-field-text): Simplify.
	(bibtex-search-forward-field, bibtex-search-backward-field):
	argument BOUND can take value t.
	(bibtex-start-of-field, bibtex-start-of-name-in-field)
	(bibtex-end-of-name-in-field, bibtex-end-of-field)
	(bibtex-start-of-text-in-field, bibtex-end-of-text-in-field)
	(bibtex-start-of-text-in-string, bibtex-end-of-text-in-string)
	(bibtex-end-of-string, bibtex-type-in-head): Use defsubst.
	(bibtex-skip-to-valid-entry): Return buffer position of beginning
	and ending of entry. Update for changes of bibtex-search-entry.
	Simplify.
	(bibtex-map-entries): FUN is called with three arguments.
	(bibtex-search-entry): Return a cons pair with buffer positions of
	beginning and end of entry.
	(bibtex-enclosing-field): Simplify.
	(bibtex-format-entry): Use booktitle to set a missing title.
	(bibtex-autokey-get-names): Fiddle with regexps.
	(bibtex-generate-autokey): Use identity.
	(bibtex-parse-keys): Use simplified parsing algorithm if
	bibtex-parse-keys-fast is non-nil. Simplify. Change order of
	arguments. Return alist of keys.
	(bibtex-parse-strings): Simplify. Return alist of strings.
	(bibtex-complete-string-cleanup): Fix docstring.
	(bibtex-read-key): New function.
	(bibtex-mode): Fix docstring. Do not parse for keys and
	strings when the mode is entered. Set fill-paragraph-function to
	bibtex-fill-field. Setup font-lock-mark-block-function the way
	font-lock intended.
	(bibtex-entry): Use bibtex-read-key. Obey bibtex-autofill-types.
	(bibtex-parse-entry, bibtex-autofill-entry): New functions.
	(bibtex-print-help-message, bibtex-remove-OPT-or-ALT)
	(bibtex-Preamble): Avoid hard coded constants.
	(bibtex-make-field): Fix docstring. Simplify.
	(bibtex-beginning-of-entry): Always return new position of point.
	(bibtex-end-of-entry): Rearrange cond clauses.
	(bibtex-count-entries, bibtex-validate, bibtex-reformat): Update
	for changes of bibtex-map-entries.
	(bibtex-ispell-abstract): Do not move point.
	(bibtex-entry-index): Use downcase. Simplify.
	(bibtex-lessp): Handle catch-all.
	(bibtex-find-crossref): Turned into a command.
	(bibtex-find-entry): Simplify. Use bibtex-read-key. Fix regexp.
	(bibtex-clean-entry): Use bibtex-read-key. Handle string and
	preamble entries.
	(bibtex-fill-field-bounds): New function.
	(bibtex-fill-field): New command. Bound to
	fill-paragraph-function.
	(bibtex-fill-entry): Use bibtex-fill-field-bounds
	(bibtex-String): Use bibtex-strings. Always obey
	bibtex-sort-ignore-string-entries.
2003-07-05 12:41:24 +00:00
John Paul Wallington
34a4faa04b (ibuffer-backward-line, ibuffer-forward-line)
(ibuffer-mark-interactive): Use `or' instead of `unless'.
(define-ibuffer-column name): Add summarizer.
(define-ibuffer-column size): Likewise.
(define-ibuffer-column filename): Likewise.
(define-ibuffer-column process): Likewise.  Change BODY's output too.
(define-ibuffer-column filename-and-process): Likewise, likewise.
(ibuffer): Remove local vars `already-in' and `need-update'.
2003-07-05 11:24:00 +00:00
John Paul Wallington
2bf1ab7496 Don't require `derived' at compile-time. 2003-07-05 11:20:30 +00:00
Stefan Monnier
4d5bb891d6 *** empty log message *** 2003-07-05 00:36:30 +00:00
Stefan Monnier
1360464e62 (cl-transform-lambda): Strip &cl-defs
thingies from constructors created by defstruct.
2003-07-05 00:23:04 +00:00
Stefan Monnier
08d21785c8 (byte-compile-defvar): Check and set the default value of the variable.
(byte-code-meter): Move declaration to top level.
2003-07-04 23:47:48 +00:00
Stefan Monnier
36317f13f8 (cvs-parse-status): Ignore extra fields from CVSNT. 2003-07-04 23:30:29 +00:00
Stefan Monnier
c60c12be4c (Info-following-node-name-re): New fun.
(Info-following-node-name): Remove.
(Info-insert-dir): Use the new fun.
(Info-extract-pointer): Don't save restriction; use new fun.
(Info-menu-entry-name-re): New const.
(Info-menu-entry-name-re): Use it along with new fun.
(Info-node-spec-re): Use new fun.
(Info-complete-menu-item, Info-fontify-node): Use new const.
(Info-goto-node, Info-follow-reference, Info-menu-update):
Use match-string.
(Info-follow-reference): Use assoc-string.
Use a list of strings for the completion table.
(Info-fontify-node): Use match-string, line-end-position.
Limit the search for `node:' to the first line.
2003-07-04 23:05:35 +00:00
Stefan Monnier
79ca2b1157 (uncomment-region): Remove padding coming from
comment-start rather than just from comment-padding.
2003-07-04 22:45:26 +00:00
Stefan Monnier
e54faddb96 (vc-cvs-repository-hostname): New operation.
(vc-cvs-stay-local-p): Use vc-stay-local-p.
(vc-cvs-rename-file): Remove (use the default).
(vc-cvs-register): Register parent dir if needed.
(vc-cvs-could-register): Return non-nil if parent can be registered.
(vc-cvs-state, vc-cvs-dir-state, vc-cvs-print-log, vc-cvs-diff)
(vc-cvs-diff-tree, vc-cvs-make-version-backups-p): Use vc-stay-local-p.
2003-07-04 22:40:26 +00:00
Stefan Monnier
5cc7cb96c8 (vc-svn-use-edit): Make it into a const.
(vc-svn-update): Fix the arguments to `svn'.
(vc-svn-diff-tree): Just use `vc-svn-diff'.
(vc-svn-create-snapshot, vc-svn-retrieve-snapshot):
Simple implementations, assuming `name' is a URL.
2003-07-04 22:21:45 +00:00
Kim F. Storm
bb1e1730ec Disable paragraph refilling.
(Info-refill-paragraphs): New defcustom.
(Info-fontify-node): Use it.
2003-07-04 21:40:22 +00:00
Kim F. Storm
3d17017d15 *** empty log message *** 2003-07-04 21:40:04 +00:00
Stefan Monnier
d96da6c47a (sh-font-lock-paren): Add [ and ] to the
set of chars allowed unquoted in a case pattern.
2003-07-04 20:37:49 +00:00
Stefan Monnier
73f05d4e07 (font-lock-defaults-alist): Remove obsolete comment. 2003-07-04 20:27:14 +00:00