1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-19 04:10:18 -08:00
Commit graph

2198 commits

Author SHA1 Message Date
Katsumi Yamaoka
40de2c6dd3 gnus-art.el (gnus-inhibit-images): New user option.
* gnus-art.el (gnus-inhibit-images): New user option.
(gnus-mime-display-single): Don't display image if it is non-nil.

* mm-decode.el (mm-shr): Bind shr-inhibit-images to the value of
gnus-inhibit-images.

* shr.el (shr-image-displayer): New function.
(shr-tag-img): Use it.
2010-11-17 07:22:19 +00:00
Daniel Dehennin
809fde057f mml2015-epg-sign: Use From header.
mml2015.el (mml2015-epg-sign): New variable 'sender' is
 (message-options-get 'message-sender) and append it to mml2015-signers.
 If mm-sign-option is not 'guided, mml2015-signers and sender sign the mail.
2010-11-16 23:05:02 +00:00
Lars Magne Ingebrigtsen
0073e0313a Allow gnus-html to register image displayer callbacks.
gnus-html.el (gnus-html-wash-images): Register a displayer.
gnus-util.el (gnus-find-text-property-region): Return markers.
2010-11-16 00:04:25 +00:00
Lars Magne Ingebrigtsen
8b6f657390 Rework how Gnus is supposed to be able to display all the images in HTML.
shr.el (shr-tag-img): Put a displayer in the text property.
gnus-util.el (gnus-find-text-property-region): New utility function.
gnus-html.el (gnus-html-display-image): Make the alt optional.
gnus-html.el (gnus-html-show-images): Remove.
gnus-art.el (gnus-article-show-images): New, more general function.
gnus-html.el, shr.el: Use image-url instead of gnus-image-url to unify the image url text properties.
2010-11-15 23:45:55 +00:00
Lars Magne Ingebrigtsen
90eef04725 gnus-agent.el (gnus-agentize): Only do the auto-agentizing if gnus-agent-auto-agentize-methods is set. Which it isn't. 2010-11-15 22:12:43 +00:00
Katsumi Yamaoka
3a7a03add9 gnus-sum.el (gnus-summary-move-article): Fix `while' loop to make it work for two or more articles. 2010-11-15 02:40:42 +00:00
Katsumi Yamaoka
059b2b00fb Fix last change. 2010-11-12 06:24:47 +00:00
Katsumi Yamaoka
2f0e0dc8be gnus-art.el (article-treat-non-ascii): Keep text properties.
gnus.texi (Article Washing): Fix typo.
2010-11-12 05:59:53 +00:00
Katsumi Yamaoka
2ff71e9b19 smime.el (smime-decrypt-region): Doc fix. 2010-11-12 01:48:39 +00:00
Katsumi Yamaoka
b0feab7d2c Make mm-dissect-buffer pass sender's mail address to smime-decrypt-region.
mm-decode.el (mm-dissect-buffer): Pass sender's mail address to smime-decrypt-region using function argument.
mm-decode.el (mm-possibly-verify-or-decrypt, mm-dissect-multipart): Relay it.
mm-view.el (mm-view-pkcs7, mm-view-pkcs7-decrypt): Relay it.
smime.el (smime-decrypt-region): Catch it.
2010-11-11 23:51:05 +00:00
Stefan Monnier
ec54e7a421 * lisp/gnus/smime.el (smime-mode): Use define-derived-mode.
(smime-mode-map): Move initialization into declaration.
(gnus-run-mode-hooks): Don't autoload.
2010-11-11 17:24:03 -05:00
Glenn Morris
8d60680b40 * lisp/gnus/smime.el (from): Restrict declaration to XEmacs. 2010-11-10 20:07:40 -08:00
Glenn Morris
0b58f78eed * lisp/gnus/nnir.el (gnus-group-topic-name): Autoload. 2010-11-10 20:05:15 -08:00
Katsumi Yamaoka
fe98a42fce shr.el (shr-insert): Fix last change. 2010-11-11 04:01:12 +00:00
Katsumi Yamaoka
e7102c0aca shr.el (shr-insert): Don't break long line if it is because of kinsoku-bol characters in the line end. 2010-11-11 03:50:27 +00:00
Katsumi Yamaoka
54e275fa7c lisp/gnus/ChangeLog: Cosmetic fix. 2010-11-11 02:11:30 +00:00
Andrew Cohen
67a3b17cf1 nnir.el (nnir-request-move-article): fix to provide original group and subject.
nnir.el (nnir-warp-to-article): don't fail on articles whose headers haven't been retrieved.
gnus-sum.el (gnus-summary-move-article): use original group and subject for virtual articles such as those in an nnir summary buffer.
2010-11-11 02:10:07 +00:00
Katsumi Yamaoka
9c1d3f983f gnus-art.el (article-treat-non-ascii): Make it work for XEmacs (at least 21.5).
smime.el (from): Declare it again for XEmacs.
2010-11-11 01:45:05 +00:00
Katsumi Yamaoka
7dfd300808 lisp/gnus/ChangeLog (2010-11-10): Fix wording. 2010-11-10 23:57:24 +00:00
Lars Magne Ingebrigtsen
a7f6e5b9f0 nnimap.el (nnimap-update-info): Fix problem with `g' chopping of low-numbered articles.
message.el (message-resend): Don't disable encoding unless it's already encoded.
2010-11-10 23:16:01 +00:00
Katsumi Yamaoka
3d49267055 rfc2047.el (rfc2047-syntax-table): Simplify. 2010-11-10 07:55:25 +00:00
Katsumi Yamaoka
fdf1419174 gnus-art.el (article-treat-non-ascii): Use put-char-table instead of set-char-table-range for XEmacs. 2010-11-10 06:23:53 +00:00
Glenn Morris
89eee1e053 * lisp/gnus/smime.el (from): Remove unused declaration. 2010-11-09 20:09:49 -08:00
Glenn Morris
6f0d4bb6b2 time-to-seconds related simplifications.
* lisp/gnus/gnus-util.el (with-no-warnings): Remove compat stub, now unused.
(gnus-float-time): On Emacs, always an alias.

* lisp/gnus/ecomplete.el (with-no-warnings): Remove compat stub, now unused.
(ecomplete-add-item): Use float-time on Emacs, else gnus-float-time.

* lisp/textmodes/remember.el (remember-time-to-seconds): Remove.
(remember-store-in-mailbox): Use float-time.

* lisp/calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.

* lisp/calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
never a real function.
(with-no-warnings): Remove compat stub, now unused.
(time-less-p): Doc fix.
(time-to-number-of-days): Simplify.
2010-11-09 20:08:15 -08:00
Katsumi Yamaoka
16c1b3bc2f gnus-art.el (org-entities): Bind it. 2010-11-10 01:25:17 +00:00
Lars Magne Ingebrigtsen
be3c11b305 Merge changes made in Gnus trunk.
message.el (message-mailto): New function.
message.el (message-mailto): Should accept other parameters.
message.el (message-mailto): Remove since it duplicates browse-url-mailto functionality.
shr.el (shr-browse-url): Call browse-url-mailto for mailto: links.
message.el (message-subject-trailing-was-ask-regexp): A ] in a [] regexp doesn't need quoting.
gnus-art.el (article-treat-non-ascii): New command and keystroke.
shr.el (browse-url-mailto): Autoload.
gnus.texi (Article Washing): Document gnus-article-treat-non-ascii.
2010-11-09 22:17:36 +00:00
Sven Joachim
27410d0ac3 message.el (message-subject-trailing-was-ask-regexp, message-subject-trailing-was-regexp): Match was: in addition to was. 2010-11-09 10:29:37 +00:00
Glenn Morris
9b026d9f13 Replace still more end-of-line etc with line-end-position, etc.
* lisp/gnus/nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)
(nnbabyl-check-mbox): Use point-at-bol.

