1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-22 21:50:45 -08:00
Commit graph

53955 commits

Author SHA1 Message Date
Lars Magne Ingebrigtsen
f4f7319875 * 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
2011-07-06 18:46:27 +02:00
Richard M. Stallman
aa8a705c16 rmailmm.el: record truncated mime entities. 2011-07-06 12:44:33 -04:00
Lars Magne Ingebrigtsen
12b167347f * progmodes/grep.el (rgrep): Don't bind `process-connection-type', because that makes the colours go away. 2011-07-06 17:49:19 +02:00
Lars Magne Ingebrigtsen
9e87df06a3 (sendmail-query-once): Add an autoload cookie. 2011-07-06 17:45:00 +02:00
Lars Magne Ingebrigtsen
f0691d22b1 * mail/sendmail.el (send-mail-function): Change the default to `sendmail-query-once'. 2011-07-06 17:39:32 +02:00
Lars Magne Ingebrigtsen
1f2b92cb87 * 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.
2011-07-06 17:09:11 +02:00
Michael Albinus
1cdd2a1b36 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window): New defun.
* net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
2011-07-06 11:48:20 +02:00
Julien Danjou
53d2167130 * url-cache.el (url-cache-extract): Set buffer multibyte flag to
nil (bug#8827).
2011-07-06 09:47:15 +02:00
Michael Mauger
fbcc67e2aa * 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.
2011-07-05 23:51:48 -04:00
Glenn Morris
d4eaeab175 * lisp/window.el (pop-to-buffer): Doc fix. 2011-07-05 19:46:22 -07:00
Glenn Morris
929ca92503 * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Silence compiler. 2011-07-05 19:45:24 -07:00
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