bpt/emacs.git
12 years agoCC Mode: New "guessing" of style.
Alan Mackenzie [Fri, 1 Jul 2011 09:54:39 +0000 (09:54 +0000)]
CC Mode: New "guessing" of style.

12 years agocc-mode.texi (Guessing the Style): New page.
Alan Mackenzie [Fri, 1 Jul 2011 09:42:55 +0000 (09:42 +0000)]
cc-mode.texi (Guessing the Style): New page.
(Styles): Add a short introduction to above.

12 years ago* process.c: Add defined (HAVE_GSETTINGS) for xgselect.h
Jan Djärv [Fri, 1 Jul 2011 09:18:46 +0000 (11:18 +0200)]
* process.c: Add defined (HAVE_GSETTINGS) for xgselect.h
(wait_reading_process_output): Add defined (HAVE_GSETTINGS) for
xg_select.

* xgselect.c: Add defined (HAVE_GSETTINGS).
(xgselect_initialize): Ditto.

* xsettings.c (store_monospaced_changed): Take new font as arg and
check for change against current_mono_font.
(EMACS_TYPE_SETTINGS): Remove this and related defines.
(emacs_settings_constructor, emacs_settings_get_property)
(emacs_settings_set_property, emacs_settings_class_init)
(emacs_settings_init, gsettings_obj): Remove.
(something_changedCB): New function for HAVE_GSETTINGS.
(something_changedCB): HAVE_GCONF: Call store_monospaced_changed
with value as argument.
(init_gsettings): Check that GSETTINGS_SCHEMA exists before calling
g_settings_new.  Do not create gsettings_obj.
Remove calls to g_settings_bind. Connect something_changedCB to
"changed".

Fixes: debbugs:8967

12 years ago* net/tramp.el (tramp-encoding-command-interactive): New defcustom.
Michael Albinus [Fri, 1 Jul 2011 09:14:31 +0000 (11:14 +0200)]
* net/tramp.el (tramp-encoding-command-interactive): New defcustom.

* net/tramp-sh.el (tramp-maybe-open-connection): Use it.

12 years agoAdd plstore-delete.
Daiki Ueno [Fri, 1 Jul 2011 07:35:39 +0000 (16:35 +0900)]
Add plstore-delete.

* auth-source.el (plstore-delete): Autoload.
(auth-source-plstore-search): Support delete operation.
* plstore.el (plstore-delete): New function.

12 years agognus-draft.el (gnus-draft-clear-marks): Revert last change; mark actually existing...
Katsumi Yamaoka [Fri, 1 Jul 2011 07:29:00 +0000 (07:29 +0000)]
gnus-draft.el (gnus-draft-clear-marks): Revert last change; mark actually existing articles as unread rather than the ones that active asserts.

12 years agoFix license and copyright years.
Glenn Morris [Fri, 1 Jul 2011 06:30:13 +0000 (23:30 -0700)]
Fix license and copyright years.

12 years agoComment-out buffer display obsolescences and fix call in display-buffer.
Martin Rudalics [Fri, 1 Jul 2011 06:24:00 +0000 (08:24 +0200)]
Comment-out buffer display obsolescences and fix call in display-buffer.

