bpt/emacs.git
13 years agoAvoid having a directory as a prerequisite in doc Makefiles.
Glenn Morris [Sat, 9 Oct 2010 18:31:12 +0000 (11:31 -0700)]
Avoid having a directory as a prerequisite in doc Makefiles.
It does not play well with time-stamping.

* doc/misc/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.  Use it in all the info rules, rather than depending
on infodir.

* doc/lispref/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.
($(infodir)/elisp): Use $mkinfodir instead of infodir.

* doc/lispintro/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.
($(infodir)/eintr): Use $mkinfodir instead of infodir.

* doc/emacs/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.
($(infodir)/emacs): Use $mkinfodir instead of infodir.

13 years ago* configure.in (AC_OUTPUT): Remove doc/emacs/emacsver.texi.
Glenn Morris [Sat, 9 Oct 2010 17:59:55 +0000 (10:59 -0700)]
* configure.in (AC_OUTPUT): Remove doc/emacs/emacsver.texi.
* configure: Regenerate.

* .bzrignore: Remove doc/emacs/emacsver.texi.

* doc/emacs/Makefile.in (distclean): Do not delete emacsver.texi.
* doc/emacs/emacsver.texi: New file, replacing emacsver.texi.in.

* admin/admin.el (set-version): Add doc/emacs/emacsver.texi.

13 years ago(ibuffer-mode-map): Don't redefine the cursor keys, since that's too annoying.
Lars Magne Ingebrigtsen [Sat, 9 Oct 2010 15:44:44 +0000 (17:44 +0200)]
(ibuffer-mode-map): Don't redefine the cursor keys, since that's too annoying.

Move the filter groups commands to TAB/backtab.

13 years agoDon't use foo() to talk about functions.
Lars Magne Ingebrigtsen [Sat, 9 Oct 2010 14:31:56 +0000 (16:31 +0200)]
Don't use foo() to talk about functions.

13 years ago(emacs_gnutls_write): Check for GNUTLS_E_AGAIN and not EINTR.
Lars Magne Ingebrigtsen [Sat, 9 Oct 2010 13:54:57 +0000 (15:54 +0200)]
(emacs_gnutls_write): Check for GNUTLS_E_AGAIN and not EINTR.

According to the documentation, this is correct, and it seems to
make things work.

13 years ago(epa-passphrase-callback-function): Say what we're querying the password for.
Lars Magne Ingebrigtsen [Sat, 9 Oct 2010 13:27:24 +0000 (15:27 +0200)]
(epa-passphrase-callback-function): Say what we're querying the password for.

13 years ago* ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
Lars Magne Ingebrigtsen [Sat, 9 Oct 2010 13:23:29 +0000 (15:23 +0200)]
* ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
behaviour, don't bury the ibuffer buffer when visiting other
buffers.

13 years agoMake emacs_gnutls_read() return the expected on errors.
Lars Magne Ingebrigtsen [Sat, 9 Oct 2010 13:19:30 +0000 (15:19 +0200)]
Make emacs_gnutls_read() return the expected on errors.

Also interface cleanups.

13 years agonnir.el (nnir-read-parm): Fix call to gnus-completing-read.
Julien Danjou [Sat, 9 Oct 2010 09:14:46 +0000 (09:14 +0000)]
nnir.el (nnir-read-parm): Fix call to gnus-completing-read.

13 years agoshr,el: Allow shr table char to be customized.
Julien Danjou [Sat, 9 Oct 2010 08:44:12 +0000 (08:44 +0000)]
shr,el: Allow shr table char to be customized.
gnus-gravatar.el (gnus-gravatar-transform-address): Error errors when retrieving gravatars.

13 years agognus.texi: untabify.
Katsumi Yamaoka [Sat, 9 Oct 2010 04:22:17 +0000 (04:22 +0000)]
gnus.texi: untabify.

13 years ago* xterm.c (x_draw_relief_rect): Clear corner pixels.
Chong Yidong [Sat, 9 Oct 2010 03:30:31 +0000 (23:30 -0400)]
* xterm.c (x_draw_relief_rect): Clear corner pixels.

13 years agoMore face customization cleanups.
Chong Yidong [Sat, 9 Oct 2010 03:23:38 +0000 (23:23 -0400)]
More face customization cleanups.

* cus-edit.el (custom-commands, custom-buffer-create-internal)
(custom-magic-value-create): Pad button tags with spaces.
(custom-face-edit): New variable.
(custom-face-value-create): Determine whether to use the usual
face editor here, instead of using custom-face-selected.  Pass
face defaults to custom-face-edit widget.
(custom-face-selected, custom-display-unselected): Delete widgets.
(custom-display-unselected-match): Function removed.
(custom-face-set, custom-face-mark-to-save): Accept
custom-face-edit widgets as the direct widget child.

* wid-edit.el (widget--completing-widget): New var.
(widget-default-complete): Bind it when doing completion.
(widget-string-complete, widget-file-complete): Use it.

13 years agoSmall simplifications for some cal-hebrew calculations.
Glenn Morris [Sat, 9 Oct 2010 02:25:38 +0000 (19:25 -0700)]
Small simplifications for some cal-hebrew calculations.

