bpt/emacs.git
12 years agoMerge from trunk.
Paul Eggert [Fri, 8 Jul 2011 09:38:32 +0000 (02:38 -0700)]
Merge from trunk.

12 years ago* nsgui.h: Fix compiler warning about gnulib redefining verify.
Jan Djärv [Fri, 8 Jul 2011 08:42:58 +0000 (10:42 +0200)]
* nsgui.h: Fix compiler warning about gnulib redefining verify.

12 years agoFix services menu empty on OSX 1.6+.
Jan Djärv [Fri, 8 Jul 2011 08:11:35 +0000 (10:11 +0200)]
Fix services menu empty on OSX 1.6+.

* nsfns.m (Fx_open_connection): Remove NSStringPboardType from
ns_return_types.
(Fns_list_services): Just return Qnil on 10.6, code not working there.

* nsmenu.m (ns_update_menubar): Remove useless setDelegate call
on svcsMenu.

* nsselect.m (ns_get_local_selection): Change to extern (Bug#8842).

* nsterm.h (MAC_OS_X_VERSION_10_6): Define here instead of nsterm.m.
(ns_get_local_selection): Declare.

* nsterm.m (QUTF8_STRING): Declare.
(initFrameFromEmacs): Call registerServicesMenuSendTypes.
(validRequestorForSendType): Return type is (id).
Change indexOfObjectIdenticalTo to indexOfObject.
Check if we have local selection before returning self (Bug#8842).
(writeSelectionToPasteboard): Put local selection into paste board
if we have a local selection (Bug#8842).
(syms_of_nsterm): DEFSYM QUTF8_STRING.

12 years agoAllow sending mail in "emacs -Q" by not calling customize-save-variable
Lars Magne Ingebrigtsen [Fri, 8 Jul 2011 07:42:21 +0000 (09:42 +0200)]
Allow sending mail in "emacs -Q" by not calling customize-save-variable

* mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.

* mail/sendmail.el (sendmail-query-once): If we aren't allowed to
save customizations (with "emacs -Q"), just set the variable
instead of erroring out.

12 years agoRevert the plstore editing feature.
Daiki Ueno [Fri, 8 Jul 2011 01:29:29 +0000 (10:29 +0900)]
Revert the plstore editing feature.

12 years ago* lisp/arc-mode.el (archive-zip-expunge, archive-zip-update)
Juri Linkov [Fri, 8 Jul 2011 00:08:53 +0000 (03:08 +0300)]
* lisp/arc-mode.el (archive-zip-expunge, archive-zip-update)
(archive-zip-update-case): Use 7z if found by `executable-find'.
The order of searching the available programs is the same as in
`archive-zip-extract'.

Fixes: debbugs:8968

12 years agoMerge changes made in Gnus trunk.
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 23:18:23 +0000 (23:18 +0000)]
Merge changes made in Gnus trunk.

gnus-msg.el (gnus-bug): Don't insert user variables.  It usually isn't very interesting any more, and it leaks potentially secret data.
 (gnus-debug): Removed.
gnus-art.el (gnus-ignored-headers): Removed obsolete and non-working use of :custom-show.

12 years agoTweak last change to menu descriptions.
Chong Yidong [Thu, 7 Jul 2011 22:41:09 +0000 (18:41 -0400)]
Tweak last change to menu descriptions.

* lisp/menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
(menu-bar-options-menu): Tweak descriptions.

12 years agoMake all the Options menu items into verb phrases
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 21:43:38 +0000 (23:43 +0200)]
Make all the Options menu items into verb phrases

* menu-bar.el (menu-bar-line-wrapping-menu): Also refill to fit under
80 columns.

Fixes: debbugs:1421

12 years ago2011-07-07 Tassilo Horn <tassilo@member.fsf.org>
Tassilo Horn [Thu, 7 Jul 2011 20:42:30 +0000 (22:42 +0200)]
2011-07-07  Tassilo Horn  <tassilo@member.fsf.org>

* themes/tsdh-light-theme.el:
* themes/tsdh-dark-theme.el: Make `gnus-button' face inherit from
`button', `gnus-header-name' boxed, and define `rcirc-my-nick'
face.

12 years ago* text.texi (Special Properties): Clarify the format of `face'
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 20:37:54 +0000 (22:37 +0200)]
* text.texi (Special Properties): Clarify the format of `face'

Fixes: debbugs:1375

12 years agoDocument some Info functions (Bug#1084).
Chong Yidong [Thu, 7 Jul 2011 20:35:28 +0000 (16:35 -0400)]
Document some Info functions (Bug#1084).

* lisp/info.el (info, Info-read-node-name-2, Info-read-node-name-1)
(Info-read-node-name): Doc fix.

12 years agoDoc fixes for thingatpt.el.
Chong Yidong [Thu, 7 Jul 2011 18:31:57 +0000 (14:31 -0400)]
Doc fixes for thingatpt.el.

* lisp/thingatpt.el (forward-thing, bounds-of-thing-at-point)
(thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
(end-of-sexp, beginning-of-sexp)
(thing-at-point-bounds-of-list-at-point, forward-whitespace)
(forward-symbol, forward-same-syntax, word-at-point)
(sentence-at-point): Doc fix (Bug#1144).

12 years ago(Info-mode-map): Remove S-TAB binding, since [backtab] should cover it
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 18:28:25 +0000 (20:28 +0200)]
(Info-mode-map): Remove S-TAB binding, since [backtab] should cover it

Fixes: debbugs:1281

12 years ago(describe_map_tree): Don't insert a double newline at the end of the string
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 17:19:10 +0000 (19:19 +0200)]
(describe_map_tree): Don't insert a double newline at the end of the string

Return whether we inserted something.  This should allow the caller to
decide whether to insert more newlines or not.

Fixes: debbugs:1169

12 years agoClarify the `call-interactively' doc string, and add an example.
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 16:59:26 +0000 (18:59 +0200)]
Clarify the `call-interactively' doc string, and add an example.

12 years agoRemove mention of `require' in ediff.texi
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 16:38:27 +0000 (18:38 +0200)]
Remove mention of `require' in ediff.texi

That's not pertinent in the installed Emacs.

Fixes: debbugs:9016

12 years agoMerge from emacs-23 branch
Chong Yidong [Thu, 7 Jul 2011 16:18:25 +0000 (12:18 -0400)]
Merge from emacs-23 branch

12 years agoNote that :custom-show is obsolete.
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 15:59:00 +0000 (17:59 +0200)]
Note that :custom-show is obsolete.

Fixes: debbugs:75

12 years agoFix bug #9015 with a bogus crash with glyphless characters on a TTY.
Eli Zaretskii [Thu, 7 Jul 2011 15:39:23 +0000 (18:39 +0300)]
Fix bug #9015 with a bogus crash with glyphless characters on a TTY.

 src/term.c (produce_glyphs) <xassert>: Allow IT_GLYPHLESS in it->what.

12 years agoWork around gnutls failures
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 15:14:17 +0000 (17:14 +0200)]
Work around gnutls failures

* net/network-stream.el (network-stream-open-starttls): If gnutls
negotiation fails, then possibly try again with a non-encrypted
connection.

Fixes: debbugs:9017

12 years ago* configure.in (maintainer-mode): Reflect default in help string.
Andreas Schwab [Thu, 7 Jul 2011 15:07:54 +0000 (17:07 +0200)]
* configure.in (maintainer-mode): Reflect default in help string.

12 years agoUpdate doc string of `smtpmail-stream-type'.
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 14:54:12 +0000 (16:54 +0200)]
Update doc string of `smtpmail-stream-type'.

* mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
be used.

12 years agoadmin/unidata/makefile.w32-in: Duplicate change in Makefile.in (2011-07-06T22:43...
Juanma Barranquero [Thu, 7 Jul 2011 13:55:12 +0000 (15:55 +0200)]
admin/unidata/makefile.w32-in: Duplicate change in Makefile.in (2011-07-06T22:43:48Z!handa@m17n.org).

12 years agoMention the `send-mail-function' default change.
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 11:59:05 +0000 (13:59 +0200)]
Mention the `send-mail-function' default change.

12 years ago* NEWS: Clarify `smtpmail-auth-credentials' non-existence.
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 11:18:17 +0000 (13:18 +0200)]
* NEWS: Clarify `smtpmail-auth-credentials' non-existence.

12 years agoFix bugs finding grep hits in Rmail buffers.
Richard M. Stallman [Thu, 7 Jul 2011 10:35:43 +0000 (06:35 -0400)]
Fix bugs finding grep hits in Rmail buffers.

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

12 years agoAdd a major mode to edit plstore files.
Daiki Ueno [Thu, 7 Jul 2011 09:20:37 +0000 (18:20 +0900)]
Add a major mode to edit plstore files.

* plstore.el: Add documentation.
(plstore-mode): New mode to edit plstore file.
(plstore-mode-toggle-display, plstore-mode-original)
(plstore-mode-decoded): New command.
(plstore--encode, plstore--decode, plstore--write-contents-functions)
(plstore--insert-buffer, plstore--make): New function.
(plstore-open, plstore-save): Simplify by using them.

12 years agoIgnore a static composition that starts before the current checking position in redis...
Kenichi Handa [Thu, 7 Jul 2011 07:11:54 +0000 (16:11 +0900)]
Ignore a static composition that starts before the current checking position in redisplay.

12 years agomerge trunk
Kenichi Handa [Thu, 7 Jul 2011 04:20:12 +0000 (13:20 +0900)]
merge trunk

12 years agochartab.c (sub_char_table_set_range): Fix previous change.
Kenichi Handa [Thu, 7 Jul 2011 04:16:52 +0000 (13:16 +0900)]
chartab.c (sub_char_table_set_range): Fix previous change.

12 years agoSimplify Irix build, remove iris4d.h file.
Dan Nicolaescu [Thu, 7 Jul 2011 03:24:33 +0000 (20:24 -0700)]
Simplify Irix build, remove iris4d.h file.

* configure.in: Remove reference to iris4d.h.

* src/m/iris4d.h: Remove file, move contents ...
* src/s/irix6-5.h: ... here.

12 years agoTweak to `button' face in custom themes.
Chong Yidong [Thu, 7 Jul 2011 01:48:14 +0000 (21:48 -0400)]
Tweak to `button' face in custom themes.

* etc/themes/dichromacy-theme.el:
* etc/themes/tango-theme.el:
* etc/themes/tango-dark-theme.el:
* etc/themes/wheatgrass-theme.el: Don't define button face separately;
it inherits from link now.

12 years agoError in next-buffer or previous-buffer if called from minibuffer.
Chong Yidong [Thu, 7 Jul 2011 01:46:59 +0000 (21:46 -0400)]
Error in next-buffer or previous-buffer if called from minibuffer.

* lisp/window.el (next-buffer, previous-buffer): Signal an error if
called from a minibuffer window.

* lisp/bindings.el: Revert 2011-07-04 change.

12 years agoAdd Bug#.
Paul Eggert [Wed, 6 Jul 2011 23:29:03 +0000 (16:29 -0700)]
Add Bug#.

12 years agomerge trunk
Kenichi Handa [Wed, 6 Jul 2011 23:28:00 +0000 (08:28 +0900)]
merge trunk

12 years agoAdd C interface for Unicode character property table.
Kenichi Handa [Wed, 6 Jul 2011 22:43:48 +0000 (07:43 +0900)]
Add C interface for Unicode character property table.

12 years agoRmail mime: Use markers for positions in entities.
Richard M. Stallman [Wed, 6 Jul 2011 22:43:46 +0000 (18:43 -0400)]
Rmail mime: Use markers for positions in entities.

12 years agolisp/gnus/ChangeLog (2011-07-04): Add missing entry.
Katsumi Yamaoka [Wed, 6 Jul 2011 22:39:47 +0000 (22:39 +0000)]
lisp/gnus/ChangeLog (2011-07-04): Add missing entry.

12 years agoRemove more assumptions re struct layout (Bug#8884).
Paul Eggert [Wed, 6 Jul 2011 22:22:32 +0000 (15:22 -0700)]
Remove more assumptions re struct layout (Bug#8884).

12 years agoMerge: Remove unportable assumption about struct layout (Bug#8884).
Paul Eggert [Wed, 6 Jul 2011 21:56:44 +0000 (14:56 -0700)]
Merge: Remove unportable assumption about struct layout (Bug#8884).

* buffer.c (clone_per_buffer_values): Don't assume that
sizeof (struct buffer) is a multiple of sizeof (Lisp_Object).
This isn't true in general, and it's particularly not true
if Emacs is configured with --with-wide-int.
* buffer.h (FIRST_FIELD_PER_BUFFER, LAST_FIELD_PER_BUFFER):
New macros, used in the buffer.c change.

12 years agoRemove unportable assumption about struct layout (Bug#8884).
Paul Eggert [Wed, 6 Jul 2011 21:53:56 +0000 (14:53 -0700)]
Remove unportable assumption about struct layout (Bug#8884).

* buffer.c (clone_per_buffer_values): Don't assume that
sizeof (struct buffer) is a multiple of sizeof (Lisp_Object).
This isn't true in general, and it's particularly not true
if Emacs is configured with --with-wide-int.
* buffer.h (FIRST_FIELD_PER_BUFFER, LAST_FIELD_PER_BUFFER):
New macros, used in the buffer.c change.

12 years ago* mail/smtpmail.el (smtpmail-default-smtp-server): Made into a defcustom again for...
Lars Magne Ingebrigtsen [Wed, 6 Jul 2011 21:34:13 +0000 (23:34 +0200)]
* mail/smtpmail.el (smtpmail-default-smtp-server): Made into a defcustom again for backwards compatibility.

12 years ago* simple.el (shell-command-on-region): Fill.
Lars Magne Ingebrigtsen [Wed, 6 Jul 2011 19:44:09 +0000 (21:44 +0200)]
* simple.el (shell-command-on-region): Fill.

12 years ago* functions.texi (Calling Functions): Link to the "Interactive
Lars Magne Ingebrigtsen [Wed, 6 Jul 2011 18:34:55 +0000 (20:34 +0200)]
* functions.texi (Calling Functions): Link to the "Interactive
Call" node.

Fixes: debbugs:1001

12 years ago* dired-aux.el (dired-kill-line): Add a doc string.
Lars Magne Ingebrigtsen [Wed, 6 Jul 2011 18:26:29 +0000 (20:26 +0200)]
* dired-aux.el (dired-kill-line): Add a doc string.

Fixes: debbugs:957

12 years agoUse pthread_sigmask, not sigprocmask.
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.

12 years agoAdd gnulib support for pthread_sigmask.
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.

12 years ago* dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
Lars Magne Ingebrigtsen [Wed, 6 Jul 2011 17:45:01 +0000 (19:45 +0200)]
* dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
to "\\sw\\|\\s_" (bug#358).

12 years ago* dired.el (dired-mode): Clarify "unmark or unflag".
Lars Magne Ingebrigtsen [Wed, 6 Jul 2011 17:10:36 +0000 (19:10 +0200)]
* dired.el (dired-mode): Clarify "unmark or unflag".
(dired-unmark-backward): Ditto.
(dired-flag-backup-files): Ditto.

* dired-x.el (dired-mark-sexp): Ditto.

Fixes: debbugs:8770

12 years ago* NEWS: Clarify that `smtpmail-starttls-credentials' doesn't exist.
Lars Magne Ingebrigtsen [Wed, 6 Jul 2011 16:50:34 +0000 (18:50 +0200)]
* NEWS: Clarify that `smtpmail-starttls-credentials' doesn't exist.

12 years agoFix rmail mime search bug when entity is a string.
Richard M. Stallman [Wed, 6 Jul 2011 16:48:37 +0000 (12:48 -0400)]
Fix rmail mime search bug when entity is a string.

12 years ago* emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
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

12 years agormailmm.el: record truncated mime entities.
Richard M. Stallman [Wed, 6 Jul 2011 16:44:33 +0000 (12:44 -0400)]
rmailmm.el: record truncated mime entities.

12 years ago* m4/alloca.m4: Merge whitespace changes from gnulib.
Paul Eggert [Wed, 6 Jul 2011 16:19:38 +0000 (09:19 -0700)]
* m4/alloca.m4: Merge whitespace changes from gnulib.

12 years ago* progmodes/grep.el (rgrep): Don't bind `process-connection-type', because that makes...
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.

