1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-06 11:55:48 +00:00
Commit Graph

15045 Commits

Author SHA1 Message Date
Eli Zaretskii
2e78d4abe0 (zone, zone-pgm-stress): Don't use window-system. 2000-08-04 12:21:12 +00:00
Eli Zaretskii
85628348e5 *** empty log message *** 2000-08-04 11:45:03 +00:00
Eli Zaretskii
cf667bc526 (hi-lock-unface-buffer): If a menu of regexps is
popped up, but the user clicks outside the menu, return an empty
regexp (that causes unhighlight-regexp to have no effect).
2000-08-04 11:39:24 +00:00
Eli Zaretskii
74f0e5522d *** empty log message *** 2000-08-04 08:52:04 +00:00
Eli Zaretskii
7bff37dc16 (menu-bar-games-menu): Add Zone. 2000-08-04 08:34:51 +00:00
Eli Zaretskii
588aca276b (toplevel): Require font-lock. 2000-08-04 08:30:16 +00:00
Gerd Moellmann
f4988be716 *** empty log message *** 2000-08-03 20:24:26 +00:00
Gerd Moellmann
5268b4422d Get around a bug on skip-chars-forward.
(ebnf-8-bit-chars): New var for bug fix.
(ebnf-string): Bug fix.
2000-08-03 20:11:01 +00:00
Sam Steingold
027b73ac1b * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
instead of `buffer-string'.
(require 'cl): Always, not just when compiling.
`ignore-errors' in `interactive', `list*', `defun*' &c make this necessary.
2000-08-03 18:11:47 +00:00
Eli Zaretskii
2f1fa038c8 (select-safe-coding-system): Make
the message text about selecting a safe coding system more clear.
2000-08-03 11:38:08 +00:00
Gerd Moellmann
abb2db1cf3 *** empty log message *** 2000-08-02 21:29:36 +00:00
Gerd Moellmann
ead534947f *** empty log message *** 2000-08-02 20:23:23 +00:00
Gerd Moellmann
754bd273b7 (ispell): New function, replacing an alias.
Spell-check active region if in transient-mark-mode and mark
is active; otherwise spell-check buffer.
2000-08-02 20:21:53 +00:00
Gerd Moellmann
d79dfd472e (occur): Set tab-width in the *Occur* buffer to the
value of tab-width in the original buffer.  Choose a line number
format that's a multiple of the original buffer's tab width, so
that lines appear right.
2000-08-02 20:21:24 +00:00
Gerd Moellmann
8fdd56afa4 Fix a customization problem on
ps-mule-font-info-database-default.
2000-08-02 20:20:55 +00:00
Eli Zaretskii
f4a2b0a4bf (ebrowse-tree-mode-map): Use display-mouse-p instead of window-system.
(ebrowse-member-mode-map): Ditto.
2000-08-02 07:38:53 +00:00
Gerd Moellmann
b685181ebb Update ps-print functions call. Indentation fix. Doc
fix.
(ebnf-version): New version number (3.2).
(ebnf-format-color, ebnf-begin-job): Code fix.
2000-08-01 19:58:35 +00:00
Eli Zaretskii
032ebb2999 (nslookup-font-lock-keywords): Don't condition font lock support
on window-system.
(ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
2000-08-01 10:12:00 +00:00
Eli Zaretskii
3b5fab8756 (ispell-highlight-spelling-error): Use
display-color-p, if fboundp, instead of window-system.
2000-08-01 06:25:13 +00:00
Eli Zaretskii
7e2605e79e (rmail-start-mail): Use display-multi-frame-p
instead of looking at window-system.
2000-07-31 15:41:39 +00:00
Eli Zaretskii
ef64957506 (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
(gomoku-plot-square, gomoku-init-display): Don't use window-system.
2000-07-31 15:38:35 +00:00
Eli Zaretskii
ec45b7bb0c (lm-font-lock-face-O, lm-font-lock-face-X)
(lm-plot-square, lm-init-display): Don't use window-system.
2000-07-31 15:37:49 +00:00
Eli Zaretskii
25ef2b06eb (toplevel): Support faces on tty's. 2000-07-31 15:36:50 +00:00
Eli Zaretskii
364ce449bc (strokes-file): Run the file name through
convert-standard-filename.
(strokes-mode): Call display-mouse-p instead of looking at
window-system.  Change the error message accordingly.
2000-07-31 15:35:51 +00:00
Eli Zaretskii
e2c00a4719 (widget-choose): Use display-mouse-p instead of window-system.
(widget-choice-mouse-down-action): Use display-popup-menus-p
instead of window-system.
2000-07-31 15:35:08 +00:00
Eli Zaretskii
fbebec273d (appt-disp-window): Use display-multi-frame-p
instead of window-system.
2000-07-31 15:34:07 +00:00
Eli Zaretskii
1418556591 Fix a typo in a comment. Reported by Michel de Ruiter <Michel@smr.nl>. 2000-07-31 10:27:45 +00:00
Gerd Moellmann
261196242e (iswitchb-entryfn-p): Test this-command instead
of testing if iswitchb-prepost-hooks is bound, because the
latter will always be true when invoking a recursive minibuffer
from an active Iswitchb buffer.
2000-07-30 14:03:38 +00:00
Eli Zaretskii
c90596f36f (shell-quote-wildcard-pattern): New function.
(insert-directory): Call it.  Only prepend "\" to command on Unix
and GNU/Linux systems.
2000-07-30 13:27:46 +00:00
Gerd Moellmann
18925e78bb *** empty log message *** 2000-07-30 11:50:38 +00:00
Gerd Moellmann
15cca6c4f6 (glasses-make-readable): Fix uncapitalization of
identifiers like `myXMLDocument'.
2000-07-30 11:49:57 +00:00
Gerd Moellmann
df5e6194c6 Fix bug 1: if ps-font-size-internal,
ps-header-font-size-internal and
ps-header-title-font-size-internal variables are not set,
ps-nb-pages and ps-line-lengths-internal crashes.  Fix bug 2: if
face text property is (foreground-color . COLOR) or
`(background-color . COLOR)', ps-print crashes.  Doc fix.
(ps-print-version): New version number (5.2.4).
(ps-plot-region): Code fix.
(ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
(ps-face-attribute-list, ps-face-attributes, ps-face-background):
Bug fix 2.
2000-07-30 11:49:38 +00:00
Gerd Moellmann
b4c017767f (dired-build-subdir-alist): Expand subdirectory names
correctly in recursive ange-ftp listings.
2000-07-30 11:49:11 +00:00
Gerd Moellmann
c0178a99f8 Change custom :link file names from eshell.info' to eshell'. 2000-07-30 11:48:43 +00:00
Karl Fogel
aeb4c63e0b (mail-hist-previous-input, mail-hist-next-input): do the obvious code
factorization.

(mail-hist-retrieve-and-insert): new func, contains common code of
above two.  If inserting a message body, leave point at top.
2000-07-28 18:22:57 +00:00
Sam Steingold
9d45313983 Ange-ftp handles the output of the w32-style clients 2000-07-28 16:27:41 +00:00
Gerd Moellmann
27848c0130 *** empty log message *** 2000-07-27 20:16:08 +00:00
Gerd Moellmann
13157efca3 (remove, remq): New functions. 2000-07-27 20:08:47 +00:00
Gerd Moellmann
96ce5c4f18 Add explanation of how to make cookie.el
compatible with strfile(1) to comment.
2000-07-27 20:07:12 +00:00
Gerd Moellmann
77d352a676 (sql-ms): Added autoload cookie.
(sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
(sql-oracle): Ditto.
(sql-help): Doc change.

(sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
types and exceptions.

(sql-placeholder-history): New variable.
(sql-query-placeholders-and-send): New function that will query
the user and replace placeholders with user input.
(sql-oracle): If running on NT, set comint-input-sender to
sql-query-placeholders-and-send.

(sql-stop): If in the SQLi buffer, insert stop notification, else
present it as a message.

(sql-input-ring-separator): Doc change.
(sql-input-ring-file-name): Doc change.
(sql-interactive-mode): Use `sql-input-ring-separator' and
`sql-input-ring-file-name' to set the comint-mode equivalents
without making them local variables.
(sql-stop): Don't bind `sql-input-ring-separator' and
`sql-input-ring-file-name' dynamically to their comint-mode
equivalents.
2000-07-27 20:06:37 +00:00
Gerd Moellmann
3ab82477c7 *** empty log message *** 2000-07-27 15:51:12 +00:00
Gerd Moellmann
b3275b4747 (clean-buffer-list-kill-never-regexps): Correctly
escape `*' in regexps.
(midnight-find): Reverse order of arguments in the funcall of
TEST.
2000-07-27 15:42:09 +00:00
Gerd Moellmann
f7e1a28d00 (completion-ignored-extensions): Add .la', .lo',
and `.class'.
2000-07-27 15:41:49 +00:00
Gerd Moellmann
b548072f27 *** empty log message *** 2000-07-27 13:28:26 +00:00
Gerd Moellmann
7d8b4c7c0e Add Commentary section. 2000-07-27 12:34:42 +00:00
Kenichi Handa
53a1db8067 (cyrillic-koi8): Use safe-chars' property instead of safe-charsets'.
(cyrillic-alternativnyj): Likewise.
(ccl-encode-alternativnyj): Don't check the charset
cyrillic-iso8859-5.
2000-07-27 06:22:42 +00:00
Kenichi Handa
5ddcadb8e3 (sendmail-send-it): Improve the way to avoid calling
select-message-coding-system twice.
2000-07-27 06:22:00 +00:00
Kenichi Handa
ba2a275302 (cp-coding-system-for-codepage-1): Give `safe-chars' property to
make-coding-system.
2000-07-27 06:15:33 +00:00
Kenichi Handa
b5edd1d103 (find-coding-systems-region-subset-p): This function deleted.
(sort-coding-systems-predicate): New variable.
(sort-coding-systems): New function.
(find-coding-systems-region): Use
find-coding-systems-region-internal.
(find-coding-systems-string): Use find-coding-systems-region.
(find-coding-systems-for-charsets): Check
char-coding-system-table.
(select-safe-coding-system-accept-default-p): New variable.
(select-safe-coding-system): Mostly rewritten.  New argument
ACCEPT-DEFAULT-P.
(select-message-coding-system): Call select-safe-coding-system
with ACCEPT-DEFAULT-P arg.
(reset-language-environment): Reset default-sendmail-coding-system
to the default value iso-latin-1.
(set-language-environment): Don't set the obsolete variable
charset-origin-alist.
2000-07-27 06:09:25 +00:00
Kenichi Handa
c11a8f7748 (register-char-codings): New function.
(make-coding-system): Handle `safe-chars' specification in the arg
PROPERTY.
2000-07-27 06:08:14 +00:00
Kenichi Handa
91ae875105 *** empty log message *** 2000-07-27 06:07:14 +00:00
Kenichi Handa
339cebdcbe (compose-chars-after): Preserve match data. 2000-07-27 05:37:42 +00:00
Kenichi Handa
90cf4474ca *** empty log message *** 2000-07-27 05:37:13 +00:00
Sam Steingold
a1f84f6d16 use float-time 2000-07-26 18:44:36 +00:00
Andreas Schwab
e092928efc . 2000-07-26 16:58:42 +00:00
Andreas Schwab
f1bba07d31 (normal-backup-enable-predicate): Correct
interpretation of the return value of compare-strings.
2000-07-26 16:56:22 +00:00
Gerd Moellmann
3353ef5a44 *** empty log message *** 2000-07-26 14:48:48 +00:00
Gerd Moellmann
c40a4de1df (isearch-resume): New function.
(isearch-done): Add something to command-history to resume
the search.
(isearch-yank-line, isearch-yank-word): Use
buffer-substring-no-properties instead of buffer-substring.
2000-07-26 14:48:00 +00:00
Gerd Moellmann
a95cb10ae3 *** empty log message *** 2000-07-26 13:10:16 +00:00
Gerd Moellmann
7465ebefa2 (flyspell-mouse-map): Use `map' instead
of flyspell-mouse-map.
2000-07-26 13:05:03 +00:00
Gerd Moellmann
dfdbf5b691 (m4-mode-abbrev-table): New variable.
(m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
2000-07-26 13:03:26 +00:00
Gerd Moellmann
dd717ef272 (makefile-mode-abbrev-table): Remove
duplicate definition.
(makefile-mode): Remove duplicate setting of local-abbrev-table.
2000-07-26 13:02:53 +00:00
Sam Steingold
25759a92ce Get modtime over the net 2000-07-25 23:26:01 +00:00
Sam Steingold
5044b74a7b midnight-buffer-display-time: use with-current-buffer 2000-07-25 21:38:34 +00:00
Gerd Moellmann
5dcfb3f41c (enriched-face-ans): For a `foreground-color'
property, return '(("x-color" COLOR))' so that COLOR will be
output as a parameter of the x-color annotation.  Likewise for the
`background-color' property.  In the case of normal face
properties, don't return annotations for unspecified foreground
and background face attributes.
2000-07-25 16:07:46 +00:00
Gerd Moellmann
8ad5033be1 Update copyright notice.
(find-dired): Offer to kill a running `find'.
2000-07-25 16:05:09 +00:00
Kenichi Handa
fbc7bbf778 (japanese-katakana-region): Fix handling HANKAKU argument. 2000-07-25 12:22:01 +00:00
Kenichi Handa
8c6621660c *** empty log message *** 2000-07-25 12:21:28 +00:00
Miles Bader
59b19d324b (line-move):
Pass INHIBIT-CAPTURE-PROPERTY argument to constrain-to-field.
  Pass nil ESCAPE-FROM-EDGE argument to constrain-to-field.
2000-07-24 23:48:53 +00:00
Miles Bader
c28da48936 *** empty log message *** 2000-07-24 23:34:44 +00:00
Andrew Innes
ad3497195c *** empty log message *** 2000-07-24 22:11:35 +00:00
Andrew Innes
7fe165d7c7 (timer-activate-when-idle): Add optional parameter
DONT-WAIT.  Update docstring.
(run-with-idle-timer): Specify extra parameter to
timer-activate-when-idle, so that timer will be activated
immediately if Emacs is already idle.
2000-07-24 22:05:31 +00:00
Andrew Innes
9be978bae4 (w32-using-nt): Fix docstring. 2000-07-24 22:03:34 +00:00
Dave Love
c95162f558 *** empty log message *** 2000-07-24 21:46:38 +00:00
Gerd Moellmann
e3c31fd56b *** empty log message *** 2000-07-24 18:44:52 +00:00
Gerd Moellmann
19b4af8286 Set maintainer to FSF, since author cannot
be reached.
2000-07-24 18:37:11 +00:00
Gerd Moellmann
35a11dcb21 Update copyright notice. 2000-07-24 18:36:43 +00:00
Gerd Moellmann
3215afc493 Update to author's version 1.5d. 2000-07-24 18:36:17 +00:00
Dave Love
bcd010a058 (popup-menu): Set last-command-event.
(mouse-major-mode-menu-prefix): Declare.
2000-07-24 17:58:32 +00:00
Eli Zaretskii
fbe0a9585f *** empty log message *** 2000-07-24 15:30:58 +00:00
Eli Zaretskii
ea33749b79 (Info-goto-emacs-key-command-node): Leave a space after
the prompt.
2000-07-24 15:20:37 +00:00
Eli Zaretskii
7636d2a369 (popup-menu): Run the keymap through indirect-function,
in case it was defined with define-prefix-key.  If the menu is a
list of keymaps, look up the binding of user's choice in each one
of the keymaps.
(mouse-popup-menubar): If the global and local menu-bar keymaps
don't have a prompt string, create one and insert it into the
keymap.  Don't barf if current-local-map returns nil.
2000-07-24 15:19:02 +00:00
Dave Love
bc66a9a99a Fix CRLF eols. 2000-07-24 13:39:05 +00:00
Gerd Moellmann
e024b10125 *** empty log message *** 2000-07-24 12:28:55 +00:00
Gerd Moellmann
e17dba1ffd (dired-sort-R-check): Added to allow recursive listing
to be undone.
(dired-sort-other): Use it.
2000-07-24 12:27:26 +00:00
Gerd Moellmann
7972fcfca4 *** empty log message *** 2000-07-24 11:17:36 +00:00
Gerd Moellmann
4cc7e49821 Got rid of all byte-compiler warnings on Emacs Load
ada-xref.el before ada-prj.el, so that the Project menu is created
when ada-prj tries to add to it.
(ada-activate-keys-for-case): Suppress the characters that are not
part of the Ada syntax. Better compatibility with else-mode
(ada-adjust-case-interactive): When auto-casing is not active,
correctly insert newlines (used to insert only ^M).  Prevent the
syntax table from being changed in case of an error
(or '_' becomes part of a word and some commands are confused).
Do nothing if ada-auto-case is nil.
(ada-after-keyword-p): Ignore keywords that are also attributes
(ada-batch-reformat): Update usage comment
(ada-call-from-contextual-menu): New function
(ada-case-read-exceptions): Reinitialize the casing exception list
first to nil first, so that the casing exception file can be
shared.
(ada-check-defun-name): Handles "configure" keyword for gnatdist
files.
(ada-compile-goto-error): Fix regexp used to detect a file:line
anywhere in the error message
(ada-contextual-menu-last-point): New variable
(ada-create-keymap): If the variable delete-key-deletes-forward is
t on XEmacs, it means that DEL should delete one character
forward.
(ada-create-menu): Use :included instead of :visible for XEmacs.
New submenu "Options".
(ada-end-stmt-re): Correctly indent "select ... then abort"
statements.
(ada-fill-comment-paragraph): Correctly delete all leading '--'
even if they don't match ada-fill-comment-prefix Fix handling of
paragraphs on the first or last line of a file.
(ada-format-paramlist): Fix handling of default parameter values.
(ada-get-body-name): New function.
(ada-get-current-indent): Optimized by searchling directly for an
existing generic part or a statement outside of it.  Handle
ada-indent-align-comments when indenting comments Replaced some
regexps by testing directly the next character. This results in a
huge speedup on some files.  New indentation scheme for renames
statements.  Stop looking for the 'while' or 'for' associated with
a 'loop' at the first semicolon encountered.  A "return" can also
match an anonymous access subprogram declaration.
(ada-get-indent-noindent): Ignore strings and comments when
looking for the keywords "record" and "private".
(ada-goto-matching-decl-start): When matching "if", make sure we
are not in fact seeing "end if".  Ignore "when" statements except
when initial keyword was "begin".  Fix handling of nested
procedures.  Add a recursive call to this function to skip over
other 'end' statmts.  Fix indentation for "when .. => begin"
(ada-in-open-paren-p): Fix indentation for complex boolean
expressions, where 'and then', 'or else' and parenthesis
statements are mixed up.
(ada-in-paramlist-p): Skip comments while searching for the
beginning Fix handling of operator declarations.
(ada-indent-align-comments): New variable
(ada-indent-current): Change the syntax table only in the
protected section, so that we are sure it is restored correctly.
(ada-indent-on-previous-lines): Use ada-use-indent and
ada-with-indent Correctly indent "select ... then"
(ada-indent-region): Slight speedup.
(ada-indent-renames): New variable.
(ada-last-which-function-subprog, ada-last-which-function-line):
New variables
(ada-looking-at-semi-private): Correctly indent the 'private'
keyword when it is the first word in a package declaration.
(ada-loose-case-word): Stop searching if at the end of the buffer.
(ada-loose-case-word, ada-capitalize-word): Recase the whole word
even if point is not initially at the end of the word.
(ada-matching-decl-start-re): Add "when".
(ada-mode): Add support for abbrev-mode, outline-mode and
which-func-mode Override the old find-file.el entry in
ff-special-constructs since it is using the obsolete
ada-spec-suffix variable
(ada-no-auto-case): New function
(ada-scan-paramlist): When parsing the argument type, accept
spaces (as in "X 'Class", generated by Rational Rose).
(ada-other-file-name): No longer loads the other file.
(ada-popup-menu): Save and restore the current buffer and cursor
position before and after displaying the menu.
(ada-search-ignore-complex-boolean): New function.
(ada-uncomment-region): Emacs21 already knows how to delete
comments not starting in the first column.
(ada-use-indent): New variable
(ada-which-function): New function.
(ada-with-indent): New variable
(ada-xemacs): evaluate it at compile time too, so that ada-mode.el
can be batch-compiled from the command line.
2000-07-24 11:14:26 +00:00
Gerd Moellmann
c6fa13e327 Rewritten to show a tabbed-dialog.
(ada-prj-add-ada-menu): Remove the map and name parameters.
(ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
New function
(ada-prj-load-directory, ada-prj-subdirs-of): New functions
(ada-prj-load-from-file): New function
(ada-prj-save): Always save fields that depend on the current buffer
(ada-prj-show-value): New function
2000-07-24 11:14:01 +00:00
Gerd Moellmann
cf543c1c14 (ada-stmt-add-to-ada-menu): Hide the menu if not in
Ada mode. This will allow us to display the Ada menu in any buffer
we want (for project items).
(ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
number of spaces in the header.
2000-07-24 11:13:40 +00:00
Gerd Moellmann
15ea3b67a7 Got rid of all byte-compiler warnings on Emacs.
Add to the menu when the file is loaded, not in ada-mode-hook.
Add -toolbar to the default ddd command Switches moved from
ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
ada-prj-default-comp-opt
(ada-add-ada-menu): Remove the map and name parameters Add the Ada
Reference Manual to the menu
(ada-check-current): rewritten as a call to ada-compile-current
(ada-compile): Removed.
(ada-compile-application, ada-compile-current, ada-check-current):
Set the compilation-search-path so that compile.el automatically
finds the sources in src_dir.  Automatic scrollong of the
compilation buffer.  C-uC-cC-c asks for confirmation before
compiling
(ada-compile-current): New parameter, prj-field
(ada-complete-identifier): Load the .ali file before doing
processing
(ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
conform to gnatmake's behavior.
(ada-find-file-in-dir): New function
(ada-find-references): Set the environment variables for gnatfind
(ada-find-src-file-in-dir): New function.
(ada-first-non-nil): Removed
(ada-gdb-application): Add support for jdb, the java debugger.
(ada-get-ada-file-name): Load the original-file first if not done
yet.
(ada-get-all-references): Handles the new ali syntax (parent types
are found between <>).
(ada-initialize-runtime-library): New function
(ada-mode-hook): Always load a project file when a file is opened,
so that the casing exceptions are correctly read.
(ada-operator-re): Add all missing operators ("abs", "rem", "**").
(ada-parse-prj-file): Use find-file-noselect instead of find-file
to open the project file, since the latter does not work with
speedbar Get default values before loading the prj file, or the
default executable file name is wrong.  Use the absolute value of
src_dir to initialize ada-search-directories and
compilation-search-path,...  Add the standard runtime library to
the search path for find-file.
(ada-prj-default-debugger): Was missing an opening '{'
(ada-prj-default-bind-opt, ada-prj-default-link-opt): New
variables.
(ada-prj-default-gnatmake-opt): New variable
(ada-prj-find-prj-file): Handles non-file buffers For non-Ada
buffers, the project file is the default one Save the windows
configuration before displaying the menu.
(ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
(ada-read-identifier): Fix xrefs on operators (for "mod", "and",
...)  regexp-quote identifiers names to support operators +,
-,... in regexps.
(ada-remote): New function.
(ada-run-application): Erase the output buffer before starting the
run Support remote execution of the application.  Use
call-process, or the arguments are incorrectly parsed
(ada-set-default-project-file): Reread the content of the active
project file, not the one from the current buffer When a project
file is set as the default project, all directories are
automatically associated with it.
(ada-set-environment): New function
(ada-treat-cmd-string): New special variable ${current}
(ada-treat-cmd-string): Revised.  The substitution is now done for
any ${...} substring
(ada-xref-current): If no body was found, compiles the spec
instead.  Setup ADA_{SOURCE,OBJECTS}_PATH before running the
compiler to get rid of command line length limitations.
(ada-xref-get-project-field): New function
(ada-xref-project-files): New variable
(ada-xref-runtime-library-specs-path)
(ada-xref-runtime-library-ali-path): New variables
(ada-xref-set-default-prj-values): Default run command now does a
cd to the build directory.  New field: main_unit Provide a default
file name even if the current buffer has no prj file.
2000-07-24 11:13:11 +00:00
Gerd Moellmann
c4052e8213 (c-lineup-multi-inher): Handle lines with
leading comma nicely. Extended to handle member initializers
too.
(c-gnu-impose-minimum): Don't impose minimum
indentation on cpp-macro lines.
2000-07-24 11:12:40 +00:00
Gerd Moellmann
b8ded7944c (c-indent-new-comment-line): Added a kludge
similar to the one in c-fill-paragraph to check the fill
prefix from the adaptive fill function for sanity.
(c-electric-brace): Fixed some bugs in the state
handling that caused class open lines to be recognized as
statement-conts in some cases.
(c-indent-new-comment-line): Keep the fill prefix
guessed by the adaptive fill function unless point is on the
first line of a block comment.
(c-indent-command): Obey c-syntactic-indentation.
(c-electric-brace, c-electric-slash,
c-electric-star, c-electric-semi&comma, c-electric-colon,
c-electric-lt-gt, c-electric-paren): Don't reindent old lines
when c-syntactic-indentation is nil.
(c-fill-paragraph): Keep one or two spaces
between the text and the block comment ender when it hangs,
depending on how many there are before the fill.
(c-indent-new-comment-line): Always break
multiline comments in multiline mode, regardless of
comment-multi-line.
2000-07-24 11:12:07 +00:00
Gerd Moellmann
6862d61353 Update copyright notice. 2000-07-24 11:11:51 +00:00
Gerd Moellmann
bbfbe5ec33 (c-end-of-defun-1): Fixed forward scanning into
defun block.

(c-auto-newline): Removed this macro since it's
not used anymore.

(c-forward-comment): Removed the workaround
introduced in 5.38 since it had worse side-effects.  If a line
contains the string "//\"", it regarded the // as a comment
start since the \ temporarily doesn't have escape syntax.
2000-07-24 11:11:36 +00:00
Gerd Moellmann
ce8c7486aa (c-looking-at-inexpr-block): Replaced a call to
c-beginning-of-statement-1 that caused a bad case of recursion
which could consume a lot of CPU in large classes in languages
that have in-expression classes (i.e. Java and Pike).

(c-guess-basic-syntax): Check for in-expression
statements before top level constructs (i.e. case 6 is moved
before case 5 and is now case 4) to catch in-expression
classes in top level expressions correctly.

(c-guess-basic-syntax): Less naive handling of
objc-method-intro. Case 4 removed and case 5I added.

(c-beginning-of-inheritance-list,
c-guess-basic-syntax): Fixed recognition of inheritance lists
when the lines begins with a comma.

(c-forward-syntactic-ws): Fixed an infloop bug
when the buffer ends with a macro continuation char.

(c-guess-basic-syntax): Added support for
function definitions as statements in Pike.  The first
statement in a lambda block is now labeled defun-block-intro
instead of statement-block-intro.

(c-narrow-out-enclosing-class): Whack the state
so that the class surrounding point is selected, not the one
innermost in the state.

(c-guess-basic-syntax): Fixed bug in
recognition of switch labels having hanging multiline
statements.

(c-beginning-of-member-init-list): Broke out
some code in c-guess-basic-syntax to a separate function.
(c-just-after-func-arglist-p): Fixed
recognition of member inits with multiple line arglists.
(c-guess-basic-syntax): New case 5B.3 to detect
member-init-cont when the commas are in funny places.

(c-looking-at-bos): New helper function.
(c-looking-at-inexpr-block): More tests to tell
inexpr and toplevel classes apart in Pike.

(c-guess-basic-syntax): Fixed bogus recognition
of case 9A.

(c-guess-basic-syntax): Made the cpp-macro
a syntax modifier like comment-intro, to make it possible to
get syntactic indentation for preprocessor directives.  It's
incompatible wrt to lineup functions on cpp-macro, but it has
no observable effect in the 99.9% common case where cpp-macro
is set to -1000.

(c-guess-basic-syntax): Fixed bug with missed
member-init-cont when the preceding arglist is several lines.

(c-beginning-of-statement-1): Fixed bug where
we were left at comments preceding the first statement when
reaching the beginning of the buffer.

(c-beginning-of-closest-statement): New helper
function to go back to the closest preceding statement start,
which could be inside a conditional statement.
(c-guess-basic-syntax): Use
c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.

(c-guess-basic-syntax): Better handling of
arglist-intro, arglist-cont-nonempty and arglist-close when
the arglist is nested inside parens.  Cases 7A, 7C and 7F
changed.

(c-beginning-of-statement-1): Fixed handling of
multiline Pike type decls.

(c-guess-basic-syntax): Fixed bug with
fully::qualified::names in C++ member init lists.  Preamble in
case 5D changed.
2000-07-24 11:11:20 +00:00
Gerd Moellmann
e29cacf2d1 (c-append-paragraph-start): New variable used by
c-common-init to get paragraph-start correct.
(c-common-init): Use c-append-paragraph-start to
initialize paragraph-start to make it correct both with and
without the javadoc special case.

(c-Pike-inexpr-class-key): New
constant, since "class" can introduce an in-expression class
in Pike nowadays.

(c-Java-javadoc-paragraph-start): Brought
up-to-date with javadoc 1.2.

(c-common-init): Handling of obsolete variables
moved to c-initialize-cc-mode.  More compatible style override
when using global style variables.
2000-07-24 11:11:01 +00:00
Gerd Moellmann
91b807c9ff (c-initialize-cc-mode): Handling of obsolete
variables moved here.
(java-mode): Use c-append-paragraph-start to
initialize paragraph-start for javadoc markup.
2000-07-24 11:10:33 +00:00
Gerd Moellmann
6cfd56b338 (c-style-alist): The basic offset for the BSD
style corrected to 8.

(c-style-alist): Adjusted the indentation of
brace list openers in the gnu style.

(c-make-styles-buffer-local): Flag style
variable localness in c-style-variables-are-local-p to make
the compatibility measure in c-common-init work well.

(c-set-style-1): c-special-indent-hook can no
longer contain set-from-style.
(c-initialize-builtin-style): Don't check for
set-from-style on c-special-indent-hook.
(c-copy-tree): Obsolete.  The standard function
copy-alist is sufficient now.

(c-set-style, c-set-style-1,
c-get-style-variables): Fixes to variable initialization so
that duplicate entries in styles have the same effect
regardless of DONT-OVERRIDE.

(c-set-style-2): Fixed bug where the
initialization of inheriting styles failed when the
dont-override flag is set.
2000-07-24 11:10:15 +00:00
Gerd Moellmann
e96f5cb747 (c-style-variables-are-local-p): Incompatible
change by defaulting this to t.  It's motivated by the
confusing behavior that otherwise arise from the style system
when editing both java and non-java files at the same time
(see the comments about style setting in c-common-init).

(c-offsets-alist): Changed default for
member-init-cont to c-lineup-multi-inher since it now handles
member initializers and indents better for leading commas.

(c-syntactic-indentation): New variable to turn
off all syntactic indentation.

(c-special-indent-hook): Don't use set-from-style
on this.
2000-07-24 11:09:35 +00:00
Dave Love
8730a8da61 *** empty log message *** 2000-07-24 09:45:16 +00:00
Dave Love
a21f0bd5b4 (ediff-region-help-echo): Bind face-help. 2000-07-24 09:44:02 +00:00
Noah Friedman
ad95348597 (type-break): perform autosave.
Suggested by Stephen Gildea <gildea@intouchsys.com>.
(type-break-do-query): Cancel query schedule while performing
actual query, to avoid possibility of a second query being made
while first one is already in progress.
(type-break-time-stamp-format): New variable.
(type-break-time-stamp): New function.
(type-break-time-warning): Use it.
(type-break-keystroke-warning): Use it.
(type-break-noninteractive-query): Use it.
2000-07-24 00:50:10 +00:00
Noah Friedman
03a9c6d06a (eldoc-minor-mode-string): Add autoload cookie; otherwise autoloaded
add-minor-mode call complains in Emacs 21.
Use add-minor-mode to set minor-mode-alist, if available.

(eldoc-echo-area-use-multiline-p): New user option.
(eldoc-echo-area-multiline-supported-p): New variable.
(eldoc-docstring-format-sym-doc): Use them.
(eldoc-mode): If not using idle timers, append to local post and
pre command hooks.  Suggested by David Byers <davby@ida.liu.se>.

(eldoc-display-message-no-interference-p): Don't interfere with edebug.
Add autoload cookie for eldoc-mode minor-mode-alist initialization.

(eldoc-function-arglist): New function.
(eldoc-function-argstring): Use it.
2000-07-24 00:38:34 +00:00
Noah Friedman
db3ca487f6 (menu-bar-files-menu [recover-session]): Make sure auto save directory
exists before calling directory-files.
2000-07-24 00:28:27 +00:00
Dave Love
f7ad189956 (iso-transl-char-map): Fix ^e, ^i,
^o, ^u.
2000-07-23 16:05:53 +00:00
Dave Love
475de6f44d (ediff-region-help-echo): Modify to use overlay
now passed to the function.  It now works properly.
2000-07-21 19:42:57 +00:00
Dave Love
43e764c952 (smerge-mode-menu): Fill it out. 2000-07-21 13:53:20 +00:00
Gerd Moellmann
e8bea4c03e *** empty log message *** 2000-07-20 20:38:08 +00:00
Gerd Moellmann
f457975a0c (info-lookup): If *info* is shown in another frame
on the same display, select that frame, instead of switching to
the Info buffer in another window of the selected frame.
2000-07-20 20:35:27 +00:00
Gerd Moellmann
bd7acc8d7c (universal-argument-map): Bind numeric keypad keys
kp-0 to kp-9 and kp-subtract.
(digit-argument): Handle these keys.
2000-07-20 20:35:05 +00:00
Dave Love
bc75b4fd46 *** empty log message *** 2000-07-20 17:31:18 +00:00
Dave Love
51107a70f5 (goto-address-fontify): Don't bother with buffer-modified and read-only
stuff -- irrelevant with overlays.  Put an extra property on the
overlays and use it to clean up in case goto-address is re-run.
2000-07-20 17:29:46 +00:00
Eli Zaretskii
2696c10210 Fix a typo in a comment. 2000-07-20 06:59:46 +00:00
Richard M. Stallman
18e21ce839 *** empty log message *** 2000-07-19 22:05:09 +00:00
Richard M. Stallman
37c004c4f9 (run-with-idle-timer): Doc fix. 2000-07-19 22:04:34 +00:00
Richard M. Stallman
8b7bc6282e *** empty log message *** 2000-07-19 22:00:37 +00:00
Richard M. Stallman
82d221935c (mail-strip-quoted-names): Handle case where <...> appears inside "...".
Use replace-match to edit the string more simply.

(rmail-dont-reply-to): Cope with an unmatched ".
2000-07-19 21:53:51 +00:00
Dave Love
30729019be Fix last checkin. 2000-07-19 16:00:04 +00:00
Dave Love
50575ec215 (ediff-region-help-echo): Partially fix for Emacs implementation. 2000-07-19 15:56:50 +00:00
Gerd Moellmann
47db06aae4 *** empty log message *** 2000-07-19 15:52:13 +00:00
Dave Love
de420e8200 (popup-menu): Allow a list of keymaps for menu arg.
(mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
(global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
2000-07-19 15:52:02 +00:00
Gerd Moellmann
482bb01b8b Correct author's email address. Fix typo in comment. 2000-07-19 15:51:05 +00:00
Gerd Moellmann
7cf5c4268f Correct maintainer's email address. 2000-07-19 15:50:36 +00:00
Gerd Moellmann
ae57d456bc (comint-highlight-input, comint-highlight-face):
New user options.
(comint-input-ring-file-name): Change custom type.
(comint-mode-map): Bind mouse-2.
(comint-insert-clicked-input): New function.
(comint-send-input): Handle input highlighting.
2000-07-19 15:50:13 +00:00
Gerd Moellmann
4279296d21 *** empty log message *** 2000-07-19 11:06:09 +00:00
Gerd Moellmann
a893064df5 Correct author's mail address. 2000-07-19 11:04:18 +00:00
Stefan Monnier
21ad0f7b2f (popup-menu): New function.
(mouse-major-mode-menu): Use it.
2000-07-18 23:43:41 +00:00
Dave Love
3b33a0059c *** empty log message *** 2000-07-18 22:16:01 +00:00
Dave Love
3beb81fce9 (mode-line-mule-info, mode-line-modified): help-echo
improvements.
2000-07-18 21:53:46 +00:00
Gerd Moellmann
dc1cac5985 *** empty log message *** 2000-07-18 19:43:58 +00:00
Gerd Moellmann
94354bddf1 (face-font-selection-order)
(face-font-family-alternatives): Add custom type.
2000-07-18 19:07:15 +00:00
Dave Love
f8276b77a7 *** empty log message *** 2000-07-18 16:21:46 +00:00
Gerd Moellmann
3d6cd763f7 *** empty log message *** 2000-07-18 14:42:30 +00:00
Gerd Moellmann
9a7429681b Add author's email address. 2000-07-18 14:40:07 +00:00
Gerd Moellmann
d2a5c76439 Fix `Maintainer' keyword. 2000-07-18 14:39:41 +00:00
Sam Steingold
34342a07bd insert-directory: use split-string 2000-07-18 14:18:03 +00:00
Gerd Moellmann
088831a6ff *** empty log message *** 2000-07-18 13:05:44 +00:00
Gerd Moellmann
cc6c844361 (Info-title-face-alist): Removed. 2000-07-18 12:59:17 +00:00
Gerd Moellmann
21ab62bdf2 Update from author. 2000-07-18 12:59:01 +00:00
Gerd Moellmann
12c74386d9 Change maintainer to FSF. 2000-07-18 12:58:36 +00:00
Dave Love
ba8cb52d56 (custom-variable-reset-saved, custom-variable-reset-standard): Remove
unused bindings.
2000-07-18 12:52:25 +00:00
Dave Love
74be0ade4c (open-rectangle-line): Remove unused let. 2000-07-18 12:50:38 +00:00
Eli Zaretskii
68be286976 *** empty log message *** 2000-07-18 12:01:14 +00:00
Eli Zaretskii
9fa8e39139 (eshell-banner): Replace links to eshell.info with
links to eshell, to avoid problems on systems where the manual is
installed as `eshell'.
2000-07-18 11:52:01 +00:00
Dave Love
7013279cb3 (hl-line-highlight): Check hl-line-mode. 2000-07-18 11:51:43 +00:00
Eli Zaretskii
c3bc30c8f3 (eshell-smart): Replace links to eshell.info with
links to eshell, to avoid problems on systems where the manual is
installed as `eshell'.
2000-07-18 11:50:42 +00:00
Eli Zaretskii
3b2d7a2983 (eshell-cmd): Replace links to eshell.info with
links to eshell, to avoid problems on systems where the manual is
installed as `eshell'.
2000-07-18 11:49:24 +00:00
Eli Zaretskii
ad0f33869f (eshell-directory-name): Run default directory
name through convert-standard-filename.
(eshell): Replace links to eshell.info with
links to eshell, to avoid problems on systems where the manual is
installed as `eshell'.
2000-07-18 11:47:47 +00:00
Eli Zaretskii
493fa1c580 (eshell-maybe-replace-by-alias): Doc fix.
(eshell-alias, eshell-bad-command-tolerance): Replace links to eshell.info
with links to eshell, to avoid problems on systems where the manual is
installed as `eshell'.
2000-07-18 11:46:21 +00:00
Eli Zaretskii
662cf9d7fa (eshell-shuffle-files): Don't disable
same-file check in the MS-DOS version (it does support inodes).
2000-07-18 11:44:12 +00:00
Kenichi Handa
1999efa21a (select-safe-coding-system): Fix typo in the comment. 2000-07-18 11:13:55 +00:00
Kenichi Handa
240a16cf74 *** empty log message *** 2000-07-18 11:13:06 +00:00
Kenichi Handa
aa96c82019 *** empty log message *** 2000-07-18 04:31:25 +00:00
Kenichi Handa
12d00cfe91 (compound-text): Force katakana-jisx0201 to be designated to G1. 2000-07-18 04:29:20 +00:00
Kenichi Handa
5259f34b6f (x-ctext): Force katakana-jisx0201 to be designated to G1. 2000-07-18 04:28:52 +00:00
Kenichi Handa
3cd01a6c0e (oldjis-newjis-jisroman-ascii): Don't translate some national variant
characters of latin-jisx0201.
2000-07-18 02:30:18 +00:00
Kenichi Handa
a99c9d06da *** empty log message *** 2000-07-18 02:29:51 +00:00
Kenichi Handa
44bec1714f (kkc-after-update-conversion-functions): New variable.
(kkc-update-conversion): Run functions in it at the tail.
2000-07-17 23:52:42 +00:00
Kenichi Handa
269b4dcb0a *** empty log message *** 2000-07-17 23:52:13 +00:00
John Wiegley
6feeb380e8 Added a new feature to align.el 2000-07-17 06:33:36 +00:00
Kenichi Handa
7a3fd46758 *** empty log message *** 2000-07-17 01:27:07 +00:00
Kenichi Handa
a9fbabdab0 (kkc-show-conversion-list-count): Customize it.
(kkc-region): Update kkc-next-count and kkc-prev-count here.  Show
the conversion list at first if appropriate.
(kkc-next): Don't update kkc-next-count here.
(kkc-prev): Don't update kkc-prev-count here.
(kkc-show-conversion-list-update): Fix setting up of conversion
list message.
2000-07-17 01:22:09 +00:00
Stefan Monnier
a45423d8fa (mouse-major-mode-menu-1): get the submenu with lookup-key. 2000-07-16 17:16:28 +00:00
Dave Love
91a38db1dd (custom-buffer-create-internal): Use a help-echo function to be more
specific.
2000-07-16 15:31:10 +00:00
Dave Love
aeba6f9ad3 (widget-specify-field, widget-specify-button): Allow
non-string help-echo.
(widget-types-convert-widget): Defsubst it.
(widget-echo-help): Try to cope with a help-echo function of two
possible sorts.
2000-07-16 15:27:43 +00:00
Jason Rumney
3fddcdc33c *** empty log message *** 2000-07-15 12:23:35 +00:00
Jason Rumney
d4b7d6b494 (w32-enable-italics, w32-charset-to-codepage-alist): Declare as obsolete. 2000-07-15 11:50:42 +00:00
Jason Rumney
8322784013 Make FONTNAME arg to set-fontset-font a cons. 2000-07-15 11:49:36 +00:00
Gerd Moellmann
bd23a69269 *** empty log message *** 2000-07-14 15:19:14 +00:00
Gerd Moellmann
226916a81c Fix typo. 2000-07-14 15:14:58 +00:00
Dave Love
d4af987a94 (Info-mode-menu): Fix use of :help, :enable. 2000-07-14 14:39:34 +00:00
Stefan Monnier
115f38ae50 (easy-menu-convert-item-1): Only intern if the label is a string. 2000-07-14 08:43:32 +00:00
Stefan Monnier
3a4f3f86ef (easy-menu-convert-item-1): Intern the label. 2000-07-14 08:39:48 +00:00
Dave Love
4d6d04b504 Doc fixes.
(easy-menu-remove): Defalias to ignore.
2000-07-13 19:06:25 +00:00
Dave Love
cf6936a48f Change maintainer address. 2000-07-13 19:01:10 +00:00
Dave Love
1dfca8bad6 (reftex-bibtex-selection-callback): Call throw correctly. 2000-07-13 18:54:58 +00:00
Gerd Moellmann
56437999a0 (eval-expression-print-length): Change custom type to
allow entering nil as value.
2000-07-13 17:46:34 +00:00
Gerd Moellmann
01eac4fdef (frame-background-mode): Doc fix. 2000-07-13 17:43:58 +00:00
Dave Love
a8189dfe47 (fortran-imenu-generic-expression): Change definition layout.
(fortran-mode-menu): Reinstate customize entries.
2000-07-13 17:23:28 +00:00
Dave Love
d04a3972bf (custom-group-menu-create, customize-menu-create): Use :filter, per old
XEmacs code.
2000-07-13 17:06:15 +00:00
Gerd Moellmann
4bf4fb05c2 (term-send-raw-meta): Strip modifiers from the keyboard
event when deciding what to send to the terminal.
2000-07-12 18:25:40 +00:00
Dave Love
37328bcd53 Add optional version as 4th element of specs and use it for several
things new in v21.  Remove load-path.  Fix type of
line-number-display-limit.
2000-07-12 17:28:19 +00:00
Dave Love
315aa1de5c Don't require easymenu. Use repeat counts in various regexps.
(fortran-mode-syntax-table): Defvar directly.
(fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
(fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
Use defvar, not defconst.
(fortran-mode-map): Change locals in `let'.  Use `fortran-auto-fill'.
(fortran-mode): Set fortran-comment-line-start-skip,
fortran-comment-line-start-skip, dabbrev-case-fold-search.
(fortran-comment-indent): Use defsubst.
(fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
Use fortran-comment-indent, not fortran-comment-indent-function.
(fortran-comment-region, fortran-electric-line-number): Simplify.
(fortran-auto-fill): New function.
(fortran-do-auto-fill): Deleted.
(fortran-find-comment-start-skip): Check for non-null
comment-start-skip.
(fortran-auto-fill-mode, fortran-fill-statement): Use
fortran-auto-fill.
(fortran-fill): Use fortran-auto-fill.  Check for null
comment-start-skip.  Simplify final clause and use end-of-line finally.
2000-07-11 17:56:56 +00:00
Dave Love
89492072de (widget-plist-member): New alias. 2000-07-11 14:34:31 +00:00
Eli Zaretskii
d55ead189f *** empty log message *** 2000-07-11 07:38:54 +00:00
Eli Zaretskii
60d2b434c0 (toplevel): Reference
byte-compile-current-file only if it is bound.
2000-07-11 07:26:25 +00:00
Gerd Moellmann
e82a2a05d6 Don't require `dired-aux'. 2000-07-10 12:17:38 +00:00
Miles Bader
ee6be958ad (dired-show-file-type): New function. 2000-07-10 07:02:03 +00:00
Miles Bader
f01fd03b41 (dired-mode-map): Bind `w' to dired-show-file-type.
(dired-show-file-type): Add autoload.
2000-07-10 07:01:42 +00:00
Miles Bader
1fc7fb2bb9 *** empty log message *** 2000-07-10 07:01:02 +00:00
Kenichi Handa
3e8017d240 (describe-font): Adjusted for the chnage of fontset-info.
(print-fontset): Likewise.
2000-07-10 04:03:01 +00:00
Kenichi Handa
ab49ce154c *** empty log message *** 2000-07-10 04:02:14 +00:00
Stefan Monnier
f45aab653b (mouse-drag-region): Use functionp rather than fboundp. 2000-07-09 18:36:21 +00:00
Gerd Moellmann
965522f511 *** empty log message *** 2000-07-07 14:15:55 +00:00
Gerd Moellmann
4e4f9651d2 Bind �[delete]' to delete-char. 2000-07-07 14:14:44 +00:00
Gerd Moellmann
bdbeb193c4 (rmail-clear-headers): Don't throw an error
if rmail-ignored-headers is nil.
(rmail-retry-failure): Bind rmail-ignored-headers and
rmail-displayed-headers to nil.
2000-07-07 14:14:08 +00:00
Gerd Moellmann
2f72fd2f68 *** empty log message *** 2000-07-07 13:02:53 +00:00
Gerd Moellmann
3b36190124 Change author's mail address. 2000-07-07 13:01:49 +00:00
Gerd Moellmann
2c80a61870 (Info-last-search): Variable removed.
(Info-search-history): New variable.
(Info-search): New Info-search-history.
2000-07-07 13:01:16 +00:00
Gerd Moellmann
c5753a5d97 (dired-find-alternate-file): New function.
(dired-mode-map): Bind `a' to dired-find-alternate-file.
(toplevel): Require dired-aux when compiling.
(dired-buffers): Move defvar within file to avoid compiler warning.
2000-07-07 13:00:21 +00:00