* lisp/calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
(holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
(holiday-hebrew-misc): Small simplifications.

13 years ago* configure.in: Combine some conditionals.
Glenn Morris [Sat, 9 Oct 2010 02:16:38 +0000 (19:16 -0700)]
* configure.in: Combine some conditionals.

13 years agoAdd doc/ dependencies on emacsver.texi.
Glenn Morris [Sat, 9 Oct 2010 02:09:46 +0000 (19:09 -0700)]
Add doc/ dependencies on emacsver.texi.

* doc/misc/Makefile.in ($(infodir)/efaq): Depend on emacsver.texi.

* doc/lispref/Makefile.in (srcs): Add emacsver.texi.

* doc/emacs/Makefile.in (EMACSSOURCES): Add emacsver.texi.

13 years agoRegenerate configure, src/config.in.
Glenn Morris [Sat, 9 Oct 2010 01:59:50 +0000 (18:59 -0700)]
Regenerate configure, src/config.in.

13 years ago* doc/misc/gnus.texi (Article Washing): Fix previous change.
Glenn Morris [Sat, 9 Oct 2010 01:49:20 +0000 (18:49 -0700)]
* doc/misc/gnus.texi (Article Washing): Fix previous change.

13 years agoSet the version number in the texinfo manuals using configure.
Glenn Morris [Sat, 9 Oct 2010 01:41:21 +0000 (18:41 -0700)]
Set the version number in the texinfo manuals using configure.

* doc/misc/Makefile.in (emacsdir): New variable.
($(infodir)/efaq): Pass -I $(emacsdir) to makeinfo.
* doc/misc/faq.texi (VER): Replace with EMACSVER from emacsver.texi.

* doc/lispref/Makefile.in (emacsdir): New variable.
(MAKEINFO): Add -I $emacsdir.
(dist): Copy emacsver.texi.
* doc/lispref/book-spine.texinfo, doc/lispref/elisp.texi:
* doc/lispref/vol2.texi, doc/lispref/vol1.texi:
Set EMACSVER by including emacsver.texi.

* doc/emacs/emacsver.texi.in: New file.
* doc/emacs/emacs.texi: Set EMACSVER by including emacsver.texi.
* doc/emacs/Makefile.in (distclean): Delete emacsver.texi.
(dist): Copy emacsver.texi.

* admin/admin.el (set-version): No need to act on doc/ files any more.

* configure.in (AC_OUTPUT): Add doc/emacs/emacsver.texi.
* make-dist: Include doc/emacs/*.texi.in.

13 years agoRemove lib-src/b2m.c and b2m.pl.
Glenn Morris [Sat, 9 Oct 2010 01:15:15 +0000 (18:15 -0700)]
Remove lib-src/b2m.c and b2m.pl.
Emacs does not use Babyl files since 23.1, and you can use M-x unrmail.

* msdos/mainmake.v2 (install): Remove b2m.

* lisp/emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.

* lib-src/b2m.c, lib-src/b2m.pl: Remove files.
* lib-src/Makefile.in (INSTALLABLES): Remove b2m.
* lib-src/makefile.w32-in ($(BLD)/b2m.$(O)): Remove.

* doc/emacs/ack.texi (Acknowledgments): No more b2m.c.

* admin/quick-install-emacs (PUBLIC_LIBSRC_BINARIES): Remove b2m.

* INSTALL, make-dist: Remove references to b2m.
* Makefile.in (MAN_PAGES): Remove b2m.1.

13 years agoMark some doc/ rules as PHONY.
Glenn Morris [Sat, 9 Oct 2010 01:02:21 +0000 (18:02 -0700)]
Mark some doc/ rules as PHONY.

* doc/misc/Makefile.in (.PHONY): Declare info, dvi, pdf and the clean rules.

* doc/lispref/Makefile.in (.PHONY): Declare info, dvi, pdf, dist.

* doc/lispintro/Makefile.in (.PHONY): Declare info, dvi, html, pdf, dist.

* doc/emacs/Makefile.in (.PHONY): Declare info, dvi, pdf, dist.
(emacs): Remove rule.
(dist): No need to deal with the emacs rule any more.

13 years agobrowse-url.el trivia.
Glenn Morris [Sat, 9 Oct 2010 00:52:12 +0000 (17:52 -0700)]
browse-url.el trivia.

* lisp/net/browse-url.el: Don't require thingatpt, term, dired,
executable, or w3-auto when compiling.
(dired-get-filename, term-char-mode, term-send-down, term-send-string):
Declare.
(browse-url-text-emacs): Require term.

13 years agoshr.el (shr-insert): Don't insert double spaces.
Gnus developers [Fri, 8 Oct 2010 23:55:33 +0000 (23:55 +0000)]
shr.el (shr-insert): Don't insert double spaces.
auth.texi (Help for users, GnuPG and EasyPG Assistant Configuration): Update docs.
gnus-registry.el, nnregistry.el: Remove nnregistry refer method auto-install and update docs.
gnus.texi (Finding the Parent, The Gnus Registry, Registry Article Refer Method): Update docs for nnregistry.el.
gnus-demon.el, gnus-group.el, gnus-msg.el, gnus-sum.el, gnus-util.el, gnus.el: Rename `gnus-pull' to `gnus-alist-pull'.
gnus.texi (Article Washing): Add mm-shr.
mm-decode.el (mm-text-html-renderer): Add mm-shr in choice list.

13 years ago* net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
Andreas Schwab [Fri, 8 Oct 2010 17:32:14 +0000 (19:32 +0200)]
* net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.

13 years ago* keyboard.c: Revert last change; it was not intended to be
Michael Albinus [Fri, 8 Oct 2010 12:41:49 +0000 (14:41 +0200)]
* keyboard.c: Revert last change; it was not intended to be
synchronized with the trunk.

13 years agognus.el (gnus-expand-group-parameter): Only return and act on what was matched.
Julien Danjou [Fri, 8 Oct 2010 12:16:05 +0000 (12:16 +0000)]
gnus.el (gnus-expand-group-parameter): Only return and act on what was matched.

13 years agoMerge changes from emacs-23 branch.
Juanma Barranquero [Fri, 8 Oct 2010 10:14:47 +0000 (12:14 +0200)]
Merge changes from emacs-23 branch.

13 years agoRemove some tests for defunct system-types.
Glenn Morris [Fri, 8 Oct 2010 07:51:19 +0000 (00:51 -0700)]
Remove some tests for defunct system-types.
* lisp/vc/ediff-wind.el (ediff-setup-control-frame):
* lisp/vc/ediff-ptch.el (ediff-default-backup-extension):
* lisp/vc/ediff-diff.el (ediff-shell, ediff-diff-options)
(ediff-exec-process): Remove system-types emx, windows-95.

13 years ago* lisp/htmlfontify.el: Add utf-8 coding cookie (eg for ellipsis at l1686).
Glenn Morris [Fri, 8 Oct 2010 07:42:51 +0000 (00:42 -0700)]
* lisp/htmlfontify.el: Add utf-8 coding cookie (eg for ellipsis at l1686).

13 years agognus-gravatar.el (gnus-treat-from-gravatar, gnus-treat-mail-gravatar): Bind gnus...
Katsumi Yamaoka [Fri, 8 Oct 2010 07:35:21 +0000 (07:35 +0000)]
gnus-gravatar.el (gnus-treat-from-gravatar, gnus-treat-mail-gravatar): Bind gnus-gravatar-too-ugly to nil when called interactively.

13 years ago* xterm.c (x_draw_relief_rect): If box width is larger than 1,
Chong Yidong [Fri, 8 Oct 2010 05:02:56 +0000 (01:02 -0400)]
* xterm.c (x_draw_relief_rect): If box width is larger than 1,
draw the outermost line using the black relief, for legibility.
Omit drawing the four corner pixels.

13 years agoChangeLog fix.
Glenn Morris [Fri, 8 Oct 2010 03:27:49 +0000 (20:27 -0700)]
ChangeLog fix.

13 years ago* lisp/net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
Glenn Morris [Fri, 8 Oct 2010 03:23:31 +0000 (20:23 -0700)]
* lisp/net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)

13 years agoChangeLog fix.
Glenn Morris [Fri, 8 Oct 2010 03:19:47 +0000 (20:19 -0700)]
ChangeLog fix.

13 years agoetc/NEWS.
Glenn Morris [Fri, 8 Oct 2010 03:17:31 +0000 (20:17 -0700)]
etc/NEWS.

13 years ago* lisp/obsolete/cl-compat.el, lisp/obsolete/lmenu.el: Comments.
Glenn Morris [Fri, 8 Oct 2010 03:12:43 +0000 (20:12 -0700)]
* lisp/obsolete/cl-compat.el, lisp/obsolete/lmenu.el: Comments.

13 years ago* emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
Glenn Morris [Fri, 8 Oct 2010 03:08:32 +0000 (20:08 -0700)]
* emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.

13 years agoRename some shadow.el things.
Glenn Morris [Fri, 8 Oct 2010 03:05:09 +0000 (20:05 -0700)]
Rename some shadow.el things.

* lisp/emacs-lisp/shadow.el (lisp-shadow): Change prefix.
(shadows-compare-text-p): Make it an obsolete alias for...
(load-path-shadows-compare-text): ... new name.
(find-emacs-lisp-shadows): Update for above name change.
(load-path-shadows-same-file-or-nonexistent): New name for the old
shadow-same-file-or-nonexistent.

13 years agoMinor cl.texi change.
Glenn Morris [Fri, 8 Oct 2010 03:01:23 +0000 (20:01 -0700)]
Minor cl.texi change.

* doc/misc/cl.texi (Organization, Installation, Old CL Compatibility):
Deprecate cl-compat for new code.

13 years agomerge emacs-23
Kenichi Handa [Fri, 8 Oct 2010 02:23:11 +0000 (11:23 +0900)]
merge emacs-23

13 years agognus-art.el (gnus-mime-view-part-externally, gnus-mime-view-part-internally): Make...
Katsumi Yamaoka [Fri, 8 Oct 2010 02:12:56 +0000 (02:12 +0000)]
gnus-art.el (gnus-mime-view-part-externally, gnus-mime-view-part-internally): Make predicate function passed to gnus-mime-view-part-as-type assume argument is a mime type, not a list of a mime type.

13 years agoshr.el (shr-table-widths): Don't use cl function `reduce'.
Katsumi Yamaoka [Fri, 8 Oct 2010 01:51:08 +0000 (01:51 +0000)]
shr.el (shr-table-widths): Don't use cl function `reduce'.

13 years agocoding.c (complement_process_encoding_system): Fix previous change.
Kenichi Handa [Fri, 8 Oct 2010 00:43:16 +0000 (09:43 +0900)]
coding.c (complement_process_encoding_system): Fix previous change.

13 years agoImprovements to face customization interface.
Chong Yidong [Fri, 8 Oct 2010 00:05:12 +0000 (20:05 -0400)]
Improvements to face customization interface.

* lisp/cus-edit.el (custom-variable, custom-face): Doc fix.
(custom-face-edit): Add value-create attribute.
(custom-face-edit-value-create)
(custom-face-edit-value-visibility-action): New functions.  Hide
unused face attributes by default, and add a visibility toggle.
(custom-face-edit-deactivate): Show empty values with shadow face.
(custom-face-selected): Only use this for face specs with default
attributes.
(custom-face-value-create): Cleanup.

* lisp/wid-edit.el (widget-checklist-value-create): Use dolist.
(widget-checklist-match-find): Make second arg optional.

13 years agoMerge changes made in Gnus trunk.
Lars Magne Ingebrigtsen [Thu, 7 Oct 2010 22:26:11 +0000 (22:26 +0000)]
Merge changes made in Gnus trunk.

shr.el (shr-render-td): Use a cache for the table rendering function to avoid getting an exponential rendering behaviour in nested tables.
shr.el (shr-insert): Rework the line-breaking algorithm.
shr.el (shr-insert): Don't leave trailing spaces.
shr.el (shr-insert-table): Also insert empty TDs.
shr.el (shr-tag-blockquote): Ensure paragraphs after </ul>.
gnus-start.el (gnus-get-unread-articles): Require gnus-agent before bidning gnus-agent variables.
mm-decode.el (mm-save-part): If given a non-directory result, expand the file name before using to avoid setting mm-default-directory to nil.
gnus.el (gnus-carpal): The carpal mode has been removed, but define the variable for backwards compatability.
nnimap.el (nnimap-update-info): Remove double setting of high.
nnimap.el (nnimap-update-info): Don't ignore groups that have no UIDNEXT.
shr.el (require): Require cl when compiling.
shr.el (shr-tag-hr): New function.

13 years ago* lisp/gnus/gnus-sum.el (gnus-number): Rename from `number'.
Stefan Monnier [Thu, 7 Oct 2010 18:22:07 +0000 (20:22 +0200)]
* lisp/gnus/gnus-sum.el (gnus-number): Rename from `number'.
(gnus-article-marked-p, gnus-summary-limit-to-display-predicate)
(gnus-summary-limit-children): Update uses correspondingly.

13 years agoTiny hilit-chg.el change.
Glenn Morris [Thu, 7 Oct 2010 17:30:10 +0000 (10:30 -0700)]
Tiny hilit-chg.el change.
* lisp/hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
Prefix things.

13 years agoRename some more shadow.el stuff.
Glenn Morris [Thu, 7 Oct 2010 17:22:51 +0000 (10:22 -0700)]
Rename some more shadow.el stuff.
* lisp/emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords)
(load-path-shadows-find-file): Rename variable and button.
(list-load-path-shadows): Update button caller.

13 years agoRename shadow-mode.
Glenn Morris [Thu, 7 Oct 2010 17:17:18 +0000 (10:17 -0700)]
Rename shadow-mode.
* lisp/emacs-lisp/shadow.el (shadow-font-lock-keywords)
(load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
load-path-shadows-mode, update references.

13 years ago[Gnus] Introduce gnus-gravatar-too-ugly.
Katsumi Yamaoka [Thu, 7 Oct 2010 12:31:39 +0000 (12:31 +0000)]
[Gnus] Introduce gnus-gravatar-too-ugly.

gnus-gravatar.el (gnus-gravatar-too-ugly): New user option.
gnus-gravatar.el (gnus-gravatar-transform-address): Don't show avatars of people of which mail addresses match gnus-gravatar-too-ugly.
gnus.texi (Gravatars): Document gnus-gravatar-too-ugly.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Thu, 7 Oct 2010 11:46:01 +0000 (11:46 +0000)]
Merge changes made in Gnus trunk.

nnimap.el (nnimap-request-rename-group): Add this method.
shr.el: Keep track of the natural width of TD elements, so we know which ones to expand.
shr.el: Expand TD elements to fill available space.

13 years agourl-http.el (url-http-end-of-document-sentinel): Protect against the
Lars Magne Ingebrigtsen [Thu, 7 Oct 2010 11:40:42 +0000 (13:40 +0200)]
url-http.el (url-http-end-of-document-sentinel): Protect against the
process buffer being killed.

13 years agoSMIE: Reliably distinguish openers/closers in smie-prec2-levels
Stefan Monnier [Thu, 7 Oct 2010 11:27:19 +0000 (13:27 +0200)]
SMIE: Reliably distinguish openers/closers in smie-prec2-levels
* lisp/emacs-lisp/smie.el (smie-bnf-classify): New function.
(smie-bnf-precedence-table): Use it to remember the closers/openers.
(smie-merge-prec2s): Handle those new entries.
(smie-prec2-levels): Only set precedence to nil for actual
openers/closers.
* lisp/progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
that is now unnecessary.

13 years ago(regexp-opt): Add `symbols' mode.
Miles Bader [Thu, 7 Oct 2010 07:24:21 +0000 (16:24 +0900)]
(regexp-opt): Add `symbols' mode.

13 years ago[Gnus] Enable XEmacs to display images.
Katsumi Yamaoka [Thu, 7 Oct 2010 06:47:37 +0000 (06:47 +0000)]
[Gnus] Enable XEmacs to display images.

gnus-html.el (gnus-html-schedule-image-fetching): Remove function name from XEmacs' function-arglist.
gnus-gravatar.el (gnus-gravatar-insert): Don't add properties to gravatar under XEmacs.

13 years agognus-int.el, gnus-util.el: Gnus hooks for the mark get/set operations.
Teodor Zlatanov [Thu, 7 Oct 2010 03:49:38 +0000 (03:49 +0000)]
gnus-int.el, gnus-util.el: Gnus hooks for the mark get/set operations.
gnus-sync.el: Update docs to explain state and plans.
auth-source.el: Update docs with TODO items.

13 years agoReduce rmail.el's use of sendmail.el
Glenn Morris [Thu, 7 Oct 2010 02:42:30 +0000 (19:42 -0700)]
Reduce rmail.el's use of sendmail.el

* lisp/mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
(mail-position-on-field): Remove declarations.
(mail-position-on-field): Autoload it.
(rmail-retry-failure): Replace use of mail-sendmail-delimit-header
and mail-header-end.  Don't require sendmail.

13 years agoAdd a shadow-mode for load-path shadows.
Glenn Morris [Thu, 7 Oct 2010 02:37:39 +0000 (19:37 -0700)]
Add a shadow-mode for load-path shadows.

* lisp/emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
(shadow-mode): New mode.
(shadow-find-file): New button.
(list-load-path-shadows): Use shadow-mode and buttons.

13 years agoMinor iimage.el changes.
Glenn Morris [Thu, 7 Oct 2010 02:32:52 +0000 (19:32 -0700)]
Minor iimage.el changes.

* lisp/iimage.el (iimage-version): Remove.
(iimage-mode-image-search-path, iimage-mode-image-regex-alist):
Turn into defcustoms.
(iimage-mode-map): Give it a doc string.

13 years agoMinr appt.el change.
Glenn Morris [Thu, 7 Oct 2010 02:26:30 +0000 (19:26 -0700)]
Minr appt.el change.
* lisp/calendar/appt.el (appt-activate): Give a warning rather than an error
if there is no diary-file.

13 years agoInclude version number in doc `make dist' tarfiles.
Glenn Morris [Thu, 7 Oct 2010 02:23:28 +0000 (19:23 -0700)]
Include version number in doc `make dist' tarfiles.

* doc/lispref/Makefile.in (version): New, set by configure.
(clean): Delete dist tar file.
(dist): Use version in tar name.

* doc/lispintro/Makefile.in (version): New, set by configure.
(clean): Delete dist tar file.
(dist): Use version in tar name.

* doc/emacs/Makefile.in (version): New, set by configure.
(clean): Delete dist tar file.
(dist): Use version in tar name.

13 years ago* doc/misc/eudc.texi (CCSO PH/QI, LDAP Requirements): Remove old information.
Glenn Morris [Thu, 7 Oct 2010 02:16:02 +0000 (19:16 -0700)]
* doc/misc/eudc.texi (CCSO PH/QI, LDAP Requirements): Remove old information.

13 years agosieve-manage.el: Add authenticate function.
Julien Danjou [Wed, 6 Oct 2010 14:02:39 +0000 (14:02 +0000)]
sieve-manage.el: Add authenticate function.
sieve-manage.el (sieve-manage-open): Use sieve-manage-default-port.

13 years agoshr.el (shr-render-td): Only delete space at the end of the TD.
Lars Magne Ingebrigtsen [Wed, 6 Oct 2010 13:21:07 +0000 (13:21 +0000)]
shr.el (shr-render-td): Only delete space at the end of the TD.

13 years agosieve-manage: use auth-source.
Julien Danjou [Wed, 6 Oct 2010 13:13:11 +0000 (13:13 +0000)]
sieve-manage: use auth-source.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Wed, 6 Oct 2010 12:38:45 +0000 (12:38 +0000)]
Merge changes made in Gnus trunk.

shr.el: Rearrange function order to be more logical.
gnus-faq.texi: Remove reference to my.gnus.org
message.el (message-change-subject): Remove 404 URL in a comment.
nnir.el: Fix Swish-E URL.
nnir.el: Fix Namazu URL.
nnrss.el (nnrss-check-group): Remove 404 URL in comment.
nnrss.el (nnrss-discover-feed): Remove 404 URL in docstring.
gnus-faq.texi (FAQ 5-5): Fix Flyspell URL.
gnus-faq.texi (FAQ 7-1): Fix getmail URL.
gnus.texi (Comparing Mail Back Ends): Remove broken link and allusion to ReiserFS.
nnimap.el (nnimap-open-connection): Prepare to support open-gnutls-stream.
shr.el (shr-insert): Get 'space transition right.
message.texi: Remove reference to gpg-2comp.

13 years ago* net/tramp-sh.el (tramp-sh-file-name-handler-alist): Use
Michael Albinus [Wed, 6 Oct 2010 12:03:29 +0000 (14:03 +0200)]
* net/tramp-sh.el (tramp-sh-file-name-handler-alist): Use
`tramp-handle-find-backup-file-name'.

13 years agont/INSTALL: Add note about problematic characters passed to configure.
Juanma Barranquero [Wed, 6 Oct 2010 10:55:03 +0000 (12:55 +0200)]
nt/INSTALL: Add note about problematic characters passed to configure.

13 years ago* epa.texi (Caching Passphrases): New section.
Daiki Ueno [Wed, 6 Oct 2010 07:12:42 +0000 (16:12 +0900)]
* epa.texi (Caching Passphrases): New section.

13 years agoMinor doc/*/Makefile.in change.
Glenn Morris [Wed, 6 Oct 2010 04:20:46 +0000 (21:20 -0700)]
Minor doc/*/Makefile.in change.

* doc/emacs/Makefile.in ($(infodir)): Add parallel build workaround.
* doc/lispintro/Makefile.in ($(infodir)): Add parallel build workaround.
* doc/lispref/Makefile.in ($(infodir)): Add parallel build workaround.
* doc/misc/Makefile.in ($(infodir)): Add parallel build workaround.

13 years agoRemove obsolete variable font-lock-defaults-alist.
Glenn Morris [Wed, 6 Oct 2010 04:14:05 +0000 (21:14 -0700)]
Remove obsolete variable font-lock-defaults-alist.

* lisp/font-core.el (font-lock-defaults-alist): Remove variable.
(font-lock-mode): Doc fix.
(font-lock-default-function): Do not consult font-lock-defaults-alist.
* lisp/font-lock.el (font-lock-refresh-defaults): Doc fix.
(font-lock-set-defaults): Doc fix.
Do not consult font-lock-defaults-alist.

* etc/NEWS: Mention above change.

13 years ago* lisp/hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
Glenn Morris [Wed, 6 Oct 2010 04:06:25 +0000 (21:06 -0700)]
* lisp/hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
Remove arch-tag comment.

13 years agognus-art.el (gnus-mime-view-part-as-type): Make it work when being called interactively.
Katsumi Yamaoka [Wed, 6 Oct 2010 02:41:59 +0000 (02:41 +0000)]
gnus-art.el (gnus-mime-view-part-as-type): Make it work when being called interactively.

13 years ago* lisp/emacs-lisp/cl.el: No longer provide cl-19.
Glenn Morris [Wed, 6 Oct 2010 02:30:53 +0000 (19:30 -0700)]
* lisp/emacs-lisp/cl.el: No longer provide cl-19.

* etc/NEWS: Mention this change.

13 years agoMisc cleanup for doc/*/Makefiles.
Glenn Morris [Wed, 6 Oct 2010 02:26:38 +0000 (19:26 -0700)]
Misc cleanup for doc/*/Makefiles.

* doc/misc/Makefile.in (SHELL): Set it.
(info): Move the mkdir dependency to the individual info files.
(mostlyclean): Tidy up.
(clean): Only delete the specific dvi and pdf files.
(maintainer-clean): Be more restrictive in what we delete.

* doc/lispref/Makefile.in: Rearrange to more closely resemble
doc/emacs/Makefile.
(INSTALL_INFO): Remove unused variable.
(mostlyclean, infoclean, dist): New rules.
(clean): Delete dvi and pdf files.
(maintainer-clean): Remove elisp.oaux, use infoclean.

* doc/lispintro/Makefile.in (SHELL): Use /bin/sh, like every other Makefile.in.
(INFO_SOURCES, INFO_TARGETS, DVI_TARGETS): Remove variables.
($(infodir), html, pdf, infoclean, dist): New rules.
(${infodir}/eintr): Ensure $infodir exists.  Use $@.
(emacs-lisp-intro.dvi, emacs-lisp-intro.pdf, emacs-lisp-intro.html): Use $^.
(.PHONY): Declare clean rules.
(mostlyclean): Delete more temp files.
(clean): Delete specific dvi, pdf and html files.
(maintainer-clean): Use infoclean.
(.NOEXPORT): Remove, unused by any other Makefile.in.

* doc/emacs/Makefile.in (EMACS_XTRA): Add the main source file.
(emacs-xtra.dvi, emacs-xtra.pdf): Remove explicit emacs-xtra.texi.
(mostlyclean): No core files, reorder other files.
(clean): Delete specific dvi and pdf files.
(infoclean, dist): New rules.
(maintainer-clean): Use infoclean.

13 years ago* doc/misc/cl.texi (Usage, Installation): Remove outdated information.
Glenn Morris [Wed, 6 Oct 2010 02:19:42 +0000 (19:19 -0700)]
* doc/misc/cl.texi (Usage, Installation): Remove outdated information.

13 years agognus-group.el (gnus-group-completing-read): Fix last change.
Katsumi Yamaoka [Wed, 6 Oct 2010 01:38:26 +0000 (01:38 +0000)]
gnus-group.el (gnus-group-completing-read): Fix last change.

13 years agoEliminate `remove-if-not' that is a cl function.
Katsumi Yamaoka [Wed, 6 Oct 2010 01:09:32 +0000 (01:09 +0000)]
Eliminate `remove-if-not' that is a cl function.

gnus-util.el (gnus-remove-if): Allow hash table.
gnus-util.el (gnus-remove-if-not): New function.
gnus-art.el (gnus-mime-view-part-as-type): Replace remove-if-not with gnus-remove-if-not.
gnus-score.el (gnus-summary-score-effect): Replace remove-if-not with gnus-remove-if-not.
gnus-sum.el (gnus-read-move-group-name): Replace remove-if-not with gnus-remove-if-not.
gnus-group.el (gnus-group-completing-read): Regard collection as a hash table if it is not a list.

13 years agoshr.el (shr-render-td): Allow blank/missing <TD>s.
Lars Magne Ingebrigtsen [Tue, 5 Oct 2010 23:42:01 +0000 (23:42 +0000)]
shr.el (shr-render-td): Allow blank/missing <TD>s.
shr.el: Document the table-rendering algorithm.

13 years agoMerge changes made in Gnus trunk.
Lars Magne Ingebrigtsen [Tue, 5 Oct 2010 22:43:06 +0000 (22:43 +0000)]
Merge changes made in Gnus trunk.

mm-decode.el (mm-shr): Bind shr-blocked-images to gnus-blocked-images.
shr.el (shr-tag-table): Put all the images after the table.
shr.el (shr-tag-table): Really inhibit images inside the table.
shr.el (shr-collect-overlays): Copy over overlays from the TD elements to the main document.
nnimap.el (nnimap-request-newgroups): Return success.
gnus-group.el (gnus-group-make-group): Doc fix.
nnir.el (nnir-retrieve-headers): Don't bug out on invalid data.
gnus-sum.el (gnus-article-sort-by-most-recent-date): New function, added for symmetry.
mm-decode.el (mm-shr): Allow displaying cid: images from shr.el.
shr.el (shr-insert-table): Bind free variable.
gnus-art.el (gnus-blocked-images): Move variable here.
mm-decode.el (mm-shr): Require shr.
shr.el (shr-tag-img): Shorten ALT texts and allow them to be line-broken.
shr.el (shr-tag-img): Ignore image fetching errors.
shr.el (shr-overlays-in-region): Compute overlay positions correctly.
gnus-html.el (gnus-html-schedule-image-fetching): Protect against invalid URLs.

13 years ago* net/tramp.el (tramp-handle-directory-files-and-attributes)
Michael Albinus [Tue, 5 Oct 2010 14:20:24 +0000 (16:20 +0200)]
* net/tramp.el (tramp-handle-directory-files-and-attributes)
(tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
New defuns, taken from tramp-smb.el.
(tramp-coding-system-change-eol-conversion)
(tramp-set-process-query-on-exit-flag): Removed.

* net/tramp-compat.el (top): Do not check for byte-compiler
objects.
(tramp-compat-coding-system-change-eol-conversion)
(tramp-compat-set-process-query-on-exit-flag): New defuns, taken
from tramp.el.

* net/tramp-gvfs.el:
* net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
by `tramp-compat-set-process-query-on-exit-flag'.

* net/tramp-imap.el (tramp-imap-file-name-handler-alist): Use
`tramp-handle-directory-files-and-attributes',
`tramp-handle-file-exists-p' and
`tramp-handle-file-newer-than-file-p'.
(tramp-imap-handle-file-exists-p)
(tramp-imap-handle-file-executable-p)
(tramp-imap-handle-file-readable-p)
(tramp-imap-handle-directory-files-and-attributes)
(tramp-imap-handle-file-newer-than-file-p): Removed.

* net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
by `tramp-compat-set-process-query-on-exit-flag' and
`tramp-coding-system-change-eol-conversion' by
`tramp-compat-coding-system-change-eol-conversion'.

* net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use
`tramp-handle-directory-files-and-attributes',
`tramp-handle-file-exists-p' and
`tramp-handle-file-newer-than-file-p'.
(tramp-smb-handle-directory-files-and-attributes)
(tramp-smb-handle-file-exists-p)
(tramp-smb-handle-file-newer-than-file-p): Removed.
(tramp-smb-maybe-open-connection): Replace
`tramp-set-process-query-on-exit-flag' by
`tramp-compat-set-process-query-on-exit-flag'.

13 years agosieve-manage.el (sieve-manage-capability): Do not bug out when the server-value of...
Julien Danjou [Tue, 5 Oct 2010 13:19:07 +0000 (13:19 +0000)]
sieve-manage.el (sieve-manage-capability): Do not bug out when the server-value of the capability is nil.
gnus-html.el (gnus-html-wash-images): Rescale image from cid too.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Tue, 5 Oct 2010 10:46:15 +0000 (10:46 +0000)]
Merge changes made in Gnus trunk.

sieve-manage.el (sieve-manage-default-stream): Make default stream customizable.
gnus-html.el (gnus-html-wash-tags): Decode URL entities to avoid broken links.
nnimap.el (nnimap-open-connection): Give an error if nnimap-stream is unknown.
shr.el (shr-tag-em): Add <EM> tag.

13 years agognus-util.el (gnus-emacs-completing-read, gnus-iswitchb-completing-read): Use autoloa...
Julien Danjou [Tue, 5 Oct 2010 07:50:08 +0000 (07:50 +0000)]
gnus-util.el (gnus-emacs-completing-read, gnus-iswitchb-completing-read): Use autoload rather than require.

13 years agoMerge changes made ein Gnus trunk.
Katsumi Yamaoka [Tue, 5 Oct 2010 06:36:32 +0000 (06:36 +0000)]
Merge changes made ein Gnus trunk.

gnus-util.el (gnus-completing-read-function): Exclude gnus-icompleting-read and gnus-ido-completing-read from candidates for XEmacs since iswitchb.el is very old and ido.el is unavailable in XEmacs.
gnus-registry.el (gnus-registry-install-nnregistry): Rewrite so as not to use `delete-dups' that is unavailable in XEmacs 21.4.

13 years agoNEWS update.
Glenn Morris [Tue, 5 Oct 2010 04:19:58 +0000 (21:19 -0700)]
NEWS update.

13 years ago* lisp/obsolete/rnews.el, lisp/obsolete/rnewspost.el: Remove files.
Glenn Morris [Tue, 5 Oct 2010 04:17:51 +0000 (21:17 -0700)]
* lisp/obsolete/rnews.el, lisp/obsolete/rnewspost.el: Remove files.

13 years agoFix rnewspost.el comment typo.
Glenn Morris [Tue, 5 Oct 2010 04:14:08 +0000 (21:14 -0700)]
Fix rnewspost.el comment typo.

13 years agognus-html.el (gnus-html-schedule-image-fetching): Work for XEmacs.
Katsumi Yamaoka [Tue, 5 Oct 2010 03:48:30 +0000 (03:48 +0000)]
gnus-html.el (gnus-html-schedule-image-fetching): Work for XEmacs.

13 years ago* .dir-locals.el: The Emacs convention is sentence-end-double-space.
Glenn Morris [Tue, 5 Oct 2010 02:40:34 +0000 (19:40 -0700)]
* .dir-locals.el: The Emacs convention is sentence-end-double-space.
Remove arch-tag comment.

13 years agomm-decode.el (mm-shr): Decode contents by charset.
Katsumi Yamaoka [Tue, 5 Oct 2010 02:08:37 +0000 (02:08 +0000)]
mm-decode.el (mm-shr): Decode contents by charset.

13 years agoshr.el: Revert last change.
Katsumi Yamaoka [Tue, 5 Oct 2010 01:23:11 +0000 (01:23 +0000)]
shr.el: Revert last change.

13 years agoshr.el (shr-encode-url-chars): New function.
Katsumi Yamaoka [Tue, 5 Oct 2010 00:44:05 +0000 (00:44 +0000)]
shr.el (shr-encode-url-chars): New function.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Mon, 4 Oct 2010 22:26:51 +0000 (22:26 +0000)]
Merge changes made in Gnus trunk.

shr.el: Implement table rendering.
shr.el (shr-make-table): Tweak table generation.
shr.el (shr-make-table): Fix typo.
nnimap.el (nnimap-open-connection): Allow tls as a synonym for ssl.
gnus-util.el (gnus-emacs-completing-read): Mapcar collection to list, for XEmacs.
nnimap.el (nnimap-close-server): Implement.
gnus-salt.el: Remove all gnus-carpal stuff -- it's not useful.
nnir.el (nnir-run-imap): Remove spurious space in search string.
message.el (message-idna-to-ascii-rhs-1): Don't bug out on addresses without @ signs.
gnus-sum.el (gnus-widen-article-window): New variable.
shr.el (browse-url): Required.
shr.el (shr-ensure-paragraph): Don't insert a new newline after empty-ish lines.
shr.el (shr-show-alt-text, shr-browse-image): New commands.
gravatar.el (gravatar-retrieved): kill buffer when retrieved.
shr.el (shr-browse-url, shr-copy-url): New commands.
shr.el (shr-render-td): Protect against too-wide text.
spam-report.el (spam-report-url-ping-plain): Don't query about killing the process.
nnimap.el (nnimap-finish-retrieve-group-infos): Message while waiting for data.
shr.el (shr-tag-blockquote): Ensure paragraph after quote, too.
mml-smime.el: Fix gnus-completing-read usage.
shr.el (shr-get-image-data): Ensure against the cache file missing.
nnimap.el (nnimap-open-connection): Give an error if nnimap-stream is unknown.

13 years agoContinue reorganization of load dependencies. (Bug#7156)
Michael Albinus [Mon, 4 Oct 2010 19:44:08 +0000 (21:44 +0200)]
Continue reorganization of load dependencies.  (Bug#7156)

* net/tramp.el (tramp-handle-file-local-copy-hook)
(tramp-delete-temp-file-function): Move down.
(tramp-exists-file-name-handler): Move up.
(tramp-register-file-name-handlers): Simplify autoload.
(tramp-handle-write-region-hook, tramp-handle-directory-file-name)
(tramp-handle-directory-files, tramp-handle-dired-uncache)
(tramp-handle-file-modes, tramp-handle-file-name-as-directory)
(tramp-handle-file-name-completion)
(tramp-handle-file-name-directory)
(tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
(tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
(tramp-handle-find-backup-file-name)
(tramp-handle-insert-file-contents, tramp-handle-load)
(tramp-handle-substitute-in-file-name)
(tramp-handle-unhandled-file-name-directory)
(tramp-mode-string-to-int, tramp-local-host-p)
(tramp-make-tramp-temp-file): Moved from tramp-sh.el.

* net/tramp-gvfs.el (top):
* net/tramp-smb.el (top): Do not require 'tramp-sh.

* net/tramp-sh.el (all): Move several objects to tramp.el, see
there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.

13 years ago(url-http-wait-for-headers-change-function): Revert previous
Lars Magne Ingebrigtsen [Mon, 4 Oct 2010 19:34:35 +0000 (21:34 +0200)]
(url-http-wait-for-headers-change-function): Revert previous
change.  It lead to really slow loads.

13 years ago* url-http.el (url-http-wait-for-headers-change-function): Protect
Lars Magne Ingebrigtsen [Mon, 4 Oct 2010 19:05:53 +0000 (21:05 +0200)]
* url-http.el (url-http-wait-for-headers-change-function): Protect
against url-http-response-status for degenerate documents.

13 years agoDon't add an echo dash for the first keystroke (Bug#7137).
Chong Yidong [Mon, 4 Oct 2010 18:16:22 +0000 (14:16 -0400)]
Don't add an echo dash for the first keystroke (Bug#7137).

* src/keyboard.c (echo_prompt): Function moved into read_key_sequence.
(read_key_sequence): Inline echo_prompt.
(echo_dash): Add a dash only if key is continued (Bug#7137).

13 years agoRemove O_RDONLY, O_WRONLY definitions, not needed.
Dan Nicolaescu [Mon, 4 Oct 2010 17:22:57 +0000 (10:22 -0700)]
Remove O_RDONLY, O_WRONLY definitions, not needed.
* src/unexcoff.c:
* src/lread.c:
* src/fileio.c:
* src/doc.c:
* src/callproc.c:
* src/alloc.c:
* src/termcap.c: Remove O_RDONLY O_WRONLY definitions.

13 years agoshr.el (shr-tag-li): Get <li> indentation right.
Lars Magne Ingebrigtsen [Mon, 4 Oct 2010 13:17:48 +0000 (13:17 +0000)]
shr.el (shr-tag-li): Get <li> indentation right.
shr.el (shr-tag-li): Get <li> indentation even righter.
shr.el (shr-tag-blockquote): Ensure paragraph start.