1. 24 Jul, 2000 39 commits
    • Gerd Moellmann's avatar
      Update copyright notice. · 35a11dcb
      Gerd Moellmann authored
    • Gerd Moellmann's avatar
      Update to author's version 1.5d. · 3215afc4
      Gerd Moellmann authored
    • Dave Love's avatar
      (TERMINFO): Moved to system files (probably only relevant for sunos4 · ffcd05c3
      Dave Love authored
      judging by its vintage).
      (BITS_PER_LONG, BITS_PER_EMACS_INT, _LP64): Define conditional on
    • Dave Love's avatar
      (LIBS_TERMCAP): Move from m/sparc.h. · 9272c039
      Dave Love authored
    • Dave Love's avatar
      (popup-menu): Set last-command-event. · bcd010a0
      Dave Love authored
      (mouse-major-mode-menu-prefix): Declare.
    • Eli Zaretskii's avatar
      *** empty log message *** · fbe0a958
      Eli Zaretskii authored
    • Eli Zaretskii's avatar
      (Info-goto-emacs-key-command-node): Leave a space after · ea33749b
      Eli Zaretskii authored
      the prompt.
    • Eli Zaretskii's avatar
      (popup-menu): Run the keymap through indirect-function, · 7636d2a3
      Eli Zaretskii authored
      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.
    • Eli Zaretskii's avatar
      (keymap_panes): Pass the keymap's prompt as the pane · 488205c0
      Eli Zaretskii authored
      name to single_keymap_panes.
    • Gerd Moellmann's avatar
      Not in use since 20.x. · 7d0b202f
      Gerd Moellmann authored
    • Andreas Schwab's avatar
      . · 7d88e5c9
      Andreas Schwab authored
    • Andreas Schwab's avatar
    • Dave Love's avatar
      Fix CRLF eols. · bc66a9a9
      Dave Love authored
    • Gerd Moellmann's avatar
      *** empty log message *** · e024b101
      Gerd Moellmann authored
    • Gerd Moellmann's avatar
      (dired-sort-R-check): Added to allow recursive listing · e17dba1f
      Gerd Moellmann authored
      to be undone.
      (dired-sort-other): Use it.
    • Gerd Moellmann's avatar
      (with_echo_area_buffer): Take additional EMACS_INT · 23a96c77
      Gerd Moellmann authored
      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
    • Gerd Moellmann's avatar
      *** empty log message *** · 7972fcfc
      Gerd Moellmann authored
    • Gerd Moellmann's avatar
      Got rid of all byte-compiler warnings on Emacs Load · 4cc7e498
      Gerd Moellmann authored
      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
      (ada-check-defun-name): Handles "configure" keyword for gnatdist
      (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
      (ada-create-menu): Use :included instead of :visible for XEmacs.
      New submenu "Options".
      (ada-end-stmt-re): Correctly indent "select ... then abort"
      (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.
    • Gerd Moellmann's avatar
      Rewritten to show a tabbed-dialog. · c6fa13e3
      Gerd Moellmann authored
      (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
    • Gerd Moellmann's avatar
      (ada-stmt-add-to-ada-menu): Hide the menu if not in · cf543c1c
      Gerd Moellmann authored
      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.
    • Gerd Moellmann's avatar
      Got rid of all byte-compiler warnings on Emacs. · 15ea3b67
      Gerd Moellmann authored
      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-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
      (ada-compile-current): New parameter, prj-field
      (ada-complete-identifier): Load the .ali file before doing
      (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
      (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
      (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-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.
    • Gerd Moellmann's avatar
      (c-lineup-multi-inher): Handle lines with · c4052e82
      Gerd Moellmann authored
      leading comma nicely. Extended to handle member initializers
      (c-gnu-impose-minimum): Don't impose minimum
      indentation on cpp-macro lines.
    • Gerd Moellmann's avatar
      (c-indent-new-comment-line): Added a kludge · b8ded794
      Gerd Moellmann authored
      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
    • Gerd Moellmann's avatar
      Update copyright notice. · 6862d613
      Gerd Moellmann authored
    • Gerd Moellmann's avatar
      (c-end-of-defun-1): Fixed forward scanning into · bbfbe5ec
      Gerd Moellmann authored
      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.
    • Gerd Moellmann's avatar
      (c-looking-at-inexpr-block): Replaced a call to · ce8c7486
      Gerd Moellmann authored
      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-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
      (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
      (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.
    • Gerd Moellmann's avatar
      (c-append-paragraph-start): New variable used by · e29cacf2
      Gerd Moellmann authored
      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.
    • Gerd Moellmann's avatar
      (c-initialize-cc-mode): Handling of obsolete · 91b807c9
      Gerd Moellmann authored
      variables moved here.
      (java-mode): Use c-append-paragraph-start to
      initialize paragraph-start for javadoc markup.
    • Gerd Moellmann's avatar
      (c-style-alist): The basic offset for the BSD · 6cfd56b3
      Gerd Moellmann authored
      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.
    • Gerd Moellmann's avatar
      (c-style-variables-are-local-p): Incompatible · e96f5cb7
      Gerd Moellmann authored
      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.
    • Kenichi Handa's avatar
      (fontset_ref): Remove INLINE declaration. · afe93d01
      Kenichi Handa authored
      (fontset_ref_via_base): Likewise.
      (Fset_fontset_font): Convert FAMILY and REGISTRY specifications
      to downcase.
    • Kenichi Handa's avatar
      *** empty log message *** · 25c1a9ce
      Kenichi Handa authored
    • Gerd Moellmann's avatar
      @setfilename to ../info/ccmode. · f214c025
      Gerd Moellmann authored
      Documented the change of cpp-macro.
      Updated doc for c-lineup-multi-inher.
      Documented the special behavior of
      c-special-indent-hook as a style variable.  Don't talk about
      doing (c-make-styles-buffer-local t) in a mode hook, since
      that's already too late to work right.
    • Dave Love's avatar
      *** empty log message *** · 8730a8da
      Dave Love authored
    • Dave Love's avatar
      (ediff-region-help-echo): Bind face-help. · a21f0bd5
      Dave Love authored
    • Dave Love's avatar
      Add AC_SIZE_T. · 8170f46b
      Dave Love authored
    • Noah Friedman's avatar
      (type-break): perform autosave. · ad953485
      Noah Friedman authored
      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.
    • Noah Friedman's avatar
      (eldoc-minor-mode-string): Add autoload cookie; otherwise autoloaded · 03a9c6d0
      Noah Friedman authored
      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.
    • Noah Friedman's avatar
      (menu-bar-files-menu [recover-session]): Make sure auto save directory · db3ca487
      Noah Friedman authored
      exists before calling directory-files.
  2. 23 Jul, 2000 1 commit