bpt/emacs.git
12 years ago* vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
Lars Magne Ingebrigtsen [Sun, 3 Jul 2011 01:15:38 +0000 (03:15 +0200)]
* vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
for consistency with the other vc buffers (bug#6197).
(vc-checkin): Ditto.

12 years ago* tutorials/TUTORIAL.zh: Remove spurious ")" character on the
Lars Magne Ingebrigtsen [Sun, 3 Jul 2011 01:05:49 +0000 (03:05 +0200)]
* tutorials/TUTORIAL.zh: Remove spurious ")" character on the
first line.

12 years ago* longlines.el (longlines-mode): Document what ARG does.
Lars Magne Ingebrigtsen [Sun, 3 Jul 2011 00:59:01 +0000 (02:59 +0200)]
* longlines.el (longlines-mode): Document what ARG does.

Fixes: debbugs:6150

12 years agoMerge changes made in Gnus trunk.
Lars Magne Ingebrigtsen [Sun, 3 Jul 2011 00:24:28 +0000 (00:24 +0000)]
Merge changes made in Gnus trunk.

gnus.el (gnus-list-debbugs): New command.
gnus-group.el (gnus-bug-group-download-format-alist): Get the mboxstat instead of the maintbox, since the stat seems to be fuller.
gnus-msg.el (gnus-configure-posting-styles): Don't try to select dead summary buffers.
message.el (message-get-reply-headers): Delete all duplicates, instead of the first.
 (message-get-reply-headers): Ensure that we have progress while deleting duplicates.
gnus-msg.el (gnus-configure-posting-styles): Get the local gnus-posting-style value from the summary buffer to make it easier to make that a per-buffer conf.

12 years agoStyle fixes for auth-source.el.
Daiki Ueno [Sat, 2 Jul 2011 23:53:45 +0000 (08:53 +0900)]
Style fixes for auth-source.el.

* auth-source.el (auth-source-token-passphrase-callback-function):
Reindent.
(epg-context-operation): Remove unnecessary autoload.

12 years agoClarify that SETFUNCTION is only used in the Customize user interface
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 23:52:35 +0000 (01:52 +0200)]
Clarify that SETFUNCTION is only used in the Customize user interface
(bug#6089).

12 years agoFix corner case in prefix-arg handling for mouse events (Bug#1586).
Chong Yidong [Sat, 2 Jul 2011 23:40:04 +0000 (19:40 -0400)]
Fix corner case in prefix-arg handling for mouse events (Bug#1586).

* src/keyboard.c (command_loop_1): If a down-mouse event is unbound,
leave any prefix arg for the up event.

12 years ago* progmodes/flymake.el (flymake-mode): If the buffer isn't
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 22:55:41 +0000 (00:55 +0200)]
* progmodes/flymake.el (flymake-mode): If the buffer isn't
associated with a file, refuse to run instead of erroring out
(bug#6084).

12 years ago* textmodes/fill.el (fill-region): Remove the "Ordinarily" from
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 21:42:49 +0000 (23:42 +0200)]
* textmodes/fill.el (fill-region): Remove the "Ordinarily" from
the doc string, since it appears that using `fill-column' always
controls the width (bug#7845).

12 years agoTypo fix.
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 21:38:52 +0000 (23:38 +0200)]
Typo fix.

12 years ago* display.texi (Showing Images): Mention the point of sliced images (bug bug#7836).
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 21:38:19 +0000 (23:38 +0200)]
* display.texi (Showing Images): Mention the point of sliced images (bug bug#7836).

12 years ago* simple.el (shell-command-on-region): Say where the error output
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 20:59:18 +0000 (22:59 +0200)]
* simple.el (shell-command-on-region): Say where the error output
went if `shell-command-default-error-buffer' is set.

Fixes: debbugs:6857

12 years ago* allout.el (allout-yank-processing): Adjust cursor position for
Ken Manheimer [Sat, 2 Jul 2011 17:39:41 +0000 (13:39 -0400)]
* allout.el (allout-yank-processing): Adjust cursor position for
backwards-deleted space.

12 years agoFix incorrect usage of @kindex.
Eli Zaretskii [Sat, 2 Jul 2011 17:18:16 +0000 (20:18 +0300)]
Fix incorrect usage of @kindex.

 doc/lispref/variables.texi (Defining Variables, Void Variables)
 (Constant Variables): Fix incorrect usage of @kindex.

12 years ago(Defining Variables): Use @findex for functions.
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 17:10:29 +0000 (19:10 +0200)]
(Defining Variables): Use @findex for functions.

12 years agoRemove spurious newline introduced by last checkin.
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 16:20:15 +0000 (18:20 +0200)]
Remove spurious newline introduced by last checkin.

