Michael Albinus [Wed, 22 Aug 2007 05:47:42 +0000 (05:47 +0000)]
* net/tramp.el (top): Require cl.el, when `copy-tree' is not available
otherwise.
(tramp-get-remote-path): New defun. Replace occurences of
`tramp-default-remote-path' by this function.
(tramp-set-remote-path): Move most of the code to
`tramp-get-remote-path'.
(tramp-get-ls-command, tramp-get-remote-id): Don't check for not
existing directories, this is done already in
`tramp-get-remote-path'.
Glenn Morris [Wed, 22 Aug 2007 03:37:21 +0000 (03:37 +0000)]
(rmail-movemail-variant-p): Call on load to set movemail related variables.
(rmail-insert-inbox-text): Use only rmail-movemail-program, which
will now be set before this is called.
Stefan Monnier [Tue, 21 Aug 2007 15:07:36 +0000 (15:07 +0000)]
(vc-menu-entry): New var.
(vc-mode-line-map): Use it so that this menu also uses the extra-menu.
(menu-bar-tools-menu): Add the VC menu here rather than in menu-bar.el.
(vc-menu-map): Declare and initialize in one step.
(vc-menu-map-filter): Move&rename from menu-bar.el:menu-bar-vc-filter
Jeffrey C Honig [Tue, 21 Aug 2007 12:13:48 +0000 (12:13 +0000)]
(mh-show-preferred-alternative)
(mh-show-write-message-to-file, mh-show-message-menu)
(mh-show-mode-map): Add mh-show-preferred-alternative (bound to
":") which will show the message's preferred alternative
overriding the users configured preference. Useful for showing
HTML when text content is lacking. (Closses SF 1777321).
Jeffrey C Honig [Tue, 21 Aug 2007 12:03:41 +0000 (12:03 +0000)]
(mh-invisible-header-fields-internal): Exclude Fax and Phone. Put
known exclusions as comments before the list and move parens to
separate lines to aid in sorting. (Closes SF 1701231).
Juri Linkov [Mon, 20 Aug 2007 23:28:16 +0000 (23:28 +0000)]
(fancy-splash-text): Change multiple tabs into one tab.
Remove "Useful File menu items" section (with "Exit Emacs"
and "Recover Crashed Session").
(fancy-splash-screens): Set tab-width to 22.
(normal-splash-screen): Replace literal tabs with \t and
fix whitespace. Remove "Useful File menu items" section (with
"Exit Emacs" and "Recover Crashed Session").
Jeffrey C Honig [Sun, 19 Aug 2007 20:59:01 +0000 (20:59 +0000)]
(mh-invisible-header-fields-internal): Update with all
the entries from
http://people.dsv.su.se/~jpalme/ietf/mail-headers, plus some of my
own. I added attributions to entries we already had that did not
list an RFC.
Juri Linkov [Sun, 19 Aug 2007 14:43:35 +0000 (14:43 +0000)]
(splash-screen-keymap): Rename from `fancy-splash-keymap'
because it's common to both types of splash screen: fancy and normal.
Bind SPC to scroll-up, DEL to scroll-down and `q' to exit-splash-screen.
(exit-splash-screen): Rename from `fancy-splash-quit'.
Use `quit-window' instead of `kill-buffer'.
(fancy-splash-head): Use make-button to insert GNU image link.
(fancy-splash-screens, normal-splash-screen): Rename " About GNU
Emacs" to "*About GNU Emacs*", and " GNU Emacs" to "*GNU Emacs*".
(normal-splash-screen): Put "Browse manuals" on the same line with
"Emacs manual". Remove descriptions from "Useful tasks" and put
all links in two columns on two lines.
Michael Kifer [Sun, 19 Aug 2007 13:47:08 +0000 (13:47 +0000)]
2007-08-19 Michael Kifer <kifer@cs.stonybrook.edu>
* viper.el (viper-remove-hooks): remove some additional viper hooks
when the user calls viper-go-away.
(viper-go-away): restore the default of default-major-mode.
Save the value of default-major-mode before vaperization.
* viper-cmd.el: Replace error "" with "Viper bell".
* viper-ex.el: Replace error "" with "Viper bell".
* ediff-util.el (ediff-make-temp-file): use the coding system of the
buffer for which file is created.
Glenn Morris [Sun, 19 Aug 2007 03:05:35 +0000 (03:05 +0000)]
(eldoc-get-fnsym-args-string): Doc fix.
(eldoc-highlight-function-argument): Add a doc string. Tweak previous
change: no need for INDEX to be optional, just need to handle nil.
Glenn Morris [Sun, 19 Aug 2007 00:24:55 +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 [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.
Martin Rudalics [Sat, 18 Aug 2007 08:33:06 +0000 (08:33 +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.
Glenn Morris [Fri, 17 Aug 2007 07:16:17 +0000 (07:16 +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.
Stefan Monnier [Thu, 16 Aug 2007 20:04:36 +0000 (20:04 +0000)]
(smerge-resolve): New arg `safe'.
(smerge-resolve-all, smerge-batch-resolve): New function.
(smerge-refine): Make sure `diff' returns the expected result.
(smerge-parsep-re): New const.
(smerge-mode): Use it to adjust paragraph-separate.