1. 24 Jan, 2017 1 commit
    • Lars Ingebrigtsen's avatar
      Don't tag Gnus bugs with "gnus" · b6fa5807
      Lars Ingebrigtsen authored
      * lisp/gnus/gnus-msg.el (gnus-bug): Remove the bug package tags.
      
      * lisp/gnus/gnus.el (gnus-bug-package): Removed; Gnus doesn't
      have its own package any more in the bug tracker.
      b6fa5807
  2. 13 Jan, 2017 2 commits
  3. 12 Jan, 2017 1 commit
    • Katsumi Yamaoka's avatar
      Remove garbage from Content-Transfer-Encoding value (bug#25420) · 55b52658
      Katsumi Yamaoka authored
      * lisp/mail/ietf-drums.el (ietf-drums-strip-cte): New function.
      (ietf-drums-remove-garbage): New function.
      (ietf-drums-remove-whitespace): Remove CR as well.
      
      * lisp/mail/mail-parse.el (mail-header-strip-cte):
      Alias to ietf-drums-strip-cte.
      
      * lisp/gnus/gnus-art.el (article-decode-charset):
      * lisp/gnus/gnus-sum.el (gnus-summary-enter-digest-group):
      * lisp/gnus/mm-decode.el (mm-dissect-buffer):
      * lisp/gnus/nndoc.el (nndoc-decode-content-transfer-encoding)
      (nndoc-rfc822-forward-generate-article):
      * lisp/mh-e/mh-mime.el (mh-decode-message-body):
      Replace mail-header-strip with mail-header-strip-cte.
      55b52658
  4. 04 Jan, 2017 1 commit
    • Stefan Monnier's avatar
      Avoid add-to-list on local variables · 2ec41c41
      Stefan Monnier authored
      * lisp/gnus/nnir.el: Use lexical-binding and cl-lib.
      (nnir-retrieve-headers): Use pcase.
      (nnir-search-thread): Avoid add-to-list on local variables.
      
      * lisp/gnus/smime.el: Use lexical-binding and cl-lib.
      (smime-verify-region): Avoid add-to-list on local variables.
      
      * lisp/mail/undigest.el: Use lexical-binding and cl-lib.
      (rmail-digest-parse-mime, rmail-digest-rfc1153)
      (rmail-digest-parse-rfc934): Avoid add-to-list on local variable.
      
      * lisp/net/ldap.el (ldap-search): Move init into declaration.
      
      * lisp/net/newst-backend.el (newsticker--cache-add):
      Avoid add-to-list on local variables; Simplify code with `assq'.
      
      * lisp/net/zeroconf.el: Use lexical-binding and cl-lib.
      (dbus-debug): Remove declaration, unused.
      (zeroconf-service-add-hook, zeroconf-service-remove-hook)
      (zeroconf-service-browser-handler, zeroconf-publish-service):
      Avoid add-to-list and *-hook on local variables.
      
      * lisp/org/org-archive.el (org-all-archive-files):
      * lisp/org/org-agenda.el (org-agenda-get-restriction-and-command):
      Avoid add-to-list on local variables.
      
      * lisp/org/ox-publish.el (org-publish--run-functions): New function.
      (org-publish-projects): Use it to avoid run-hooks on a local variable.
      (org-publish-cache-file-needs-publishing): Avoid add-to-list on
      local variables.
      
      * lisp/progmodes/ada-prj.el: Use setq instead of (set '...).
      (ada-prj-load-from-file): Avoid add-to-list on local variables.
      
      * lisp/progmodes/ada-xref.el (ada-initialize-runtime-library): Simplify.
      (ada-gnat-parse-gpr, ada-parse-prj-file-1)
      (ada-xref-find-in-modified-ali): Avoid add-to-list on local variables.
      
      * lisp/progmodes/idlw-shell.el (idlwave-shell-update-bp-overlays):
      Avoid add-to-list on local variables.
      2ec41c41
  5. 02 Jan, 2017 1 commit
    • Paul Eggert's avatar
      Remove mistakenly-added files · 367dadf5
      Paul Eggert authored
      Problem reported by Glenn Morris in:
      http://lists.gnu.org/archive/html/emacs-devel/2017-01/msg00008.html
      * lisp/gnus/gnus-ems.el, lisp/gnus/gnus-sync.el:
      * lisp/gnus/messcompat.el, lisp/nxml/nxml-glyph.el:
      * lisp/nxml/nxml-uchnm.el, lisp/obsolete/awk-mode.el:
      * lisp/obsolete/iso-acc.el, lisp/obsolete/iso-insert.el:
      * lisp/obsolete/iso-swed.el, lisp/obsolete/resume.el:
      * lisp/obsolete/scribe.el, lisp/obsolete/spell.el:
      * lisp/obsolete/swedish.el, lisp/obsolete/sym-comp.el:
      Remove files that were added by mistake during a merge.
      367dadf5
  6. 01 Jan, 2017 2 commits
  7. 27 Dec, 2016 2 commits
  8. 11 Dec, 2016 1 commit
    • Glenn Morris's avatar
      Tweaks for message bogus address detection · f37f93f3
      Glenn Morris authored
      * lisp/gnus/message.el (message-bogus-recipient-p):
      Do not require "@", since some mailers deliver to local addresses
      without one.  (Bug#23054)
      Move "@.*@" from here...
      (message-bogus-addresses): ...to here, so it can be customized.
      f37f93f3
  9. 07 Dec, 2016 1 commit
  10. 05 Dec, 2016 1 commit
  11. 21 Nov, 2016 2 commits
  12. 18 Nov, 2016 1 commit
  13. 16 Nov, 2016 1 commit
    • Tino Calancha's avatar
      Update parameter :version to 26.1 in several defcustom · 5ffdbe0a
      Tino Calancha authored
      Following defcustom where added or modified for 25.2 release.
      In fact all these changes belong to 26.1 release.
      * lisp/battery.el (battery-linux-sysfs-regexp)
      * lisp/comint.el (comint-password-prompt-regexp)
      * lisp/dired.el (dired-always-read-filesystem)
      * lisp/image.el (image-scaling-factor)
      * lisp/ibuf-ext.el (ibuffer-never-search-content-name)
      (ibuffer-never-search-content-mode)
      * lisp/mouse.el (mouse-select-region-move-to-beginning)
      * lisp/net/net-utils.el (iwconfig-program, iwconfig-program-options)
      (netstat-program, route-program, route-program-options)
      * lisp/net/sieve-manage.el (sieve-manage-default-stream)
      * lisp/progmodes/grep.el (grep-save-buffers)
      * lisp/vc/add-log.el (change-log-directory-files)
      * lisp/url/url-vars.el (url-user-agent)
      * lisp/vc/vc-hg.el (vc-hg-symbolic-revision-styles)
      (vc-hg-use-file-version-for-mode-line-version)
      (vc-hg-parse-hg-data-structures)
      * lisp/wdired.el (wdired-create-parent-directories)
      * lisp/faces.el (homoglyph, nobreak-hyphen, read-multiple-choice-face)
      * lisp/gnus/gnus-art.el (gnus-article-encrypt-protocol)
      (gnus-button-url-regexp)
      * lisp/window.el (switch-to-buffer-preserve-window-point)
      * lisp/ibuffer.el (ibuffer-formats, ibuffer-locked-char)
      (ibuffer-locked-buffer)
      * lisp/textmodes/flyspell.el (flyspell-sort-corrections-function)
      * lisp/emacs-lisp/edebug.el (edebug-sit-on-break)
      * lisp/gnus/message.el (message-user-fqdn)
      * lisp/simple.el (shell-command-dont-erase-buffer)
      (extended-command-suggest-shorter)
      * lisp/net/shr.el (shr-use-fonts)
      * lisp/files.el (mounted-file-systems, kill-emacs-query-functions)
      5ffdbe0a
  14. 15 Nov, 2016 1 commit
  15. 08 Nov, 2016 1 commit
  16. 06 Nov, 2016 1 commit
    • Paul Eggert's avatar
      Modernize usage of 'macOS' in doc and comments · dc152c54
      Paul Eggert authored
      Apple changed the spelling of its operating system again, to "macOS",
      effective with macOS 10.12 Sierra (2016-09-20).  Change Emacs
      documentation and comments to match this.  Stick with older OS
      spellings ("OS X", "Mac OS X") when talking about older releases where
      the older names are more correct.
      dc152c54
  17. 01 Nov, 2016 1 commit
  18. 21 Oct, 2016 1 commit
    • Paul Eggert's avatar
      New error file-missing · 89799829
      Paul Eggert authored
      This fixes a recently-introduced bug in delete-directory,
      where the code assumes the C locale when determining
      whether a file-error corresponds to a missing file (Bug#24714).
      * doc/lispref/errors.texi (Standard Errors):
      * doc/lispref/files.texi (Changing Files):
      * etc/NEWS:
      Document this.
      * doc/lispref/loading.texi (How Programs Do Loading):
      Say "a file-error" rather than "the error file-error" since
      it might be a file-missing now.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-file):
      * lisp/epa-file.el (epa-file--find-file-not-found-function):
      (epa-file-insert-file-contents, epa-file-write-region):
      * lisp/ffap.el (find-file-at-point, dired-at-point):
      * lisp/jka-compr.el (jka-compr-insert-file-contents)
      (jka-compr-insert-file-contents):
      * lisp/net/ange-ftp.el (ange-ftp-barf-if-not-directory)
      (ange-ftp-insert-file-contents, ange-ftp-copy-file-internal):
      * lisp/progmodes/etags.el (visit-tags-table):
      * lisp/url/url-handlers.el (url-copy-file):
      * src/fileio.c (report_file_errno):
      Signal file-missing if appropriate.
      * lisp/epa-file.el (epa-file-insert-file-contents):
      * lisp/jka-compr.el (jka-compr-insert-file-contents):
      Don't assume file-error is a leaf in the error hierarchy.
      * lisp/files.el (files--force):
      * lisp/gnus/nnmaildir.el (nnmaildir--enoent-p):
      * lisp/jka-compr.el (jka-compr-insert-file-contents):
      Use file-missing to detect whether the file is missing.
      * lisp/url/url-handlers.el (url-copy-file):
      Signal file-already-exists if appropriate.
      * src/fileio.c (syms_of_fileio): Define file-missing.
      
      2016-10-18  Paul Eggert  <eggert@cs.ucla.edu>
      89799829
  19. 13 Oct, 2016 2 commits
  20. 29 Sep, 2016 1 commit
  21. 26 Sep, 2016 1 commit
  22. 25 Aug, 2016 1 commit
    • Tino Calancha's avatar
      call-shell-region: New defun · 5e84dcef
      Tino Calancha authored
      Suggested by Stefan Monnier in Bug#22679.
      * lisp/subr.el (call-shell-region): New defun; execute a command
      in an inferior shell with the buffer region as input.
      * lisp/simple.el (shell-command-on-region): Use it.
      * lisp/gnus/message.el (message-do-fcc): Idem.
      * doc/lispref/processes.texi: Document call-shell-region in the manual.
      ;* etc/NEWS: Add entry for this new function.
      5e84dcef
  23. 24 Aug, 2016 1 commit
  24. 05 Aug, 2016 1 commit
  25. 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
      restart.
      
      * gnus-srvr.el (gnus-server-toggle-cloud-method-server): Prompt to
      save the customization of `gnus-cloud-method'.
      ec359399
  26. 26 Jul, 2016 1 commit
  27. 25 Jul, 2016 1 commit
  28. 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.
      ad90397c
  29. 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
      "Version".
      (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
      entries.
      (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
      entries.
      (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
      timestamp.
      (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-cloud-host-acceptable-method-p.
      (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.
      30b3a842
  30. 14 Jul, 2016 1 commit
  31. 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
      `cl-mapcan'.
      
      * lisp/woman.el (eval-when-compile): Require 'cl-lib only when
      compiling.
      
      * 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'.
      466ee1b3
  32. 01 Jul, 2016 1 commit
  33. 22 Jun, 2016 1 commit
  34. 10 Jun, 2016 2 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.
      78b18cab
    • 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
      (semantic-lex-spp-macro-max-length-to-save):
      * lisp/cedet/semantic/symref.el (semantic-symref-tool):
      * lisp/cedet/semantic/bovine/el.el
      (semantic-elisp-store-documentation-in-tag):
      * lisp/cedet/semantic/wisent/comp.el (wisent-verbose-flag)
      (wisent-expected-conflicts):
      * 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)
      (gnus-browse-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)
      (nnheader-directory-separator-character)
      (nnheader-pathname-coding-system):
      * lisp/gnus/nnmail.el (nnmail-pathname-coding-system)
      (nnmail-active-file-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)
      (rfc2047-allow-irregular-q-encoded-words)
      (rfc2047-allow-incomplete-encoded-text):
      * 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.
      b27c670b