12 years ago* lread.c (syms_of_lread): Mention single symbols defined by
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 16:18:24 +0000 (18:18 +0200)]
* lread.c (syms_of_lread): Mention single symbols defined by
`defvar' or `defconst' (bug#7154).

12 years ago* minibuffer.el (completion-in-region): Document PREDICATE
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 16:07:30 +0000 (18:07 +0200)]
* minibuffer.el (completion-in-region): Document PREDICATE
(bug#7136).

12 years agoTypo fix.
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 15:43:04 +0000 (17:43 +0200)]
Typo fix.

12 years ago* dired.texi (Subdirectories in Dired): Clarify the `C-u k'
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 15:42:37 +0000 (17:42 +0200)]
* dired.texi (Subdirectories in Dired): Clarify the `C-u k'
doesn't actually delete any files (bug#7125).

12 years ago* variables.texi (Defining Variables): Add an index entry for
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 15:32:03 +0000 (17:32 +0200)]
* variables.texi (Defining Variables): Add an index entry for
`set-variable' (bug#7262).

12 years ago* lib-src/emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
Jason Rumney [Sat, 2 Jul 2011 15:07:57 +0000 (23:07 +0800)]
* lib-src/emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
Windows.

Fixes: debbugs:5486

12 years ago(Frequire): Mention get-load-suffixes.
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 14:34:45 +0000 (16:34 +0200)]
(Frequire): Mention get-load-suffixes.

12 years ago* fns.c (Frequire): Mention .el.gz files.
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 14:30:52 +0000 (16:30 +0200)]
* fns.c (Frequire): Mention .el.gz files.

Fixes: debbugs:7314

12 years ago* frames.texi (Basic Parameters): Document the `explicit-name'
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 14:14:57 +0000 (16:14 +0200)]
* frames.texi (Basic Parameters): Document the `explicit-name'
parameter (bug#6951).

12 years ago* info-look.el (info-lookup-add-help): Clarify that ARGS is a list
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 14:05:38 +0000 (16:05 +0200)]
* info-look.el (info-lookup-add-help): Clarify that ARGS is a list
of keyword/argument pairs (bug#6904).

12 years ago* replace.el (multi-occur): Mention
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 13:53:53 +0000 (15:53 +0200)]
* replace.el (multi-occur): Mention
`multi-occur-in-matching-buffers' in the doc string.

Fixes: debbugs:7566

