]> code.delx.au - gnu-emacs/log
gnu-emacs
8 years agoSort groups before inserting them into the group buffer
Lars Ingebrigtsen [Sat, 13 Feb 2016 07:45:11 +0000 (18:45 +1100)]
Sort groups before inserting them into the group buffer

* lisp/gnus/gnus-group.el (gnus-group-describe-all-groups):
Sort groups before inserting them.

8 years agoMake "unseen" tracking work again in Gnus
Lars Ingebrigtsen [Sat, 13 Feb 2016 07:20:55 +0000 (18:20 +1100)]
Make "unseen" tracking work again in Gnus

* lisp/gnus/gnus-sum.el (gnus-update-marks): Make "unseen"
tracking work again.

8 years agoRemove Gnus compat functions defined in gnus.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 07:13:03 +0000 (18:13 +1100)]
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):

8 years agoRemove compat code from gnus-uu and win
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:58:41 +0000 (17:58 +1100)]
Remove compat code from gnus-uu and win

* lisp/gnus/gnus-util.el (gnus-image-type-available-p): Remove
compat code.

* lisp/gnus/gnus-uu.el (gnus-uu-tmp-dir): Remove compat code.

* lisp/gnus/gnus-win.el (gnus-frames-on-display-list): Remove.

8 years agoRemove several gnus-util compat functions
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:40:34 +0000 (17:40 +1100)]
Remove several gnus-util compat functions

* lisp/gnus/gnus-util.el (gnus-set-process-query-on-exit-flag): Remove.
(gnus-read-shell-command): Remove.
(gnus-match-substitute-replacement): Remove.
(gnus-string-match-p): Remove.
(gnus-string-prefix-p): Remove.

8 years agoRemove the gnus-merge alias
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:35:04 +0000 (17:35 +1100)]
Remove the gnus-merge alias

* lisp/gnus/gnus-util.el (gnus-merge): Remove.

8 years agoRemove the gnus-union alias
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:33:25 +0000 (17:33 +1100)]
Remove the gnus-union alias

* lisp/gnus/gnus-util.el (gnus-union): Remove.

8 years agoRemove the gnus-delete-alist alias
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:31:10 +0000 (17:31 +1100)]
Remove the gnus-delete-alist alias

* lisp/gnus/gnus-util.el (gnus-run-mode-hooks): Remove compat code.
(gnus-delete-alist): Remove.

8 years agoRemove the gnus-float-time alias
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:27:26 +0000 (17:27 +1100)]
Remove the gnus-float-time alias

* lisp/gnus/gnus-util.el (gnus-completion-styles): Remove
compat code.
(gnus-float-time): Remove.

8 years agoRemove compat code from gnus-srvr, start and sum
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:24:26 +0000 (17:24 +1100)]
Remove compat code from gnus-srvr, start and sum

* lisp/gnus/gnus-srvr.el (gnus-browse-foreign-server): Remove
compat code.

* lisp/gnus/gnus-start.el (gnus-check-reasonable-setup):
Remove compat code.

* lisp/gnus/gnus-sum.el (gnus-summary-display-arrow)
(gnus-summary-make-menu-bar, gnus-summary-make-tool-bar)
(gnus-recenter)
(gnus-summary-limit-strange-charsets-predicate)
(gnus-summary-show-thread): Remove compat code.

8 years agoRemove compat code from gnus-spec.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:13:35 +0000 (17:13 +1100)]
Remove compat code from gnus-spec.el

* lisp/gnus/gnus-spec.el (gnus-lrm-string-p): Remove compat code.
(gnus-balloon-face-function): Remove compat code.

8 years agoFix compat change in last check-in
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:04:00 +0000 (17:04 +1100)]
Fix compat change in last check-in

