bpt/emacs.git
12 years ago* gnus-util.el (gnus-message-with-timestamp-1): Use format-time-string
Paul Eggert [Fri, 1 Jul 2011 01:46:17 +0000 (18:46 -0700)]
* gnus-util.el (gnus-message-with-timestamp-1): Use format-time-string

rather than decoding time stamps by hand.  This is simpler, and
insulates the code from changes to time stamp formats.

12 years ago* lisp/erc/erc.el: Fix comment.
Paul Eggert [Fri, 1 Jul 2011 01:29:04 +0000 (18:29 -0700)]
* lisp/erc/erc.el: Fix comment.

12 years ago* emacs-lisp/timer.el (timer-relative-time): Use time-add.
Paul Eggert [Fri, 1 Jul 2011 01:27:40 +0000 (18:27 -0700)]
* emacs-lisp/timer.el (timer-relative-time): Use time-add.

12 years ago* emacs-lisp/elp.el (elp-elapsed-time): Use float-time.
Paul Eggert [Fri, 1 Jul 2011 00:30:18 +0000 (17:30 -0700)]
* emacs-lisp/elp.el (elp-elapsed-time): Use float-time.

12 years ago* emacs-lisp/benchmark.el (benchmark-elapse): Use float-time.
Paul Eggert [Fri, 1 Jul 2011 00:27:45 +0000 (17:27 -0700)]
* emacs-lisp/benchmark.el (benchmark-elapse): Use float-time.

12 years ago* semantic.el (semantic-elapsed-time): Rewrite using
Paul Eggert [Fri, 1 Jul 2011 00:24:48 +0000 (17:24 -0700)]
* semantic.el (semantic-elapsed-time): Rewrite using

time-subtract and float-time.

12 years ago* calendar/timeclock.el (timeclock-seconds-to-time):
Paul Eggert [Fri, 1 Jul 2011 00:20:59 +0000 (17:20 -0700)]
* calendar/timeclock.el (timeclock-seconds-to-time):

Defalias to seconds-to-time, since they're the same thing.

12 years ago* allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
Paul Eggert [Fri, 1 Jul 2011 00:11:50 +0000 (17:11 -0700)]
* allout-widgets.el (allout-elapsed-time-seconds): Use float-time.

12 years agomml2015.el (mml2015-use): Replace string-match-p with string-match for old Emacsen.
Katsumi Yamaoka [Thu, 30 Jun 2011 23:27:10 +0000 (23:27 +0000)]
mml2015.el (mml2015-use): Replace string-match-p with string-match for old Emacsen.