12 years ago* picture-xtra.texi (Rectangles in Picture): Clarify the prefix
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 13:40:21 +0000 (15:40 +0200)]
* picture-xtra.texi (Rectangles in Picture): Clarify the prefix
argument for `C-c C-k' (bug#7391).

12 years ago* customize.texi (Type Keywords): Clarify that :value provides a
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 13:36:11 +0000 (15:36 +0200)]
* customize.texi (Type Keywords): Clarify that :value provides a
default value for all types.

Fixes: debbugs:7386

12 years ago(dired-mark-if): Make the message about whether it's marking or unmarking clearer...
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 13:28:19 +0000 (15:28 +0200)]
(dired-mark-if): Make the message about whether it's marking or unmarking clearer (bug#8523)

12 years agoMerge changes made in Gnus trunk.
Gnus developers [Sat, 2 Jul 2011 13:26:49 +0000 (13:26 +0000)]
Merge changes made in Gnus trunk.

nnir.el (nnir-run-imap): Allow halting a search when an article is found by setting `shortcut' in 'query.
 (nnir-request-article): Use `shortcut' setting when requesting article by Message-ID.
gnus-msg.el (gnus-bug): Give the Version and Package headers to debbugs with the X-Debbugs-Package and X-Debbugs-Version headers.  Bring the pseudo-headers back too.

12 years ago* frames.texi (Fonts): Mention "C-u C-x =" to find out what font
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 13:17:06 +0000 (15:17 +0200)]
* frames.texi (Fonts): Mention "C-u C-x =" to find out what font
you're currently using.

Fixes: debbugs:8489

12 years ago* streams.texi (Output Functions): Document `pp'.
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 13:08:07 +0000 (15:08 +0200)]
* streams.texi (Output Functions): Document `pp'.

12 years ago* disp-table.el (display-table-print-array): New function.
Lars Magne Ingebrigtsen [Sat, 2 Jul 2011 12:27:53 +0000 (14:27 +0200)]
* disp-table.el (display-table-print-array): New function.
(describe-display-table): Use it to print the vectors more pretty
(Bug#8859).

12 years agoRemove clone-number support. Provide clone-of parameter in window states.
Martin Rudalics [Sat, 2 Jul 2011 10:36:48 +0000 (12:36 +0200)]
Remove clone-number support.  Provide clone-of parameter in window states.

* window.h (window): Remove clone_number slot.
* window.c (Fwindow_clone_number, Fset_window_clone_number):
Remove.
(make_parent_window, make_window, saved_window)
(Fset_window_configuration, save_window_save): Don't deal with
clone numbers.
* buffer.c (Qclone_number): Remove declaration.
(sort_overlays, overlay_strings): Don't deal with clone numbers.

* window.el (window-state-get-1): Don't assign clone numbers.
Add clone-of item to list of window parameters.
(window-state-put-2): Don't process clone numbers.
(display-buffer-alist): Fix doc-string.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Sat, 2 Jul 2011 10:23:45 +0000 (06:23 -0400)]
Auto-commit of loaddefs files.

12 years agoAuto-commit of generated files.
Glenn Morris [Sat, 2 Jul 2011 10:18:42 +0000 (06:18 -0400)]
Auto-commit of generated files.

12 years agoAdd multiple inheritance to keymaps.
Stefan Monnier [Sat, 2 Jul 2011 04:27:41 +0000 (00:27 -0400)]
Add multiple inheritance to keymaps.
* src/keymap.c (Fmake_composed_keymap): New function.
(Fset_keymap_parent): Simplify.
(fix_submap_inheritance): Remove.
(access_keymap_1): New function extracted from access_keymap to handle
embedded parents and handle lists of maps.
(access_keymap): Use it.
(Fkeymap_prompt, map_keymap_internal, map_keymap, store_in_keymap)
(Fcopy_keymap): Handle embedded parents.
(Fcommand_remapping, define_as_prefix): Simplify.
(Fkey_binding): Simplify.
(syms_of_keymap): Move minibuffer-local-completion-map,
minibuffer-local-filename-completion-map,
minibuffer-local-must-match-map, and
minibuffer-local-filename-must-match-map to Elisp.
(syms_of_keymap): Defsubr make-composed-keymap.
* src/keyboard.c (menu_bar_items): Use map_keymap_canonical.
(parse_menu_item): Trivial simplification.
* lisp/subr.el (remq): Don't allocate if it's not needed.
(keymap--menu-item-binding, keymap--menu-item-with-binding)
(keymap--merge-bindings): New functions.
(keymap-canonicalize): Use them to refine the canonicalization.
* lisp/minibuffer.el (minibuffer-local-completion-map)
(minibuffer-local-must-match-map): Move initialization from C.
(minibuffer-local-filename-completion-map): Move initialization from C;
don't inherit from anything here.
(minibuffer-local-filename-must-match-map): Make obsolete.
(completing-read-default): Use make-composed-keymap to combine
minibuffer-local-filename-completion-map with either
minibuffer-local-must-match-map or
minibuffer-local-filename-completion-map.

12 years ago* lisp/type-break.el (type-break-time-sum): Use dolist.
Glenn Morris [Fri, 1 Jul 2011 18:21:09 +0000 (14:21 -0400)]
* lisp/type-break.el (type-break-time-sum): Use dolist.
This avoids using a free variable.

12 years agoReplace runtime CL function, as flagged by the compiler.
Glenn Morris [Fri, 1 Jul 2011 18:13:17 +0000 (14:13 -0400)]
Replace runtime CL function, as flagged by the compiler.

* lisp/textmodes/flyspell.el (flyspell-word-search-backward):
Replace CL function.

12 years agoFix last change with indexing coding-systems.
Eli Zaretskii [Fri, 1 Jul 2011 17:59:15 +0000 (20:59 +0300)]
Fix last change with indexing coding-systems.

 doc/emacs/mule.texi (Coding Systems): Move index entries from the previous
 change into their proper places.

12 years ago* lisp/mouse.el (mouse--strip-first-event): New function.
Stefan Monnier [Fri, 1 Jul 2011 17:58:14 +0000 (13:58 -0400)]
* lisp/mouse.el (mouse--strip-first-event): New function.
(function-key-map): Use it to map fringe clicks to normal clicks by default.

12 years agoFix typos that break xsettings.c compilation.
Glenn Morris [Fri, 1 Jul 2011 17:53:59 +0000 (13:53 -0400)]
Fix typos that break xsettings.c compilation.

* configure.in (SETTINGS_CFLAGS, SETTINGS_LIBS) [HAVE_GCONF]: Fix typo.

* src/Makefile.in (SETTINGS_LIBS): Fix typo.

12 years ago* lisp/vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
Stefan Monnier [Fri, 1 Jul 2011 17:45:31 +0000 (13:45 -0400)]
* lisp/vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
(vc-bzr-revision-completion-table): Add support for annotate and date.

12 years ago* lisp/emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
Stefan Monnier [Fri, 1 Jul 2011 16:41:02 +0000 (12:41 -0400)]
* lisp/emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
inherit from parent.

12 years ago* help.texi (Help Files): Document view-external-packages (bug#8902).
Lars Magne Ingebrigtsen [Fri, 1 Jul 2011 14:37:32 +0000 (16:37 +0200)]
* help.texi (Help Files): Document view-external-packages (bug#8902).

12 years ago* mule.texi (Coding Systems): Put a few more of the coding systems into the index.
Lars Magne Ingebrigtsen [Fri, 1 Jul 2011 14:27:29 +0000 (16:27 +0200)]
* mule.texi (Coding Systems): Put a few more of the coding systems into the index.

Fixes: debbugs:8900

12 years agoauth-source.el (auth-source-token-passphrase-callback-function): Simplify and remove...
Daiki Ueno [Fri, 1 Jul 2011 14:05:59 +0000 (14:05 +0000)]
auth-source.el (auth-source-token-passphrase-callback-function): Simplify and remove EPA dependency.

12 years ago(dired-show-file-type): Doc fixup (bug#8818).
Lars Magne Ingebrigtsen [Fri, 1 Jul 2011 13:37:00 +0000 (15:37 +0200)]
(dired-show-file-type): Doc fixup (bug#8818).

12 years agonnir.el (nnir-request-article): Fix error message text.
Andrew Cohen [Fri, 1 Jul 2011 13:14:59 +0000 (13:14 +0000)]
nnir.el (nnir-request-article): Fix error message text.

12 years ago* dired-aux.el (dired-diff): Doc fixup (bug#8816).
Lars Magne Ingebrigtsen [Fri, 1 Jul 2011 12:48:02 +0000 (14:48 +0200)]
* dired-aux.el (dired-diff): Doc fixup (bug#8816).

12 years ago* dired.el (dired-mode): Fix up the doc string as suggested by
Lars Magne Ingebrigtsen [Fri, 1 Jul 2011 11:56:36 +0000 (13:56 +0200)]
* dired.el (dired-mode): Fix up the doc string as suggested by
Drew Adams (bug#8817).

12 years ago* coding.c (Fencode_coding_string): Record the last coding system
Kazuhiro Ito [Fri, 1 Jul 2011 11:03:55 +0000 (13:03 +0200)]
* coding.c (Fencode_coding_string): Record the last coding system
used, as the function doc string says.

Fixes: debbugs:8738

12 years ago* progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
Lars Magne Ingebrigtsen [Fri, 1 Jul 2011 10:33:50 +0000 (12:33 +0200)]
* progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
cookie, since the manual says that it should be possible to add
this function to `find-file-hook'.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Fri, 1 Jul 2011 10:24:49 +0000 (06:24 -0400)]
Auto-commit of loaddefs files.