* lisp/gnus/gnus-group.el
(gnus-group-name-charset-group-alist): `find-coding-system'
doesn't exist in Emacs.

8 years agoAlways use url-queue
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:01:31 +0000 (17:01 +1100)]
Always use url-queue

* lisp/gnus/gnus-html.el (gnus-html-schedule-image-fetching):
Always use url-queue.

8 years agoRemove compat functions from gnus-html.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:00:05 +0000 (17:00 +1100)]
Remove compat functions from gnus-html.el

* lisp/gnus/gnus-html.el (gnus-html-encode-url-chars): Remove.

8 years agoRemove compat code from gnus-group.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:58:25 +0000 (16:58 +1100)]
Remove compat code from gnus-group.el

* lisp/gnus/gnus-group.el (gnus-group-name-charset-group-alist)
(gnus-group-make-tool-bar, gnus-group-update-tool-bar): Remove compat code.

8 years agoDefine gnus-diary-kill-entire-line unconditionally
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:52:47 +0000 (16:52 +1100)]
Define gnus-diary-kill-entire-line unconditionally

* lisp/gnus/gnus-diary.el (gnus-diary-kill-entire-line):
Define unconditionally.

8 years ago; * etc/NEWS: Use double spaces to end a sentence.
Xue Fuqiao [Sat, 13 Feb 2016 05:51:09 +0000 (13:51 +0800)]
; * etc/NEWS: Use double spaces to end a sentence.

8 years agoRemove compat code from gnus-cache and gnus-bookmark
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:50:56 +0000 (16:50 +1100)]
Remove compat code from gnus-cache and gnus-bookmark

* lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-mode-map): Ditto.

* lisp/gnus/gnus-cache.el (gnus-cache-decoded-group-name):
Remove compat code.

8 years agoRemove compat code from gnus-art.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:49:09 +0000 (16:49 +1100)]
Remove compat code from gnus-art.el

* lisp/gnus/gnus-art.el (gnus-article-prepare)
(gnus-mime-copy-part, gnus-output-to-file)
(gnus-article-reply-with-original)
(gnus-button-handle-apropos-variable)
(gnus-button-handle-apropos-documentation):

8 years agoRemove compat code from gnus-agent.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:42:40 +0000 (16:42 +1100)]
Remove compat code from gnus-agent.el

* lisp/gnus/gnus-agent.el (gnus-agent-make-mode-line-string):
Remove compat code.

8 years agoRewrite gmm-labels usage to use cl-labels
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:40:17 +0000 (16:40 +1100)]
Rewrite gmm-labels usage to use cl-labels

* lisp/gnus/gmm-utils.el (gmm-tool-bar-style): Remove compat code.
(gmm-labels): Remove.

8 years agoRemove compat code from canlock.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:29:13 +0000 (16:29 +1100)]
Remove compat code from canlock.el

* lisp/gnus/canlock.el (defmacro): Remove

8 years agoRemove compat code from auth-source
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:28:26 +0000 (16:28 +1100)]
Remove compat code from auth-source

* lisp/gnus/auth-source.el (auth-source-read-char-choice):
Remove compat code.

8 years agoFix gnus-group.el compilation warnings about unprefixed variables
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:20:34 +0000 (16:20 +1100)]
Fix gnus-group.el compilation warnings about unprefixed variables

* lisp/gnus/gnus-group.el (gnus-group-update-eval-form): Avoid
compilation warnings by passing in the dynamic variables as
explicit lexical parameters to `eval'.

8 years agoFix the :tracker slot name
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:05:32 +0000 (16:05 +1100)]
Fix the :tracker slot name

* lisp/gnus/registry.el (registry-lookup-secondary): The
`tracker' slot is called `tracker', not `:tracker'.

8 years agoFix compilation warnings in gnus-art.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 04:58:24 +0000 (15:58 +1100)]
Fix compilation warnings in gnus-art.el

* lisp/gnus/gnus-art.el (rfc1843-decode-region): Autoload.
(gnus-article-hide): Avoid compilation warnings.

8 years agoFix compilation warning in gnus-score.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 04:20:16 +0000 (15:20 +1100)]
Fix compilation warning in gnus-score.el

* lisp/gnus/gnus-score.el (gnus-art): Require to silence byte
compiler.

8 years agoRevert "Fix gnus-group-get-new-news-this-group on group with closed server"
Andreas Schwab [Sun, 7 Feb 2016 12:29:16 +0000 (13:29 +0100)]
Revert "Fix gnus-group-get-new-news-this-group on group with closed server"

This reverts commit 9dc77e37aa84c6df9b3ddb4609f3c09201b0580e.

This makes nnimap groups not be activated.

8 years agoAnnounce that the `C-x w' bindings are deprecated
Stefan Monnier [Sat, 13 Feb 2016 03:33:30 +0000 (22:33 -0500)]
Announce that the `C-x w' bindings are deprecated

8 years agoFix encoding problem introduced by previous patch series
Lars Ingebrigtsen [Sat, 13 Feb 2016 03:31:53 +0000 (14:31 +1100)]
Fix encoding problem introduced by previous patch series

