Merge changes made in Gnus trunk.
nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
gnus-sum.el (gnus-summary-refer-thread): Simplify code. Restore gnus-use-agent.
(gnus-get-newsgroup-headers): Avoid unwanted spaces at eol.
gravatar.el (gravatar-retrieve-synchronously): New function.
(gravatar-get-data): Make more robust.
gnus-util.el (gnus-rescale-image): Allow to resize images even if they are from file. Can also scale up.
nnimap.el (nnimap-retrieve-headers): Remove CRLF from the headers.
nnir.el (nnir-mode): Make sure 'gnus-registry-install is bound.
gnus-sum.el (gnus-get-newsgroup-headers): Revert the last change here, since it's up to the backends to do CRLF removal if their protocol has it.
gnus-group.el (gnus-group-delete-articles): New command.
Here are some of the cpp macros used, together with some short explanationof their use. Feel free to add more macros and more categories.** Distinguishing OSes **CYGWIN Compiling the Cygwin port.__CYGWIN__ DittoMSDOS Compiling the MS-DOS port.__MSDOS__ Ditto.__DJGPP_MINOR__ Minor version number of the DJGPP library; used only in msdos.c and dosfns.c.DOS_NT Compiling for either the MS-DOS or native MS-Windows port.WINDOWSNT Compiling the native MS-Windows (W32) port.__MINGW32__ Compiling the W32 port with the MinGW port of GCC._MSC_VER Compiling the W32 port with the Microsoft C compiler.DARWIN_OS Compiling on Mac OS X or pure Darwin (and using s/darwin.h).** Distinguishing GUIs **HAVE_NTGUI Use the native W32 GUI for windows, frames, menus&scrollbars.HAVE_NS Use the NeXT/OpenStep/Cocoa UI under Mac OS X or GNUstep.NS_IMPL_GNUSTEP Compile support for GNUstep implementation of NS GUI API.NS_IMPL_COCOA Compile support for Cocoa (Apple) implementation of NS GUI API.HAVE_X11 Compile support for the X11 GUI.HAVE_X_WINDOWS Compile support for X Window system (It looks like, nowadays, if HAVE_X11 is set, HAVE_X_WINDOWS must be, and vice versa. At least, this is true for configure, and msdos; not sure about nt.)USE_LUCID Use the Lucid toolkit for menus&scrollbars. Requires HAVE_X11.USE_MOTIF Use the Motif toolkit for menus&scrollbars. Requires HAVE_X11.USE_GTK Use the Gtk toolkit for menus&scrollbars. Requires HAVE_X11.** Frame types **FRAME_TERMCAP_P A tty (character terminal) frame.FRAME_X_P A frame on X Window system.FRAME_MSDOS_P An MS-DOS frame (used only by the DOS port).FRAME_W32_P A frame using native MS-Windows GUI.FRAME_WINDOW_P A GUI frame (like X, w32, etc.)** Support for accessing other processes on the system **HAVE_PROCFS The /proc filesystem is supported.** Compile-time options **REL_ALLOC Compile in the relocatable memory allocator ralloc.c.SYSTEM_MALLOC Use the system library's malloc.subprocesses System can use subprocesses (for M-x shell for example). Defined by default, only MSDOS undefines it.USE_LISP_UNION_TYPE Define it in lisp.h to make Lisp_Object be a union type instead of the default int.** System specific macros, decribed in detail in src/s/template.hCLASH_DETECTIONCOFFFIRST_PTY_LETTERHAVE_PTYSHAVE_TERMIOHAVE_TERMIOSINTERRUPT_INPUTNARROWPROTOSEPCHARSIGTYPESYSTEM_TYPE** Machine specific macros, decribed in detail in src/m/template.hLOAD_AVE_CVTLOAD_AVE_TYPEVIRT_ADDR_VARIES** Misc macrosUSER_FULL_NAME If defined, overrides the default pw->pw_gecos for getting at the full user name. Only MSDOS overrides the default.** Replace, the definition is trivial: SWITCH_ENUM_CAST** Defines from src/m/*.h and src/s/*.h. Some of these might not be used in the code anymore, so they can be removed. The HAVE_* definitions are probably handled by autoconf, so it might be possible to just remove them from src/[sm]/*.h.AIXAMPERSAND_FULL_NAMEBITS_PER_EMACS_INTBITS_PER_LONGBITS_PER_CHARBITS_PER_SHORTBITS_PER_INTBROKEN_DATAGRAM_SOCKETSBROKEN_FIONREADBROKEN_GET_CURRENT_DIR_NAMEBROKEN_NON_BLOCKING_CONNECTBROKEN_PTY_READ_AFTER_EAGAINBROKEN_SA_RESTARTBROKEN_SIGAIOBROKEN_SIGIOBROKEN_SIGPOLLBROKEN_SIGPTYBSD4_2BSD4_3BSD_SYSTEMCLASH_DETECTIONDATA_SEG_BITSDATA_STARTDBL_MIN_REPLACEMENTDEFAULT_SOUND_DEVICEDEVICE_SEPDIRECTORY_SEPDONT_REOPEN_PTYDOUG_LEA_MALLOCDebPrintEMACSDEBUGEMACS_CONFIGURATIONEMACS_CONFIG_OPTIONSEMACS_INTEMACS_UINTFILE_SYSTEM_CASEFLOAT_CHECK_DOMAINFSCALEGC_LISP_OBJECT_ALIGNMENTGC_MARK_SECONDARY_STACKGC_MARK_STACKGC_SETJMP_WORKSGMALLOC_INHIBIT_VALLOCGNU_LIBRARY_PENDING_OUTPUT_COUNTGNU_LINUXGNU_MALLOCHAVE_AIX_SMT_EXPHAVE_CBRTHAVE_CLOSEDIRHAVE_DUP2HAVE_EUIDACCESSHAVE_FMODHAVE_FPATHCONFHAVE_FREXPHAVE_FSYNCHAVE_FTIMEHAVE_GETCWDHAVE_GETDOMAINNAMEHAVE_GETHOSTNAMEHAVE_GETLOADAVGHAVE_GETPAGESIZEHAVE_GETPTHAVE_GETTIMEOFDAYHAVE_GETWDHAVE_H_ERRNOHAVE_INET_SOCKETSHAVE_INVERSE_HYPERBOLICHAVE_LIBKSTATHAVE_LIMITS_HHAVE_LINUX_VERSION_HHAVE_LOGBHAVE_LONG_FILE_NAMESHAVE_LRAND48HAVE_MENUSHAVE_MKDIRHAVE_MKTIMEHAVE_MOUSEHAVE_PERRORHAVE_PSTAT_GETDYNAMICHAVE_PWD_HHAVE_RANDOMHAVE_RENAMEHAVE_RES_INITHAVE_RINTHAVE_RMDIRHAVE_SELECTHAVE_SETLOCALEHAVE_SETPGIDHAVE_SETRLIMITHAVE_SETSIDHAVE_SHUTDOWNHAVE_SOCKETSHAVE_SOUNDHAVE_STDLIB_HHAVE_STRERRORHAVE_STRFTIMEHAVE_STRING_HHAVE_STRUCT_UTIMBUFHAVE_SYSINFOHAVE_SYSV_SIGPAUSEHAVE_SYS_SELECT_HHAVE_SYS_SYSTEMINFO_HHAVE_SYS_TIMEB_HHAVE_SYS_TIME_HHAVE_TCATTRHAVE_TERMIOS_HHAVE_TIMEVALHAVE_TM_ZONEHAVE_TZSETHAVE_UNISTD_HHAVE_UTIMESHAVE_UTIME_HHAVE_WINDOW_SYSTEMHAVE_WORKING_VFORKHAVE_XRMSETDATABASEHPUXINTERNAL_TERMINALIS_ANY_SEPIS_DIRECTORY_SEPKERNEL_FILELDAV_SYMBOLLINKERLINUX_VERSION_CODELISP_FLOAT_TYPELNOFLSHLOCALTIME_CACHEMAIL_USE_FLOCKMAIL_USE_LOCKFMAIL_USE_POPMAIL_USE_SYSTEM_LOCKMAXPATHLENMIN_PTY_KERNEL_VERSION -- only used on MacMODE_LINE_BINARY_TEXTMUST_UNDEF__STDC__NLIST_STRUCTNO_ABORTNO_EDITRESNO_MATHERRNO_TERMIONSIGNSIG_MINIMUMNULLNULL_DEVICEORDINARY_LINKO_APPENDO_RDONLYO_RDWRPAGESIZEPENDING_OUTPUT_COUNTPOSIXPREFER_VSUSPPTY_ITERATIONPTY_NAME_SPRINTFPTY_OPENPTY_TTY_NAME_SPRINTFPURESIZERUN_TIME_REMAPSA_RESTARTSEGMENT_MASKSETPGRP_RELEASES_CTTYSETUP_SLAVE_PTYSIGALRMSIGCHLDSIGHUPSIGKILLSIGNALS_VIA_CHARACTERSSIGPIPESIGQUITSIGTRAPSIGTYPESOLARIS2STDC_HEADERSSYSTEM_PURESIZE_EXTRASYSTEM_MALLOCSYSV_SYSTEM_DIRTAB3TABDLYTERMTIME_WITH_SYS_TIMETIOCSIGSENDTM_IN_SYS_TIMEULIMIT_BREAK_VALUEUNIX98_PTYSUSE_CRT_DLLUSE_TOOLKIT_SCROLL_BARSUSGUSG5USG5_4USG_SUBTTY_WORKSVALBITSWRETCODEXINTXOS_NEEDS_TIME_HXPNTRXSETXUINT_AIX_ARCH_PPC64_CALLBACK__FILE_OFFSET_BITS_LP64_MALLOC_INTERNAL_NAIVE_DOS_REGS_VARARGS__WINSOCKAPI__WINSOCK_H__ELF____FreeBSD____GNUC____GNU_LIBRARY____GNUC_MINOR____NetBSD____OpenBSD____STDC____arch64____cplusplus__hpux__ia64____linux____mc68000____mips___longjmp_setjmp_startabortaccessallocabrkcallocchdirchmodchowncloseconstcreatctimedupdup2edataemacsetextexeclpexecvpfdopenfilenofopenfreefsyncftruncatefwritegetdefdirgetdiskgetenvgetpidgetuidgmtimei386indexinit_processisattykilllinklinuxlocaltimelogblseekm68kmallocmkdirmktempopenpclosepipepopenrandomreadreallocrenamerindexrmdirsbrkselectsigmasksignalsigsetmasksleepspawnvesrandomstrdupstrerrorstricmpstrnicmpstruprsys_nerrsystemtemacstznametzsetumaskunixunlinkutimbufutimevforkwaitwritexfree# arch-tag: bc80061a-1168-4911-9766-46aaf2640250