Paul Eggert
37b9099068
-
2016-03-22 11:01:30 -07:00
Glenn Morris
58862751bd
Simplify some rococo Gnus code that loads or tests for other libraries.
...
* lisp/gnus/gnus-art.el (gnus-treat-ansi-sequences): Simplify default.
* lisp/gnus/mml-smime.el (epg): Simply require it.
(mml-smime-use): Simplify the default. Doc fix.
* lisp/gnus/mml2015.el (epg-config): Require it.
(mml2015-use): Simplify the default.
* lisp/gnus/smime.el (password-cache): Simply require it.
(password-read-and-add): Remove declaration.
2016-03-17 00:14:11 -07:00
Glenn Morris
56df61712a
Address compilation warnings due to 2016-01-03 mml refactoring.
...
* lisp/gnus/mml-sec.el (password-cache, mm-encode): Require.
(message-options-get): Autoload.
(message-options-set): Declare.
(mml-secure-cache-passphrase, mml-secure-passphrase-cache-expiry):
Simplify default value.
* lisp/gnus/mml-smime.el (message-options-set): Remove declaration.
* lisp/gnus/mml1991.el, lisp/gnus/mml2015.el:
No longer a need for password-cache.
2016-03-16 23:56:32 -07:00
Lars Magne Ingebrigtsen
d5427e71da
Disable MOVE more for Dovecot
...
* lisp/gnus/nnimap.el (nnimap-process-expiry-targets): Also
disable MOVE when expirying.
(nnimap-split-incoming-mail): And when splitting mail.
2016-03-14 20:23:30 +01:00
Lars Magne Ingebrigtsen
8ed27bdf88
Don't use MOVE on Dovecot
...
* 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.
2016-03-14 20:21:24 +01:00
Lars Ingebrigtsen
6db1a873d5
Fix insertion of edited servers in the dribble file
...
* lisp/gnus/gnus-srvr.el (gnus-server-update-server): Don't
insert explicit newlines, because they're quoted (bug#22903).
Backport:
(cherry picked from commit ca4e30058e
)
2016-03-04 11:53:58 +00:00
Lars Ingebrigtsen
ca4e30058e
Fix insertion of edited servers in the dribble file
...
* lisp/gnus/gnus-srvr.el (gnus-server-update-server): Don't
insert explicit newlines, because they're quoted (bug#22903).
2016-03-04 11:52:26 +00:00
John Wiegley
68ed6bfb65
Merge from origin/emacs-25
...
bd58c13
Improve documentation of focus-related hooks
00a4720
Further improve doc string of 'disable-point-adjustment'
c582def
Further adaptions in file-notify-tests.el for w32notify
a1585e1
Don't bug out on localised dates in gnus-icalendar
2016-03-03 23:52:26 -08:00
Lars Ingebrigtsen
cb5f690e4a
Allow reading Gnus reports from an offline cache
...
* lisp/gnus/gnus-group.el (gnus-read-ephemeral-bug-group):
Allow reading bug reports from an offline cache directory.
2016-02-29 17:53:00 +11:00
Jan Tatarik
10b040814e
Don't use (localised) week days in dates
...
* lisp/gnus/gnus-icalendar.el
(gnus-icalendar-event:org-timestamp): Don't use (localised)
week days in the dates, because that messes up things later.
2016-02-26 16:06:43 +10:30
Lars Ingebrigtsen
a1e7304fc4
Remove killed buffers from the list of Gnus buffers
...
* lisp/gnus/gnus.el (gnus-prune-buffers): Remove killed
buffers from the list of Gnus buffers (bug#18522).
2016-02-26 13:54:41 +10:30
Lars Ingebrigtsen
21fe2ebec8
Move low-level library files from the lisp/gnus directory
...
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
2016-02-24 13:04:03 +11:00
Jan Tatarik
a1585e18c0
Don't bug out on localised dates in gnus-icalendar
...
* lisp/gnus/gnus-icalendar.el
(gnus-icalendar-event:org-timestamp): Don't bug out on
localised dates.
2016-02-23 21:17:41 +11:00
Lars Ingebrigtsen
c399756dda
Fix typo in message-setup-fill-variables
...
* lisp/gnus/message.el (message-setup-fill-variables): Fix
typo in a recent checkin that used `setq-default' instead of
`setq-local' (bug#22781).
2016-02-23 20:58:54 +11:00
Lars Ingebrigtsen
d9ab2503b1
`message-dont-reply-to-names' can also be a list of regexps
...
* lisp/gnus/message.el (message-dont-reply-to-names):
`message-dont-reply-to-names' can also be a list of regexps (bug#22773).
2016-02-23 20:54:42 +11:00
Michal Nazarewicz
a77c6799c1
message-strip-subject-trailing-was: Refactor
...
* lisp/gnus/message.el (message-strip-subject-trailing-was): Refactor
the function replacing sequence of `if' calls with a mixture of `or'
and `and' calls instead. This makes it shorter and containing less
internal state thus easier to follow.
2016-02-23 14:45:59 +11:00
Lars Ingebrigtsen
96e32bbb73
Move Gnus functions frm rfc1843 to new file gnus-rfc1843
...
* lisp/gnus/gnus-rfc1843.el: New file for Gnus/rfc1843
interface functions.
* lisp/gnus/rfc1843.el: Move all Gnus-specifig functions to
gnus-rfc1843.
2016-02-23 14:15:26 +11:00
Lars Ingebrigtsen
6b1a86ff62
Don't use mm-util functions in qp.el
...
* lisp/gnus/qp.el (quoted-printable-decode-region): Don't use
mm-util functions.
(quoted-printable-encode-string): Ditto.
(quoted-printable-encode-region): Ditto.
2016-02-23 14:05:18 +11:00
Lars Ingebrigtsen
f956efb946
Don't require mm-util
...
* lisp/gnus/ietf-drums.el (mm-util): Don't require.
2016-02-23 13:59:54 +11:00
Lars Ingebrigtsen
335c098a66
Remove Gnus functions from auth-source.el
...
* lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
Remove usage of Gnus utility function.
(mm-util, gnus-util): Don't require.
2016-02-23 13:56:05 +11:00
John Wiegley
81ef756e6a
Merge from origin/emacs-25
...
a9c48d5
Additional fixes for file notification
6bd9d69
Fix documentation of 'global-disable-point-adjustment'
8c22ac9
; Spelling fix
2975784
Set file modes of pinentry socket for extra safety
2667b3e
Clarify GnuPG version compatibility chapter
5e34c36
Revert "Change the default socket location for pinentry"
e19c1c3
Kill off xref--display-history
5698947
Keep the xref buffer visible until the user quits it explicitly
e34fbde
Change the default socket location for pinentry
5f89658
Mention how to enable pinentry feature
db51224
Sync with gnulib
aa5a794
Remove `semanticdb-save-all-db-idle' from `auto-save-hook'
2d8b2fd
Restore point when writing semantic table to disk
27d3430
Mention pinentry.el in epa manual
5baa001
Fix Bug#22736
7261355
Grammar fix in doc string
d0f3b18
Naming fix for consistency
74ec92d
Prefer customized value for GnuPG executable
ea0b604
Fix memory reservation on MS-Windows
c5f72aa
Update NextStep readme and add wish list.
6de26a7
Report also result in `file-notify--test-event-handler'
5d17ae7
Improve file-notify-test08-watched-file-in-watched-dir
1cb1268
Fix todo-mode item date editing bugs
1e996cf
Fix "[:upper:]" for non-ASCII characters
896f993
Allow customising the article mode cursor behavior
24c1c1d
Use pop-to-buffer-same-window in woman.el
2a75f64
New filenotify test for bug#22736
c9bccf7
Report critical battery errors
d675db9
Make eww message toggling message clearer
5e0bb40
* lisp/calc/calc-units.el (math-standard-units): Update to 2014 CODATA adjustment.
fa8fd65
; Improve character-folding entries in NEWS
3722a69
Fix bugs in window resizing code
289d5c6
Fix decoding DOS EOL in a unibyte buffer
2abcb06
Correct c-parse-state cache manipulation error.
14aec91
Take advantage of new GnuPG version check function
e80c2a7
Make GnuPG version check robuster
15a9464
Fix x-load-color-file pointer signedness
132dbf0
* lisp/time-stamp.el (time-stamp-time-zone): Fix doc string punct.
78ab6f1
Follow convention for greek letter constants.
106b5bb
Add Stefan-Boltzmann constant to calc units table.
b96baa8
* lisp/calc/calc-units.el (math-build-units-table-buffer): Use special-mode.
5f91cf9
Avoid loading cl-lib for term/xterm.elc, eg in -Q -nw. (Bug#22669)
2d40f7d
Fix soffice UserInstallation-URL for Windows
b1a3ebe
Fix display of <pre> elements
57d0e3d
; * lisp/help-fns.el: Remove outdated comment.
7a0628d
; * admin/make-tarball.txt: Mention cleaning.
2016-02-22 11:33:54 -08:00
Lars Ingebrigtsen
896f993dec
Allow customising the article mode cursor behavior
...
* doc/misc/gnus.texi (HTML): Mention gnus-article-show-cursor.
* lisp/gnus/gnus-art.el (gnus-article-show-cursor): New variable.
(gnus-article-mode): Use it.
2016-02-20 19:05:45 +11:00
John Wiegley
220613e089
Merge from origin/emacs-25
...
d4b93e1
Minor fixes in global-auto-composition-mode
02b037b
Allow arithmetic operators inside C++ template constructs.
44b16f6
Avoid crashes in semi-malformed 'condition-case'
652e5b4
Allow arithmetic operators inside C++ template constructs.
d9ea795
Fix regression with 'recent-keys' and keyboard macros
903603f
Fix wording in a doc-view.el comment
cf79616
; Spelling fixes
f8bf1b3
CONTRIBUTE cleanups and updates
f3aaca3
Port USE_STACK_LISP_OBJECTS fix to Clang
1834ac7
Port to x86 GCC 4.3.1 and earlier
8482949
Fix point movement under 'scroll-conservatively'
c1313b5
Replace colon in file name (not legal on Windows)
f7af26c
Fix a typo in edt.texi
8badf95
Make 'mmap_realloc' on MS-Windows more reliable
856cd94
Grep alias `all' shall not match parent directory
2016-02-15 14:11:03 -08:00
John Wiegley
33bb679af9
Merge from origin/emacs-25
...
10b8ed2
Document EXIF image rotation
0f60049
Support integer image rotation and respect EXIF rotations
7dd45b6
Quote table names for postgres listings (sql-mode)
6bac035
* lisp/replace.el (replace-match-maybe-edit): Make arg
`backward' optional.
ee909aa
* lisp/simple.el (next-line-or-history-element): Reset
temporary-goal-column.
0a289d3
Suppress ACL ops if configured with --disable-acl
1a9dbf5
Mention web bugs
fa55da2
Make mm-html-blocked-images default to "" again
2016-02-15 14:07:46 -08:00
Paul Eggert
cf79616133
; Spelling fixes
2016-02-14 19:45:12 -08:00
Lars Ingebrigtsen
d9bf0c1c6a
* lisp/gnus/mm-util.el: Remove the mm-string-as-multibyte alias.
2016-02-14 18:21:56 +11:00
Lars Ingebrigtsen
91823195c5
Fix problem with wrong encoding of non-ASCII message bodies
...
* lisp/gnus/mml.el (mml-generate-mime-1): Disable
multibyteness before encoding the data.
2016-02-14 17:47:33 +11:00
Lars Ingebrigtsen
0ba42383e2
Remove codepage setup code from mm-util
...
* lisp/gnus/mm-util.el (mm-codepage-setup): Remove.
(mm-codepage-iso-8859-list): Remove.
(mm-codepage-ibm-list, mm-setup-codepage-iso-8859)
(mm-setup-codepage-ibm): Remove.
(mm-charset-eval-alist): Remove the code pages from the
default value.
2016-02-14 17:19:24 +11:00
Lars Ingebrigtsen
66d9ef95c0
Remove compat code for older Emacsen
...
* lisp/gnus/gnus-art.el (gnus-button-url-regexp): Remove
XEmacs compat code.
* lisp/gnus/gnus-sync.el (gnus-sync-json-alist-p): Remove
unused compat function.
(gnus-sync-json-plist-p): Ditto.
* lisp/gnus/message.el (message-default-charset): Make obsolete.
(message-info): Remove compat code.
(message-setup-fill-variables): Remove kludge needed earlier
to not overwrite `normal-auto-fill-function'.
(message-split-line): Remove compat code.
* lisp/gnus/mm-view.el (mm-display-inline-fontify): Remove
compat code.
2016-02-14 17:07:48 +11:00
Lars Ingebrigtsen
9de3de8cbf
Remove some compat functions from gmm-utils.el
...
* lisp/gnus/gmm-utils.el (gmm-tool-bar-from-list): Remove
compat code.
(gmm-image-search-load-path): Remove.
(gmm-image-load-path-for-library): Remove.
2016-02-14 16:35:24 +11:00
Lars Ingebrigtsen
e1f22c1739
Remove the gmm-lazy and nnmail-lazy compat widgets
...
* lisp/gnus/gmm-utils.el (gmm-lazy): Remove.
* lisp/gnus/nnmail.el (nnmail-lazy): Remove.
2016-02-14 16:29:53 +11:00
Lars Ingebrigtsen
a0844f15ca
Clean up nnimap-request-move-article slightly
...
* lisp/gnus/nnheader.el (subr-x): Require.
* lisp/gnus/nnimap.el (nnimap-request-move-article): Clean up
the code slightly.
2016-02-14 15:41:02 +11:00
Lars Ingebrigtsen
598ff2349e
Use open-network-stream instead of open-protocol-stream
...
* lisp/gnus/nnimap.el: Use open-network-stream instead of
open-protocol-stream.
* lisp/gnus/nntp.el: Ditto.
* lisp/gnus/pop3.el: Ditto.
* lisp/gnus/sieve-manage.el: Ditto.
* lisp/net/network-stream.el (open-protocol-stream): Make obsolete.
2016-02-14 15:08:40 +11:00
Lars Ingebrigtsen
920414f241
Remove compat code that relies on (featurep 'mule)
...
* lisp/gnus/gnus-group.el (gnus-group-name-decode): Remove
compat code.
* lisp/gnus/gnus-start.el (gnus-read-descriptions-file):
Remove compat code.
* lisp/gnus/mm-bodies.el (mm-decode-body, mm-decode-string):
Remove compat code.
* lisp/gnus/mm-view.el (mm-w3m-standalone-supports-m17n-p):
Remove compat code.
(mm-w3m-standalone-supports-m17n-p): Ditto.
2016-02-14 15:02:59 +11:00
Lars Ingebrigtsen
19d298f7d7
Remove compat functions from starttls.el
...
* lisp/gnus/starttls.el
(starttls-set-process-query-on-exit-flag): Remove.
2016-02-14 14:59:40 +11:00
Lars Ingebrigtsen
928bb3ff3e
Remove compat functions from smime.el
...
* lisp/gnus/smime.el (smime-replace-in-string): Remove.
(smime-make-temp-file): Remove.
2016-02-14 14:58:39 +11:00
Lars Ingebrigtsen
f322abc945
Remove compat code from smiley
...
* lisp/gnus/smiley.el (smiley-style): Remove compat code.
2016-02-14 14:56:21 +11:00
Lars Ingebrigtsen
c311723eee
Remove compat code from rfc2047
...
* lisp/gnus/rfc2047.el (rfc2047-encode-message-header): Remove
compat code.
(rfc2047-decode-string): Ditto.
2016-02-14 14:54:28 +11:00
Lars Ingebrigtsen
374c21d59a
Remove compat function from pop3
...
* lisp/gnus/pop3.el (pop3-set-process-query-on-exit-flag): Remove.
2016-02-14 14:50:53 +11:00
Lars Ingebrigtsen
2366c7036d
Remove compat code in Gnus backends
...
* lisp/gnus/nndiary.el (nndiary-error): Remove.
* lisp/gnus/nndraft.el (nndraft-request-associate-buffer): Ditto.
* lisp/gnus/nnfolder.el (nnfolder-read-folder): Ditto.
* lisp/gnus/nnheader.el (nnheader-find-file-noselect): Ditto.
* lisp/gnus/nnimap.el (nnimap-log-buffer): Remove compat code.
2016-02-14 14:50:03 +11:00
Lars Ingebrigtsen
f3cdf9c23b
Remove compat code from some mml files
...
* lisp/gnus/mml-sec.el (mml-secure-passphrase-cache-expiry):
Remove compat code.
* lisp/gnus/mml-smime.el (mml-smime-openssl-sign-query):
Always use `mail-extract-address-components', since this isn't
time critical.
(mml-smime-get-dns-cert): Ditto.
* lisp/gnus/mml.el (mml-preview): Remove compat code.
2016-02-14 14:42:26 +11:00
Lars Ingebrigtsen
8f597e90f6
Remove compat code and compat functions from mm-util.el
...
* lisp/gnus/mm-util.el (mm-mime-mule-charset-alist): Remove
compat code.
(mm-coding-system-priorities)
(mm-mule-charset-to-mime-charset, mm-charset-after)
(mm-mime-charset, mm-iso-8859-x-to-15-region): Remove compat code.
(mm-detect-coding-region): Define unconditionally.
(mm-detect-mime-charset-region): Ditto.
(mm-coding-system-to-mime-charset): It's 'mime-charset now.
(coding-system-name)
(find-file-coding-system-for-read-from-filename)
(find-operation-coding-system): Remove aliases.
2016-02-14 14:36:57 +11:00
Lars Ingebrigtsen
014e0d1519
Remove some compat code from mm-*.el
...
* lisp/gnus/mm-bodies.el (mm-decode-body): Ditto.
* lisp/gnus/mm-decode.el (mm-tmp-directory)
(mm-valid-image-format-p): Remove compat code.
* lisp/gnus/mm-url.el (mm-url-insert-file-contents): Remove
"Connection" "Close" workaround for older Emacsen.
2016-02-14 14:06:23 +11:00
Lars Ingebrigtsen
b9baa80d7f
Remove compat code and functions from message.el
...
* lisp/gnus/message.el (message-send-mail-function): Remove
compat code.
(message-dont-reply-to-names, message-mode)
(message-setup-fill-variables, message-fill-paragraph)
(message-remove-blank-cited-lines, message-make-from)
(message-forward-rmail-make-body, message-tool-bar-gnome)
(message-tab): Remove compat code.
(message-completion-in-region): Remove.
(message-read-from-minibuffer): Remove compat code.
2016-02-14 13:57:55 +11:00
Lars Ingebrigtsen
8e14ce4b5c
Declare rfc1843 instead of autoloading
...
* lisp/gnus/gnus-art.el (rfc1843-decode-region): Declare
instead of autoload.
2016-02-14 13:04:25 +11:00
Lars Ingebrigtsen
d98ae99839
Remove some Message compat functions
...
* lisp/gnus/message.el (message-kill-all-overlays): Define
unconditionally.
(message-window-inside-pixel-edges): Remove.
(mail-dont-reply-to): Remove.
2016-02-13 19:00:04 +11:00
Lars Ingebrigtsen
02d7069fef
Remove some Gnus compat code
...
* lisp/gnus/gnus-art.el (gnus-mime-inline-part): Remove compat code.
(gnus-mm-display-part): Ditto.
* lisp/gnus/gnus-start.el (gnus-dribble-read-file): Remove
compat code.
2016-02-13 18:57:01 +11:00
Lars Ingebrigtsen
3982245371
Sort groups before inserting them into the group buffer
...
* lisp/gnus/gnus-group.el (gnus-group-describe-all-groups):
Sort groups before inserting them.
2016-02-13 18:45:11 +11:00
Lars Ingebrigtsen
ca5f9c97e6
Make "unseen" tracking work again in Gnus
...
* lisp/gnus/gnus-sum.el (gnus-update-marks): Make "unseen"
tracking work again.
2016-02-13 18:20:55 +11:00
Lars Ingebrigtsen
e8186ed0f0
Remove Gnus compat functions defined in gnus.el
...
* lisp/gnus/gnus.el (gnus-extent-detached-p): Remove.
(gnus-extent-start-open, gnus-character-to-event)
(gnus-assq-delete-all, gnus-add-text-properties)
(gnus-put-text-property, gnus-key-press-event-p):
2016-02-13 18:13:03 +11:00