12 years ago(sendmail-query-once): Add an autoload cookie.
Lars Magne Ingebrigtsen [Wed, 6 Jul 2011 15:45:00 +0000 (17:45 +0200)]
(sendmail-query-once): Add an autoload cookie.

12 years ago* mail/sendmail.el (send-mail-function): Change the default to `sendmail-query-once'.
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'.

12 years ago* net/network-stream.el (network-stream-open-starttls): Try using
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.

12 years ago* net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window): New defun.
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.

12 years ago* url-cache.el (url-cache-extract): Set buffer multibyte flag to
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).

12 years ago* progmodes/sql.el: Version 3.0
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.

12 years ago* lisp/window.el (pop-to-buffer): Doc fix.
Glenn Morris [Wed, 6 Jul 2011 02:46:22 +0000 (19:46 -0700)]
* lisp/window.el (pop-to-buffer): Doc fix.

12 years ago* gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Silence compiler.
Glenn Morris [Wed, 6 Jul 2011 02:45:24 +0000 (19:45 -0700)]
* gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Silence compiler.

12 years agoMerge from emacs-23; up to 2010-06-16T23:27:20Z!jay.p.belanger@gmail.com.
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.

12 years agoChangeLog fix.
Glenn Morris [Wed, 6 Jul 2011 02:34:08 +0000 (19:34 -0700)]
ChangeLog fix.

12 years agognus.el (gnus-summary-line-format): Link to "Marking Articles" instead of "Read Artic...
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".

12 years agognus.texi (Filtering New Groups): Clarify how simple the "options -n" format is.
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.

12 years agoMerge changes made in Gnus trunk.
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.

12 years ago* gnus.el (gnus-refer-article-method): Remove mention of nnspool, which
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.

12 years ago* lisp/button.el (button): Inherit from link face.
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.

12 years ago* lisp/progmodes/gdb-mi.el: Fit in 80 columns.
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.

12 years ago* lisp/progmodes/which-func.el (which-func-ff-hook): Don't output a message
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

12 years ago* allout.el (allout-post-undo-hook): New allout outline-change event hook
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.

12 years ago* lisp/emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
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

12 years agolisp/textmodes/bibtex.el: add support for biblatex
Roland Winkler [Tue, 5 Jul 2011 17:44:15 +0000 (12:44 -0500)]
lisp/textmodes/bibtex.el: add support for biblatex

12 years agoFix some uses of switch-to-buffer.
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.

12 years agoRevert last change (2011-07-05T14:25:21Z!larsi@gnus.org).
Chong Yidong [Tue, 5 Jul 2011 15:23:15 +0000 (11:23 -0400)]
Revert last change (2011-07-05T14:25:21Z!larsi@gnus.org).

12 years ago* emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
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.

12 years ago* font-lock.el (font-lock-builtin-face): Change from Orchid to
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

12 years agolisp/emacs-lock.el: Add back code accidentally replaced with garbage.
Juanma Barranquero [Tue, 5 Jul 2011 12:05:06 +0000 (14:05 +0200)]
lisp/emacs-lock.el: Add back code accidentally replaced with garbage.

12 years agolisp/emacs-lock.el: New file. Old one moved to lisp/obsolete/.
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/.

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

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

12 years ago* textmodes/rst.el (rst-define-level-faces): Use `facep' rather
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.

