1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-14 16:50:58 +00:00
Commit Graph

53944 Commits

Author SHA1 Message Date
Glenn Morris
322b7dab59 Merge from emacs-23; up to 2010-06-16T23:27:20Z!jay.p.belanger@gmail.com. 2011-07-05 19:42:10 -07:00
Glenn Morris
38fe4016d4 ChangeLog fix. 2011-07-05 19:34:08 -07:00
Lars Magne Ingebrigtsen
509542f35f gnus.el (gnus-summary-line-format): Link to "Marking Articles" instead of "Read Articles". 2011-07-05 23:06:11 +00:00
Gnus developers
d30dd079c9 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.
2011-07-05 22:27:16 +00:00
Lars Magne Ingebrigtsen
0e4260bf5d * gnus.el (gnus-refer-article-method): Remove mention of nnspool, which
no longer is much used.
2011-07-05 23:03:54 +02:00
Chong Yidong
605dd5bf4d * lisp/button.el (button): Inherit from link face.
Suggested by Dan Nicolaescu.
2011-07-05 16:44:55 -04:00
Stefan Monnier
3db614b0e4 * lisp/progmodes/gdb-mi.el: Fit in 80 columns.
(gdb-setup-windows, gdb-restore-windows): Avoid other-window and
switch-to-buffer.
2011-07-05 14:58:33 -04:00
Stefan Monnier
7dbfa7197c * lisp/progmodes/which-func.el (which-func-ff-hook): Don't output a message
if imenu is simply not configured.

Fixes: debbugs:8941
2011-07-05 14:56:31 -04:00
Ken Manheimer
919d884a6d * 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.
2011-07-05 14:54:08 -04:00
Stefan Monnier
450a0f0927 * 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
2011-07-05 14:26:33 -04:00
Roland Winkler
2de69e00f3 lisp/textmodes/bibtex.el: add support for biblatex 2011-07-05 12:44:15 -05:00
Stefan Monnier
2dcdbdd97d 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.
2011-07-05 11:31:22 -04:00
Chong Yidong
73fed7aeda Revert last change (2011-07-05T14:25:21Z!larsi@gnus.org). 2011-07-05 11:23:15 -04:00
Juanma Barranquero
b27640fef2 * 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.
2011-07-05 17:09:19 +02:00
Lars Magne Ingebrigtsen
bad327838e * 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
2011-07-05 16:25:21 +02:00
Juanma Barranquero
a1479eac56 lisp/emacs-lock.el: Add back code accidentally replaced with garbage. 2011-07-05 14:05:06 +02:00
Juanma Barranquero
53bbe3ad4c lisp/emacs-lock.el: New file. Old one moved to lisp/obsolete/. 2011-07-05 13:38:44 +02:00
Glenn Morris
0d939f4027 Auto-commit of loaddefs files. 2011-07-05 06:24:56 -04:00
Julien Danjou
1d3cdbc7be * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
than `boundp' to check if face is set.
2011-07-05 12:02:48 +02:00
Juanma Barranquero
9173deecd8 Fix typos. 2011-07-05 11:51:56 +02:00
Jan Djärv
869795d6b5 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.
2011-07-05 10:21:38 +02:00
Juanma Barranquero
b768cdcd31 lisp/server.el: Catch quit and close the connection (bug#8942). 2011-07-05 00:40:03 +02:00
Ken Manheimer
13aa217bac * 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.
2011-07-04 18:16:10 -04:00
Juri Linkov
ac89b32c15 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
2011-07-05 01:11:40 +03:00
Chong Yidong
d66fef2b45 * bindings.el: Ignore next-buffer and previous-buffer in minibuffer-local-map. 2011-07-04 16:45:22 -04:00
Stefan Monnier
8fa396153b * lisp/pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el.
Fixes: debbugs:8958
2011-07-04 16:08:02 -04:00
Chong Yidong
2f11b3f1ce * font-lock.el (font-lock-builtin-face): Change light background color
to dark slate blue.

Fixes: debbugs:6693
2011-07-04 16:00:56 -04:00
Wang Diancheng
f932a34784 * lisp/progmodes/gdb-mi.el (gdb): Use completion-at-point. 2011-07-04 13:50:55 -04:00
Stefan Monnier
c8af70e11e * 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
2011-07-04 12:08:16 -04:00
Darren Hoo
60c55439fc * semantic/db.el (semanticdb-file-table-object): Don't bug out on
unconfigured projects if `global-ede-mode' is on.

Fixes: debbugs:8092
2011-07-04 17:36:38 +02:00
Vivek Dasmohapatra
c1e57b4760 * erc.el (erc-generate-new-buffer-name): Reuse old buffer names
when reconnecting.

Fixes: debbugs:5563
2011-07-04 15:23:04 +02:00
Lars Magne Ingebrigtsen
4d19331f6b nnimap.el (nnimap-request-scan): Say that splitting has finished. 2011-07-04 13:11:52 +00:00
Lars Magne Ingebrigtsen
f158badc8f * isearch.el (isearch-search-fun-function): Clarify further the
meaning of the function returned.
2011-07-04 14:15:16 +02:00
Michael Albinus
6d95bd4664 * 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)
2011-07-04 14:12:38 +02:00
MON KEY
909e6b672d * play/animate.el (animate-string): Doc fixes and allow changing
the buffer name.

Fixes: debbugs:5417
2011-07-04 13:44:36 +02:00
Katsumi Yamaoka
8db5f66278 nndraft.el: Require gnus-group.
(nndraft-request-list): Declare.
2011-07-04 06:40:46 +00:00
Paul Eggert
396cec7251 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.
2011-07-03 23:31:40 -07:00
Paul Eggert
08235028a6 * emacs-lisp/timer.el (timer--time-less-p): Use time-less-p. 2011-07-03 23:25:23 -07:00
Paul Eggert
f34755dce2 * emacs-lisp/timer.el (timer-until): Use time-subtract and float-time. 2011-07-03 23:23:54 -07:00
Bill Wohler
3ca74e5368 Merge from trunk. 2011-07-03 19:58:14 -07:00
Bill Wohler
92ec073e64 * mh-e.el: Just require mh-loaddefs since loading it in an
eval-and-compile block causes compilation errors in XEmacs.
2011-07-03 19:53:16 -07:00
Katsumi Yamaoka
bb9e218d46 nndraft.el (nndraft-update-unread-articles): Don't show group having no unread article unless it matches gnus-permanently-visible-groups. 2011-07-04 02:19:08 +00:00
Bill Wohler
54a5db74a3 * 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.
2011-07-03 19:17:42 -07:00
Katsumi Yamaoka
30b0f2501c 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.
2011-07-04 01:14:10 +00:00
Juanma Barranquero
3abb79e569 lisp/type-break.el (timep): Avoid a byte-compiler warning. 2011-07-04 03:06:33 +02:00
Juanma Barranquero
56e6cc31de lisp/server.el (server-eval-and-print): Return any result, even nil. 2011-07-04 03:04:29 +02:00
Bill Wohler
eb28a31248 * 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.
2011-07-03 17:35:48 -07:00
Bill Wohler
7895927f81 * 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.
2011-07-03 17:27:22 -07:00
Bill Wohler
24f75b1046 * 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.
2011-07-03 17:09:44 -07:00
Paul Eggert
7b9430b450 * 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.
2011-07-03 16:51:42 -07:00