* lisp/gnus/rfc2047.el: Ditto (bug#22648).

* lisp/gnus/rfc2231.el: Fix problem created by the
mm-replace-in-string conversion.

8 years agoRevert "Avoid defvarring prefix-less variables"
Lars Ingebrigtsen [Sat, 13 Feb 2016 03:00:06 +0000 (14:00 +1100)]
Revert "Avoid defvarring prefix-less variables"

This reverts commit 303390bda34f98b400798d5383cf0d722e35ba19.

The defvars are needed if we're doing lexical-binding

8 years ago* test/lisp/url/url-auth-tests.el (url-auth-test-digest-auth):
Glenn Morris [Sat, 13 Feb 2016 02:18:13 +0000 (21:18 -0500)]
* test/lisp/url/url-auth-tests.el (url-auth-test-digest-auth):
Make it pass.

8 years agoSuppress GNUstep hardening
Paul Eggert [Sat, 13 Feb 2016 00:23:25 +0000 (16:23 -0800)]
Suppress GNUstep hardening

Fedora 23 normally hardens GNUstep applications, which causes
‘./configure --with-ns’ to break Emacs’s funky way of undumping.
Fix this by eliding the hardening options (Bug#22518).
* src/Makefile.in (LIBS_GNUSTEP): Omit options like
‘-specs=/usr/lib/rpm/redhat/redhat-hardened-ld’.
(GNU_OBJC_CFLAGS): Omit options like
‘-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1’.

8 years ago; * test/lisp/url/url-auth-tests.el: More whitespace.
Glenn Morris [Fri, 12 Feb 2016 23:19:45 +0000 (18:19 -0500)]
; * test/lisp/url/url-auth-tests.el: More whitespace.

8 years ago; * test/lisp/url/url-auth-tests.el: Whitespace.
Glenn Morris [Fri, 12 Feb 2016 23:16:58 +0000 (18:16 -0500)]
; * test/lisp/url/url-auth-tests.el: Whitespace.

8 years ago* test/lisp/url/url-auth-tests.el
Glenn Morris [Fri, 12 Feb 2016 23:15:10 +0000 (18:15 -0500)]
* test/lisp/url/url-auth-tests.el
(url-auth-test-digest-auth-retrieve-cache): Fix obvious typo.

; How do people add tests without, y'know, testing them?

8 years agoFix redisplay after a large insertion
Eli Zaretskii [Fri, 12 Feb 2016 19:38:44 +0000 (21:38 +0200)]
Fix redisplay after a large insertion

* src/xdisp.c (redisplay_internal): Don't accept the results of
"optimization 3" if the cursor ends up in a partially visible
glyph row.  (Bug22637)

8 years agoRevert "Fix gnus-group-get-new-news-this-group on group with closed server"
Andreas Schwab [Fri, 12 Feb 2016 10:41:29 +0000 (11:41 +0100)]
Revert "Fix gnus-group-get-new-news-this-group on group with closed server"

This reverts commit 9dc77e37aa84c6df9b3ddb4609f3c09201b0580e.

* lisp/gnus/nnimap.el (nnimap-change-group): Revert last
change.  (Bug#22634)

8 years agoFinish up cl-defmethoding registry,el
Lars Ingebrigtsen [Fri, 12 Feb 2016 07:34:15 +0000 (18:34 +1100)]
Finish up cl-defmethoding registry,el

* lisp/gnus/registry.el (initialize-instance): Use cl-defmethod.

8 years agoRevert the gnus-replace-in-string change, fix arguments, reapply
Lars Ingebrigtsen [Fri, 12 Feb 2016 07:24:30 +0000 (18:24 +1100)]
Revert the gnus-replace-in-string change, fix arguments, reapply

8 years ago; Improve merge documentation in CONTRIBUTE
Eli Zaretskii [Fri, 12 Feb 2016 07:04:52 +0000 (09:04 +0200)]
; Improve merge documentation in CONTRIBUTE

* CONTRIBUTE (branches): Tell how to avoid merging of
non-backported changes.

8 years agoSilence more message.el compilation warnings
Lars Ingebrigtsen [Fri, 12 Feb 2016 06:59:59 +0000 (17:59 +1100)]
Silence more message.el compilation warnings

* lisp/gnus/message.el (message-generate-headers): Don't use
variable values directly to get the header values, because
that breaks with lexical binding (without unprefixed defvars).

8 years agoFix various compilation warnings in message.el
Lars Ingebrigtsen [Fri, 12 Feb 2016 06:28:10 +0000 (17:28 +1100)]
Fix various compilation warnings in message.el

* lisp/gnus/message.el (message-fix-before-sending): Use
read-multiple-choice instead of gnus-multiple-choice.
(mm-util): Require.
(rfc2047): Require.
(message-remove-blank-cited-lines): Use message instead of
gnus-message.
(message-send): Use y-or-n-p instead of gnus-y-or-n-p.

8 years agoSilence compilation warning in mm-view
Lars Ingebrigtsen [Fri, 12 Feb 2016 06:23:43 +0000 (17:23 +1100)]
Silence compilation warning in mm-view

* lisp/gnus/mm-view.el (mm-display-inline-fontify): Silence
compilation warning.

8 years agoFix epg-related compilation warnings in mml-sec
Lars Ingebrigtsen [Fri, 12 Feb 2016 06:21:33 +0000 (17:21 +1100)]
Fix epg-related compilation warnings in mml-sec

* lisp/gnus/mml-sec.el: Fix compilation warnings from the epg
library.

8 years agormail-dont-reply-to-names is obsolete
Lars Ingebrigtsen [Fri, 12 Feb 2016 06:15:11 +0000 (17:15 +1100)]
rmail-dont-reply-to-names is obsolete

* lisp/gnus/nnmail.el (nnmail-fancy-expiry-target): Don't bind
the obsolete `rmail-dont-reply-to-names' variable.

8 years agoPartially revert the defmethod->cl-defmethod change in registry.el
Lars Ingebrigtsen [Fri, 12 Feb 2016 05:55:23 +0000 (16:55 +1100)]
Partially revert the defmethod->cl-defmethod change in registry.el

* lisp/gnus/registry.el (initialize-instance): Use defmethod,
since cl-defmethod doesn't work with :after.
(initialize-instance): Ditto, but with :before.

8 years agoAvoid obsolete function in plstore
Lars Ingebrigtsen [Fri, 12 Feb 2016 05:49:01 +0000 (16:49 +1100)]
Avoid obsolete function in plstore

* lisp/gnus/plstore.el (plstore--insert-buffer): Use setf
instead of the obsolete epg-context-set-armor.

8 years agoUse cl-defmethod in registry.el
Lars Ingebrigtsen [Fri, 12 Feb 2016 05:45:30 +0000 (16:45 +1100)]
Use cl-defmethod in registry.el

* lisp/gnus/registry.el: Use cl-defmethod instead of the
obsolete defmethod.

8 years agoMake sieve-manage require sasl
Lars Ingebrigtsen [Fri, 12 Feb 2016 05:40:48 +0000 (16:40 +1100)]
Make sieve-manage require sasl

* lisp/gnus/sieve-manage.el: Fix compilation warning by
requiring sasl.

8 years agoAvoid defvarring prefix-less variable
Lars Ingebrigtsen [Fri, 12 Feb 2016 05:38:14 +0000 (16:38 +1100)]
Avoid defvarring prefix-less variable

* lisp/gnus/mm-uu.el (mm-uu-entry): Rename from `entry'.

8 years ago* lisp/gnus/mailcap.el: Remove usage of mailcap-delete-duplicates.
Lars Ingebrigtsen [Fri, 12 Feb 2016 05:35:23 +0000 (16:35 +1100)]
* lisp/gnus/mailcap.el: Remove usage of mailcap-delete-duplicates.

8 years agoDon't use the obsolete char-valid-p function
Lars Ingebrigtsen [Fri, 12 Feb 2016 05:33:36 +0000 (16:33 +1100)]
Don't use the obsolete char-valid-p function

* lisp/gnus/mm-url.el (mm-url-decode-entities): Don't use the
obsolete char-valid-p function.

8 years agoFix missed translation in a previous commit
Lars Ingebrigtsen [Fri, 12 Feb 2016 05:32:24 +0000 (16:32 +1100)]
Fix missed translation in a previous commit

* lisp/gnus/mailcap.el (mailcap-mime-types): Fix missed
translation of mailcap-delete-duplicates.

8 years agoAvoid using mm-make-temp-file
Lars Ingebrigtsen [Fri, 12 Feb 2016 05:30:55 +0000 (16:30 +1100)]
Avoid using mm-make-temp-file

* lisp/gnus/mail-source.el (mail-source-delete-crash-box): Ditto.

* lisp/gnus/mm-decode.el (mm-display-external): Ditto.

* lisp/gnus/mml-smime.el (mml-smime-openssl-encrypt): Ditto.

8 years agoFix compilation warning in gnus-start
Lars Ingebrigtsen [Fri, 12 Feb 2016 05:28:45 +0000 (16:28 +1100)]
Fix compilation warning in gnus-start

* lisp/gnus/gnus-start.el (gnus-slave-save-newsrc): Avoid
mm-make-temp-file.

8 years agoAvoid the obsoleted defmethod
Lars Ingebrigtsen [Fri, 12 Feb 2016 05:25:13 +0000 (16:25 +1100)]
Avoid the obsoleted defmethod

* lisp/gnus/gnus-icalendar.el: Use cl-defmethod instead of
defmethod.

8 years agoAvoid defvarring prefix-less variables
Lars Ingebrigtsen [Fri, 12 Feb 2016 05:23:25 +0000 (16:23 +1100)]
Avoid defvarring prefix-less variables

* lisp/gnus/gnus-group.el (gnus-group-update-eval-form): We
don't need to `defvar' the short variables to allow `eval' to
use them.

8 years agonnweb doesn't need unibyte buffers
Lars Ingebrigtsen [Fri, 12 Feb 2016 05:07:07 +0000 (16:07 +1100)]
nnweb doesn't need unibyte buffers

* lisp/gnus/nnweb.el (nnweb-retrieve-headers)
(nnweb-read-overview, nnweb-request-article)
(nnweb-google-reference): Unibyte buffers are not needed here.

8 years agoEncode before sending from nnspool
Lars Ingebrigtsen [Fri, 12 Feb 2016 05:03:22 +0000 (16:03 +1100)]
Encode before sending from nnspool

* lisp/gnus/nnspool.el (nnspool-request-post): Encode data
before sending it to the news server.

8 years agonnrss buffers don't have to be unibyte
Lars Ingebrigtsen [Fri, 12 Feb 2016 04:59:38 +0000 (15:59 +1100)]
nnrss buffers don't have to be unibyte

* lisp/gnus/nnrss.el (nnrss-insert): The buffer doesn't have
to be unibyte just to receive data, I think.

8 years agoDon't use mm-with-unibyte-current-buffer in mml2015
Lars Ingebrigtsen [Fri, 12 Feb 2016 04:57:13 +0000 (15:57 +1100)]
Don't use mm-with-unibyte-current-buffer in mml2015

* lisp/gnus/mml2015.el (mml2015-mailcrypt-encrypt): Don't use
mm-with-unibyte-current-buffer.

8 years agoDon't use mm-with-unibyte-current in mml1991
Lars Ingebrigtsen [Fri, 12 Feb 2016 04:52:43 +0000 (15:52 +1100)]
Don't use mm-with-unibyte-current in mml1991

* lisp/gnus/mml1991.el (mml1991-epg-sign): Don't use
mm-with-unibyte-current.

8 years agoDon't use mm-with-unibyte-current in mml1991
Lars Ingebrigtsen [Fri, 12 Feb 2016 04:51:13 +0000 (15:51 +1100)]
Don't use mm-with-unibyte-current in mml1991

* lisp/gnus/mml1991.el (mml1991-pgg-sign): Don't use
mm-with-unibyte-current.

8 years agoDon't use mm-with-unibyte-buffer in utf7
Lars Ingebrigtsen [Fri, 12 Feb 2016 04:48:49 +0000 (15:48 +1100)]
Don't use mm-with-unibyte-buffer in utf7

* lisp/gnus/utf7.el (utf7-fragment-encode): Don't use
mm-with-unibyte-buffer.

8 years agoRemove XEmacs compat code from Gnus helper libraries
Lars Ingebrigtsen [Fri, 12 Feb 2016 04:08:20 +0000 (15:08 +1100)]
Remove XEmacs compat code from Gnus helper libraries

* lisp/gnus/plstore.el (plstore-called-interactively-p): Remove.

* lisp/gnus/pop3.el (pop3-make-date): Remove XEmacs compat.

* lisp/gnus/sieve-mode.el: Remove XEmacs compat.

* lisp/gnus/spam-stat.el (spam-stat-called-interactively-p): Remove.

8 years agoRemove XEmacs compat code from Gnus backends
Lars Ingebrigtsen [Fri, 12 Feb 2016 04:02:32 +0000 (15:02 +1100)]
Remove XEmacs compat code from Gnus backends

* lisp/gnus/mm-view.el (mm-inline-image-xemacs): Remove.
(mm-inline-image): Rename from mm-inline-image-emacs.

* lisp/gnus/mml.el: Remove XEmacs compat code.

* lisp/gnus/nnheader.el: Remove XEmacs compat code.

* lisp/gnus/nnimap.el (nnimap-open-connection-1): Remove
XEmacs compat code.

* lisp/gnus/nnir.el (nnir-run-gmane): Remove XEmacs compat code.

* lisp/gnus/nnmail.el (nnmail-pathname-coding-system): Remove
XEmacs compat code.

* lisp/gnus/nnmairix.el: Remove XEmacs compat code.

* lisp/gnus/nnrss.el: Remove XEmacs compat code.

* lisp/gnus/nntp.el: Remove XEmacs compat code.

8 years agoRemove XEmacs compat functions from mm-util.el
Lars Ingebrigtsen [Fri, 12 Feb 2016 03:39:30 +0000 (14:39 +1100)]
Remove XEmacs compat functions from mm-util.el

* lisp/gnus/mm-util.el (mm-special-display-p): Remove.
(mm-decode-coding-string, mm-encode-coding-string)
(mm-decode-coding-region, mm-encode-coding-region): Remove.
(mm-string-to-multibyte): Remove.
(mm-char-or-char-int-p): Remove.
(mm-ucs-to-char): Remove compat versions of the function.
(mm-read-coding-system): Remove.
(mm-coding-system-p): Remove compat code.
(mm-enrich-utf-8-by-mule-ucs): Remove.
(mm-enable-multibyte, mm-disable-multibyte): Remove compat versions.
(mm-delete-duplicates): Remove.
(mm-multibyte-p): Remove compat versions.
(mm-xemacs-find-mime-charset-1): Remove.
(mm-xemacs-find-mime-charset): Remove.
(mm-make-temp-file): Made obsolete.
(mm-find-buffer-file-coding-system): Remove XEmacs compat.

8 years agoRemove Message and mm-decode XEmacs compat code
Lars Ingebrigtsen [Fri, 12 Feb 2016 02:38:12 +0000 (13:38 +1100)]
Remove Message and mm-decode XEmacs compat code

* lisp/gnus/message.el: Remove XEmacs compat code.

* lisp/gnus/mm-decode.el (mm-create-image-xemacs): Remove.

* lisp/gnus/mm-util.el: Remove some XEmacs compat code.

8 years ago* lib-src/make-docfile.c: Include stdarg.h.
Paul Eggert [Thu, 11 Feb 2016 20:50:48 +0000 (12:50 -0800)]
* lib-src/make-docfile.c: Include stdarg.h.

8 years agoExtend gpm-mouse-mode's doc string and doc to point out limitations.
Alan Mackenzie [Thu, 11 Feb 2016 09:54:36 +0000 (09:54 +0000)]
Extend gpm-mouse-mode's doc string and doc to point out limitations.

* lisp/t-mouse.el (gpm-mouse-mode): Extend doc string to indicate the
inability to transfer text between Emacs and other programs which use GPM.

* doc/emacs/frames.texi (Text-Only Mouse): Note the inability to transfer text
between Emacs and other progrmas which use GPM.

8 years agoRemove som XEmacs compat code from message.el
Lars Ingebrigtsen [Thu, 11 Feb 2016 05:59:06 +0000 (16:59 +1100)]
Remove som XEmacs compat code from message.el

* lisp/gnus/message.el: Remove some XEmacs compat code.

8 years agoRemove XEmacs compat code from ietf-drums.el
Lars Ingebrigtsen [Thu, 11 Feb 2016 05:57:13 +0000 (16:57 +1100)]
Remove XEmacs compat code from ietf-drums.el

* lisp/gnus/ietf-drums.el (ietf-drums-syntax-table): Drop
XEmacs compat.

8 years agoRemove XEmacs compat code from gravatar.el
Lars Ingebrigtsen [Thu, 11 Feb 2016 05:56:28 +0000 (16:56 +1100)]
Remove XEmacs compat code from gravatar.el

* lisp/gnus/gravatar.el: Remove XEmacs compat code from
gravatar.el.

8 years agoRemove more XEmacs compat code from Gnus
Lars Ingebrigtsen [Thu, 11 Feb 2016 05:55:30 +0000 (16:55 +1100)]
Remove more XEmacs compat code from Gnus

* lisp/gnus/gnus-util.el (gnus-bound-and-true-p): Remove.
(gnus-timer--function): Remove.

* lisp/gnus/gnus-uu.el (gnus-uu-save-article): Remove XEmacs
19.2 compat.

* lisp/gnus/gnus-win.el: Remove XEmacs compat code.

8 years agoRemove more XEmacs compat functions from gnus-util.el
Lars Ingebrigtsen [Thu, 11 Feb 2016 05:45:02 +0000 (16:45 +1100)]
Remove more XEmacs compat functions from gnus-util.el

* lisp/gnus/gnus-util.el (gnus-put-display-table): Remove.
(gnus-get-display-table): Remove.
(gnus-format-message): Remove.

8 years agoRemove more XEmacs compat functions from Gnus
Lars Ingebrigtsen [Thu, 11 Feb 2016 05:39:23 +0000 (16:39 +1100)]
Remove more XEmacs compat functions from Gnus

* lisp/gnus/gnus-util.el (gnus-next-char-property-change): Remove.
(gnus-previous-char-property-change): Remove.
(gnus-graphic-display-p): Remove.
(gnus-select-frame-set-input-focus): Remove.

8 years agoRemove more XEmacs compat code from gnus-util
Lars Ingebrigtsen [Thu, 11 Feb 2016 05:24:02 +0000 (16:24 +1100)]
Remove more XEmacs compat code from gnus-util

* lisp/gnus/gnus-util.el (gnus-make-local-hook): Remove (and
all its usages).
(gnus-invisible-p): Remove.

8 years agoRemove gnus-make-local-hook
Lars Ingebrigtsen [Thu, 11 Feb 2016 05:15:43 +0000 (16:15 +1100)]
Remove gnus-make-local-hook

* lisp/gnus/gnus-util.el (gnus-make-local-hook): Remove (and
all its usages).

8 years agognus-replace-in-string -> replace-regexp-in-string
Lars Ingebrigtsen [Thu, 11 Feb 2016 05:13:08 +0000 (16:13 +1100)]
gnus-replace-in-string -> replace-regexp-in-string

* lisp/gnus/gnus-util.el (gnus-replace-in-string): Declare
obsolete.  Transform all usages of it into
replace-regexp-in-string.

* lisp/gnus/mailcap.el (mailcap-replace-in-string): Remove.

8 years agoRemove Gnus XEmacs compat
Lars Ingebrigtsen [Thu, 11 Feb 2016 04:52:11 +0000 (15:52 +1100)]
Remove Gnus XEmacs compat

* lisp/gnus/gnus-start.el (gnus-dribble-enter): Remove comment
about code that doesn't work in XEmacs.

* lisp/gnus/gnus-sum.el: Remove XEmacs compat.

* lisp/gnus/gnus-topic.el: Remove XEmacs compat.

8 years agoRemove compat functions in gnus-spec.el
Lars Ingebrigtsen [Thu, 11 Feb 2016 04:41:10 +0000 (15:41 +1100)]
Remove compat functions in gnus-spec.el

* lisp/gnus/gnus-spec.el (gnus-string-width-function): Remove.
(gnus-substring-function): Remove.
(gnus-use-correct-string-widths): Remove.
(gnus-make-format-preserve-properties): Remove.
(gnus-xmas-format): Remove.

* lisp/gnus/gnus-srvr.el (gnus-server-mode): Remove XEmacs compat.

8 years agoRemove Gnus XEmacs compat functions
Lars Ingebrigtsen [Thu, 11 Feb 2016 04:27:45 +0000 (15:27 +1100)]
Remove Gnus XEmacs compat functions

* lisp/gnus/gnus-registry.el: Remove XEmacs compat.

* lisp/gnus/gnus-salt.el: Remove XEmacs compat.

* lisp/gnus/gnus-score.el (gnus-decay-score): Remove XEmacs compat.

8 years agoRemove Gnus XEmacs compatibility
Lars Ingebrigtsen [Thu, 11 Feb 2016 04:22:45 +0000 (15:22 +1100)]
Remove Gnus XEmacs compatibility

* lisp/gnus/gnus-demon.el (gnus-demon-idle-since): Remove
XEmacs compat.

* lisp/gnus/gnus-dired.el: Remove XEmacs compat.

* lisp/gnus/gnus-draft.el: Remove XEmacs compat.

* lisp/gnus/gnus-gravatar.el (gnus-gravatar-insert): Remove
XEmacs compat.

* lisp/gnus/gnus-group.el: Remove XEmacs compat.

* lisp/gnus/gnus-html.el: Remove XEmacs compat.

* lisp/gnus/gnus-ml.el: Remove XEmacs compat.

* lisp/gnus/gnus-picon.el (gnus-picon-style): Remove XEmacs comment.

8 years agoDon't use image-map if it isn't defined
Lars Ingebrigtsen [Thu, 11 Feb 2016 03:51:49 +0000 (14:51 +1100)]
Don't use image-map if it isn't defined

* lisp/net/shr.el (shr-image-map): Only use image-map as a
parent if it's defined (bug#22614).

8 years agoRevert "Backport: * lisp/isearch.el: Turn char-folding off by default"
Eli Zaretskii [Thu, 11 Feb 2016 03:37:20 +0000 (05:37 +0200)]
Revert "Backport: * lisp/isearch.el: Turn char-folding off by default"

* lisp/isearch.el: Turn char-folding back oon by default.

This reverts commit 12c50e82c9b432b2fc31f8fb2215f43ceea80822.

8 years agoCheck for MagickAutoOrientImage
Lars Ingebrigtsen [Thu, 11 Feb 2016 03:21:38 +0000 (14:21 +1100)]
Check for MagickAutoOrientImage

* configure.ac: Check for MagickAutoOrientImage.

* src/image.c (imagemagick_load_image): Don't use
MagickAutoOrientImage unless it's available.

8 years agoDocument EXIF image rotation
Lars Ingebrigtsen [Wed, 10 Feb 2016 04:45:37 +0000 (15:45 +1100)]
Document EXIF image rotation

* doc/lispref/display.texi (ImageMagick Images): Mention EXIF rotation.

8 years agoSupport integer image rotation and respect EXIF rotations
Dima Kogan [Wed, 10 Feb 2016 04:40:03 +0000 (15:40 +1100)]
Support integer image rotation and respect EXIF rotations

* src/image.c (imagemagick_load_image): Allow integer rotations in
addition to floating point rotations (bug#22591).
* src/image.c (imagemagick_load_image): Images that have an
orientation given in EXIF and have no explicit :rotation tag are now
pre-rotated.  All information such as width/height is reported for the
rotated image.

8 years agoRevert "Support integer image rotation and respect EXIF rotations"
Lars Ingebrigtsen [Thu, 11 Feb 2016 03:05:24 +0000 (14:05 +1100)]
Revert "Support integer image rotation and respect EXIF rotations"

This reverts commit 0f600496050bf435f55dc81056e06fcd45992dc8.

This change does not work on Fedora.

8 years agoRevert "Document EXIF image rotation"
Lars Ingebrigtsen [Thu, 11 Feb 2016 03:05:02 +0000 (14:05 +1100)]
Revert "Document EXIF image rotation"

This reverts commit 10b8ed27ec91ff52f93eb0297dcc3abb214931aa.

This change does not work on Fedora, for instance.

8 years agoDocument OS X LANG default
Paul Eggert [Thu, 11 Feb 2016 02:35:26 +0000 (18:35 -0800)]
Document OS X LANG default

* doc/emacs/cmdargs.texi (General Variables):
Document OS X Language and Region system preference.
Suggested by Alan Third.

8 years agoSet locale when run from OS X GUI
Alan Third [Thu, 11 Feb 2016 02:27:50 +0000 (18:27 -0800)]
Set locale when run from OS X GUI

* src/emacs.c (main): Call ns_init_locale.
* src/nsterm.m (ns_init_locale): Get locale from OS and set LANG.
* src/nsterm.h: Include ns_init_locale.

8 years agomake-docfile cleanup for I/O, etc.
Paul Eggert [Wed, 10 Feb 2016 19:40:09 +0000 (11:40 -0800)]
make-docfile cleanup for I/O, etc.

* lib-src/make-docfile.c (progname, generate_globals, num_globals)
(num_globals_allocated, globals): Now static.
(generate_globals, struct rcsoc_state, read_c_string_or_comment):
(write_c_args, scan_c_stream, search_lisp_doc_at_eol, scan_lisp_file):
Use bool for boolean.
(verror): New function.
(fatal, error): Use it.  API is now like printf.  All callers changed.
(main): Remove err_count local that was always 0.
(main, scan_c_stream, scan_lisp_file): Check for I/O error.
(scan_file, scan_c_file, scan_c_stream, scan_lisp_file):
Return void, not 0.
(put_char, scan_keyword_or_put_char, scan_c_file): Use char for byte.
(scan_keyword_or_put_char): Check for missing ( and unexpected EOF.
(close_emacs_globals): Use ptrdiff_t for index, not int.
(scan_c_file, scan_lisp_file): Exit with failure if file cannot be
opened, rather than diagnosing but exiting with status 0.
(search_lisp_doc_at_eol): Don't worry about ungetc of EOF; it's
portable now.

8 years agoMemory-management cleanup in make-docfile
Paul Eggert [Wed, 10 Feb 2016 18:14:50 +0000 (10:14 -0800)]
Memory-management cleanup in make-docfile

I compiled it with -fsanitize=address and fixed the leaks it detected.
Also, I changed it to prefer signed to unsigned integer types,
and to check for integer overflow.
* lib-src/make-docfile.c:
Include <stddef.h>, <stdint.h>, <intprops.h>, <min-max.h>.
(memory_exhausted): New function.
(xmalloc, xrealloc): Use it.
(xmalloc, xrealloc, scan_file, struct rcsoc_state, write_c_args)
(uncompiled, scan_lisp_file):
Prefer signed integer types to unsigned.
(xstrdup): Remove.  All uses removed.
(num_globals, num_globals_allocated, write_globals, scan_c_stream):
Use ptrdiff_t, not int, for indexes that in theory could exceed INT_MAX.
(add_global): Use const to pacify --enable-gcc-warnings.
Make a copy here, rather than relying on strdup calls later.
(add_global, write_globals, scan_c_stream):
Avoid integer overflow when calculating sizes.
(write_globals, scan_c_stream, scan_lisp_file): Avoid memory leak.
(scan_c_stream): Check for add_global failure.

8 years agoKevin Gallagher has new email address
Kevin Gallagher [Wed, 10 Feb 2016 18:40:28 +0000 (20:40 +0200)]
Kevin Gallagher has new email address

* lisp/emulation/edt.el:
* lisp/emulation/edt-lk201.el:
* lisp/emulation/edt-mapper.el:
* lisp/emulation/edt-pc.el:
* lisp/emulation/edt-vt100.el:
* etc/edt-user.el:
* doc/misc/edt.texi: Update Kevin Gallagher's email address.

8 years agoImprove doc strings of 'forward/backward-word-strictly'
Eli Zaretskii [Wed, 10 Feb 2016 18:30:12 +0000 (20:30 +0200)]
Improve doc strings of 'forward/backward-word-strictly'

* lisp/simple.el (backward-word): Refer to 'backward-word-strictly'
in the doc string.  Suggested by Glenn Morris <rgm@gnu.org>.
* lisp/subr.el (forward-word-strictly, backward-word-strictly):
Mention 'subword-mode' in the doc strings.

* src/syntax.c (Fforward_word): Refer to 'forward-word-strictly'
in the doc string.  (Bug#22560)

8 years ago* lisp/net/shr.el (image-map): Defvar it. (Bug#22614)
Wolfgang Jenkner [Wed, 10 Feb 2016 15:33:18 +0000 (16:33 +0100)]
* lisp/net/shr.el (image-map): Defvar it.  (Bug#22614)

8 years agoDescribe Makefile test targets in test/README
Michael Albinus [Wed, 10 Feb 2016 11:18:30 +0000 (12:18 +0100)]
Describe Makefile test targets in test/README

* CONTRIBUTE: Move Makefile test targets to test/README.

* Makefile.in:
* test/README: Describe Makefile test targets.

8 years agoBackport: * lisp/isearch.el: Turn char-folding off by default
Artur Malabarba [Wed, 10 Feb 2016 07:44:16 +0000 (07:44 +0000)]
Backport: * lisp/isearch.el: Turn char-folding off by default

(search-default-mode): Set default value to nil.