]> git.eshelyaron.com Git - emacs.git/log
emacs.git
24 years ago*** empty log message ***
Gerd Moellmann [Thu, 27 Jul 2000 13:28:26 +0000 (13:28 +0000)]
*** empty log message ***

24 years agofile-name-extension
Dave Love [Thu, 27 Jul 2000 13:13:23 +0000 (13:13 +0000)]
file-name-extension

24 years ago:help-echo needn't be a string.
Dave Love [Thu, 27 Jul 2000 13:12:14 +0000 (13:12 +0000)]
:help-echo needn't be a string.

24 years agoMention keybindings of non-ASCII chars.
Dave Love [Thu, 27 Jul 2000 13:11:10 +0000 (13:11 +0000)]
Mention keybindings of non-ASCII chars.

24 years agoNumeric args to concat.
Dave Love [Thu, 27 Jul 2000 13:09:58 +0000 (13:09 +0000)]
Numeric args to concat.

24 years agoAdd Commentary section.
Gerd Moellmann [Thu, 27 Jul 2000 12:34:42 +0000 (12:34 +0000)]
Add Commentary section.

24 years ago(Qkey_or_value, Qkey_and_value): New variables.
Gerd Moellmann [Thu, 27 Jul 2000 12:31:17 +0000 (12:31 +0000)]
(Qkey_or_value, Qkey_and_value): New variables.
(syms_of_fns): Initialize new variables.
(sweep_weak_table): Handle weakness `key-or-value' and
`key-and-value'.
(Fmake_hash_table): Recognize `key-and-value' and `key-or-value'
weakness, with t meaning the same as `key-and-value'.

24 years ago(cyrillic-koi8): Use `safe-chars' property instead of `safe-charsets'.
Kenichi Handa [Thu, 27 Jul 2000 06:22:42 +0000 (06:22 +0000)]
(cyrillic-koi8): Use `safe-chars' property instead of `safe-charsets'.
(cyrillic-alternativnyj): Likewise.
(ccl-encode-alternativnyj): Don't check the charset
cyrillic-iso8859-5.

24 years ago(sendmail-send-it): Improve the way to avoid calling
Kenichi Handa [Thu, 27 Jul 2000 06:22:00 +0000 (06:22 +0000)]
(sendmail-send-it): Improve the way to avoid calling
select-message-coding-system twice.

24 years ago(cp-coding-system-for-codepage-1): Give `safe-chars' property to
Kenichi Handa [Thu, 27 Jul 2000 06:15:33 +0000 (06:15 +0000)]
(cp-coding-system-for-codepage-1): Give `safe-chars' property to
make-coding-system.