* lisp/cedet/semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
* lisp/cedet/semantic/grammar.el (semantic-grammar-epilogue):
* lisp/cedet/ede/speedbar.el (ede-find-nearest-file-line):
* lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
* lisp/cedet/ede/autoconf-edit.el (autoconf-delete-parameter):
Use point-at-bol and point-at-eol.

* lisp/vc/emerge.el (emerge-line-number-in-buf):
* lisp/textmodes/ispell.el (ispell-region):
* lisp/textmodes/fill.el (current-fill-column):
* lisp/progmodes/xscheme.el (xscheme-send-current-line):
* lisp/progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
* lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment):
* lisp/progmodes/sh-script.el (sh-handle-prev-do):
* lisp/progmodes/meta-mode.el (meta-indent-line):
* lisp/progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
(idlwave-in-quote):
* lisp/progmodes/idlw-shell.el (idlwave-shell-current-frame)
(idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
* lisp/progmodes/fortran.el (fortran-looking-at-if-then):
* lisp/progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
* lisp/progmodes/cperl-mode.el (cperl-sniff-for-indent)
(cperl-find-pods-heres):
* lisp/progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
* lisp/net/quickurl.el (quickurl-list-insert):
* lisp/net/ldap.el (ldap-search-internal):
* lisp/net/eudc.el (eudc-expand-inline):
* lisp/mail/sendmail.el (sendmail-send-it):
* lisp/mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
* lisp/emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
(viper-brac-function):
* lisp/calc/calc-yank.el (calc-do-grab-region):
* lisp/calc/calc-keypd.el (calc-keypad-press):
* lisp/term.el (term-move-columns, term-insert-spaces):
* lisp/speedbar.el (speedbar-highlight-one-tag-line):
* lisp/simple.el (current-word):
* lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
* lisp/info.el (Info-find-node-in-buffer-1, Info-follow-reference)
(Info-scroll-down):
* lisp/hippie-exp.el (he-line-beg):
* lisp/epa.el (epa--marked-keys):
* lisp/dired-aux.el (dired-kill-line, dired-do-kill-lines)
(dired-update-file-line, dired-add-entry, dired-remove-entry)
(dired-relist-entry):
* lisp/buff-menu.el (Buffer-menu-buffer):
* lisp/array.el (current-line):
* lisp/allout.el (allout-resolve-xref)
(allout-latex-verbatim-quote-curr-line):
Replace yet more uses of end-of-line etc with line-end-position.
2010-11-08 21:33:07 -08:00
Katsumi Yamaoka
44d51d8460 message.el (message-subject-trailing-was-regexp): Fix default value. 2010-11-09 02:00:56 +00:00
Lars Magne Ingebrigtsen
1fe0787fcd gnus-group.el (gnus-group-read-ephemeral-group, gnus-group-make-group): Remove superfluous ": " from the prompt.
gnus-start.el (gnus-get-unread-articles, gnus-read-active-file): Ignore totally non-existent methods.
2010-11-08 01:38:47 +00:00
Glenn Morris
e180ab9fde Replace end-of-line, save-excursion etc with point-at-eol, point-at-bol.
* lisp/mh-e/mh-seq.el (mh-read-msg-list): Use point-at-eol.

* lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-show-infos)
(gnus-bookmark-kill-line): Use point-at-eol.