12 years agoFix typos.
Juanma Barranquero [Tue, 5 Jul 2011 09:51:56 +0000 (11:51 +0200)]
Fix typos.

12 years agoUse GConf and GSettings both, check GConf/GSettings toolbar style and font name.
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.

12 years ago* themes/manoj-dark-theme.el (manoj-dark): New file.
Manoj Srivastava [Tue, 5 Jul 2011 03:02:06 +0000 (23:02 -0400)]
* themes/manoj-dark-theme.el (manoj-dark): New file.

12 years agoRandom fixes. E.g., (random) never returned negative values.
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.

12 years agolisp/server.el: Catch quit and close the connection (bug#8942).
Juanma Barranquero [Mon, 4 Jul 2011 22:40:03 +0000 (00:40 +0200)]
lisp/server.el: Catch quit and close the connection (bug#8942).

12 years ago* allout.el (allout-encrypt-unencrypted-on-saves): Do not provide insecure
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.

12 years agoAdd 7z operations to delete and save changed members.
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

12 years ago* bindings.el: Ignore next-buffer and previous-buffer in minibuffer-local-map.
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.

12 years ago* lisp/pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el.
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

12 years ago* font-lock.el (font-lock-builtin-face): Change light background color
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

12 years ago* textprop.c (text_property_stickiness): Obey Vtext_property_default_nonsticky.
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.

12 years ago* lisp/progmodes/gdb-mi.el (gdb): Use completion-at-point.
Wang Diancheng [Mon, 4 Jul 2011 17:50:55 +0000 (13:50 -0400)]
* lisp/progmodes/gdb-mi.el (gdb): Use completion-at-point.

12 years ago* fileio.c (barf_or_query_if_file_exists): Use S_ISDIR.
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.

12 years ago* lisp/files.el (find-file): Use pop-to-buffer-same-window.
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