* window.el (same-window-buffer-names, same-window-regexps)
(same-window-p, special-display-frame-alist)
(special-display-popup-frame, special-display-function)
(special-display-buffer-names, special-display-regexps)
(special-display-p, pop-up-frame-alist, pop-up-frame-function)
(pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
(split-window-preferred-function, split-height-threshold)
(split-width-threshold, even-window-heights)
(display-buffer-mark-dedicated, window-splittable-p)
(split-window-sensibly, window-safely-shrinkable-p):
Un-obsolete.
(display-buffer): Don't spread args with function specifier
because special-display-popup-frame won't like it.

12 years agoMerge from trunk.
Paul Eggert [Fri, 1 Jul 2011 05:20:09 +0000 (22:20 -0700)]
Merge from trunk.

12 years ago* eval.c (struct backtrace): Simplify and port the data structure.
Paul Eggert [Fri, 1 Jul 2011 05:12:00 +0000 (22:12 -0700)]
* eval.c (struct backtrace): Simplify and port the data structure.

Do not assume that "int nargs : BITS_PER_INT - 2;" produces a
signed bit field, as this assumption is not portable and it makes
Emacs crash when compiled with Sun C 5.8 on sparc.  Do not use
"char debug_on_exit : 1" as this is not portable either; instead,
use the portable "unsigned int debug_on_exit : 1".  Remove unused
member evalargs.  Remove obsolete comments about cc bombing out.

12 years ago* woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
Paul Eggert [Fri, 1 Jul 2011 04:52:27 +0000 (21:52 -0700)]
* woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs

by using time-since and float-time.

12 years ago* vc/ediff-util.el (ediff-calc-command-time): Use time-since
Paul Eggert [Fri, 1 Jul 2011 04:44:40 +0000 (21:44 -0700)]
* vc/ediff-util.el (ediff-calc-command-time): Use time-since

and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
+ NNN microseconds".

12 years ago* type-break.el (type-break-time-sum): Rewrite using time-add.
Paul Eggert [Fri, 1 Jul 2011 04:36:40 +0000 (21:36 -0700)]
* type-break.el (type-break-time-sum): Rewrite using time-add.

12 years agognus-draft.el (gnus-draft-clear-marks): Mark deleted articles as read.
Katsumi Yamaoka [Fri, 1 Jul 2011 04:08:50 +0000 (04:08 +0000)]
gnus-draft.el (gnus-draft-clear-marks): Mark deleted articles as read.

12 years ago* lisp/window.el (bury-buffer): Don't iconify the only frame.
Stefan Monnier [Fri, 1 Jul 2011 03:48:44 +0000 (23:48 -0400)]
* lisp/window.el (bury-buffer): Don't iconify the only frame.
(switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.

12 years ago* eshell/em-smart.el (eshell-smart-display-navigate-list): Add mouse-yank-primary.
Chong Yidong [Fri, 1 Jul 2011 03:38:28 +0000 (23:38 -0400)]
* eshell/em-smart.el (eshell-smart-display-navigate-list): Add mouse-yank-primary.

12 years ago* progmodes/cfengine3.el: New file to support CFEngine 3.x.
Ted Zlatanov [Fri, 1 Jul 2011 03:29:50 +0000 (22:29 -0500)]
* progmodes/cfengine3.el: New file to support CFEngine 3.x.

12 years ago* lisp/emacs-lisp/find-func.el (find-library--load-name): New fun.
Stefan Monnier [Fri, 1 Jul 2011 03:15:02 +0000 (23:15 -0400)]
* lisp/emacs-lisp/find-func.el (find-library--load-name): New fun.
(find-library-name): Use it to find relative load names when provided
absolute file name.

Fixes: debbugs:8803

12 years agoFix commit 2011-07-01T01:34:38Z!ueno@unixuser.org.
Daiki Ueno [Fri, 1 Jul 2011 02:07:32 +0000 (11:07 +0900)]
Fix commit 2011-07-01T01:34:38Z!ueno@unixuser.org.

12 years ago* play/hanoi.el (hanoi-current-time-float): Remove.
Paul Eggert [Fri, 1 Jul 2011 01:55:02 +0000 (18:55 -0700)]
* play/hanoi.el (hanoi-current-time-float): Remove.

All uses replaced by float-time.

12 years ago* nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
Paul Eggert [Fri, 1 Jul 2011 01:52:41 +0000 (18:52 -0700)]
* nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.

This yields a more-accurate answer.
(rng-time-to-float): Remove; no longer needed.

12 years ago* nntp.el (nntp-record-command): Use format-time-string.
Paul Eggert [Fri, 1 Jul 2011 01:49:43 +0000 (18:49 -0700)]
* nntp.el (nntp-record-command): Use format-time-string.

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 agoAdd public key encryption support to plstore.
Daiki Ueno [Fri, 1 Jul 2011 01:34:38 +0000 (10:34 +0900)]
Add public key encryption support to plstore.

* plstore.el (plstore-select-keys, plstore-encrypt-to): New variable.
(plstore-save): Support public key encryption.
(plstore--init-from-buffer): New function.
(plstore-open): Use it; fix error when opening a non-existent file.
(plstore-revert): Use plstore--init-from-buffer.

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* auth-source.el (auth-source-backend): Fix :initarg for data slot.
Daiki Ueno [Fri, 1 Jul 2011 01:25:21 +0000 (10:25 +0900)]
* auth-source.el (auth-source-backend): Fix :initarg for data slot.

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'.