* lisp/cedet/ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol.

* lisp/emacs-lisp/chart.el (chart-zap-chars):
* lisp/play/decipher.el (decipher-set-map):
* lisp/progmodes/ada-mode.el (ada-get-current-indent)
(ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
* lisp/progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
* lisp/progmodes/ada-xref.el (ada-initialize-runtime-library)
(ada-get-all-references):
* lisp/progmodes/cperl-mode.el (cperl-electric-paren)
(cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
(cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
(cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
(cperl-word-at-point-hard):
* lisp/progmodes/idlw-shell.el (idlwave-shell-move-or-history)
(idlwave-shell-filename-string, idlwave-shell-batch-command)
(idlwave-shell-display-line):
* lisp/progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
(idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
* lisp/progmodes/js.el (js--re-search-forward-inner)
(js--re-search-backward-inner):
* lisp/progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
(vhdl-fix-clause, vhdl-compose-configuration-architecture):
* lisp/progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
* lisp/textmodes/flyspell.el (flyspell-process-localwords):
* lisp/textmodes/ispell.el (ispell-buffer-local-parsing)
(ispell-buffer-local-dict, ispell-buffer-local-words):
Use point-at-bol and point-at-eol.
2010-11-06 18:36:33 -07:00
Katsumi Yamaoka
c9bc6636f9 gnus-gravatar.el (gnus-gravatar-transform-address): No need to skip asterisks in From header. 2010-11-07 01:10:01 +00:00
Gnus developers
4ddab346e6 gnus-int.el, nnimap.el, nnir.el: More improvements to thread-referral.
message.el (message-send-mail): Don't insert courtesy messages if the message already has List-Post and List-ID messages.
gnus-ems.el (gnus-put-image): Use a blank text as the insertion string to avoid making the From headers syntactically invalid.
2010-11-07 00:22:06 +00:00
Glenn Morris
c497474bdc Silence gnus-art compilation.
* lisp/gnus/gnus-art.el (gnus-treat-article): Give dynamic local variables
`condition', `type', `length' a prefix.
(gnus-treat-predicate): Update for above name changes.
2010-11-06 12:35:19 -07:00
Gnus developers
181cb5fb65 Merge changes made in Gnus trunk.
mm-decode.el (mm-save-part): Put the entire path in the `M-n' slot.
nnimap.el (nnimap-find-article-by-message-id): Don't EXAMINE a group if it's already selected.
gnus.texi (Customizing the IMAP Connection): Document `nnimap-expunge' and remove `nnimap-expunge-inbox' from example.
gnus.texi (Customizing the IMAP Connection): Remove nnir mention, since that works by default.
gnus-sum.el (gnus-summary-show-article): Take `t' as the arg to mean "raw".
gnus-html.el (gnus-html-browse-url): Implement mailto: URLs.
shr.el (shr-browse-url): Implement mailto: URLs.
nnir.el, gnus-sum.el: Improve thread-referral.
message.el (message-send-mail): Use the value of message-courtesy-message from the message buffer.
2010-11-04 22:18:09 +00:00
Katsumi Yamaoka
b354bc5303 shr.el (shr-tag-img): Use string-width and truncate-string-to-width to measure the length and truncate alt text. 2010-11-04 11:00:25 +00:00
Glenn Morris
cf503f7c08 Mere anarchy is loosed upon the world.
* doc/misc/gnus.texi (Agent Variables): Spelling fix.
2010-11-02 20:40:54 -07:00
Glenn Morris
73ab9865e6 Silence compilation of nndiary.el.
* lisp/gnus/nndiary.el (nndiary-generate-nov-databases-1)
(nndiary-generate-active-info): Rename dynamic variable `files' to
something less generic.
2010-11-02 20:25:23 -07:00
Andrew Cohen
6ec9acb3b4 nnir.el (nnir-request-move-article): call the underlying backend to move articles from nnir. 2010-11-03 01:06:33 +00:00
Lars Magne Ingebrigtsen
dc9791eba6 gnus-cite.el (gnus-article-natural-long-line-p): Removed. 2010-11-03 01:02:53 +00:00
Julien Danjou
14782c5968 nnir: remove wais support 2010-11-02 11:28:45 +00:00
Glenn Morris
cb48fe8111 * lisp/gnus/gnus-html.el: Reorder requirements to quieten compiler. 2010-11-01 21:08:43 -07:00
Glenn Morris
7beb9868bd * lisp/gnus/gnus-util.el: Comment. 2010-11-01 21:06:44 -07:00
Katsumi Yamaoka
f939acf143 gnus-cite.el (gnus-article-fill-cited-article): Make fill work properly for XEmacs as well.
gnus-cite.el (gnus-article-fill-cited-article, gnus-article-foldable-buffer, gnus-article-natural-long-line-p): Use window-width rather than frame-width.
2010-11-02 02:19:52 +00:00
Andrew Cohen
2960c86fde nnir.el: Fix various bugs. 2010-11-01 23:47:38 +00:00
Lars Magne Ingebrigtsen
285cf7c8fe gnus-sum.el (gnus-print-buffer): Rewrite to use with-temp-buffer.
gnus-sum.el (gnus-print-buffer): Just print the buffer as is.
gnus-cite.el (gnus-article-foldable-buffer): Protect against degenerate articles.
2010-11-01 23:11:37 +00:00
Lars Magne Ingebrigtsen
9310f19da1 Merge changes made in Gnus trunk.
nnimap.el (nnimap-parse-line): Don't bug out oddly formed replies (bug #7311).
gnus-cite.el (gnus-article-fill-cited-article): Minimize the long-lines case by only filling the long lines.
gnus-start.el (gnus-ask-server-for-new-groups): Return the new groups.
gnus-group.el (gnus-group-find-new-groups): Display all the new groups.
gnus-start.el (gnus-find-new-newsgroups): Return the list of new groups.
nnimap.el (nnimap-request-group): Store the new updated info.
nnimap.el (nnimap-request-group): Select the group when we don't know whether it exists or not.
2010-11-01 22:21:10 +00:00
Glenn Morris
4c188c5a04 Silence compilation of mm-util.el.
* lisp/gnus/mm-util.el (gnus-completing-read): Autoload.
(mm-read-coding-system): Simplify Emacs definition.
2010-10-31 23:39:01 -07:00
Glenn Morris
4f7a670aa8 * lisp/gnus/nnmail.el (gnus-activate-group): Update declaration. 2010-10-31 23:21:44 -07:00
Katsumi Yamaoka
84fd0e3383 shr.el: No need to declare declare-function' since shr.el is for only Emacsen that provide libxml-parse-html-region'. 2010-11-01 06:16:46 +00:00