Glenn Morris [Sun, 19 Aug 2007 00:24:21 +0000 (00:24 +0000)]
(custom-deps, finder-data, autoloads, recompile)
(progmodes/cc-mode.elc, mh-e/mh-loaddefs.el): Use $(emacs) rather than
$(EMACS), so that EMACSLOADPATH is set. Prevents any system shadow
files messing up the compilation.
Glenn Morris [Sat, 18 Aug 2007 23:44:21 +0000 (23:44 +0000)]
(eldoc-get-fnsym-args-string): Convert
comment to basic doc string. Also apply eldoc-argument-case in
the help-split-fundoc case. Adapt for changed behavior of
eldoc-function-argstring, eldoc-function-argstring-format, and
eldoc-highlight-function-argument.
(eldoc-highlight-function-argument): Make INDEX argument
optional, just call eldoc-docstring-format-sym-doc if absent.
(eldoc-function-argstring): Change the behavior. Now it converts
an argument list to a string.
(eldoc-function-argstring-format): Change the behavior. Now it
applies `eldoc-argument-case' to a string.
Martin Rudalics [Sat, 18 Aug 2007 08:38:05 +0000 (08:38 +0000)]
(ada-create-syntax-table): Move
set-syntax-table from here to ...
(ada-mode): ... here. Do not change global value of
comment-multi-line. Call new function
ada-initialize-syntax-table-properties and add new function
ada-handle-syntax-table-properties to font-lock-mode-hook.
(ada-deactivate-properties, ada-initialize-properties): Replace
by new functions ...
(ada-handle-syntax-table-properties)
(ada-initialize-syntax-table-properties)
(ada-set-syntax-table-properties): ... to set up syntax-table
properties uniformly, independently from whether font-lock-mode
is enabled or not. Handle read-only buffers and do not change
undo-list when setting syntax-table properties.
(ada-after-change-function): Use ada-set-syntax-table-properties.
Michaël Cadilhac [Fri, 17 Aug 2007 22:51:24 +0000 (22:51 +0000)]
(meta-indent-calculate-last): Remove.
(meta-indent-current-nesting): Use a computation of the nesting instead.
(meta-indent-current-indentation): Indentation is given according to
nesting and if the previous line was finished or not.
(meta-indent-unfinished-line): Tell if the current line ends with a
finished expression.
(meta-indent-looking-at-code): Like `looking-at', but checks if the
point is a string before.
(meta-indent-level-count): Use it. Don't count parenthesis as it's
done in the nesting function.
(meta-indent-in-string-p): Tell if the current point is in a string.
(meta-indent-calculate): Treat b-o-b as a special case. Use the
previous functions.
Glenn Morris [Fri, 17 Aug 2007 07:17:45 +0000 (07:17 +0000)]
(compilation-get-file-structure): Make use of the directory part when
checking for an existing entry, to handle files with same basename in
different directories.
Juri Linkov [Wed, 15 Aug 2007 23:24:17 +0000 (23:24 +0000)]
(initialization): Change parent group from `internal'
to `environment'.
(initial-buffer-choice): New variable.
(command-line): Revert 2007-07-02 change that sets
buffer-offer-save in *scratch* and enables auto-save in it.
(fancy-splash-text): Add links to existing items. Add new items
with links for useful tasks. Move information about Control-g to
fancy-splash-head. Move "Emacs Guided Tour" to the end.
(fancy-splash-keymap): New variable.
(fancy-splash-last-input-event): Remove variable.
(fancy-splash-insert): Add processing of `:link' element.
(fancy-splash-head): Replace "Type Control-l to begin editing"
with "Type `q' to exit".
(fancy-splash-screens-1): Let-bind inhibit-read-only to t.
(fancy-splash-default-action, fancy-splash-special-event-action):
Remove functions.
(fancy-splash-quit): New function.
(fancy-splash-screens): Rename input arg from `hide-on-input' to
`static' and reverse the condition of its usage. Don't preserve
original values of `minor-mode-map-alist',
`emulation-mode-map-alists', `special-event-map'.
Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
Remove processing of special events. Use local key map
`fancy-splash-keymap'. Set buffer to read-only.
(normal-splash-screen): Rename input arg from `hide-on-input' to
`static' and reverse the condition of its usage.
Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
Add links to existing items. Add new items with links for useful
tasks. Use local key map `fancy-splash-keymap'.
(display-splash-screen): Rename input arg from `hide-on-input' to
`static'.
(about-emacs): Add alias to display-splash-screen.
(command-line-1): Use `initial-buffer-choice'.
Jay Belanger [Wed, 15 Aug 2007 15:42:58 +0000 (15:42 +0000)]
(math-standard-units): Update values. Put in exact values when
possible.
(math-unit-prefixes): Replace floats with powers of ten.
(math-standard-units-systems): Replace floats with integers.
(math-make-unit-string): Remove extra spaces in output.
Glenn Morris [Tue, 14 Aug 2007 07:41:59 +0000 (07:41 +0000)]
(bad-packages-alist): New constant.
(bad-package-check): New function. Together, these two add
elements to `after-load-alist' to check for problematic external
packages.
Jay Belanger [Tue, 14 Aug 2007 05:24:35 +0000 (05:24 +0000)]
(math-get-standard-units,math-get-units,math-make-unit-string)
(math-get-default-units,math-put-default-units): New functions.
(math-default-units-table): New variable.
(calc-convert-units, calc-convert-temperature): Add machinery to
supply default values.
Stefan Monnier [Tue, 14 Aug 2007 00:58:28 +0000 (00:58 +0000)]
Add tpu-extras's autoloads.
(tpu-gold-map, tpu-global-map): Comment-out the bindings to nil.
(tpu-gold-map): Bind F to tpu-cursor-free-mode.
(minibuffer-local-map): Use funkey symbols rather than esc-sequence.
Stefan Monnier [Tue, 14 Aug 2007 00:51:09 +0000 (00:51 +0000)]
Remove spurious * in docstrings.
Put its autoloads into tpu-edt.el rather than loaddefs.el.
(tpu-cursor-free-mode): Rename from tpu-cursor-free.
Make into a proper minor-mode.
(tpu-backward-char, tpu-next-line, tpu-previous-line)
(tpu-next-end-of-line, tpu-current-end-of-line): Use new name.
(tpu-trim-line-ends-if-needed): Rename from tpu-before-save-hook.
(tpu-set-cursor-free, tpu-set-cursor-bound):
Delegate to tpu-cursor-free-mode.
(tpu-next-line, tpu-previous-line, tpu-forward-line)
(tpu-backward-line, tpu-scroll-window-down, tpu-scroll-window-up):
Use line-move or forward-line instead of next-line-internal.
(ada-gnatls-args): Fix docstring.
(ada-treat-cmd-string): Improve error message.
(ada-do-file-completion): Call `ada-require-project-file', so project variables
are set properly.
(ada-prj-find-prj-file): Delete Emacs 20.2 support.
(ada-gnatfind-buffer-name): New constant.
(ada-find-any-references): Use new constant. Set buffer name properly in
compilation-start. Toggle read-only properly.
(ada-find-in-src-path): Fix spelling error in docstring.
(ada-gnatls-args): Fix docstring.
(ada-treat-cmd-string): Improve error message.
(ada-do-file-completion): Call `ada-require-project-file', so project variables
are set properly.
(ada-prj-find-prj-file): Delete Emacs 20.2 support.
(ada-gnatfind-buffer-name): New constant.
(ada-find-any-references): Use new constant. Set buffer name properly in
compilation-start. Toggle read-only properly.
(ada-find-in-src-path): Fix spelling error in docstring.
Stefan Monnier [Mon, 13 Aug 2007 04:04:39 +0000 (04:04 +0000)]
(reset_var_on_error): New fun.
(signal_before_change, signal_after_change):
Use it to reset (after|before)-change-functions to nil in case of error.
Bind inhibit-modification-hooks to t.
Don't bind (after|before)-change-functions to nil while they run.
(cvs-reread-cvsrc, cvs-checkout, cvs-mode-checkout)
(cvs-execute-single-file): Use new name split-string-and-unquote.
(cvs-header-msg): Use new name combine-and-quote-strings.