12 years agoAuto-commit of generated files.
Glenn Morris [Fri, 1 Jul 2011 10:19:04 +0000 (06:19 -0400)]
Auto-commit of generated files.

12 years ago* progmodes/cfengine.el: Minor update to docs.
Ted Zlatanov [Fri, 1 Jul 2011 10:12:47 +0000 (05:12 -0500)]
* progmodes/cfengine.el: Minor update to docs.

12 years agoMoved `cfengine3-mode' to cfengine.el. Removed cfengine3.el.
Ted Zlatanov [Fri, 1 Jul 2011 10:09:52 +0000 (05:09 -0500)]
Moved `cfengine3-mode' to cfengine.el.  Removed cfengine3.el.

* progmodes/cfengine.el: Moved all cfengine3.el functionality
here.  Noted Ted Zlatanov as the maintainer.
(cfengine-common-settings, cfengine-common-syntax): New functions
to set up common things between `cfengine-mode' and
`cfengine3-mode'.
(cfengine3-mode): New mode.
(cfengine3-defuns cfengine3-defuns-regex
(cfengine3-class-selector-regex cfengine3-category-regex)
(cfengine3-vartypes cfengine3-font-lock-keywords)
(cfengine3-beginning-of-defun, cfengine3-end-of-defun)
(cfengine3-indent-line): Added from cfengine3.el.

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.