1. 09 Feb, 2016 1 commit
    • Katsumi Yamaoka's avatar
      Make mm-html-inhibit-images and mm-html-blocked-images default to nil · 7c9206f8
      Katsumi Yamaoka authored
      * lisp/gnus/mm-decode.el (mm-html-inhibit-images)
      (mm-html-blocked-images): Default to nil.
      
      * doc/misc/emacs-mime.texi (Display Customization): Mention that
      mm-html-inhibit-images and mm-html-blocked-images default to nil.
      
      * etc/NEWS (Gnus): Document mm-html-inhibit-images and
      mm-html-blocked-images.
      7c9206f8
  2. 08 Feb, 2016 2 commits
    • Glenn Morris's avatar
      e85055c9
    • Katsumi Yamaoka's avatar
      Refactor HTML images handling of Gnus and mm-* (a part of bug#21650) · 0a4c102a
      Katsumi Yamaoka authored
      * doc/misc/emacs-mime.texi (Display Customization):
      Remove mm-inline-text-html-with-images; add documentations for
      mm-html-inhibit-images and mm-html-blocked-images.
      
      * lisp/gnus/gnus-art.el (gnus-article-show-images):
      No need to bind mm-inline-text-html-with-images.
      (gnus-bind-safe-url-regexp): Rename to gnus-bind-mm-vars.
      (gnus-bind-mm-vars): Rename from gnus-bind-safe-url-regexp;
      bind mm-html-inhibit-images and mm-html-blocked-images.
      (gnus-mime-view-all-parts, gnus-mime-view-part-internally)
      (gnus-mm-display-part, gnus-mime-display-single)
      (gnus-mime-display-alternative): Use gnus-bind-mm-vars.
      
      * lisp/gnus/mm-decode.el (mm-inline-text-html-with-images): Remove.
      (mm-html-inhibit-images, mm-html-blocked-images): New user options.
      (mm-shr): Bind shr-inhibit-images and shr-blocked-images with
      mm-html-inhibit-images and mm-html-blocked-images respectively
      instead of gnus-inhibit-images and gnus-blocked-images.
      
      * lisp/gnus/mm-view.el (mm-setup-w3m): Use mm-html-inhibit-images
      instead of mm-inline-text-html-with-images.
      0a4c102a
  3. 01 Jan, 2016 1 commit
  4. 17 Nov, 2015 1 commit
    • Paul Eggert's avatar
      Fix docstring quoting problems with ‘ '’ · ac16149b
      Paul Eggert authored
      Problem reported by Artur Malabarba in:
      http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
      Most of these fixes are to documentation; many involve fixing
      longstanding quoting glitches that are independent of the
      recent substitute-command-keys changes.  The changes to code are:
      * lisp/cedet/mode-local.el (mode-local-augment-function-help)
      (describe-mode-local-overload):
      Substitute docstrings before displaying them.
      * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
      Quote the generated docstring for later substitution.
      ac16149b
  5. 17 Sep, 2015 1 commit
    • Paul Eggert's avatar
      Backslash cleanup in Elisp source files · 284c470e
      Paul Eggert authored
      This patch should not change behavior.  It typically omits backslashes
      where they are redundant (e.g., in the string literal "^\$").
      In a few places, insert backslashes where they make regular
      expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
      "^\\*", which has the same effect as a regular expression.
      Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
      and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
      RCS IDs, as that makes it clearer that the backslash is intended.
      284c470e
  6. 31 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Quoting fixes in Gnus · 86f69200
      Paul Eggert authored
      * lisp/gnus/gnus-agent.el:
      (gnus-agent-possibly-synchronize-flags-server):
      * lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
      * lisp/gnus/gnus-eform.el (gnus-edit-form):
      * lisp/gnus/gnus-group.el (gnus-group-edit-group)
      (gnus-group-nnimap-edit-acl):
      * lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
      * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
      * lisp/gnus/message.el (message-strip-subject-encoded-words)
      (message-check-recipients, message-send-form-letter):
      * lisp/gnus/mm-decode.el (mm-display-part):
      * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
      * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
      (mml-smime-get-ldap-cert):
      * lisp/gnus/spam-report.el (spam-report-process-queue):
      Respect ‘text-quoting-style’ in diagnostics.
      * lisp/gnus/gnus-art.el (article-display-face)
      * lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
      Use straight quoting in email.
      * lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
      Escape apostrophes in doc strings.
      86f69200
  7. 19 Aug, 2015 1 commit
    • Katsumi Yamaoka's avatar
      [Gnus]: Use overlay functions directly · a83be20b
      Katsumi Yamaoka authored
      * lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part)
      (gnus-insert-mime-button, gnus-mime-buttonize-attachments-in-header)
      (gnus-article-highlight-signature, gnus-article-extend-url-button)
      (gnus-article-add-button, gnus-insert-prev-page-button)
      (gnus-insert-next-page-button, gnus-insert-mime-security-button):
      * lisp/gnus/gnus-cite.el (gnus-cite-delete-overlays)
      (gnus-cite-add-face):
      * lisp/gnus/gnus-html.el (gnus-html-wash-tags):
      * lisp/gnus/gnus-salt.el (gnus-tree-read-summary-keys)
      (gnus-tree-recenter, gnus-highlight-selected-tree):
      * lisp/gnus/gnus-sum.el (gnus-summary-show-all-threads)
      (gnus-summary-show-thread, gnus-summary-hide-thread)
      (gnus-highlight-selected-summary):
      * lisp/gnus/gnus-util.el (gnus-put-overlay-excluding-newlines):
      * lisp/gnus/message.el (message-fix-before-sending)
      (message-toggle-image-thumbnails):
      * lisp/gnus/mm-decode.el (mm-convert-shr-links):
      * lisp/gnus/sieve.el (sieve-highlight, sieve-insert-scripts):
      Use overlay functions directly instead of using gnus-overlay-*,
      message-overlay-*, and sieve-overlay-*.
      
      * lisp/gnus/gnus-sum.el (gnus-remove-overlays):
      * lisp/gnus/gnus.el (gnus-make-overlay, gnus-copy-overlay)
      (gnus-delete-overlay, gnus-overlay-get, gnus-overlay-put)
      (gnus-move-overlay, gnus-overlay-buffer, gnus-overlay-start)
      (gnus-overlay-end, gnus-overlays-at, gnus-overlays-in):
      * lisp/gnus/message.el (message-delete-overlay, message-make-overlay)
      (message-overlay-get, message-overlay-put, message-overlays-in):
      * lisp/gnus/sieve.el (sieve-make-overlay, sieve-overlay-put)
      (sieve-overlays-at):
      Remove.
      a83be20b
  8. 01 May, 2015 1 commit
    • Glenn Morris's avatar
      Function declaration updates prompted by 'make check-declare' · ce7ff436
      Glenn Morris authored
      * lisp/emacs-lisp/package.el (lm-homepage):
      * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
      * lisp/gnus/mm-decode.el (libxml-parse-html-region):
      * lisp/gnus/mml.el (libxml-parse-html-region):
      * lisp/gnus/nnrss.el (libxml-parse-html-region):
      * lisp/net/eww.el (libxml-parse-html-region):
      * lisp/net/shr.el (libxml-parse-html-region):
      * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
      * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
      * lisp/vc/vc-git.el (vc-annotate-convert-time):
      * lisp/vc/vc-hg.el (vc-annotate-convert-time):
      * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
      * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
      Update declaration.
      ce7ff436
  9. 25 Feb, 2015 1 commit
  10. 15 Feb, 2015 1 commit
    • Lars Magne Ingebrigtsen's avatar
      Fix inserting parts with `E' in Gnus · 45c5ccd4
      Lars Magne Ingebrigtsen authored
      * lisp/gnus/mm-decode.el (mm-head-p): New function.
      (mm-display-part): Go to a blank line when inserting parts internally.
      Fix inserting parts with `E' in Gnus
      
      * lisp/gnus/mm-decode.el (mm-head-p): New function.
      (mm-display-part): Go to a blank line when inserting parts internally.
      45c5ccd4
  11. 10 Feb, 2015 3 commits
    • Katsumi Yamaoka's avatar
      4069c132
    • Katsumi Yamaoka's avatar
      b88908b6
    • Lars Magne Ingebrigtsen's avatar
      Allow using variable-width fonts in eww · 656caef3
      Lars Magne Ingebrigtsen authored
      * lisp/gnus/mm-decode.el (mm-shr): Only pass the fill column when not using
      fonts, because limiting the width to what's appropriate for followups
      doesn't really help when not using proportional fonts.
      
      * lisp/net/shr.el (shr-use-fonts): New variable.
      (shr-fill-text): Rename from "fold".
      (shr-pixel-column, shr-pixel-region, shr-string-pixel-width): New
      functions.
      (shr-insert): Just insert, don't fill the text.  Filling is now
      done afterwards per display unit.
      (shr-fill-lines, shr-fill-line): New functions to fill text on a
      per-unit base.
      (shr-find-fill-point): Take a "beginning" parameter.
      (shr-indent): Indent using the :width display parameter when using
      fonts.
      (shr-parse-style): Ignore "inherit" values, since we already do that.
      (shr-tag-img): Remove the insertion states.
      (shr-tag-blockquote): New-style filling.
      (shr-tag-dd): Ditto.
      (shr-tag-li): Ditto.
      (shr-mark-fill): New function to mark lines that need filling.
      (shr-tag-h1): Use a larger font.
      (shr-tag-table-1): Get the natural and suggested widths in one
      rendering.
      (shr-tag-table): Create the "fixed" version of the table only once
      so that we can cache data in the table.
      (shr-insert-table): Get colspan calculations right by having
      zero-width columns after colspan ones.
      (shr-expand-alignments): New function to make :align-to specs work
      right when rendered in one buffer and displayed in another one.
      (shr-insert-table-ruler): Use :align-to to get the widths right.
      (shr-make-table): Cache more.
      (shr-make-table-1): Use the new <td> data layout.
      (shr-pixel-buffer-width): New function.
      (shr-render-td): Add a caching layer.
      (shr-dom-max-natural-width): New function.
      656caef3
  12. 30 Jan, 2015 1 commit
  13. 26 Jan, 2015 1 commit
  14. 01 Jan, 2015 2 commits
  15. 29 Dec, 2014 1 commit
    • Lars Ingebrigtsen's avatar
      Make eww rendering default to `window-width' again · c5a81fdb
      Lars Ingebrigtsen authored
      * lisp/gnus/mm-decode.el (mm-shr): Bind `shr-width' to `fill-column'
      so that lines don't get overlong when responding.
      
      * lisp/net/eww.el (eww-mode): Truncate overlong lines for prettier
      display when resizing.
      
      * lisp/net/shr.el (shr-width): Default to using the window width when
      rendering.
      c5a81fdb
  16. 10 Dec, 2014 1 commit
  17. 05 Jun, 2014 2 commits
    • Katsumi Yamaoka's avatar
      Gnus: fix last change · 0d46b5f1
      Katsumi Yamaoka authored
      * gnus-art.el (gnus-article-edit-part): Don't modifiy markers.
      (gnus-article-read-summary-keys):
      Don't bug out when there is no article in the summary buffer.
      
      * gnus-art.el (gnus-mm-display-part):
      * mm-decode.el (mm-shr):
      * mm-view.el (mm-inline-text-html-render-with-w3m, mm-inline-text)
      (mm-insert-inline): Revert last changes.
      0d46b5f1
    • Katsumi Yamaoka's avatar
      Gnus: bugfixes to make `gnus-mime-save-part-and-strip' work again · 343d16e4
      Katsumi Yamaoka authored
      * gnus-art.el (gnus-mm-display-part):
      * mm-decode.el (mm-shr):
      * mm-view.el (mm-inline-text-html-render-with-w3m, mm-inline-text)
      (mm-insert-inline): Set insertion type of end-marker, not only
      start-marker, of undisplayer so as to stay after inserted text.
      343d16e4
  18. 02 May, 2014 1 commit
    • Katsumi Yamaoka's avatar
      Gnus: Make gnus-mime-inline-part and gnus-mime-inline-part work similarly · 14ff920d
      Katsumi Yamaoka authored
      * gnus-art.el (gnus-mime-inline-part): Redisplay a button so as to show
      the displaying state of a part.
      (gnus-mime-inline-part): Don't insert a newline in the beginning of
      a part like gnus-mime-inline-part doesn't; work for XEmacs.
      
      * mm-decode.el (mm-display-part): Don't insert a newline in the top.
      (mm-shr): Make undisplayer unbreakable.
      
      * mm-view.el (mm-inline-image-emacs, mm-inline-image-xemacs): Don't
      insert excessive newline.
      (mm-inline-text-html-render-with-w3m, mm-inline-text)
      (mm-insert-inline): Make undisplayer unbreakable.
      14ff920d
  19. 23 Mar, 2014 1 commit
    • Gnus developers's avatar
      Merge from Gnus git master · 4d2226bf
      Gnus developers authored
      2014-03-14 Katsumi Yamaoka <yamaoka@jpl.org>
       * gnus-sum.el (gnus-summary-toggle-header): Display header attachment
       buttons when toggling the header off.
      
      2014-03-07 Daiki Ueno <ueno@gnu.org>
       * mml2015.el (mml2015-use): Don't check the availability of GnuPG
       commands here; instead, only check if epg-config.el is available.
      
      2014-03-06 Lars Ingebrigtsen <larsi@gnus.org>
       * mml.el (mml-expand-html-into-multipart-related): Allow sending HTML
       messages with embedded images.
       (mml-generate-mime): Don't bug out if you don't have libxml.
      
      2014-03-06 Lars Ingebrigtsen <larsi@gnus.org>
       * message.el (message-make-html-message-with-image-files): New command.
      
      2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
       * mml.el (mml-insert-mime-headers): Allow `recipient-filename'.
      
      2014-02-23 David Engster <deng@randomsample.de>
       * auth-source.el (auth-source-netrc-saver): Do not depend on `cl-lib'
       to stay compatible with older Emacsen, so replace `cl-loop' with
       `loop'.
      
      2014-02-17 Katsumi Yamaoka <yamaoka@jpl.org>
       * gnus-art.el (gnus-article-prepare, gnus-article-prepare-display):
       Display header attachment buttons by gnus-article-prepare-display
       rather than gnus-article-prepare so as to view in mml-preview as well.
      
      2014-02-10 Katsumi Yamaoka <yamaoka@jpl.org>
       * gnus-art.el (gnus-article-goto-part): Find a button in the body first.
       (gnus-mime-buttonize-attachments-in-header): Number hidden buttons.
      
      2014-02-07 Katsumi Yamaoka <yamaoka@jpl.org>
       * gnus-art.el (gnus-mime-buttonize-attachments-in-header): Display
       buttons that are hidden in unselected alternative part as well.
       (gnus-mime-display-alternative): Redraw attachment buttons in header.
       * gmm-utils.el (gmm-labels): Add edebug spec.
      
      2014-02-07 Lars Ingebrigtsen <larsi@gnus.org>
       * gnus-srvr.el (gnus-server-toggle-cloud-server): New command and
       keystroke.
       (gnus-server-toggle-cloud-server): Only allow clouding applicable
       types.
      
      2014-02-05 Katsumi Yamaoka <yamaoka@jpl.org>
       * gnus.el (gnus-copy-overlay, gnus-overlays-at): New functions.
       * gnus-art.el (gnus-mime-display-attachment-buttons-in-header):
       New user option.
       (gnus-mime-buttonize-attachments-in-header): New function.
       (gnus-article-prepare): Use it.
       (gnus-mime-inline-part): Suppress extra newline.
       (gnus-mm-display-part): Save excursion;
       remove useless deleting and adding of buttons.
       (gnus-insert-mime-button): Allow insertion in the middle of a line.
       * gnus-sum.el (gnus-summary-wash-mime-map, gnus-summary-article-menu):
       Add gnus-mime-buttonize-attachments-in-header.
      
      2014-02-05 Lars Ingebrigtsen <larsi@gnus.org>
       * nnimap.el (nnimap-request-articles): New command to download several
       articles at once.
       * gnus.el (gnus-variable-list): Save Cloud variables.
      
      2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
       * gnus-cloud.el: New file to provide the Emacs Cloud.
       * gravatar.el (gravatar-retrieve-synchronously): XEmacs also has
       `url-retrieve-synchronously', apparently.
       * gnus-notifications.el (gravatar-retrieve-synchronously): Declare for
       XEmacs.
       * nnrss.el (libxml-parse-html-region): Silence compilation error.
      
      2014-02-01 Daniel Dehennin <daniel.dehennin@baby-gnu.org>
       * gnus-mlspl.el (gnus-group-split-fancy): Use `gnus-parameters' in
       `gnus-group-split-fancy'.
      
      2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
       * message.el (message-remove-header): Doc fix.
       (message-forward-included-headers): New variable.
       (message-remove-ignored-headers): Use it.
      
      2014-01-31 Dave Abrahams <dave@boostpro.com>
       * gnus-sum.el (gnus-summary-open-group-with-article): New command.
      
      2013-09-04 Rasmus Pank Roulund <emacs@pank.eu>
       * gnus-fun.el (gnus-x-face-omit-files): Regexp to omit matched results
       from random face commands.
       (gnus-face-directory): Like `gnus-x-face-directory` for png files and
       Face.
       (gnus-face-omit-files): Like `gnus-x-face-omit-files` for Face.
       (gnus--random-face-with-type): Generic function returning a face-type
       as a string.
       (gnus--insert-random-face-with-type): Generic function inserting a face
       in a message buffer header.
       (gnus-random-x-face): Rewritten to use `gnus--random-face-with-type`.
       (gnus-insert-random-x-face-header): Rewritten to use
       `gnus--insert-random-face-with-type`.
       (gnus-random-face): Return random (png) Face as string.
       (nus-insert-random-face-header): Insert random (png) Face in a message
       buffer.
      
      2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
       * mm-url.el: Remove all usage of w3.
       * nnrss.el: Ditto.
       * mm-decode.el: Ditto.
       * mm-view.el: Ditto.
       * gnus-setup.el: Remove outdated file.
      4d2226bf
  20. 01 Jan, 2014 1 commit
  21. 19 Dec, 2013 1 commit
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'. · 50ab1da6
      Juri Linkov authored
      Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
      (minibuffer-history-symbol): Move variable declaration closer to
      its usage.
      
      * lisp/isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
      (Bug#14785)
      
      * lisp/gnus/gnus.el (gnus-suppress-keymap):
      * lisp/gnus/gnus-art.el (gnus-article-mode-map):
      * lisp/gnus/gnus-group.el (gnus-group-mode-map):
      * lisp/gnus/gnus-sum.el (gnus-summary-mode-map, gnus-summary-backend-map):
      Remove [backspace] key binding because it shadows DEL (bug#16035).
      
      * lisp/gnus/mm-decode.el (mm-viewer-completion-map): Remove duplicate definition.
      50ab1da6
  22. 23 Oct, 2013 1 commit
  23. 22 Oct, 2013 1 commit
  24. 18 Sep, 2013 1 commit
  25. 17 Sep, 2013 1 commit
  26. 28 Aug, 2013 1 commit
  27. 12 Aug, 2013 2 commits
  28. 09 Aug, 2013 2 commits
  29. 06 Aug, 2013 1 commit
  30. 01 Aug, 2013 1 commit
    • Gnus developers's avatar
      Merge changes made in Gnus master · 89cccc2f
      Gnus developers authored
      2013-08-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
      * gnus.texi (Basic Usage): Mention that warp means jump here.
        (The notmuch Engine): Mention notmuch.
      
      2013-08-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
      * message.el (message-ignored-news-headers): Delete X-Gnus-Delayed
        before sending.
      * dgnushack.el (dgnushack-compile): Add a temporary check for
        gnus-icalendar.
      * mm-decode.el (mm-command-output): New face.
        (mm-display-external): Use it.
      
      2013-08-01 Kan-Ru Chen (陳侃如) <kanru@kanru.info> (tiny change)
      * nnmbox.el (nnmbox-request-article): Don't change point.
      
      2013-08-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
      * gnus-icalendar.el (gnus-icalendar-event:inline-reply-buttons):
        Include `handle' parameter.
      
      2013-08-01 Jan Tatarik <jan.tatarik@gmail.com>
      * gnus-icalendar.el: New file.
      
      2013-08-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
      * gnus-int.el (gnus-warp-to-article): Mention that warp means jump.
      * gnus-uu.el (gnus-uu-mark-thread, gnus-uu-unmark-thread): Work with
        dummy roots, too.
      
      2013-08-01 David Edmondson <dme@dme.org>
      * mml2015.el (mml2015-epg-key-image-to-string): Protect against bugging
        out on ttys.
      
      2013-08-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
      * gnus-start.el (gnus-dribble-save): Only save the dribble file if it's
        not empty.
      89cccc2f
  31. 18 Jun, 2013 1 commit
  32. 17 Jun, 2013 2 commits