1. 27 Jul, 2016 1 commit
    • Ted Zlatanov's avatar
      Prompt to save gnus-cloud-method. · ec359399
      Ted Zlatanov authored
      Since `gnus-cloud-method' is a defcustom, when it's set, we should
      prompt the user to save it, so the customization is not lost on
      * gnus-srvr.el (gnus-server-toggle-cloud-method-server): Prompt to
      save the customization of `gnus-cloud-method'.
  2. 26 Jul, 2016 1 commit
  3. 25 Jul, 2016 1 commit
  4. 22 Jul, 2016 1 commit
    • Lars Ingebrigtsen's avatar
      Move read-multiple-choice to subr-x.el · ad90397c
      Lars Ingebrigtsen authored
      * lisp/faces.el (read-multiple-choice-face): Fix doc string.
      * lisp/emacs-lisp/subr-x.el (read-multiple-choice): Move here
      from subr.el.
      * lisp/gnus/message.el (subr-x): Ditto.
      * lisp/net/nsm.el: Require subr-x for read-multiple-choice.
      read-multiple-choice doesn't need to be in the dumped Emacs, so move
      it to a less central file.
  5. 20 Jul, 2016 1 commit
    • Ted Zlatanov's avatar
      Bring the Gnus Cloud package into working order. · 30b3a842
      Ted Zlatanov authored
      * lisp/gnus/gnus-sync.el: Removed in favor of gnus-cloud.el.
      * lisp/gnus/gnus-cloud.el: Autoload EPG functions. Change storage format to
      simplify non-file data.
      (gnus-cloud-storage-method): New defcustom to support nil, Base64,
      Base64+gzip, or EPG encoding on the Gnus Cloud IMAP server. Defaults to
      EPG if that's available, Base64+gzip otherwise.
      (gnus-cloud-interactive): New defcustom to make Gnus Cloud operations
      interactive, defaults to enabled.
      (gnus-cloud-group-name): New variable for the Gnus Cloud group name.
      (gnus-cloud-make-chunk): Tag with "Gnus-Cloud-Version" instead of just
      (gnus-cloud-insert-data): Simplify and support :newsrc-data entries.
      (gnus-cloud-encode-data, gnus-cloud-decode-data): Support various
      storage methods as per gnus-cloud-storage-method.
      (gnus-cloud-parse-chunk): Look for "Gnus-Cloud-Version" marker.
      (gnus-cloud-parse-version-1): Fix parsing loop bug. Handle :newsrc-data
      (gnus-cloud-update-all): Handle :newsrc-data entries and dispatch to
      file and data handlers.
      (gnus-cloud-update-newsrc-data): New function to handle :newrsc-data
      (gnus-cloud-update-file): Rework to support gnus-cloud-interactive and
      be more careful.
      (gnus-cloud-delete-file): Remove; merged into gnus-cloud-update-file.
      (gnus-cloud-file-covered-p, gnus-cloud-all-files)
      (gnus-cloud-files-to-upload, gnus-cloud-ensure-cloud-group)
      (gnus-cloud-add-timestamps, gnus-cloud-available-chunks)
      (gnus-cloud-prune-old-chunks): Fix indentation.
      (gnus-cloud-timestamp): New function to make a standard Gnus Cloud
      (gnus-cloud-file-new-p): Use it.
      (gnus-cloud-upload-all-data): Add interactive convenience function to
      upload all data.
      (gnus-cloud-upload-data): Make interactive; collect files and newsrc
      data separately; refresh Gnus Cloud group after insert.
      (gnus-cloud-download-all-data): Add interactive convenience function to
      download all data.
      (gnus-cloud-download-data): Rework to support "Gnus-Cloud-Version"
      marker and different storage methods.
      (gnus-cloud-host-server-p): New function to check if a server is the
      Gnus Cloud host.
      (gnus-cloud-collect-full-newsrc): Tag entries with :newsrc-data.
      (gnus-cloud-host-acceptable-method-p): New function so
      other code can check if a server method can host the Gnus cloud.
      (gnus-cloud-storage-method): Use 'radio instead of 'choice for better UI.
      (gnus-cloud-method): Make this a defcustom and note how to set it.
      * lisp/gnus/gnus-group.el (gnus-group-cloud-map): Add Gnus Cloud autoloaded
      keybindings under the `~' prefix.
      * lisp/gnus/gnus-srvr.el (gnus-server-mode-map, gnus-server-make-menu-bar)
      (gnus-server-cloud, gnus-server-cloud-host)
      (gnus-server-font-lock-keywords, gnus-server-insert-server-line)
      (gnus-server-toggle-cloud-method-server): Support Gnus Cloud
      synchronized servers and synchronization host server toggling (`i' and
      `I') and visual display.
      (gnus-server-toggle-cloud-method-server): Use
      (gnus-server-toggle-cloud-method-server): Use custom-set-variables to
      set the gnus-cloud-method. Ask the user if it's OK to upload the data
      right now.
      * doc/misc/gnus.texi: Document Gnus Cloud package.
  6. 14 Jul, 2016 1 commit
  7. 09 Jul, 2016 1 commit
    • Mario Lang's avatar
      An efficient built-in mapcan · 466ee1b3
      Mario Lang authored
      A built-in version of `mapcan' avoids consing up (and GC'ing) the
      intermediate list.
      * src/fns.c (Fmapcan): New built-in.
      (syms_of_fns): Define.
      * lisp/emacs-lisp/cl.el (mapcan): Remove defalias.
      * lisp/emacs-lisp/cl-extra.el (cl-mapcan): Use built-in `mapcan'
      if only one sequence is provided.
      * lisp/progmodes/hideif.el (hif-delimit):
      * lisp/dired-aux.el (dired-do-find-regexp):
      * lisp/woman.el (woman-parse-colon-path): Use `mapcan' instead of
      * lisp/woman.el (eval-when-compile): Require 'cl-lib only when
      * lisp/mouse.el (mouse-buffer-menu-map):
      * lisp/net/pop3.el (pop3-uidl-dele):
      * lisp/progmodes/gud.el (gud-jdb-build-source-files-list):
      * lisp/cedet/semantic/db-find.el (semanticdb-fast-strip-find-results):
      * lisp/cedet/semantic/symref/grep.el (semantic-symref-derive-find-filepatterns):
      * lisp/gnus/nnmail.el (nnmail-split-it):
      * lisp/gnus/gnus-sum.el (gnus-articles-in-thread):
      * lisp/gnus/gnus-registry.el (gnus-registry-sort-addresses):
      * lisp/gnus/gnus-util.el (gnus-mapcar): Use `mapcan'.
  8. 01 Jul, 2016 1 commit
  9. 22 Jun, 2016 1 commit
  10. 10 Jun, 2016 3 commits
    • Glenn Morris's avatar
      Make messcompat.el obsolete. · 78b18cab
      Glenn Morris authored
      * lisp/obsolete/messcompat.el: Move here from lisp/gnus.
      * doc/misc/message.texi (Compatibility): Remove section.
    • Glenn Morris's avatar
      Leading "*" in the doc of defvars is long obsolete. · b27c670b
      Glenn Morris authored
      * lisp/plstore.el (plstore-encrypt-to):
      * lisp/cedet/semantic/lex-spp.el
      * lisp/cedet/semantic/symref.el (semantic-symref-tool):
      * lisp/cedet/semantic/bovine/el.el
      * lisp/cedet/semantic/wisent/comp.el (wisent-verbose-flag)
      * lisp/cedet/semantic/wisent/wisent.el (wisent-parse-verbose-flag):
      * lisp/gnus/gnus-agent.el (gnus-category-menu-hook):
      * lisp/gnus/gnus-group.el (gnus-group-listing-limit):
      * lisp/gnus/gnus-srvr.el (gnus-server-menu-hook)
      * lisp/gnus/message.el (message-shoot-gnksa-feet):
      * lisp/gnus/mm-decode.el (mm-path-name-rewrite-functions):
      * lisp/gnus/mm-util.el (mm-extra-numeric-entities):
      * lisp/gnus/mm-view.el (mm-w3m-standalone-supports-m17n-p):
      * lisp/gnus/mml.el (mml-generate-multipart-alist):
      * lisp/gnus/nndraft.el (nndraft-required-headers):
      * lisp/gnus/nnheader.el (nnheader-max-head-length)
      (nnheader-head-chop-length, nnheader-file-name-translation-alist)
      * lisp/gnus/nnmail.el (nnmail-pathname-coding-system)
      * lisp/gnus/nnrss.el (nnrss-file-coding-system):
      * lisp/gnus/nntp.el (nntp-record-commands):
      * lisp/gnus/score-mode.el (gnus-score-edit-done-hook)
      (gnus-score-mode-hook, gnus-score-menu-hook):
      * lisp/mail/rfc2047.el (rfc2047-header-encoding-alist)
      * lisp/mh-e/mh-alias.el (mh-alias-system-aliases):
      * lisp/mh-e/mh-e.el (mh-mail-header-separator, mh-x-mailer-string):
      * lisp/mh-e/mh-scan.el (mh-scan-format-mh, mh-scan-format-nmh):
      * lisp/net/pop3.el (pop3-password):
      * lisp/play/animate.el (animate-n-steps):
      * lisp/progmodes/cc-vars.el (c-old-style-variable-behavior):
      Convert from defvar with leading * to defcustom.
      ; * lisp/cedet/semantic/lex.el: Comments.
      * lisp/emulation/viper-init.el (viper-heading-end):
      * lisp/gnus/mm-url.el (mm-url-html-entities):
      * lisp/gnus/nnmaildir.el (nnmaildir-article-file-name):
      * lisp/mh-e/mh-e.el (mh-invisible-header-fields-compiled):
      * lisp/net/tramp-adb.el (tramp-adb-method): Remove leading * from doc.
      * lisp/gnus/messcompat.el: Mark (pointless) file not for compilation.
      (message-from-style, message-interactive, message-indentation-spaces)
      (message-signature, message-signature-file):
      Remove settings that match the defaults.
      (message-setup-hook, message-mode-hook, message-default-headers)
      (message-send-hook, message-send-mail-function):
      Just use setq rather than redefining.
      * lisp/gnus/nnrss.el (nnrss):
      * lisp/mail/rfc2047.el (rfc2047):
      * lisp/play/animate.el (animate): New custom groups.
    • Glenn Morris's avatar
      Remove obsolete leading * from defcustom, defface doc strings. · f9af5edd
      Glenn Morris authored
      * lisp/cedet/ede/linux.el, lisp/cedet/ede/project-am.el:
      * lisp/cedet/ede/simple.el, lisp/cedet/semantic/bovine/c.el:
      * lisp/cedet/semantic/complete.el, lisp/cedet/semantic/db.el:
      * lisp/cedet/semantic/decorate/include.el:
      * lisp/cedet/semantic/decorate/mode.el, lisp/cedet/semantic/format.el:
      * lisp/cedet/semantic/ia.el, lisp/cedet/semantic/idle.el:
      * lisp/cedet/semantic/imenu.el, lisp/cedet/semantic/lex-spp.el:
      * lisp/cedet/semantic/mru-bookmark.el, lisp/cedet/semantic/sb.el:
      * lisp/cedet/srecode/fields.el, lisp/ecomplete.el:
      * lisp/gnus/gnus-agent.el, lisp/gnus/gnus-art.el:
      * lisp/gnus/gnus-async.el, lisp/gnus/gnus-cache.el:
      * lisp/gnus/gnus-cite.el, lisp/gnus/gnus-delay.el:
      * lisp/gnus/gnus-diary.el, lisp/gnus/gnus-dup.el:
      * lisp/gnus/gnus-fun.el, lisp/gnus/gnus-group.el:
      * lisp/gnus/gnus-kill.el, lisp/gnus/gnus-msg.el:
      * lisp/gnus/gnus-picon.el, lisp/gnus/gnus-salt.el:
      * lisp/gnus/gnus-score.el, lisp/gnus/gnus-start.el:
      * lisp/gnus/gnus-sum.el, lisp/gnus/gnus-topic.el:
      * lisp/gnus/gnus-util.el, lisp/gnus/gnus-uu.el, lisp/gnus/gnus-win.el:
      * lisp/gnus/gnus.el, lisp/gnus/mail-source.el, lisp/gnus/message.el:
      * lisp/gnus/mm-url.el, lisp/gnus/mm-uu.el, lisp/gnus/mml.el:
      * lisp/gnus/nndiary.el, lisp/gnus/nnir.el, lisp/gnus/nnmail.el:
      * lisp/gnus/smiley.el, lisp/gnus/smime.el, lisp/mail/mail-extr.el:
      * lisp/mh-e/mh-e.el, lisp/net/mailcap.el, lisp/net/pop3.el:
      * lisp/net/starttls.el, lisp/progmodes/cc-vars.el:
      * lisp/progmodes/cperl-mode.el, test/manual/cedet/tests/test.el:
      Remove obsolete leading * from defcustom, defface doc strings.
  11. 29 May, 2016 3 commits
  12. 08 May, 2016 1 commit
    • Paul Eggert's avatar
      Simplify now that float-time etc. are built-in · e2f78599
      Paul Eggert authored
      This was prompted by warnings about calls to now-obsolete functions.
      * lisp/calendar/time-date.el (encode-time-value):
      Use setq rather than a recursive call, to avoid a warning
      about calling this obsolete function.
      * lisp/calendar/time-date.el (encode-time-value)
      (with-decoded-time-value, time-to-seconds, time-to-number-of-days):
      * lisp/erc/erc.el (erc-emacs-time-to-erc-time):
      * lisp/net/rcirc.el (rcirc-float-time):
      * lisp/org/org-compat.el (org-float-time):
      Simplify now that time-add and float-time are now built-in.
      * lisp/calendar/time-date.el (time-add, time-subtract, time-less-p):
      * lisp/net/newst-backend.el (time-add):
      * lisp/org/org.el (time-subtract):
      Remove backward-compatibility definitions; they are now built-in.
      * lisp/calendar/timeclock.el (timeclock-time-to-seconds)
      * lisp/net/rcirc.el (rcirc-float-time):
      * lisp/org/org-compat.el (org-float-time):
      Now obsolete, since callers can just use float-time and
      seconds-to-time.  All uses changed.
      * lisp/emacs-lisp/ert.el (ert-results-pop-to-timings):
      * lisp/gnus/gnus-art.el (article-lapsed-string):
      * lisp/gnus/gnus-diary.el (gnus-user-format-function-d):
      * lisp/gnus/gnus-group.el (gnus-group-timestamp-delta):
      * lisp/gnus/nndiary.el (nndiary-compute-reminders):
      * lisp/net/tramp.el (tramp-time-diff):
      * lisp/org/org-clock.el (org-clock-timestamps-change):
      Prefer the time-subtract builtin to the subtract-time alias.
      * lisp/files.el (dir-locals-find-file, dir-locals-read-from-dir):
      * test/lisp/character-fold-tests.el (character-fold--speed-test):
      Prefer the float-time builtin to the time-to-seconds alias.
      * lisp/org/org-agenda.el, lisp/org/org-clock.el, lisp/org/org-list.el:
      * lisp/org/org-timer.el, lisp/org/org.el:
      Adjust to org-float-time deprecation.
  13. 21 Apr, 2016 1 commit
  14. 17 Apr, 2016 3 commits
  15. 13 Apr, 2016 1 commit
  16. 12 Apr, 2016 1 commit
    • Paul Eggert's avatar
      Support OFFSET and (OFFSET ABBR) time zone rules · fdb1ba14
      Paul Eggert authored
      This simplifies Gnus and VC time zone support, by letting them
      feed the output of ‘current-time-zone’ and ‘decode time’ to
      primitives that accept time zone arguments.
      * doc/lispref/os.texi (Time Zone Rules, Time Conversion):
      * etc/NEWS:
      * lisp/gnus/message.el (message-insert-formatted-citation-line):
      * lisp/org/org.el (org-timestamp-format):
      * src/editfns.c (Fformat_time_string, Fdecode_time):
      (Fcurrent_time_string, Fcurrent_time_zone, Fset_time_zone_rule):
      Document new behavior.
      * lisp/gnus/gmm-utils.el (gmm-format-time-string):
      * lisp/vc/add-log.el (add-log-iso8601-time-zone):
      Mark as obsolete, as it is now just an alias or narrow wrapper
      around format-time-string.
      * src/editfns.c (tzlookup): Also support integer OFFSET and
      list (OFFSET ABBR) as time zone rules.
      (Fencode_time): No longer need a special case for a cons ZONE.
      (Fcurrent_time_zone): If the time zone string is missing, compute
      it the same way the other new code does.
  17. 11 Apr, 2016 1 commit
  18. 05 Apr, 2016 1 commit
  19. 04 Apr, 2016 1 commit
  20. 02 Apr, 2016 1 commit
    • Eli Zaretskii's avatar
      Adapt calls to 'format-time-string' to changes in Emacs 25 · 0020047f
      Eli Zaretskii authored
      * lisp/vc/pcvs-info.el (cvs-fileinfo-from-entries): Use t as the
      last argument to format-time-string.  (Bug#23128)
      * lisp/gnus/gmm-utils.el (gmm-format-time-string): Use t as the
      last argument to format-time-string, when the TZ argument is not a
      number, per the doc string.
  21. 17 Mar, 2016 3 commits
  22. 14 Mar, 2016 2 commits
    • Lars Magne Ingebrigtsen's avatar
      Disable MOVE more for Dovecot · d5427e71
      Lars Magne Ingebrigtsen authored
      * lisp/gnus/nnimap.el (nnimap-process-expiry-targets): Also
      disable MOVE when expirying.
      (nnimap-split-incoming-mail): And when splitting mail.
    • Lars Magne Ingebrigtsen's avatar
      Don't use MOVE on Dovecot · 8ed27bdf
      Lars Magne Ingebrigtsen authored
      * lisp/gnus/nnimap.el (nnimap-request-move-article): Don't use
      MOVE on Dovecot, since it's broken in many versions.
      (nnimap-quirks): Mark MOVE on Dovecot as non-working.
  23. 04 Mar, 2016 2 commits
  24. 29 Feb, 2016 1 commit
  25. 26 Feb, 2016 2 commits
  26. 24 Feb, 2016 1 commit
    • Lars Ingebrigtsen's avatar
      Move low-level library files from the lisp/gnus directory · 21fe2ebe
      Lars Ingebrigtsen authored
      The files moved from lisp/gnus are:
      auth-source.el -> /
      compface.el -> /image
      ecomplete.el -> /
      flow-fill.el -> /mail
      gravatar.el -> /image
      gssapi.el -> /net
      html2text.el -> /net
      ietf-drums.el -> /mail
      mail-parse.el -> /mail
      mail-prsvr.el -> /mail
      mailcap.el -> /net
      plstore.el -> /
      pop3.el -> /net
      qp.el -> /mail
      registry.el -> /
      rfc1843.el -> /international
      rfc2045.el -> /mail
      rfc2047.el -> /mail
      rfc2231.el -> /mail
      rtree.el -> /
      sieve-manage.el -> /net
      sieve-mode.el -> /net
      sieve.el -> /net
      starttls.el -> /net
      utf7.el -> /international
      yenc.el -> /mail
  27. 23 Feb, 2016 3 commits