12 years agotextmodes/flyspell.el (flyspell-word): Consider words that differ only
Lars Magne Ingebrigtsen [Thu, 30 Jun 2011 23:19:45 +0000 (01:19 +0200)]
textmodes/flyspell.el (flyspell-word): Consider words that differ only
in case as potential doublons (bug#5687).

12 years ago* net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
Lars Magne Ingebrigtsen [Thu, 30 Jun 2011 23:15:02 +0000 (01:15 +0200)]
* net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
Remove two rather uninteresting debugging-like messages to make
debbugs.el more silent.

12 years ago* comint.el (comint-password-prompt-regexp): Accept "Response" as
Lars Magne Ingebrigtsen [Thu, 30 Jun 2011 23:11:36 +0000 (01:11 +0200)]
* comint.el (comint-password-prompt-regexp): Accept "Response" as
a password-like phrase.

This fixes the

[larsi@quimbies ~/]$ ssh root@quimby
Password:
Response:

case.

12 years agognus-group.el (gnus-read-ephemeral-emacs-bug-group): Take an optional quit window...
Gnus developers [Thu, 30 Jun 2011 22:20:32 +0000 (22:20 +0000)]
gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Take an optional quit window configuration.
auth-source.el (epg-context-set-passphrase-callback): Remove duplicate autoload.
nnir.el (nnir-request-article): Allow requesting articles by Message-ID with nnimap.
gnus-sum.el (gnus-refer-article-methods): Allow (nnir) entry to use current server.
auth-source.el: Autoload EPA/EPG functions.
 (auth-source-netrc-use-gpg-tokens): Clarify that it should not be changed when EPA/EPG is not available.
 (auth-source-backend): Rename "arg" member to "data".
 (auth-source-backend-parse, auth-source-plstore-search)
 (auth-source-plstore-create): Use it.

12 years agoPrevent Gnus from loading PGG.
Daiki Ueno [Thu, 30 Jun 2011 20:54:35 +0000 (05:54 +0900)]
Prevent Gnus from loading PGG.

* mml2015.el (mml2015-use): Don't try to load PGG on Emacs 24, when EPG
is not fully working.

12 years agoprogmodes/cc-guess.el: New file.
Alan Mackenzie [Thu, 30 Jun 2011 20:45:12 +0000 (20:45 +0000)]
progmodes/cc-guess.el: New file.
progmodes/cc-langs.el (c-mode-menu): Added "Style..." submenu.
progmodes/cc-styles.el (cc-choose-style-for-mode): New function derived
from `c-basic-common-init'.
progmodes/cc-mode.el (top-level): Require cc-guess.
(c-basic-common-init): Use `cc-choose-style-for-mode'.

12 years ago* lisp/progmodes/js.el (js-mode): Don't stomp on global settings.
Lawrence Mitchell [Thu, 30 Jun 2011 16:22:33 +0000 (12:22 -0400)]
* lisp/progmodes/js.el (js-mode): Don't stomp on global settings.

Fixes: debbugs:8933

12 years agoprogmodes/cc-engine.el (c-guess-continued-construct): Correct the
Alan Mackenzie [Thu, 30 Jun 2011 15:12:59 +0000 (15:12 +0000)]
progmodes/cc-engine.el (c-guess-continued-construct): Correct the
handling of template-args-cont, particularly for when font lock is
disabled.  Name this case as "CASE G".

12 years agoFix bad include.
Jan Djärv [Thu, 30 Jun 2011 15:07:40 +0000 (17:07 +0200)]
Fix bad include.

* xsettings.c: Include glib-object.h, gio/gio.h if HAVE_GSETTINGS.

12 years ago* allout.el (allout-yank-processing): Fix injection of extra space between
Ken Manheimer [Thu, 30 Jun 2011 14:38:35 +0000 (10:38 -0400)]
* allout.el (allout-yank-processing): Fix injection of extra space between
bullet and non-whitespace character in first topic when pasting, ensuring
that the actual spacing in the pasted topic following the bullet char is
preserved.  This extra space was causing pasted encrypted topics to get a
decrypted status even when the content was actually still encrypted.  Now
the decryption status from before the paste is preserved.

(allout-flag-region): Set all allout overlays so they evaporate when
reduced to zero length (evanescent), to prevent overlay leakage.

12 years ago* configure.in (HAVE_GSETTINGS): Fix syntax for GSETTINGS tests, which made ./configu...
Lars Magne Ingebrigtsen [Thu, 30 Jun 2011 14:32:07 +0000 (16:32 +0200)]
* configure.in (HAVE_GSETTINGS): Fix syntax for GSETTINGS tests, which made ./configure infloop.

12 years agoMerge changes made in Gnus trunk.
Gnus developers [Thu, 30 Jun 2011 14:25:27 +0000 (14:25 +0000)]
Merge changes made in Gnus trunk.

gnus-art.el (gnus-request-article-this-buffer): Use existing function `gnus-refer-article-methods'.
auth-source.el: Require EPA and EPG.
 (auth-source-passphrase-alist): New variable.
 (auth-source-passphrase-callback-function, auth-source-token-passphrase-callback-function): Callbacks for the netrc field encryption (GPG tokens).
 (auth-source-epa-extract-gpg-token, auth-source-epa-make-gpg-token): Symmetric encryption and decryption of the netrc GPG tokens.
 (auth-source-netrc-normalize): Use them, simplifying the closure.

12 years agoAdd GSettings support (GConf is going away).
Jan Djärv [Thu, 30 Jun 2011 14:00:26 +0000 (16:00 +0200)]
Add GSettings support (GConf is going away).

* configure.in (gsettings): New option and check for GSettings.

* src/Makefile.in (SETTINGS_CFLAGS, SETTINGS_LIBS): Renamed from
GCONF_CFLAGS/LIBS.

* src/xsettings.c: Include glib.h if HAVE_GSETTINGS.
Let HAVE_GSETTINGS override HAVE_GCONF.
(store_monospaced_changed): New function.
(EMACS_SETTINGS): A new type derived from GObject to handle
GSettings notifications.
(emacs_settings_constructor, emacs_settings_get_property)
(emacs_settings_set_property, emacs_settings_class_init):
New functions.
(gsettings_client, gsettings_obj): New variables.
(GSETTINGS_SCHEMA): New define.
(something_changedCB): Call store_monospaced_changed.
(init_gsettings): New function.
(xsettings_initialize): Call init_gsettings.
(syms_of_xsettings): Initialize gsettings_client, gsettings_obj
to NULL.

12 years agonnimap.el (nnimap-split-incoming-mail): If `nnimap-split-fancy' is non-nil, and ...
Lars Magne Ingebrigtsen [Thu, 30 Jun 2011 10:04:56 +0000 (10:04 +0000)]
nnimap.el (nnimap-split-incoming-mail): If `nnimap-split-fancy' is non-nil, and `nnimap-split-methods' is nil, use the former.

12 years agoFix the last commit, do revert-buffer when plstore-revert.
Daiki Ueno [Thu, 30 Jun 2011 09:53:21 +0000 (18:53 +0900)]
Fix the last commit, do revert-buffer when plstore-revert.

12 years agoAdd plstore-revert, hide buffer from user.
Daiki Ueno [Thu, 30 Jun 2011 09:45:44 +0000 (18:45 +0900)]
Add plstore-revert, hide buffer from user.

* plstore.el (plstore-revert): New function.
(plstore-open): Use it; hide the buffer from user.

12 years agoSilence auth-source.el compilation.
Daiki Ueno [Thu, 30 Jun 2011 08:20:33 +0000 (17:20 +0900)]
Silence auth-source.el compilation.

12 years agoAdd new auth-source backend 'plstore.
Daiki Ueno [Thu, 30 Jun 2011 07:27:25 +0000 (16:27 +0900)]
Add new auth-source backend 'plstore.

* auth-source.el (auth-source-backend): New member "arg".
(auth-source-backend-parse): Handle new backend 'plstore.
* plstore.el: New file.

12 years agonnimap.el (nnimap-process-expiry-targets): Say what target we're expiring articles to.
Lars Magne Ingebrigtsen [Thu, 30 Jun 2011 04:07:50 +0000 (04:07 +0000)]
nnimap.el (nnimap-process-expiry-targets): Say what target we're expiring articles to.

12 years ago* lisp/w32-fns.el (w32-charset-info-alist): Declare.
Glenn Morris [Thu, 30 Jun 2011 03:13:35 +0000 (20:13 -0700)]
* lisp/w32-fns.el (w32-charset-info-alist): Declare.

12 years ago* lisp/find-dired.el (find-grep-options): Simplify.
Glenn Morris [Thu, 30 Jun 2011 03:03:07 +0000 (20:03 -0700)]
* lisp/find-dired.el (find-grep-options): Simplify.

12 years ago* lisp/gnus/gnus-fun.el (gnus-convert-image-to-x-face-command): Doc fix.
Glenn Morris [Thu, 30 Jun 2011 03:01:09 +0000 (20:01 -0700)]
* lisp/gnus/gnus-fun.el (gnus-convert-image-to-x-face-command): Doc fix.

12 years agoAdd bug ref to ChangeLog.
Glenn Morris [Thu, 30 Jun 2011 02:58:08 +0000 (19:58 -0700)]
Add bug ref to ChangeLog.

12 years agoChangeLog fix.
Glenn Morris [Thu, 30 Jun 2011 02:56:57 +0000 (19:56 -0700)]
ChangeLog fix.

12 years ago* etc/TODO: Remove some things that got to-done.
Glenn Morris [Thu, 30 Jun 2011 02:56:12 +0000 (19:56 -0700)]
* etc/TODO: Remove some things that got to-done.

12 years ago* lisp/term/ns-win.el (ns-set-resource): Declare.
Glenn Morris [Thu, 30 Jun 2011 02:54:16 +0000 (19:54 -0700)]
* lisp/term/ns-win.el (ns-set-resource): Declare.

12 years ago* lisp/gnus/mm-util.el (mm-charset-synonym-alist): Move definition before use.
Glenn Morris [Thu, 30 Jun 2011 02:53:07 +0000 (19:53 -0700)]
* lisp/gnus/mm-util.el (mm-charset-synonym-alist): Move definition before use.

12 years ago* lisp/ses.el (row, col): Declare dynamic variables honestly.
Glenn Morris [Thu, 30 Jun 2011 02:51:27 +0000 (19:51 -0700)]
* lisp/ses.el (row, col): Declare dynamic variables honestly.

12 years agoSilence reftex-parse compilation.
Glenn Morris [Thu, 30 Jun 2011 02:50:20 +0000 (19:50 -0700)]
Silence reftex-parse compilation.

* lisp/textmodes/reftex-parse.el (index-tags): Declare.
Nuke trailing whitespace.

12 years ago(thing-at-point-short-url-regexp): Require that short URLs have at least one dot...
Lars Magne Ingebrigtsen [Thu, 30 Jun 2011 02:04:32 +0000 (04:04 +0200)]
(thing-at-point-short-url-regexp): Require that short URLs have at least one dot in them (bug #7614).

12 years agomm-util.el (mm-charset-to-coding-system): Recognise all ANSI.x3.4 variations as ASCII...
Lars Magne Ingebrigtsen [Thu, 30 Jun 2011 01:44:14 +0000 (01:44 +0000)]
mm-util.el (mm-charset-to-coding-system): Recognise all ANSI.x3.4 variations as ASCII (bug#5458).

12 years agoAvoid calling customize-save-variable during startup (Bug#8720).
Chong Yidong [Thu, 30 Jun 2011 01:39:52 +0000 (21:39 -0400)]
Avoid calling customize-save-variable during startup (Bug#8720).

* lisp/cus-edit.el (customize-push-and-save): New function.

* lisp/files.el (hack-local-variables-confirm): Use it.

* lisp/custom.el (load-theme): New arg NO-CONFIRM.  Use
customize-push-and-save (Bug#8720).
(custom-enabled-themes): Doc fix.

* lisp/cus-theme.el (customize-create-theme)
(custom-theme-merge-theme): Callers to load-theme changed.

12 years agonnmh.el (nnmh-request-list-1): Work on MS Windows.
Katsumi Yamaoka [Thu, 30 Jun 2011 01:27:16 +0000 (01:27 +0000)]
nnmh.el (nnmh-request-list-1): Work on MS Windows.

12 years ago(rgrep): Bind `process-connection-type' to nil, because using a pty is apparently...
Lars Magne Ingebrigtsen [Thu, 30 Jun 2011 01:09:13 +0000 (03:09 +0200)]
(rgrep): Bind `process-connection-type' to nil, because using a pty is apparently too slow (bug #895).

12 years agoMerge changes made in Gnus trunk.
Lars Magne Ingebrigtsen [Thu, 30 Jun 2011 01:02:47 +0000 (01:02 +0000)]
Merge changes made in Gnus trunk.

message.el (message-point-in-header-p): Tweak the function to default to saying that we're not in the headers if there is no separator at all.  This makes it possible to use the Message version of `M-q' in buffers with no headers (bug#7987).
 (message-point-in-header-p): Fix last checkin to work with an empty mail-header-separator, too.
auth-source.el (auth-source-netrc-saver): If the user says "don't ask again, save the choice via customize.
message.el (message-send-mail-function): Add `sendmail-query-once'.
nnimap.el (nnimap-finish-retrieve-group-infos): If the server has ended the connection, bail out before waiting infinitely on a new connection.

12 years agoAdd the new `sendmail-query-once' function to sendmail.el.
Lars Magne Ingebrigtsen [Wed, 29 Jun 2011 20:21:29 +0000 (22:21 +0200)]
Add the new `sendmail-query-once' function to sendmail.el.

12 years ago* lisp/files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
Glenn Morris [Wed, 29 Jun 2011 18:38:39 +0000 (14:38 -0400)]
* lisp/files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.

12 years agoSilence ses.el compilation.
Glenn Morris [Wed, 29 Jun 2011 18:37:31 +0000 (14:37 -0400)]
Silence ses.el compilation.

* lisp/ses.el (top-level): Require cl when compiling.
(ses-set-localvars): Fix error statement.
Call it at compile time to silence a storm of warnings.

12 years agoRename more functions to use window-/window-- prefixes.
Martin Rudalics [Wed, 29 Jun 2011 12:06:08 +0000 (14:06 +0200)]
Rename more functions to use window-/window-- prefixes.

* window.c (resize_root_window, grow_mini_window)
(shrink_mini_window): Rename Qresize_root_window to
Qwindow_resize_root_window and Qresize_root_window_vertically to
Qwindow_resize_root_window_vertically.

* window.el (normalize-live-buffer): Rename to
window-normalize-buffer.
(normalize-live-frame): Rename to window-normalize-frame.
(normalize-any-window): Rename to window-normalize-any-window.
(normalize-live-window): Rename to window-normalize-live-window.
(make-window-atom): Rename to window-make-atom.
(window-resize-reset): Rename to window--resize-reset.
(window-resize-reset-1): Rename to window--resize-reset-1.
(resize-mini-window): Rename to window--resize-mini-window.
(resize-subwindows-skip-p): Rename to
window--resize-subwindows-skip-p.
(resize-subwindows-normal): Rename to
window--resize-subwindows-normal.
(resize-subwindows): Rename to window--resize-subwindows.
(resize-other-windows): Rename to window--resize-siblings.
(resize-this-window): Rename to window--resize-this-window.
(resize-root-window): Rename to window--resize-root-window.
(resize-root-window-vertically): Rename to
window--resize-root-window-vertically.
(normalize-buffer-to-display): Rename to
window-normalize-buffer-to-display.
(normalize-buffer-to-switch-to): Rename to
window-normalize-buffer-to-switch-to.
Correspondingly update all callers of the functions listed
above.
(display-buffer-alist, display-buffer-normalize-arguments)
(display-buffer-normalize-options, display-buffer)
(display-buffer-alist-set): Use "function" instead of
"fun-with-args".

12 years agoAuto-commit of generated files.
Glenn Morris [Wed, 29 Jun 2011 10:18:15 +0000 (06:18 -0400)]
Auto-commit of generated files.

12 years ago* configure.in: Do not override user crt-dir, even if faulty.
Glenn Morris [Wed, 29 Jun 2011 03:47:07 +0000 (20:47 -0700)]
* configure.in: Do not override user crt-dir, even if faulty.

12 years ago* configure.in: Tweak previous change.
Glenn Morris [Wed, 29 Jun 2011 03:21:14 +0000 (20:21 -0700)]
* configure.in: Tweak previous change.

12 years ago* configure.in: Try to test for the required crt*.o files.
Glenn Morris [Wed, 29 Jun 2011 02:50:32 +0000 (22:50 -0400)]
* configure.in: Try to test for the required crt*.o files.

12 years agoMerge changes made in Gnus trunk.
Teodor Zlatanov [Tue, 28 Jun 2011 22:18:09 +0000 (22:18 +0000)]
Merge changes made in Gnus trunk.

gnus-msg.el (gnus-bug): Add Package and Version pseudo-headers to bug reports.
gnus.el (gnus-bug-package): Use "gnus."
 (gnus-maintainer): Direct bug reports to submit@debbugs.gnu.org.

12 years agoTweaks to the report-emacs-bug preamble.
Chong Yidong [Tue, 28 Jun 2011 18:10:11 +0000 (14:10 -0400)]
Tweaks to the report-emacs-bug preamble.

* mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
debbugs.gnu.org.  Mention acknowledgment email.

12 years ago* gnutls.c (Qgnutls_bootprop_verify_error): Remove unused var.
Paul Eggert [Tue, 28 Jun 2011 16:03:59 +0000 (09:03 -0700)]
* gnutls.c (Qgnutls_bootprop_verify_error): Remove unused var.

12 years ago(smtpmail-send-it): Leave off changing the buffer multibyteness, since it shouldn...
Lars Magne Ingebrigtsen [Tue, 28 Jun 2011 15:30:45 +0000 (17:30 +0200)]
(smtpmail-send-it): Leave off changing the buffer multibyteness, since it shouldn't matter.

12 years agoSome more fixes of buffer display functions.
Martin Rudalics [Tue, 28 Jun 2011 12:28:40 +0000 (14:28 +0200)]
Some more fixes of buffer display functions.

* window.el (display-buffer-in-side-window): Handle dedicated
windows as in display-buffer-reuse-window.
(display-buffer-normalize-alist): Use value of override
specifier.
(display-buffer-normalize-specifiers): Use value of
other-window-means-other-frame specifier.
(display-buffer-alist): Rewrite some texts in widgets.
(display-buffer): Spread arguments when calling function
specified by fun-with-args.

12 years ago* emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table): Unnest `let'.
Deniz Dogan [Tue, 28 Jun 2011 12:09:43 +0000 (14:09 +0200)]
* emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table): Unnest `let'.

12 years ago* textmodes/css-mode.el (css-proprietary-nmstart-re): Use `regexp-opt'.
Deniz Dogan [Tue, 28 Jun 2011 11:37:05 +0000 (13:37 +0200)]
* textmodes/css-mode.el (css-proprietary-nmstart-re): Use `regexp-opt'.

12 years ago* textmodes/css-mode.el (css-font-lock-keywords): Fix grouped selectors.
Deniz Dogan [Tue, 28 Jun 2011 11:23:01 +0000 (13:23 +0200)]
* textmodes/css-mode.el (css-font-lock-keywords): Fix grouped selectors.

Fixes: debbugs:5732

12 years ago* doc/misc/rcirc.texi (Configuration): Bug-fix: `rcirc-default-user-full-name' is...
Deniz Dogan [Tue, 28 Jun 2011 10:18:02 +0000 (12:18 +0200)]
* doc/misc/rcirc.texi (Configuration): Bug-fix: `rcirc-default-user-full-name' is now `rcirc-default-full-name'. Reported by Elias Pipping <pipping@exherbo.org>.

12 years ago* eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
Jari Aalto [Mon, 27 Jun 2011 21:47:39 +0000 (17:47 -0400)]
* eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
(eshell-ls-date-format): New defcustom.
(eshell-ls-file): Use it.

12 years ago* lisp/help-fns.el (describe-variable): Fix message for terminal-local vars.
Stefan Monnier [Mon, 27 Jun 2011 21:39:03 +0000 (17:39 -0400)]
* lisp/help-fns.el (describe-variable): Fix message for terminal-local vars.

12 years ago* lisp/net/ange-ftp.el: Allow loading .gz files (Bug#6923).
Katsumi Yamaoka [Mon, 27 Jun 2011 21:30:37 +0000 (17:30 -0400)]
* lisp/net/ange-ftp.el: Allow loading .gz files (Bug#6923).
(ange-ftp-make-tmp-name): New arg.
(ange-ftp-file-local-copy): Use it.

12 years agoRemove incorrect ChangeLog entry from last commit.
Chong Yidong [Mon, 27 Jun 2011 21:15:35 +0000 (17:15 -0400)]
Remove incorrect ChangeLog entry from last commit.

12 years agoCoding system fix for tar-untar-buffer (Bug#8870).
Jambunathan K [Mon, 27 Jun 2011 21:12:17 +0000 (17:12 -0400)]
Coding system fix for tar-untar-buffer (Bug#8870).

* lisp/tar-mode.el (tar-untar-buffer): Set coding-system-for-write
to no-conversion.

12 years agoUse window- prefix more consistently. Fix two buffer display bugs.
Martin Rudalics [Mon, 27 Jun 2011 18:32:56 +0000 (20:32 +0200)]
Use window- prefix more consistently.  Fix two buffer display bugs.

* window.c (resize_window_check): Rename to window_resize_check.
(resize_window_apply): Rename to window_resize_apply.
(Fresize_window_apply): Rename to Fwindow_resize_apply.
(Fdelete_other_windows_internal, resize_frame_windows)
(Fsplit_window_internal, Fdelete_window_internal)
(grow_mini_window, shrink_mini_window)
(Fresize_mini_window_internal): Fix callers accordingly.

* window.el (resize-window-reset): Rename to window-resize-reset.
(resize-window-reset-1): Rename to window-resize-reset-1.
(resize-window): Rename to window-resize.
(window-min-height, window-min-width)
(resize-mini-window, resize-this-window, resize-root-window)
(resize-root-window-vertically, adjust-window-trailing-edge)
(enlarge-window, shrink-window, maximize-window)
(minimize-window, delete-window, quit-restore-window)
(split-window, balance-windows, balance-windows-area-adjust)
(balance-windows-area, window-state-put-2)
(display-buffer-even-window-sizes, display-buffer-set-height)
(display-buffer-set-width, set-window-text-height)
(fit-window-to-buffer): Rename all "resize-window" prefixed
calls to use the "window-resize" prefix convention.
(display-buffer-alist): Fix symbol for label specifier.
(display-buffer-reuse-window): Set reuse-dedicated to cdr of
corresponding specifier.
Reported by Juanma Barranquero <lekktu@gmail.com>.

12 years agosrc/makefile.w32-in: Redesign dependencies.
Juanma Barranquero [Mon, 27 Jun 2011 14:59:12 +0000 (16:59 +0200)]
src/makefile.w32-in: Redesign dependencies.

12 years agoUse better names for window-next/-prev and window-vchild/-hchild.
Martin Rudalics [Mon, 27 Jun 2011 14:05:55 +0000 (16:05 +0200)]
Use better names for window-next/-prev and window-vchild/-hchild.

* window.c (Fwindow_vchild): Rename to Fwindow_top_child.
(Fwindow_hchild): Rename to Fwindow_left_child.
(Fwindow_next): Rename to Fwindow_next_sibling.
(Fwindow_prev): Rename to Fwindow_prev_sibling.

* window.el (window-right, window-left, window-child)
(window-child-count, window-last-child)
(window-iso-combination-p, walk-window-tree-1)
(window-atom-check-1, window-tree-1, delete-window)
(window-state-get-1, display-buffer-even-window-sizes): Adapt to
new naming conventions - window-vchild, window-hchild,
window-next and window-prev are now called window-top-child,
window-left-child, window-next-sibling and window-prev-sibling
respectively.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Mon, 27 Jun 2011 10:23:19 +0000 (06:23 -0400)]
Auto-commit of loaddefs files.

12 years agoHave overlays with window property respect clone numbers.
Martin Rudalics [Mon, 27 Jun 2011 09:27:44 +0000 (11:27 +0200)]
Have overlays with window property respect clone numbers.

* buffer.c (Qclone_number): Declare static and DEFSYM it.
(sort_overlays, overlay_strings): When an overlay's clone number
matches the window's clone number process the overlay even if
the overlay's window property doesn't match the current window.

12 years ago(ses-destroy-cell-variable-range): Fix heading comment convention.
Vincent Belaïche [Mon, 27 Jun 2011 08:14:10 +0000 (10:14 +0200)]
(ses-destroy-cell-variable-range): Fix heading comment convention.
(ses-call-printer): Does not pass an empty string to formatter when the cell is empty to keep from barking printer Calc math-format-value.

12 years agoImplement battery-mode-line-limit option.
Richard M. Stallman [Mon, 27 Jun 2011 08:04:55 +0000 (04:04 -0400)]
Implement battery-mode-line-limit option.

12 years agormailmm: Handle truncated messages.
Richard M. Stallman [Mon, 27 Jun 2011 08:01:30 +0000 (04:01 -0400)]
rmailmm: Handle truncated messages.

12 years agoflymake.el fix for bug#8866.
Glenn Morris [Mon, 27 Jun 2011 07:23:27 +0000 (00:23 -0700)]
flymake.el fix for bug#8866.

* lisp/progmodes/flymake.el (flymake-err-line-patterns):
Allow for column numbers in the ant/javac pattern.

12 years agoUpdate default value of `vc-revert-show-diff'.
Romain Francoise [Mon, 27 Jun 2011 06:33:51 +0000 (08:33 +0200)]
Update default value of `vc-revert-show-diff'.

12 years ago(ses-relocate-range): Keep rest of arguments for ses-range.
Vincent Belaïche [Mon, 27 Jun 2011 06:18:45 +0000 (08:18 +0200)]
(ses-relocate-range): Keep rest of arguments for ses-range.
(ses--clean-!, ses--clean-_): New functions.
(ses-range): Add configurability of readout order, and conversion to Calc vector.

12 years ago(ses-repair-cell-reference-all): New function.
Vincent Belaïche [Mon, 27 Jun 2011 06:11:36 +0000 (08:11 +0200)]
(ses-repair-cell-reference-all): New function.
(ses-cell-symbol): Set macro as safe, so that it can be used in
formulas.

12 years agoUpdate cycle detection algorithm.
Vincent Belaïche [Mon, 27 Jun 2011 06:02:27 +0000 (08:02 +0200)]
Update cycle detection algorithm.
(ses-localvars): Add ses--Dijkstra-attempt-nb and
ses--Dijkstra-weight-bound, and initial values thereof when
applicable.
(ses-set-localvars): New function.
(ses-make-cell): Add property-list as a cell element.
(ses-cell-property-get-fun, ses-cell-property-get)
(ses-cell-property-delq-fun, ses-cell-property-set-fun)
(ses-cell-property-pop-fun, ses-cell-property-get-handle-fun): New
functions.
(ses-cell-property-set, ses-cell-property-pop)
(ses-cell-property-get-handle): New macro.
(ses-cell-property-handle-car, ses-cell-property-handle-setcar):
New aliases, used for code readability.
(ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
cycle detection.
(ses-self-reference-early-detection): New defcustom.
(ses-formula-references): Robustify against self-refering cells.
(ses-mode): Use ses-set-localvars.
(ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
before lauching the update processing.
(ses-initialize-Dijkstra-attempt): New function.
(ses-recalculate-cell): Update for cycle detection based on
Dijkstra algorithm.

12 years agoFix commenting and indenting convention.
Vincent Belaïche [Mon, 27 Jun 2011 05:41:58 +0000 (07:41 +0200)]
Fix commenting and indenting convention.

12 years ago* .bzrignore: Add lisp/mh-e/mh-autoloads.el and lisp/mh-e/mh-cus-load.el.
Bill Wohler [Mon, 27 Jun 2011 04:31:43 +0000 (21:31 -0700)]
* .bzrignore: Add lisp/mh-e/mh-autoloads.el and lisp/mh-e/mh-cus-load.el.

12 years agolwlib/Makefile.in (ALL_CFLAGS): Add -I../lib for generated header files in out-of...
YAMAMOTO Mitsuharu [Mon, 27 Jun 2011 03:00:16 +0000 (12:00 +0900)]
lwlib/Makefile.in (ALL_CFLAGS): Add -I../lib for generated header files in out-of-tree build.

12 years ago* lisp/bs.el (bs-cycle-next): Complete last change.
Stefan Monnier [Mon, 27 Jun 2011 01:52:37 +0000 (21:52 -0400)]
* lisp/bs.el (bs-cycle-next): Complete last change.

12 years agoFix typos in lisp/ChangeLog.
Juanma Barranquero [Mon, 27 Jun 2011 00:37:54 +0000 (02:37 +0200)]
Fix typos in lisp/ChangeLog.

12 years agolisp/faces.el (list-faces-display): Add help-mode-map to output.
Drew Adams [Mon, 27 Jun 2011 00:29:55 +0000 (02:29 +0200)]
lisp/faces.el (list-faces-display): Add help-mode-map to output.

Fixes: debbugs:8939

12 years agoFix stupid typo with gnutls-clii.
Lars Magne Ingebrigtsen [Mon, 27 Jun 2011 00:11:22 +0000 (02:11 +0200)]
Fix stupid typo with gnutls-clii.
Don't re-get capabilities unless we're reconnecting.

12 years agoBind coding-system-for-* to binary to possibly avoid line encoding
Lars Magne Ingebrigtsen [Mon, 27 Jun 2011 00:02:15 +0000 (02:02 +0200)]
Bind coding-system-for-* to binary to possibly avoid line encoding
issues on Windows (among other things).

12 years agoMerge changes made in Gnus trunk.
Lars Magne Ingebrigtsen [Sun, 26 Jun 2011 22:21:48 +0000 (22:21 +0000)]
Merge changes made in Gnus trunk.

gnus-art.el (gnus-article-stop-animations): New function to stop any animations going on at article exit time.
gnus-registry.el (gnus-registry-user-format-function-M): Reinstate, since removing it breaks people upgrading.
shr.el (shr-put-image): Use the new interface for animating images.
 (shr-put-image): Animate for 60 seconds.

12 years agoIf the SMTP server supports STARTTLS, but Emacs has no built-in or
Lars Magne Ingebrigtsen [Sun, 26 Jun 2011 21:05:06 +0000 (23:05 +0200)]
If the SMTP server supports STARTTLS, but Emacs has no built-in or
external STARTTLS support, then report this in a sensible fashion to
the user.

12 years agoAdd global-hl-line-sticky-flag (Bug#8323).
Chong Yidong [Sun, 26 Jun 2011 20:25:53 +0000 (16:25 -0400)]
Add global-hl-line-sticky-flag (Bug#8323).

* lisp/hl-line.el (hl-line-sticky-flag): Doc fix.
(global-hl-line-sticky-flag): New option.
(global-hl-line-highlight): Obey it.

12 years ago* lisp/vc/vc.el (vc-revert-show-diff): Default to t.
Chong Yidong [Sun, 26 Jun 2011 19:34:17 +0000 (15:34 -0400)]
* lisp/vc/vc.el (vc-revert-show-diff): Default to t.

12 years agoFix wm_size-hints race between KDE/KWin and Gtk+ 3.
Jan Djärv [Sun, 26 Jun 2011 18:47:07 +0000 (20:47 +0200)]
Fix wm_size-hints race between KDE/KWin and Gtk+ 3.

* emacsgtkfixed.c: State that this is only used with Gtk+3.
(_EmacsFixedPrivate): Remove minwidth/height.
Add struct frame *f.
(emacs_fixed_init): Initialize priv->f.
(get_parent_class, emacs_fixed_set_min_size): Remove.
(emacs_fixed_new): Set priv->f to argument.
(emacs_fixed_get_preferred_width)
(emacs_fixed_get_preferred_height): Use min_width/height from
frames size_hint to set minimum and natural.
(XSetWMSizeHints, XSetWMNormalHints): Override these functions
and use min_width/height from frames size_hint to set
min_width/height (Bug#8919).

* emacsgtkfixed.h: State that this is only used with Gtk+3.
(emacs_fixed_set_min_size): Remove.
(emacs_fixed_new): Take frame as argument.

* gtkutil.c (xg_create_frame_widgets): Pass f to emacs_fixed_new.
(x_wm_set_size_hint): Remove call to emacs_fixed_set_min_size. Fix
indentation.

12 years agoChangeLog fix.
Glenn Morris [Sun, 26 Jun 2011 18:10:51 +0000 (11:10 -0700)]
ChangeLog fix.

12 years agoAvoid bidi-related crashes in Cperl Mode.
Eli Zaretskii [Sun, 26 Jun 2011 17:23:40 +0000 (20:23 +0300)]
Avoid bidi-related crashes in Cperl Mode.

 src/bidi.c (bidi_paragraph_init): Test for ZV_BYTE before calling
 bidi_at_paragraph_end, since fast_looking_at doesn't like to be
 called at ZV.

12 years ago* allout-widgets.el (allout-widgets-post-command-business): Stop decorating
Ken Manheimer [Sun, 26 Jun 2011 16:47:39 +0000 (12:47 -0400)]
* allout-widgets.el (allout-widgets-post-command-business): Stop decorating
intermediate isearch matches.  They're not being undecorated when an
isearch is continued past, and isearch automatically collapses them.  This
leads to "widget leaks", where decorated items accumulate in collapsed
areas.  Lines with lots of hidden widgets can slow down cursor travel,
substantially.  Too much complicated machinery would be needed to ensure
undecoration, so we're doing without this nicety.

(allout-widgets-tally-string): Don't try to do a hash-table-count of
allout-widgets-tally when it's nil.  This eliminates spurious "Error during
redisplay: (wrong-type-argument hash-table-p nil)" warnings in *Messages*
when allout-widgets-maintain-tally is t.

12 years agoFix some more display-buffer related bugs.
Martin Rudalics [Sun, 26 Jun 2011 16:17:30 +0000 (18:17 +0200)]
Fix some more display-buffer related bugs.

* window.el (display-buffer-normalize-argument): Rename to
display-buffer-normalize-arguments.  Handle special meaning of
LABEL argument.  Respect special-display-function when popping
up a new frame.  Fix code searching for a window showing the
buffer on another frame.
(display-buffer-normalize-specifiers): Call
display-buffer-normalize-arguments.
(display-buffer-in-window): Don't undedicate the window if its
buffer remains the same.
Reported by Drew Adams <drew.adams@oracle.com>.
(display-buffer-alist): Add choice for same-window macro
specfier.
(display-buffer): Mention special meaning of LABEL argument in
doc-string.  Fix quoting.  Don't pop up a new frame even as
fallback.

12 years agoMerge changes made in Gnus trunk.
Gnus developers [Sun, 26 Jun 2011 12:41:14 +0000 (12:41 +0000)]
Merge changes made in Gnus trunk.

gnus.texi (Summary Mail Commands): Document `gnus-summary-reply-to-list-with-original'.
auth-source.el (with-auth-source-epa-overrides): Fix compilation error with `find-file-hooks' on Emacs 22.
 (with-auth-source-epa-overrides): Ugly hack to Wrap the `find-file-hook' things in `symbol-value' to avoid compilation warnings on all architectures.
spam.el (spam-stat): Require in a normal fashion without binding `spam-stat-install-hooks' to avoid compilation warnings.
spam-stat.el (spam-stat-install-hooks): Removed.
 (spam-stat-install-hooks): Don't run automatically.
gnus-msg.el (gnus-summary-reply-to-list-with-original): New command and keystroke.

12 years agolisp/bs.el (bs-cycle-next): Pass current buffer to `bury-buffer'.
Juanma Barranquero [Sun, 26 Jun 2011 11:23:23 +0000 (13:23 +0200)]
lisp/bs.el (bs-cycle-next): Pass current buffer to `bury-buffer'.

Fixes: debbugs:8911

12 years agoAuto-commit of generated files.
Glenn Morris [Sun, 26 Jun 2011 10:21:22 +0000 (06:21 -0400)]
Auto-commit of generated files.

12 years ago* lisp/emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
Andreas Schwab [Sun, 26 Jun 2011 08:43:52 +0000 (10:43 +0200)]
* lisp/emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
(Bug#8934)