24 years ago(find-coding-systems-region-subset-p): This function deleted.
Kenichi Handa [Thu, 27 Jul 2000 06:09:25 +0000 (06:09 +0000)]
(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.

24 years ago(register-char-codings): New function.
Kenichi Handa [Thu, 27 Jul 2000 06:08:14 +0000 (06:08 +0000)]
(register-char-codings): New function.
(make-coding-system): Handle `safe-chars' specification in the arg
PROPERTY.

24 years ago*** empty log message ***
Kenichi Handa [Thu, 27 Jul 2000 06:07:14 +0000 (06:07 +0000)]
*** empty log message ***

24 years ago(char_table_ref_and_index): Add prototype.
Kenichi Handa [Thu, 27 Jul 2000 06:03:21 +0000 (06:03 +0000)]
(char_table_ref_and_index): Add prototype.

24 years ago(char_table_ref_and_index): New function.
Kenichi Handa [Thu, 27 Jul 2000 06:02:29 +0000 (06:02 +0000)]
(char_table_ref_and_index): New function.

24 years ago(Qsafe_charsets): This variable deleted.
Kenichi Handa [Thu, 27 Jul 2000 06:01:19 +0000 (06:01 +0000)]
(Qsafe_charsets): This variable deleted.
(Qsafe_chars, Vchar_coding_system_table, Qchar_coding_system): New
variables.
(coding_safe_chars): New function.
(CODING_SAFE_CHAR_P): New macro.
(CHARSET_OK): New arg C.  Call CODING_SAFE_CHAR_P instead of
checking safe_charsets member of the coding system.  Caller
changed.
(detect_coding_iso2022): New local variable safe_chars.
(DECODE_DESIGNATION): Call CODING_SAFE_CHAR_P instead of checking
safe_charsets member of the coding system.
(decode_coding_iso2022): New local variable safe_chars.
(ENCODE_ISO_CHARACTER_DIMENSION1): Don't check unsafe chars here.
(ENCODE_ISO_CHARACTER_DIMENSION2): Likewise.
(ENCODE_ISO_CHARACTER): Arguments changed.  Caller changed.
(ENCODE_UNSAFE_CHARACTER): New macro.
(encode_coding_iso2022): New local variable safe_chars.  Check
unsafe chars.
(setup_coding_system): Delete the code to initialize
coding->safe_charses
(intersection, find_safe_codings): New functions.
(Ffind_coding_systems_region_internal): New function.
(syms_of_coding): Defsubr it.  Initialize Qsafe_chars,
Qsafe_cding_system.  Make Vchar_coding_system_table a Lisp
variable and initialize it.

24 years ago(struct coding_system): Member safe_charset deleted.
Kenichi Handa [Thu, 27 Jul 2000 05:46:12 +0000 (05:46 +0000)]
(struct coding_system): Member safe_charset deleted.

24 years ago(compose-chars-after): Preserve match data.
Kenichi Handa [Thu, 27 Jul 2000 05:37:42 +0000 (05:37 +0000)]
(compose-chars-after): Preserve match data.

24 years ago*** empty log message ***
Kenichi Handa [Thu, 27 Jul 2000 05:37:13 +0000 (05:37 +0000)]
*** empty log message ***

24 years agomention `float-time' and the remote file modtime check
Sam Steingold [Wed, 26 Jul 2000 18:54:33 +0000 (18:54 +0000)]
mention `float-time' and the remote file modtime check

24 years agoHelp strings are supported on MS-Windows and MS-DOS as well.
Eli Zaretskii [Wed, 26 Jul 2000 18:51:09 +0000 (18:51 +0000)]
Help strings are supported on MS-Windows and MS-DOS as well.
Mouse highlight is supported on MS-DOS.

24 years agouse float-time
Sam Steingold [Wed, 26 Jul 2000 18:44:36 +0000 (18:44 +0000)]
use float-time

24 years agonew function: float-time
Sam Steingold [Wed, 26 Jul 2000 18:41:15 +0000 (18:41 +0000)]
new function: float-time

24 years ago.
Andreas Schwab [Wed, 26 Jul 2000 16:58:42 +0000 (16:58 +0000)]
.

24 years ago(normal-backup-enable-predicate): Correct
Andreas Schwab [Wed, 26 Jul 2000 16:56:22 +0000 (16:56 +0000)]
(normal-backup-enable-predicate): Correct
interpretation of the return value of compare-strings.

24 years ago*** empty log message ***
Gerd Moellmann [Wed, 26 Jul 2000 14:48:48 +0000 (14:48 +0000)]
*** empty log message ***

24 years ago(isearch-resume): New function.
Gerd Moellmann [Wed, 26 Jul 2000 14:48:00 +0000 (14:48 +0000)]
(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.

24 years ago(GLYPH_FROM_CHAR_GLYPH): Use CHARACTERBITS bits
Gerd Moellmann [Wed, 26 Jul 2000 14:10:02 +0000 (14:10 +0000)]
(GLYPH_FROM_CHAR_GLYPH): Use CHARACTERBITS bits
for the character code.

24 years ago(HAVE_SOUND): Define only for FreeBSD, NetBSD and
Gerd Moellmann [Wed, 26 Jul 2000 14:09:40 +0000 (14:09 +0000)]
(HAVE_SOUND): Define only for FreeBSD, NetBSD and
GNU/Linux.

24 years ago*** empty log message ***
Gerd Moellmann [Wed, 26 Jul 2000 13:10:16 +0000 (13:10 +0000)]
*** empty log message ***

24 years ago(menu_highlight_callback): Call show_help_echo directly
Gerd Moellmann [Wed, 26 Jul 2000 13:07:15 +0000 (13:07 +0000)]
(menu_highlight_callback): Call show_help_echo directly
if called for a popup menu.
(xmenu_show): Store help string in widget values.

24 years ago(flyspell-mouse-map): Use `map' instead
Gerd Moellmann [Wed, 26 Jul 2000 13:05:03 +0000 (13:05 +0000)]
(flyspell-mouse-map): Use `map' instead
of flyspell-mouse-map.

24 years ago(m4-mode-abbrev-table): New variable.
Gerd Moellmann [Wed, 26 Jul 2000 13:03:26 +0000 (13:03 +0000)]
(m4-mode-abbrev-table): New variable.
(m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.

24 years ago(makefile-mode-abbrev-table): Remove
Gerd Moellmann [Wed, 26 Jul 2000 13:02:53 +0000 (13:02 +0000)]
(makefile-mode-abbrev-table): Remove
duplicate definition.
(makefile-mode): Remove duplicate setting of local-abbrev-table.

24 years ago--disable-largefile, 64-bit solaris
Dave Love [Wed, 26 Jul 2000 11:25:27 +0000 (11:25 +0000)]
--disable-largefile, 64-bit solaris

24 years ago*** empty log message ***
Dave Love [Wed, 26 Jul 2000 11:07:37 +0000 (11:07 +0000)]
*** empty log message ***

24 years agoMove some definitions.
Dave Love [Wed, 26 Jul 2000 11:06:05 +0000 (11:06 +0000)]
Move some definitions.
(HAVE_SYS_WAIT_H): Undef for HPUX7, Convex.
[!HAVE_SYS_WAIT_H]: Define things unconditionally.   More
perspicuous definitions.
(WTERMSIG): Fix bit pattern used.

24 years ago(AC_SYS_LARGEFILE): Moved earlier.
Dave Love [Wed, 26 Jul 2000 10:51:09 +0000 (10:51 +0000)]
(AC_SYS_LARGEFILE): Moved earlier.

24 years ago(Quitting): Fix last change.
Eli Zaretskii [Wed, 26 Jul 2000 07:49:40 +0000 (07:49 +0000)]
(Quitting): Fix last change.

24 years ago(print_object): If vector printing is truncated, print "..." to
Kenichi Handa [Wed, 26 Jul 2000 04:12:42 +0000 (04:12 +0000)]
(print_object): If vector printing is truncated, print "..." to
indicate it as well as the case of list printing.

24 years ago*** empty log message ***
Kenichi Handa [Wed, 26 Jul 2000 04:11:59 +0000 (04:11 +0000)]
*** empty log message ***

24 years agoGet modtime over the net
Sam Steingold [Tue, 25 Jul 2000 23:26:01 +0000 (23:26 +0000)]
Get modtime over the net

24 years agomidnight-buffer-display-time: use with-current-buffer
Sam Steingold [Tue, 25 Jul 2000 21:38:34 +0000 (21:38 +0000)]
midnight-buffer-display-time: use with-current-buffer

24 years ago(enriched-face-ans): For a `foreground-color'
Gerd Moellmann [Tue, 25 Jul 2000 16:07:46 +0000 (16:07 +0000)]
(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.

24 years agoUpdate copyright notice.
Gerd Moellmann [Tue, 25 Jul 2000 16:05:09 +0000 (16:05 +0000)]
Update copyright notice.
(find-dired): Offer to kill a running `find'.

24 years agoSPARC, Alpha, GNU/Linux updates.
Dave Love [Tue, 25 Jul 2000 14:19:30 +0000 (14:19 +0000)]
SPARC, Alpha, GNU/Linux updates.

24 years ago*** empty log message ***
Eli Zaretskii [Tue, 25 Jul 2000 12:50:16 +0000 (12:50 +0000)]
*** empty log message ***

24 years ago(Quitting): Add findex entry for keyboard-quit.
Eli Zaretskii [Tue, 25 Jul 2000 12:41:10 +0000 (12:41 +0000)]
(Quitting): Add findex entry for keyboard-quit.

24 years ago(japanese-katakana-region): Fix handling HANKAKU argument.
Kenichi Handa [Tue, 25 Jul 2000 12:22:01 +0000 (12:22 +0000)]
(japanese-katakana-region): Fix handling HANKAKU argument.

24 years ago*** empty log message ***
Kenichi Handa [Tue, 25 Jul 2000 12:21:28 +0000 (12:21 +0000)]
*** empty log message ***

24 years ago(next_element_from_display_vector): Improve comments.
Gerd Moellmann [Tue, 25 Jul 2000 12:07:43 +0000 (12:07 +0000)]
(next_element_from_display_vector): Improve comments.

24 years ago(GLYPH_MASK_CHAR, GLYPH_MASK_FACE): Use 19 bits
Gerd Moellmann [Tue, 25 Jul 2000 12:06:09 +0000 (12:06 +0000)]
(GLYPH_MASK_CHAR, GLYPH_MASK_FACE): Use 19 bits
for the character code, and the rest for the face id.
(FAST_GLYPH_FACE, FAST_MAKE_GLYPH): Changed accordingly.

24 years ago(window_display_table): Cleaned up.
Gerd Moellmann [Tue, 25 Jul 2000 12:05:45 +0000 (12:05 +0000)]
(window_display_table): Cleaned up.

24 years agoFix a typo.
Eli Zaretskii [Tue, 25 Jul 2000 10:53:06 +0000 (10:53 +0000)]
Fix a typo.

24 years ago(Fforward_word): Add last arg nil in call of
Gerd Moellmann [Tue, 25 Jul 2000 09:20:27 +0000 (09:20 +0000)]
(Fforward_word): Add last arg nil in call of
Fconstrain_to_field.

24 years ago*** empty log message ***
Eli Zaretskii [Tue, 25 Jul 2000 06:56:31 +0000 (06:56 +0000)]
*** empty log message ***

24 years ago(line-move):
Miles Bader [Mon, 24 Jul 2000 23:48:53 +0000 (23:48 +0000)]
(line-move):
  Pass INHIBIT-CAPTURE-PROPERTY argument to constrain-to-field.
  Pass nil ESCAPE-FROM-EDGE argument to constrain-to-field.

24 years ago(Fconstrain_to_field): Update external declaration.
Miles Bader [Mon, 24 Jul 2000 23:47:09 +0000 (23:47 +0000)]
(Fconstrain_to_field): Update external declaration.

24 years ago(find_field): Honor special `boundary' fields.
Miles Bader [Mon, 24 Jul 2000 23:45:57 +0000 (23:45 +0000)]
(find_field): Honor special `boundary' fields.
(Fconstrain_to_field): Add the INHIBIT-CAPTURE-PROPERTY argument.
  Use scan_buffer instead of find_before_next_newline, because it
  allows us to detect the boundary case where there's a newline at
  the search limit.
(Qboundary): New variables.
(syms_of_editfns): Initialize Qboundary.

24 years ago*** empty log message ***
Miles Bader [Mon, 24 Jul 2000 23:34:44 +0000 (23:34 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Andrew Innes [Mon, 24 Jul 2000 22:11:35 +0000 (22:11 +0000)]
*** empty log message ***

24 years ago(timer-activate-when-idle): Add optional parameter
Andrew Innes [Mon, 24 Jul 2000 22:05:31 +0000 (22:05 +0000)]
(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.

24 years ago(w32-using-nt): Fix docstring.
Andrew Innes [Mon, 24 Jul 2000 22:03:34 +0000 (22:03 +0000)]
(w32-using-nt): Fix docstring.

24 years ago*** empty log message ***
Dave Love [Mon, 24 Jul 2000 21:46:38 +0000 (21:46 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Gerd Moellmann [Mon, 24 Jul 2000 18:44:52 +0000 (18:44 +0000)]
*** empty log message ***

24 years ago(temp_output_buffer_setup): Don't call1 Vrun_hooks
Gerd Moellmann [Mon, 24 Jul 2000 18:41:13 +0000 (18:41 +0000)]
(temp_output_buffer_setup): Don't call1 Vrun_hooks
if that is nil.

24 years ago*** empty log message ***
Dave Love [Mon, 24 Jul 2000 18:37:36 +0000 (18:37 +0000)]
*** empty log message ***

24 years agoSet maintainer to FSF, since author cannot
Gerd Moellmann [Mon, 24 Jul 2000 18:37:11 +0000 (18:37 +0000)]
Set maintainer to FSF, since author cannot
be reached.

24 years agoUpdate copyright notice.
Gerd Moellmann [Mon, 24 Jul 2000 18:36:43 +0000 (18:36 +0000)]
Update copyright notice.

24 years agoUpdate to author's version 1.5d.
Gerd Moellmann [Mon, 24 Jul 2000 18:36:17 +0000 (18:36 +0000)]
Update to author's version 1.5d.

24 years ago(TERMINFO): Moved to system files (probably only relevant for sunos4
Dave Love [Mon, 24 Jul 2000 18:30:41 +0000 (18:30 +0000)]
(TERMINFO): Moved to system files (probably only relevant for sunos4
judging by its vintage).
(BITS_PER_LONG, BITS_PER_EMACS_INT, _LP64): Define conditional on
__arch64__.

24 years ago(LIBS_TERMCAP): Move from m/sparc.h.
Dave Love [Mon, 24 Jul 2000 18:28:05 +0000 (18:28 +0000)]
(LIBS_TERMCAP): Move from m/sparc.h.

24 years ago(popup-menu): Set last-command-event.
Dave Love [Mon, 24 Jul 2000 17:58:32 +0000 (17:58 +0000)]
(popup-menu): Set last-command-event.
(mouse-major-mode-menu-prefix): Declare.

24 years ago*** empty log message ***
Eli Zaretskii [Mon, 24 Jul 2000 15:30:58 +0000 (15:30 +0000)]
*** empty log message ***

24 years ago(Info-goto-emacs-key-command-node): Leave a space after
Eli Zaretskii [Mon, 24 Jul 2000 15:20:37 +0000 (15:20 +0000)]
(Info-goto-emacs-key-command-node): Leave a space after
the prompt.

24 years ago(popup-menu): Run the keymap through indirect-function,
Eli Zaretskii [Mon, 24 Jul 2000 15:19:02 +0000 (15:19 +0000)]
(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.

24 years ago(keymap_panes): Pass the keymap's prompt as the pane
Eli Zaretskii [Mon, 24 Jul 2000 15:11:52 +0000 (15:11 +0000)]
(keymap_panes): Pass the keymap's prompt as the pane
name to single_keymap_panes.

24 years agoNot in use since 20.x.
Gerd Moellmann [Mon, 24 Jul 2000 14:23:08 +0000 (14:23 +0000)]
Not in use since 20.x.

24 years ago.
Andreas Schwab [Mon, 24 Jul 2000 14:08:04 +0000 (14:08 +0000)]
.

24 years agoPass Qeql to Fmake_hash_table if TEST is nil.
Andreas Schwab [Mon, 24 Jul 2000 14:06:45 +0000 (14:06 +0000)]
Pass Qeql to Fmake_hash_table if TEST is nil.

24 years agoFix CRLF eols.
Dave Love [Mon, 24 Jul 2000 13:39:05 +0000 (13:39 +0000)]
Fix CRLF eols.

24 years ago*** empty log message ***
Gerd Moellmann [Mon, 24 Jul 2000 12:28:55 +0000 (12:28 +0000)]
*** empty log message ***

24 years ago(dired-sort-R-check): Added to allow recursive listing
Gerd Moellmann [Mon, 24 Jul 2000 12:27:26 +0000 (12:27 +0000)]
(dired-sort-R-check): Added to allow recursive listing
to be undone.
(dired-sort-other): Use it.

24 years ago(with_echo_area_buffer): Take additional EMACS_INT
Gerd Moellmann [Mon, 24 Jul 2000 12:22:54 +0000 (12:22 +0000)]
(with_echo_area_buffer): Take additional EMACS_INT
parameters instead of using int parameters.  Expect FN to accept
EMACS_INT parameters.
(display_echo_area, resize_echo_area_axactly, current_message)
(truncate_echo_area, set_message_1): Call with_echo_area_buffer
with new argument list.
(resize_mini_window_1): New callback function.
(current_message_1, truncate_message_1, set_message_1): Change
parameter lists to the new format expected by
with_echo_area_buffer.

24 years ago*** empty log message ***
Gerd Moellmann [Mon, 24 Jul 2000 11:17:36 +0000 (11:17 +0000)]
*** empty log message ***

24 years agoGot rid of all byte-compiler warnings on Emacs Load
Gerd Moellmann [Mon, 24 Jul 2000 11:14:26 +0000 (11:14 +0000)]
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.

24 years agoRewritten to show a tabbed-dialog.
Gerd Moellmann [Mon, 24 Jul 2000 11:14:01 +0000 (11:14 +0000)]
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

24 years ago(ada-stmt-add-to-ada-menu): Hide the menu if not in
Gerd Moellmann [Mon, 24 Jul 2000 11:13:40 +0000 (11:13 +0000)]
(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.

24 years agoGot rid of all byte-compiler warnings on Emacs.
Gerd Moellmann [Mon, 24 Jul 2000 11:13:11 +0000 (11:13 +0000)]
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.

24 years ago(c-lineup-multi-inher): Handle lines with
Gerd Moellmann [Mon, 24 Jul 2000 11:12:40 +0000 (11:12 +0000)]
(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.

24 years ago(c-indent-new-comment-line): Added a kludge
Gerd Moellmann [Mon, 24 Jul 2000 11:12:07 +0000 (11:12 +0000)]
(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.

24 years agoUpdate copyright notice.
Gerd Moellmann [Mon, 24 Jul 2000 11:11:51 +0000 (11:11 +0000)]
Update copyright notice.

24 years ago(c-end-of-defun-1): Fixed forward scanning into
Gerd Moellmann [Mon, 24 Jul 2000 11:11:36 +0000 (11:11 +0000)]
(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.

24 years ago(c-looking-at-inexpr-block): Replaced a call to
Gerd Moellmann [Mon, 24 Jul 2000 11:11:20 +0000 (11:11 +0000)]
(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.

24 years ago(c-append-paragraph-start): New variable used by
Gerd Moellmann [Mon, 24 Jul 2000 11:11:01 +0000 (11:11 +0000)]
(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.

24 years ago(c-initialize-cc-mode): Handling of obsolete
Gerd Moellmann [Mon, 24 Jul 2000 11:10:33 +0000 (11:10 +0000)]
(c-initialize-cc-mode): Handling of obsolete
variables moved here.
(java-mode): Use c-append-paragraph-start to
initialize paragraph-start for javadoc markup.

24 years ago(c-style-alist): The basic offset for the BSD
Gerd Moellmann [Mon, 24 Jul 2000 11:10:15 +0000 (11:10 +0000)]
(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.

24 years ago(c-style-variables-are-local-p): Incompatible
Gerd Moellmann [Mon, 24 Jul 2000 11:09:35 +0000 (11:09 +0000)]
(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.

24 years ago(fontset_ref): Remove INLINE declaration.
Kenichi Handa [Mon, 24 Jul 2000 11:07:23 +0000 (11:07 +0000)]
(fontset_ref): Remove INLINE declaration.
(fontset_ref_via_base): Likewise.
(Fset_fontset_font): Convert FAMILY and REGISTRY specifications
to downcase.

24 years ago*** empty log message ***
Kenichi Handa [Mon, 24 Jul 2000 11:06:27 +0000 (11:06 +0000)]
*** empty log message ***