1. 23 Mar, 2010 8 commits
    • Katsumi Yamaoka's avatar
      Synch with Gnus trunk · ec7995fa
      Katsumi Yamaoka authored
      =====================
      2010-03-23  Katsumi Yamaoka  <yamaoka@jpl.org>
      
       * gnus-art.el (canlock-verify): Autoload it for Emacs 21.
      
       * message.el (ecomplete-setup): Autoload it for Emacs <23.
      
       * mml-sec.el (mml-secure-cache-passphrase): Default to t that is
       password-cache's default if it is not bound.
       (mml-secure-passphrase-cache-expiry): Default to 16 that is
       password-cache-expiry's default if it is not bound.
      
       * pop3.el (pop3-list): Don't use 3rd arg of `split-string' which is not
       available in Emacs 21.
      
      2010-03-23  Teodor Zlatanov  <tzz@lifelogs.com>
      
       * auth-source.el (auth-sources): Fix up definition so extra parameters
       are always inline.
      
      2010-03-22  Martin Stjernholm  <mast@lysator.liu.se>
      
       * nnimap.el (nnimap-verify-uidvalidity): Fixed bug where uidvalidity
       wasn't updated after mismatch.  Clear cached mailbox info correctly
       when uidvalidity changes.
       (nnimap-group-prefixed-name): New function to avoid some code
       duplication.
       (nnimap-verify-uidvalidity, nnimap-group-overview-filename)
       (nnimap-request-group): Use it.
       (nnimap-retrieve-groups, nnimap-verify-uidvalidity)
       (nnimap-update-unseen): Significantly improved speed of Gnus startup
       with many imap folders.  This is done by caching the group status from
       the imap server persistently in a group parameter `imap-status'. (This
       was cached before too if `nnimap-retrieve-groups-asynchronous' was set,
       but not persistently, so every Gnus startup was still very slow.)
      
      2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
      
       * auth-source.el: Set up autoloads.  Bump to 23.2 because of the
       secrets.el dependency.
       (auth-sources): Add optional user name.  Add secrets.el configuration
       choice (unused right now).
      
      2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
      
       * gnus-sum.el (gnus-summary-make-menu-bar): Let
       `gnus-registry-install-shortcuts' fill in the functions.
      
       * gnus-registry.el (gnus-summary-misc-menu): Declare to avoid
       warnings.
       (gnus-registry-misc-menus): Variable to hold registry mark menus.
       (gnus-registry-install-shortcuts): Populate and use it in a
       `gnus-summary-menu-hook' lambda, under "Gnus"->"Registry Marks".
      
      2010-03-20  Martin Stjernholm  <mast@lysator.liu.se>
      
       * nnimap.el (nnimap-decode-group-name, nnimap-encode-group-name):
       In-place substitutions for the group name encoding/decoding.
       (nnimap-find-minmax-uid, nnimap-possibly-change-group)
       (nnimap-retrieve-headers-progress, nnimap-possibly-change-group)
       (nnimap-retrieve-headers-progress, nnimap-request-article-part)
       (nnimap-update-unseen, nnimap-request-list)
       (nnimap-retrieve-groups, nnimap-request-update-info-internal)
       (nnimap-request-set-mark, nnimap-split-to-groups)
       (nnimap-split-articles, nnimap-request-newgroups)
       (nnimap-request-create-group, nnimap-request-accept-article)
       (nnimap-request-delete-group, nnimap-request-rename-group)
       (nnimap-acl-get, nnimap-acl-edit): Use them.  Replace `mbx' with
       `encoded-mbx' for consistency.
       (nnimap-close-group): Call `imap-current-mailbox' instead of using the
       variable `imap-current-mailbox'.
      
       * gnus-agent.el (gnus-agent-fetch-articles, gnus-agent-fetch-headers)
       (gnus-agent-regenerate-group): Use `gnus-agent-decoded-group-name'.
      
      2010-03-20  Bojan Petrovic  <bpetrovi@f.bg.ac.rs>
      
       * pop3.el (pop3-display-message-size-flag): Display message size byte
       counts during POP3 download.
       (pop3-movemail): Use it.
       (pop3-list): Implement listing of available messages.
      
      2010-03-20  Mark Triggs  <mst@dishevelled.net>  (tiny change)
      
       * nnir.el (nnir-get-article-nov-override-function): New function to
       override the normal NOV retrieval.
       (nnir-retrieve-headers): Use it.
      ec7995fa
    • Katsumi Yamaoka's avatar
      Synch with Gnus trunk · 1888398e
      Katsumi Yamaoka authored
      =====================
      2010-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
      
       * gnus/gnus-setup.ast: Add finish links to the top nodes.
      
       * gnus/news-server.ast: Add some trivial validation.
      1888398e
    • Juri Linkov's avatar
      * replace.el (occur-accumulate-lines, occur-engine): · f14d1172
      Juri Linkov authored
      Use `occur-engine-line' instead of duplicate code.
      (occur-engine-line): New function created from duplicate code
      in `occur-accumulate-lines' and `occur-engine'.
      f14d1172
    • Juri Linkov's avatar
      * finder.el: Remove TODO tasks. · 75a3ff20
      Juri Linkov authored
      * info.el (Info-finder-find-node): Add node "all"
      with all package info.  Handle a list of multiple keywords
      separated by comma.
      (info-finder): In interactive use with a prefix argument,
      use `completing-read-multiple' to read a list of keywords
      separated by comma.
      75a3ff20
    • Dan Nicolaescu's avatar
      814fb708
    • Dan Nicolaescu's avatar
      * s/netbsd.h: Remove commented out code. · 38e3487c
      Dan Nicolaescu authored
      38e3487c
    • Dan Nicolaescu's avatar
      Simplify LIBS_MACHINE definitions. · 5845f0ed
      Dan Nicolaescu authored
      * m/hp800.h (LIBS_MACHINE): Remove, same as default.
      * m/iris4d.h (LIBS_MACHINE): Likewise.
      * m/ibmrs6000.h (LIBS_MACHINE): Rename to LIBS_SYSTEM and move ...
      * s/aix4-2.h (LIBS_SYSTEM): ... here.
      5845f0ed
    • Stefan Monnier's avatar
      Add a new completion style `substring'. · 00278747
      Stefan Monnier authored
      * minibuffer.el (completion-basic--pattern): New function.
      (completion-basic-try-completion, completion-basic-all-completions): Use it.
      (completion-substring--all-completions)
      (completion-substring-try-completion)
      (completion-substring-all-completions): New functions.
      (completion-styles-alist): New style `substring'.
      00278747
  2. 22 Mar, 2010 5 commits
  3. 21 Mar, 2010 5 commits
  4. 20 Mar, 2010 14 commits
    • Stefan Monnier's avatar
      Use more relative file and directory names in `lisp' make rules. · 3613edce
      Stefan Monnier authored
      * lisp/Makefile.in (EMACS): Arrange for it to work when we chdir.
      (setwins, setwins_almost, setwins_for_subdirs):
      Don't `cd'; output relative names.
      (all, compile, compile-always, compile-last): Set emacswd.
      (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
      Just cd to the lisp source dir so we can use relative file names.
      * src/Makefile.in (bootstrap_exe): Use an absolute name.
      3613edce
    • Ted Zlatanov's avatar
      Fix unbalanced parenthesis in secrets.el. · f05e1b94
      Ted Zlatanov authored
      Fix parenthesis.
      (secrets-enabled): Fix parenthesis.
      f05e1b94
    • Stefan Monnier's avatar
      801ba3ba
    • Glenn Morris's avatar
      Use faces not variables for font-lock customization in rst.el. · 2b1400b9
      Glenn Morris authored
      * textmodes/rst.el: (rst-block, rst-external, rst-definition, rst-directive)
      (rst-comment, rst-emphasis1, rst-emphasis2, rst-literal, rst-reference):
      New faces.
      (rst-block-face, rst-external-face, rst-definition-face)
      (rst-directive-face, rst-comment-face, rst-emphasis1-face)
      (rst-emphasis2-face, rst-literal-face, rst-reference-face):
      Make obsolete.
      (rst-font-lock-keywords-function): Update for above changes.
      2b1400b9
    • Glenn Morris's avatar
      Cosmetic changes to lib-src/Makefile.in. · 5e58e3a4
      Glenn Morris authored
      * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
      (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
      defining these as Makefile variables.
      (LIBS_MOVE): Add LIBS_MAIL into this.
      (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
      5e58e3a4
    • Dan Nicolaescu's avatar
      Remove support for old GNU/Linux using libc version 5. · 22e87574
      Dan Nicolaescu authored
      * m/alpha.h (LINUX_SBRK_BUG): Remove definition.
      * emacs.c (main): Remove code depending on LINUX_SBRK_BUG.
      22e87574
    • Dan Nicolaescu's avatar
      Consolidate redundant definitions in s/bsd-common.h. · 05a670e6
      Dan Nicolaescu authored
      * s/bsd-common.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
      (LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
      (LDAV_SYMBOL, KERNEL_FILE): Define (or undefine) here instead of
      doing it in all files that include this one.
      * s/gnu.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
      (LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
      (LDAV_SYMBOL, KERNEL_FILE): Remove.
      * s/freebsd.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
      (LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
      (LDAV_SYMBOL, KERNEL_FILE): Remove.
      * s/netbsd.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
      (LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
      (LDAV_SYMBOL, KERNEL_FILE): Remove.
      05a670e6
    • Dan Nicolaescu's avatar
      Consolidate redundant definitions. · 2968f561
      Dan Nicolaescu authored
      * s/usg5-4.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not define,
      it's undefined in all files that include this one.
      (POSIX_SIGNALS): Define here instead of doing it in all files that
      include this one.
      * s/irix6-5.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
      (POSIX_SIGNALS): Do not define.
      * s/sol2-6.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
      (POSIX_SIGNALS): Do not define.
      * s/unixware.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
      (POSIX_SIGNALS): Do not define.
      2968f561
    • Dan Nicolaescu's avatar
      Remove support for old UNIX System V systems. · 15d25dc0
      Dan Nicolaescu authored
      * s/unixware.h: Add the contents of s/usg-5-4-2.h.
      * s/usg-5-4-2.h: Remove.
      
      * configure.in: Remove support for old UNIX System V systems and
      for Unixware on non-x86 machines.
      15d25dc0
    • Dan Nicolaescu's avatar
      Remove support for Solaris on PPC and for old versions. · 07e339e4
      Dan Nicolaescu authored
      * s/sol2-6.h: Add the contents of s/sol-2.3.h, s/sol-2.4.h, s/sol-2.5.h.
      (LD_SWITCH_SYSTEM, USE_MMAP_FOR_BUFFERS): Remove #defines/#undef
      that cancel each other.
      * s/sol2-3.h:
      * s/sol2-4.h:
      * s/sol2-5.h: Remove.
      * m/ibmrs6000.h: Remove code for USG5_4, this file is only used on AIX.
      (NO_REMAP): Remove, unused.
      (UNEXEC): Move definition ...
      * s/aix4-2.h (UNEXEC): ... here.
      
      * configure.in:	Remove support for Solaris on PPC and for old versions.
      07e339e4
    • Dan Nicolaescu's avatar
      * s/openbsd.h: Remove support for non-ELF and for systems that do · 7f110ddc
      Dan Nicolaescu authored
      not support shared libraries.
      * s/netbsd.h:
      * s/freebsd.h: Likewise.
      7f110ddc
    • Juri Linkov's avatar
      * s-region.el: Move to obsolete. · 5e418f17
      Juri Linkov authored
      5e418f17
    • Dan Nicolaescu's avatar
      Remove non-working support for lynxos 3.0. · 605f35cd
      Dan Nicolaescu authored
      * s/lynxos.h: Remove file.
      
      * unexec.c (unexec, adjust_lnnoptrs): Do not depend on
      COFF_BSD_SYMBOLS, nothing defines it anymore.
      
      * os.texi (System Environment): Do not mention lynxos.
      
      * configure.in: Remove non-working lynxos port.
      605f35cd
    • Dan Nicolaescu's avatar
      Remove obsolete uses of HAVE_SHM. · aed71cf4
      Dan Nicolaescu authored
      * emacs.c (standard_args):
      (Fdump_emacs):
      (syms_of_emacs): Remove code depending on HAVE_SHM.
      
      * alloc.c: Remove HAVE_SHM dependent definition.
      
      * Makefile.in (RUN_TEMACS): Do not depend on HAVE_SHM.
      aed71cf4
  5. 19 Mar, 2010 8 commits
    • Juanma Barranquero's avatar
    • Michael Albinus's avatar
    • Dan Nicolaescu's avatar
    • Dan Nicolaescu's avatar
    • Dan Nicolaescu's avatar
      Add special markup processing for commit logs. · 09158997
      Dan Nicolaescu authored
      * log-edit.el (log-edit-extra-flags): New variable.
      (log-edit): Add new argument MODE.  Use that mode when non-nil
      instead of the log-view-mode.
      (log-view-process-buffer): New function.
      
      * vc.el: Document that the checkin method takes optional
      arguments.  Document new backend specific method: log-view-mode.
      (vc-default-log-edit-mode): New function.
      (vc-checkin): Use a backend specific log-view-mode.
      Pass extra arguments to the checkin method.
      (vc-modify-change-comment): Pass a dummy extra argument.
      
      * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
      log-edit.
      (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
      (vc-finish-logentry): Process the log buffer before passing it
      down.  Pass log-edit-extra-flags.
      
      * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
      command.
      (log-edit-extra-flags, log-edit-before-checkin-process): New declarations.
      
      * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
      command.
      (log-edit-extra-flags, log-edit-before-checkin-process): New declarations.
      (vc-hg-log-edit-mode): New derived mode.
      
      * vc-arch.el (vc-arch-checkin):
      * vc-cvs.el (vc-cvs-checkin):
      * vc-git.el (vc-git-checkin):
      * vc-mtn.el (vc-mtn-checkin):
      * vc-rcs.el (vc-rcs-checkin):
      * vc-sccs.el (vc-sccs-checkin):
      * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
      09158997
    • Stefan Monnier's avatar
    • Glenn Morris's avatar
      Regenerate ldefs-boot.el. · 7ba10052
      Glenn Morris authored
      7ba10052
    • Glenn Morris's avatar
      Stop message.el from loading about 40 libraries it doesn't always need. · aa8f8277
      Glenn Morris authored
      The general approach is to autoload rather than require, and to
      require in the specific functions rather than the file.  (Bug#5642)
      
      * url/url.el: Move mailcap require earlier in the file.
      
      * gnus/gmm-utils.el: Don't require wid-edit.
      (widget-create-child-value, widget-convert, widget-default-get):
      Autoload.
      
      * gnus/gnus-util.el: Don't require time-date, netrc.
      (message-fetch-field, gnus-group-name-decode): Declare rather than
      autoloading.
      (gnus-fetch-field): Require message.
      (gnus-decode-newsgroups): Require gnus-group.
      
      * gnus/ietf-drums.el: Don't require time-date.
      
      * gnus/message.el: Don't require hashcash, canlock, ecomplete.
      Do require mail-utils.  Require nnheader only when compiling.
      (smtpmail-default-smtp-server): Remove declaration.
      (message-send-mail-function): Check smtpmail-default-smtp-server
      is bound rather than requiring smtpmail.
      (message-auto-save-directory, message-insert-signature): Use
      expand-file-name rather than nnheader-concat.
      (nnheader-insert-file-contents): Autoload.
      (hashcash-wait-async): Declare.
      (message-send-mail): Only call gnus-setup-posting-charset if
      gnus-group-posting-charset-alist is bound.  Require hashcash if needed.
      (message-send-mail-with-sendmail): Require sendmail.
      (canlock-password, canlock-password-for-verify): Declare.
      (message-canlock-password): Require canlock.
      (nnheader-get-report): Autoload.
      (gnus-setup-posting-charset): Declare.
      (message-send-news): Require gnus-msg.
      (message-make-references, message-make-in-reply-to): Use mail-header-id
      rather than the alias mail-header-message-id.
      (ecomplete-add-item, ecomplete-save): Declare.
      (message-put-addresses-in-ecomplete): Require ecomplete.
      (ecomplete-display-matches): Autoload.
      
      * gnus/mm-decode.el: Don't require mailcap, gnus-util.
      (gnus-map-function, gnus-replace-in-string, gnus-read-shell-command)
      (message-fetch-field, mailcap-parse-mailcaps, mailcap-mime-info):
      Autoload.
      (mailcap-mime-extensions): Declare.
      
      * gnus/mm-encode.el: Don't require mailcap.
      (mailcap-extension-to-mime): Autoload.
      
      * gnus/mml-sec.el: Don't require password-cache.
      
      * gnus/mml.el (gnus-setup-posting-charset): Declare rather than autoload.
      (mailcap-parse-mimetypes, mailcap-mime-types): Declare.
      (mml-minibuffer-read-type): Require mailcap.
      (mml-preview): Require gnus-msg.
      
      * gnus/mml1991.el: Require password-cache.
      (password-cache-expiry): Remove declaration.
      
      * gnus/mml2015.el: Require password-cache.
      (password-cache-expiry): Remove declaration.
      
      * gnus/nneething.el (mailcap): Require mailcap.
      
      * gnus/nnheader.el: (declare-function): Add compatibility stub.
      (message-remove-header): Declare rather than autoload.
      (nnheader-replace-header): Require message.
      
      * gnus/nnimap.el (declare-function): Add compatibility stub.
      (netrc-parse, netrc-machine-user-or-password): Declare.
      (nnimap-open-connection): Require netrc.
      
      * gnus/nntp.el (declare-function): Add compatibility stub.
      (netrc-parse, netrc-machine, netrc-get): Declare.
      (nntp-send-authinfo): Require netrc.
      
      * gnus/rfc2047.el: Don't require qp.
      (quoted-printable-encode-region, quoted-printable-decode-string):
      Autoload.
      
      * gnus/sieve-mode.el: Don't require easymenu.
      (easy-menu-add-item): Autoload it.
      
      * gnus/spam-stat.el (time-to-number-of-days): Autoload it.
      
      * password-cache.el (password-cache, password-cache-expiry):
      Autoload.
      aa8f8277