Paul Eggert [Wed, 6 Jul 2011 23:29:03 +0000 (16:29 -0700)]
Add Bug#.
Paul Eggert [Wed, 6 Jul 2011 18:04:23 +0000 (11:04 -0700)]
Use pthread_sigmask, not sigprocmask.
* callproc.c (Fcall_process):
* sysdep.c (sys_sigblock, sys_sigunblock, sys_sigsetmask):
* process.c (create_process):
sigprocmask is portable only for single-threaded applications, and
Emacs can be multi-threaded when it uses GTK.
Paul Eggert [Wed, 6 Jul 2011 17:58:37 +0000 (10:58 -0700)]
Add gnulib support for pthread_sigmask.
* Makefile.in (GNULIB_MODULES): Add pthread_sigmask.
(GNULIB_TOOL_FLAGS): Avoid sigprocmask. Emacs does its own
implementation of 'sigprocmask' on Windows, and it assumes
'sigprocmask' on non-Windows hosts, so it doesn't need the
sigprocmask module.
* lib/signal.in.h, m4/pthread_sigmask.m4, m4/signal_h.m4:
New files, automatically imported from gnulib.
* lib/gnulib.mk, m4/gl-comp.m4: Automatically-imported update
due to the above changes.
* .bzrignore: Add lib/signal.h.
Lars Magne Ingebrigtsen [Wed, 6 Jul 2011 16:50:34 +0000 (18:50 +0200)]
* NEWS: Clarify that `smtpmail-starttls-credentials' doesn't exist.
Richard M. Stallman [Wed, 6 Jul 2011 16:48:37 +0000 (12:48 -0400)]
Fix rmail mime search bug when entity is a string.
Lars Magne Ingebrigtsen [Wed, 6 Jul 2011 16:46:27 +0000 (18:46 +0200)]
* emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
of faces when `M-C-x'-ing their definitions. Also
clean up the code slightly.
Fixes: debbugs:8378
Richard M. Stallman [Wed, 6 Jul 2011 16:44:33 +0000 (12:44 -0400)]
rmailmm.el: record truncated mime entities.
Paul Eggert [Wed, 6 Jul 2011 16:19:38 +0000 (09:19 -0700)]
* m4/alloca.m4: Merge whitespace changes from gnulib.
Lars Magne Ingebrigtsen [Wed, 6 Jul 2011 15:49:19 +0000 (17:49 +0200)]
* progmodes/grep.el (rgrep): Don't bind `process-connection-type', because that makes the colours go away.
Lars Magne Ingebrigtsen [Wed, 6 Jul 2011 15:45:00 +0000 (17:45 +0200)]
(sendmail-query-once): Add an autoload cookie.
Lars Magne Ingebrigtsen [Wed, 6 Jul 2011 15:39:32 +0000 (17:39 +0200)]
* mail/sendmail.el (send-mail-function): Change the default to `sendmail-query-once'.
Lars Magne Ingebrigtsen [Wed, 6 Jul 2011 15:09:11 +0000 (17:09 +0200)]
* net/network-stream.el (network-stream-open-starttls): Try using
a plain connection even if the server offered STARTTLS, and we
kinda wanted to use it, if Emacs doesn't have any STARTTLS
capability. This should make smtpmail.el work in slightly more
configurations.
Michael Albinus [Wed, 6 Jul 2011 09:48:20 +0000 (11:48 +0200)]
* net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window): New defun.
* net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
Julien Danjou [Wed, 6 Jul 2011 07:47:15 +0000 (09:47 +0200)]
* url-cache.el (url-cache-extract): Set buffer multibyte flag to
nil (bug#8827).
Michael Mauger [Wed, 6 Jul 2011 03:51:48 +0000 (23:51 -0400)]
* progmodes/sql.el: Version 3.0
(sql-product-alist): Added product :completion-object,
:completion-column, and :statement attributes.
(sql-mode-menu, sql-interactive-mode-map): Fixed List entries.
(sql-mode-syntax-table): Mark all punctuation.
(sql-font-lock-keywords-builder): Temporarily removed fallback on
ansi keywords.
(sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
(sql-mode-oracle-font-lock-keywords): Improved.
(sql-oracle-show-reserved-words): New function for development.
(sql-product-font-lock): Simplify for source code buffers.
(sql-product-syntax-table, sql-product-font-lock-syntax-alist):
New functions.
(sql-highlight-product): Set product specific syntax table.
(sql-mode-map): Added statement movement functions.
(sql-ansi-statement-starters, sql-oracle-statement-starters): New
variable.
(sql-statement-regexp, sql-beginning-of-statement)
(sql-end-of-statement, sql-signum): New functions.
(sql-buffer-live-p, sql=find-sqli-buffer): Added CONNECTION
parameter.
(sql-show-sqli-buffer): Bug fix.
(sql-interactive-mode): Store connection data as buffer local.
(sql-connect): Added NEW-NAME parameter. Redesigned interaction
with sql-interactive-mode.
(sql-save-connection): Save buffer local settings.
(sql-connection-menu-filter): Changed menu entry name.
(sql-product-interactive): Bug fix.
(sql-preoutput-hold): New variable.
(sql-interactive-remove-continuation-prompt): Bug fixes.
(sql-debug-redirect): New variable.
(sql-str-literal): New function.
(sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
Redesigned.
(sql-oracle-save-settings, sql-oracle-restore-settings)
(sql-oracle-list-all, sql-oracle-list-table): New functions.
(sql-completion-object, sql-completion-column)
(sql-completion-sqlbuf): New variables.
(sql-build-completions-1, sql-build-completions)
(sql-try-completion): New functions.
(sql-read-table-name): Use them.
(sql-contains-names): New buffer local variable.
(sql-list-all, sql-list-table): Use it.
(sql-oracle-completion-types): New variable.
(sql-oracle-completion-object, sql-sqlite-completion-object)
(sql-postgres-completion-object): New functions.
Glenn Morris [Wed, 6 Jul 2011 02:46:22 +0000 (19:46 -0700)]
* lisp/window.el (pop-to-buffer): Doc fix.
Glenn Morris [Wed, 6 Jul 2011 02:45:24 +0000 (19:45 -0700)]
* gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Silence compiler.
Glenn Morris [Wed, 6 Jul 2011 02:42:10 +0000 (19:42 -0700)]
Merge from emacs-23; up to 2010-06-16T23:27:20Z!jay.p.belanger@gmail.com.
Glenn Morris [Wed, 6 Jul 2011 02:34:08 +0000 (19:34 -0700)]
ChangeLog fix.
Lars Magne Ingebrigtsen [Tue, 5 Jul 2011 23:06:11 +0000 (23:06 +0000)]
gnus.el (gnus-summary-line-format): Link to "Marking Articles" instead of "Read Articles".
Lars Magne Ingebrigtsen [Tue, 5 Jul 2011 22:49:25 +0000 (22:49 +0000)]
gnus.texi (Filtering New Groups): Clarify how simple the "options -n" format is.
(Agent Expiry): Remove mention of `gnus-request-expire-articles', which is internal.
Gnus developers [Tue, 5 Jul 2011 22:27:16 +0000 (22:27 +0000)]
Merge changes made in Gnus trunk.
gnus.texi (Expiring Mail): Document gnus-auto-expirable-marks.
nnir.el (nnir-notmuch-program, nnir-notmuch-additional-switches, nnir-notmuch-remove-prefix, nnir-engines, nnir-run-notmuch): New nnir `notmuch' backend.
mm-decode.el (mm-text-html-renderer): Doc fix.
gnus-msg.el (gnus-bug): Fix the MML tag.
pop3.el (pop3-open-server): -ERR is a valid response to CAPA.
gnus-start.el (gnus-get-unread-articles): Don't connect to the secondary methods if started with `gnus-no-server'.
gnus-group.el (gnus-read-ephemeral-bug-group): Allow fetching several bug reports at once.
Lars Magne Ingebrigtsen [Tue, 5 Jul 2011 21:03:54 +0000 (23:03 +0200)]
* gnus.el (gnus-refer-article-method): Remove mention of nnspool, which
no longer is much used.
Chong Yidong [Tue, 5 Jul 2011 20:44:55 +0000 (16:44 -0400)]
* lisp/button.el (button): Inherit from link face.
Suggested by Dan Nicolaescu.
Stefan Monnier [Tue, 5 Jul 2011 18:58:33 +0000 (14:58 -0400)]
* lisp/progmodes/gdb-mi.el: Fit in 80 columns.
(gdb-setup-windows, gdb-restore-windows): Avoid other-window and
switch-to-buffer.
Stefan Monnier [Tue, 5 Jul 2011 18:56:31 +0000 (14:56 -0400)]
* lisp/progmodes/which-func.el (which-func-ff-hook): Don't output a message
if imenu is simply not configured.
Fixes: debbugs:8941
Ken Manheimer [Tue, 5 Jul 2011 18:54:08 +0000 (14:54 -0400)]
* allout.el (allout-post-undo-hook): New allout outline-change event hook
to signal undo activity.
(allout-post-command-business): Run allout-post-undo-hook if an undo just
occurred.
(allout-after-copy-or-kill-hook), (allout-mode): Minor docstring changes.
* allout-widgets.el (allout-widgets-after-undo-function): Ensure the
integrity of the current item's decoration after it has been in the
vicinity of an undo.
(allout-widgets-mode): Include allout-widgets-after-undo-function on the
new allout-post-undo-hook.
Stefan Monnier [Tue, 5 Jul 2011 18:26:33 +0000 (14:26 -0400)]
* lisp/emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
Let define-derived-mode define it.
* lisp/emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
cycles of abbrev-table inheritance.
Fixes: debbugs:8998
Roland Winkler [Tue, 5 Jul 2011 17:44:15 +0000 (12:44 -0500)]
lisp/textmodes/bibtex.el: add support for biblatex
Stefan Monnier [Tue, 5 Jul 2011 15:31:22 +0000 (11:31 -0400)]
Fix some uses of switch-to-buffer.
* lisp/progmodes/compile.el (compilation-goto-locus):
* lisp/net/tramp-cmds.el (tramp-append-tramp-buffers):
* lisp/bs.el (bs-cycle-next, bs-cycle-previous):
* lisp/bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
* lisp/bindings.el (mode-line-other-buffer):
* lisp/autoinsert.el (auto-insert):
* lisp/arc-mode.el (archive-extract):
* lisp/abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
Chong Yidong [Tue, 5 Jul 2011 15:23:15 +0000 (11:23 -0400)]
Revert last change (2011-07-05T14:25:21Z!larsi@gnus.org).
Juanma Barranquero [Tue, 5 Jul 2011 15:09:19 +0000 (17:09 +0200)]
* emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
Fix check of `emacs-lock-unlockable-modes'.
Coerce true values of `emacs-lock--try-unlocking' to t.
Lars Magne Ingebrigtsen [Tue, 5 Jul 2011 14:25:21 +0000 (16:25 +0200)]
* font-lock.el (font-lock-builtin-face): Change from Orchid to
MediumBlue on light-coloured backgrounds to avoid confusion with
the doc string.
Fixes: debbugs:6693
Juanma Barranquero [Tue, 5 Jul 2011 12:05:06 +0000 (14:05 +0200)]
lisp/emacs-lock.el: Add back code accidentally replaced with garbage.
Juanma Barranquero [Tue, 5 Jul 2011 11:38:44 +0000 (13:38 +0200)]
lisp/emacs-lock.el: New file. Old one moved to lisp/obsolete/.
Glenn Morris [Tue, 5 Jul 2011 10:24:56 +0000 (06:24 -0400)]
Auto-commit of loaddefs files.
Glenn Morris [Tue, 5 Jul 2011 10:19:43 +0000 (06:19 -0400)]
Auto-commit of generated files.
Julien Danjou [Tue, 5 Jul 2011 10:02:48 +0000 (12:02 +0200)]
* textmodes/rst.el (rst-define-level-faces): Use `facep' rather
than `boundp' to check if face is set.
Juanma Barranquero [Tue, 5 Jul 2011 09:51:56 +0000 (11:51 +0200)]
Fix typos.
Jan Djärv [Tue, 5 Jul 2011 08:21:38 +0000 (10:21 +0200)]
Use GConf and GSettings both, check GConf/GSettings toolbar style and font name.
* configure.in (HAVE_GCONF): Allow both HAVE_GCONF and HAVE_GSETTINGS.
* lisp/dynamic-setting.el (dynamic-setting-handle-config-changed-event):
Update doc string.
* src/xsettings.c: Use both GConf and GSettings if both are available.
(store_config_changed_event): Add comment.
(dpyinfo_valid, store_font_name_changed, map_tool_bar_style)
(store_tool_bar_style_changed): New functions.
(store_monospaced_changed): Add comment. Call dpyinfo_valid.
(struct xsettings): Move font inside HAVE_XFT.
(GSETTINGS_TOOL_BAR_STYLE, GSETTINGS_FONT_NAME): New defines.
(GSETTINGS_MONO_FONT): Renamed from SYSTEM_MONO_FONT.
Move inside HAVE_XFT.
(something_changed_gsettingsCB): Renamed from something_changedCB.
Check for changes in GSETTINGS_TOOL_BAR_STYLE and GSETTINGS_FONT_NAME
also.
(GCONF_TOOL_BAR_STYLE, GCONF_FONT_NAME): New defines.
(GCONF_MONO_FONT): Renamed from SYSTEM_MONO_FONT. Move inside HAVE_XFT.
(something_changed_gconfCB): Renamed from something_changedCB.
Check for changes in GCONF_TOOL_BAR_STYLE and GCONF_FONT_NAME also.
(parse_settings): Move check for font inside HAVE_XFT.
(read_settings, apply_xft_settings): Add comment.
(read_and_apply_settings): Add comment. Call map_tool_bar_style and
store_tool_bar_style_changed. Move check for font inside HAVE_XFT and
call store_font_name_changed.
(xft_settings_event): Add comment.
(init_gsettings): Add comment. Get values for GSETTINGS_TOOL_BAR_STYLE
and GSETTINGS_FONT_NAME. Move check for fonts within HAVE_XFT.
(init_gconf): Add comment. Get values for GCONF_TOOL_BAR_STYLE
and GCONF_FONT_NAME. Move check for fonts within HAVE_XFT.
(xsettings_initialize): Call init_gsettings last.
(xsettings_get_system_font, xsettings_get_system_normal_font): Add
comment.
Manoj Srivastava [Tue, 5 Jul 2011 03:02:06 +0000 (23:02 -0400)]
* themes/manoj-dark-theme.el (manoj-dark): New file.
Paul Eggert [Tue, 5 Jul 2011 02:51:15 +0000 (19:51 -0700)]
Random fixes. E.g., (random) never returned negative values.
* fns.c (Frandom): Use GET_EMACS_TIME for random seed, and add the
subseconds part to the entropy, as that's a bit more random.
Prefer signed to unsigned, since the signedness doesn't matter and
in general we prefer signed. When given a limit, use a
denominator equal to INTMASK + 1, not to VALMASK + 1, because the
latter isn't right if USE_2_TAGS_FOR_INTS.
* sysdep.c (get_random): Return a value in the range 0..INTMASK,
not 0..VALMASK. Don't discard "excess" bits that random () returns.
Juanma Barranquero [Mon, 4 Jul 2011 22:40:03 +0000 (00:40 +0200)]
lisp/server.el: Catch quit and close the connection (bug#8942).
Ken Manheimer [Mon, 4 Jul 2011 22:16:10 +0000 (18:16 -0400)]
* allout.el (allout-encrypt-unencrypted-on-saves): Do not provide insecure
exception for current topic. Also note that auto-saves are handled
differently.
(allout-auto-save-temporarily-disabled), (allout-just-did-undo): State
variables for tracking auto-save inhibition situation.
(allout-write-contents-hook-handler): Rename from
'allout-write-file-hook-handler', and describe how it depends on
write-contents-functions sensitivity to non-nil value to prevent file
write.
(allout-auto-save-hook-handler): Remove. auto-save does not check this in
individual buffers, only in the starting buffer, so this is not the right
way for us to inhibit auto-save in a buffer according to its condition.
(allout-mode): Use new allout-write-contents-hook-handler, and only with
write-contents-functions. Remove auto-save provisions - they're
implemented elsewhere.
(allout-before-change-handler): If undo is in progress, note that for
attention of allout-post-command-business.
(allout-post-command-business): If the command we're following was an undo,
check for change in the status of encrypted items and adjust auto-save
inhibitions accordingly.
(allout-toggle-subtree-encryption): Adjust auto-save inhibition according
to whether there are or aren't any plain-text topics pending encryption.
(allout-inhibit-auto-save-info-for-decryption): Adjust buffer-saved-size
and some allout state to inhibit auto-saves if there are plain-text topics
pending encryption.
(allout-maybe-resume-auto-save-info-after-encryption): Adjust
buffer-saved-size and some allout state to not inhibit auto-saves if there
are no longer any plain-text topics pending encryption.
(allout-next-topic-pending-encryption), (allout-encrypt-decrypted): No
longer provide for exemption of the current topic.
Juri Linkov [Mon, 4 Jul 2011 22:11:40 +0000 (01:11 +0300)]
Add 7z operations to delete and save changed members.
* lisp/arc-mode.el (archive-7z-expunge, archive-7z-update):
New defcustoms.
(archive-7z-write-file-member): New function.
(archive-7z-summarize): Fix the number of dashes in the
listing output.
Fixes: debbugs:8968
Chong Yidong [Mon, 4 Jul 2011 20:45:22 +0000 (16:45 -0400)]
* bindings.el: Ignore next-buffer and previous-buffer in minibuffer-local-map.
Stefan Monnier [Mon, 4 Jul 2011 20:08:02 +0000 (16:08 -0400)]
* lisp/pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el.
Fixes: debbugs:8958
Chong Yidong [Mon, 4 Jul 2011 20:00:56 +0000 (16:00 -0400)]
* font-lock.el (font-lock-builtin-face): Change light background color
to dark slate blue.
Fixes: debbugs:6693
Stefan Monnier [Mon, 4 Jul 2011 18:31:29 +0000 (14:31 -0400)]
* textprop.c (text_property_stickiness): Obey Vtext_property_default_nonsticky.
(syms_of_textprop): Add `display' to Vtext_property_default_nonsticky.
* w32fns.c (syms_of_w32fns):
* xfns.c (syms_of_xfns): Don't Add `display' since it's there by default.
Wang Diancheng [Mon, 4 Jul 2011 17:50:55 +0000 (13:50 -0400)]
* lisp/progmodes/gdb-mi.el (gdb): Use completion-at-point.
Paul Eggert [Mon, 4 Jul 2011 17:50:12 +0000 (10:50 -0700)]
* fileio.c (barf_or_query_if_file_exists): Use S_ISDIR.
This is more efficient than Ffile_directory_p and avoids a minor race.
Stefan Monnier [Mon, 4 Jul 2011 16:08:16 +0000 (12:08 -0400)]
* lisp/files.el (find-file): Use pop-to-buffer-same-window.
* lisp/emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
Add switch-to-buffer.
Fixes: debbugs:8911
Darren Hoo [Mon, 4 Jul 2011 15:36:38 +0000 (17:36 +0200)]
* semantic/db.el (semanticdb-file-table-object): Don't bug out on
unconfigured projects if `global-ede-mode' is on.
Fixes: debbugs:8092
Lars Magne Ingebrigtsen [Mon, 4 Jul 2011 15:32:22 +0000 (17:32 +0200)]
* buffer.c (Foverlay_put): Say what the return value is
(bug#7835).
Lars Magne Ingebrigtsen [Mon, 4 Jul 2011 14:34:31 +0000 (16:34 +0200)]
(barf_or_query_if_file_exists): Make the "File is a directory"
error be more correct.
Lars Magne Ingebrigtsen [Mon, 4 Jul 2011 13:44:52 +0000 (15:44 +0200)]
* fileio.c (barf_or_query_if_file_exists): Check first if the file
is a directory before asking whether to use the file name
(bug#7564).
Vivek Dasmohapatra [Mon, 4 Jul 2011 13:23:04 +0000 (15:23 +0200)]
* erc.el (erc-generate-new-buffer-name): Reuse old buffer names
when reconnecting.
Fixes: debbugs:5563
Lars Magne Ingebrigtsen [Mon, 4 Jul 2011 13:11:52 +0000 (13:11 +0000)]
nnimap.el (nnimap-request-scan): Say that splitting has finished.
Michael Albinus [Mon, 4 Jul 2011 12:31:55 +0000 (14:31 +0200)]
* tramp.texi (Cleanup remote connections): Add
`tramp-cleanup-this-connection'.
Lars Magne Ingebrigtsen [Mon, 4 Jul 2011 12:22:39 +0000 (14:22 +0200)]
* fns.c (Frequire): Remove the mention of the .gz files, since
that's installation-specific, but keep the mention of
`get-load-suffixes'.
Lars Magne Ingebrigtsen [Mon, 4 Jul 2011 12:15:16 +0000 (14:15 +0200)]
* isearch.el (isearch-search-fun-function): Clarify further the
meaning of the function returned.
Michael Albinus [Mon, 4 Jul 2011 12:12:38 +0000 (14:12 +0200)]
* net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
* net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
(tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
Use it.
(tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
`tramp-default-remote-path' does not exist.
(tramp-send-command-and-read): New optional argument NOERROR.
(tramp-open-connection-setup-interactive-shell)
(tramp-get-remote-path, tramp-get-remote-stat): Use it.
(tramp-get-remote-readlink): Do not mask with `ignore-errors'.
(tramp-process-sentinel): Flush also process' connection property.
(tramp-sh-handle-start-file-process): Do not set process
sentinel. It is done now ...
(tramp-maybe-open-connection): ... here. (Bug#8929)
MON KEY [Mon, 4 Jul 2011 11:44:36 +0000 (13:44 +0200)]
* play/animate.el (animate-string): Doc fixes and allow changing
the buffer name.
Fixes: debbugs:5417
Paul Eggert [Mon, 4 Jul 2011 07:44:38 +0000 (00:44 -0700)]
* editfns.c (Fformat_time_string): Don't assume strlen fits in int.
Report string overflow if the output is too long.
Katsumi Yamaoka [Mon, 4 Jul 2011 06:40:46 +0000 (06:40 +0000)]
nndraft.el: Require gnus-group.
(nndraft-request-list): Declare.
Paul Eggert [Mon, 4 Jul 2011 06:31:40 +0000 (23:31 -0700)]
Merge: timer.el: Use time-date fns rather than rolling our own.
This is simpler and helps future-proof the code.
* emacs-lisp/timer.el (timer-until): Use time-subtract and float-time.
(timer--time-less-p): Use time-less-p.
Paul Eggert [Mon, 4 Jul 2011 06:25:23 +0000 (23:25 -0700)]
* emacs-lisp/timer.el (timer--time-less-p): Use time-less-p.
Paul Eggert [Mon, 4 Jul 2011 06:23:54 +0000 (23:23 -0700)]
* emacs-lisp/timer.el (timer-until): Use time-subtract and float-time.
Bill Wohler [Mon, 4 Jul 2011 02:58:14 +0000 (19:58 -0700)]
Merge from trunk.
Bill Wohler [Mon, 4 Jul 2011 02:53:16 +0000 (19:53 -0700)]
* mh-e.el: Just require mh-loaddefs since loading it in an
eval-and-compile block causes compilation errors in XEmacs.
Juanma Barranquero [Mon, 4 Jul 2011 02:47:04 +0000 (04:47 +0200)]
src/gnutls.c: Remove bogus references to :verify-error.
* gnutls.c (Fgnutls_boot): Don't mention :verify-error.
(syms_of_gnutls): Remove duplicate DEFSYM for
Qgnutls_bootprop_verify_hostname_error, an error for
Qgnutls_bootprop_verify_error (which is no longer used).
Katsumi Yamaoka [Mon, 4 Jul 2011 02:19:08 +0000 (02:19 +0000)]
nndraft.el (nndraft-update-unread-articles): Don't show group having no unread article unless it matches gnus-permanently-visible-groups.
Bill Wohler [Mon, 4 Jul 2011 02:17:42 +0000 (19:17 -0700)]
* mh-acros.el, mh-comp.el, mh-e.el, mh-folder.el, mh-letter.el:
* mh-mime.el, mh-search.el, mh-seq.el: Shush XEmacs compiler in
mh-do-in-xemacs block.
Juanma Barranquero [Mon, 4 Jul 2011 02:14:42 +0000 (04:14 +0200)]
src/eval.c (find_handler_clause): Remove unused parameters.
* eval.c (find_handler_clause): Remove parameters `sig' and `data',
unused since 2011-01-26T20:02:07Z!monnier@iro.umontreal.ca. All callers changed.
Also (re)move comments that are misplaced or no longer relevant.
Katsumi Yamaoka [Mon, 4 Jul 2011 01:14:10 +0000 (01:14 +0000)]
nndraft.el (nndraft-update-unread-articles): New function.
(nndraft-request-associate-buffer): Use it to update the number of unread articles for the nndraft groups in the group buffer when saving or killing a draft message.
Juanma Barranquero [Mon, 4 Jul 2011 01:06:33 +0000 (03:06 +0200)]
lisp/type-break.el (timep): Avoid a byte-compiler warning.
Juanma Barranquero [Mon, 4 Jul 2011 01:04:29 +0000 (03:04 +0200)]
lisp/server.el (server-eval-and-print): Return any result, even nil.
Bill Wohler [Mon, 4 Jul 2011 00:35:48 +0000 (17:35 -0700)]
* mh-compat.el (mh-window-full-height-p): Add compatibility function
for XEmacs.
* mh-show.el (mh-show-msg): Use it, and avoid compiler warning on
XEmacs.
Lars Magne Ingebrigtsen [Mon, 4 Jul 2011 00:33:48 +0000 (00:33 +0000)]
gnus.texi (Checking New Groups): Moved the reference to the right place.
Bill Wohler [Mon, 4 Jul 2011 00:27:22 +0000 (17:27 -0700)]
* mh-compat.el (mh-window-full-height-p): Add compatibility function
for XEmacs.
* mh-show.el (mh-show-msg): Use it, and avoid compiler warning on
XEmacs.
Bill Wohler [Mon, 4 Jul 2011 00:09:44 +0000 (17:09 -0700)]
* mh-letter.el (mh-letter-mode-map, mh-letter-complete)
(mh-complete-word): Remove FIXME comments since these functions are
still needed in other Emacsen. However, they can probably stand to be
generalized like completion-at-point.
(mh-letter-complete-or-space): Remove unused variable.
Paul Eggert [Sun, 3 Jul 2011 23:51:42 +0000 (16:51 -0700)]
* type-break.el: Accept time formats that the builtins accept.
(timep, type-break-time-difference): Accept any format that
float-time accepts, rather than insisting on (HIGH LOW USECS) format.
This is simpler and helps future-proof the code.
(type-break-time-difference): Round rather than ignoring
subseconds components.
Lars Magne Ingebrigtsen [Sun, 3 Jul 2011 23:21:45 +0000 (01:21 +0200)]
* callint.c (Finteractive): Clarify the meaning of "@".
Fixes: debbugs:8813
Lars Magne Ingebrigtsen [Sun, 3 Jul 2011 22:43:50 +0000 (00:43 +0200)]
* info.el (Info-apropos-matches): Make non-interactive, since it
doesn't seem to do anything useful as a command.
Fixes: debbugs:8829
Bill Wohler [Sun, 3 Jul 2011 22:27:19 +0000 (15:27 -0700)]
* mh-compat.el (mh-test-completion): Add compatibility function for
systems without test-completion.
* mh-alias.el (mh-alias-letter-expand-alias): Use it
Katsumi Yamaoka [Sun, 3 Jul 2011 22:24:12 +0000 (22:24 +0000)]
auth-source.el (eieio): Fix last commit.
Gnus developers [Sun, 3 Jul 2011 22:17:49 +0000 (22:17 +0000)]
Merge changes made in Gnus trunk.
gnus.texi (Subscription Methods): Link to "Group Levels" to explain zombies. (Checking New Groups): Ditto (bug#8974).
gnus.texi (Startup Files): Clarify that we're talking about numbered backups, and not actual vc (bug#8975).
gnus-group.el (gnus-read-ephemeral-bug-group): Bind the coding systems to binary before writing and reading the mbox files.
gnus.el (gnus-summary-line-format): Link to the info node for %U instead of trying to list them all (bug#8978).
pop3.el (pop3-open-server): Use :end-of-capability.
gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Make sure that the id is always a number.
gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Hook into debbugs mode, if possible.
Chong Yidong [Sun, 3 Jul 2011 22:16:07 +0000 (18:16 -0400)]
Fix how custom themes handle faces, so the multi-tty/multi-frame case works.
* lisp/custom.el (custom-push-theme): Don't record faces in `changed'
theme; this doesn't work correctly for per-frame face settings.
(disable-theme): Use face-set-after-frame-default to reset faces.
(custom--frame-color-default): New function.
* lisp/frame.el (frame-background-mode, frame-set-background-mode):
Moved from faces.el.
(frame-default-terminal-background): New function.
* src/xfaces.c (Finternal_merge_in_global_face): Modify the foreground
and background color parameters if they have been changed.
Lars Magne Ingebrigtsen [Sun, 3 Jul 2011 22:14:08 +0000 (00:14 +0200)]
* dired.el (dired-flagging-regexp): Removed unused variable
(bug#8769).
Bill Wohler [Sun, 3 Jul 2011 21:44:02 +0000 (14:44 -0700)]
* mh-utils.el:
* mh-mime.el: Shush XEmacs compiler in mh-do-in-xemacs block.
Kevin Ryde [Sun, 3 Jul 2011 21:39:49 +0000 (23:39 +0200)]
* progmodes/compile.el (compilation-error-regexp-alist-alist):
`perl-Test2' extend to match possible "fail #N" rep count
(bug#8377).
Lars Magne Ingebrigtsen [Sun, 3 Jul 2011 21:33:54 +0000 (23:33 +0200)]
* display.texi (Scrolling): `C-v' (etc) are now bound to
`scroll-*-command'.
Fixes: debbugs:8349
Bill Wohler [Sun, 3 Jul 2011 21:30:28 +0000 (14:30 -0700)]
* mh-utils.el:
* mh-mime.el: Shush XEmacs compiler in mh-do-in-xemacs block.
Bill Wohler [Sun, 3 Jul 2011 21:04:13 +0000 (14:04 -0700)]
* mh-folder.el: Use boundp instead of fboundp when testing existence
of desktop-buffer-mode-handlers.
Lars Magne Ingebrigtsen [Sun, 3 Jul 2011 20:09:38 +0000 (22:09 +0200)]
* mail/feedmail.el (feedmail-buffer-to-smtpmail):
`smtpmail-via-smtp' now returns the error instead of nil.
Lars Magne Ingebrigtsen [Sun, 3 Jul 2011 20:02:14 +0000 (22:02 +0200)]
* isearch.el (isearch-search-fun-function): Clarify the doc string
(bug#8101).
Lars Magne Ingebrigtsen [Sun, 3 Jul 2011 19:30:01 +0000 (21:30 +0200)]
Back out last commit since we do not have papers from the actual
author.
Juanma Barranquero [Sun, 3 Jul 2011 19:27:53 +0000 (21:27 +0200)]
* play/fortune.el (fortune-compile): Make a new fortune dat file
compile time if the dat file does not exist.
Fixes: debbugs:5338
Tobias C. Rittweiler [Sun, 3 Jul 2011 18:44:53 +0000 (20:44 +0200)]
* searching.texi (Match Data): Note that match data can be
overwritten by most functions.
Fixes: debbugs:2499
Richard Kim [Sun, 3 Jul 2011 16:11:37 +0000 (18:11 +0200)]
* textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
unnecessary spaces.
Fixes: debbugs:8987