]> git.eshelyaron.com Git - emacs.git/log
emacs.git
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 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 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 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 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 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 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 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 ago* lisp/gnus/gnus-cite.el: Remove XEmacs compat code.
Lars Ingebrigtsen [Wed, 10 Feb 2016 05:00:12 +0000 (16:00 +1100)]
* lisp/gnus/gnus-cite.el: Remove XEmacs compat code.

8 years agoRemove compat code from gnus-bookmark.el
Lars Ingebrigtsen [Wed, 10 Feb 2016 04:54:52 +0000 (15:54 +1100)]
Remove compat code from gnus-bookmark.el

* lisp/gnus/gnus-bookmark.el (gnus-bookmark-mouse-available-p): Remove.
(gnus-bookmark-remove-properties): Remove.

8 years agoRemove XEmacs compat code from gnus-a*.el
Lars Ingebrigtsen [Wed, 10 Feb 2016 04:17:33 +0000 (15:17 +1100)]
Remove XEmacs compat code from gnus-a*.el

* lisp/gnus/gnus-agent.el: Remove compat code.

* lisp/gnus/gnus-art.el: Remove compat code.

* lisp/gnus/gnus-async.el: Remove compat code.

8 years agoRemove gmm compat functions
Lars Ingebrigtsen [Wed, 10 Feb 2016 03:56:30 +0000 (14:56 +1100)]
Remove gmm compat functions

* lisp/gnus/gmm-utils.el (gmm-image-search-load-path): Remove.
(gmm-write-region): Remove.
(gmm-called-interactively-p): Remove.

8 years ago* lisp/gnus/ecomplete.el: Remove XEmacs compat code.
Lars Ingebrigtsen [Wed, 10 Feb 2016 03:50:40 +0000 (14:50 +1100)]
* lisp/gnus/ecomplete.el: Remove XEmacs compat code.

8 years agoRemove compat code from compface.el
Lars Ingebrigtsen [Wed, 10 Feb 2016 03:50:12 +0000 (14:50 +1100)]
Remove compat code from compface.el

* lisp/gnus/compface.el: Remove XEmacs compat code throughout.

8 years agoRemove the now empty gnus-ems.el and references to it
Lars Ingebrigtsen [Wed, 10 Feb 2016 03:47:24 +0000 (14:47 +1100)]
Remove the now empty gnus-ems.el and references to it

8 years agoRemove Gnus compat names for mouse bindings
Lars Ingebrigtsen [Wed, 10 Feb 2016 03:42:03 +0000 (14:42 +1100)]
Remove Gnus compat names for mouse bindings

* lisp/gnus/gnus-ems.el (gnus-widget-button-keymap): Remove.
(gnus-down-mouse-2): Remove.
(gnus-down-mouse-3): Remove.

8 years agoDrop Gnus compat functions
Lars Ingebrigtsen [Wed, 10 Feb 2016 03:34:22 +0000 (14:34 +1100)]
Drop Gnus compat functions

* lisp/gnus/gnus-ems.el (gnus-mule-max-width-function): Remove.

* lisp/gnus/gnus-util.el (gnus-kill-all-overlays): Move here.

* lisp/gnus/gnus.el (gnus-mode-line-modified): Remove.

8 years agoGet rid of gnus-ems-redefine
Lars Ingebrigtsen [Wed, 10 Feb 2016 03:24:11 +0000 (14:24 +1100)]
Get rid of gnus-ems-redefine

* lisp/gnus/gnus-ems.el (gnus-mouse-face-prop): Remove.

8 years ago* lisp/gnus/gnus-spec.el: Move definition here from gnus-ems.el.
Lars Ingebrigtsen [Wed, 10 Feb 2016 03:19:26 +0000 (14:19 +1100)]
* lisp/gnus/gnus-spec.el: Move definition here from gnus-ems.el.

8 years agoRemove Gnus compat code
Lars Ingebrigtsen [Wed, 10 Feb 2016 03:12:42 +0000 (14:12 +1100)]
Remove Gnus compat code

* lisp/gnus/gnus-ems.el (gnus-ems-redefine): Remove
transitional code from ten years ago.

8 years agoAllow interactively scaling past :max-width etc
Lars Ingebrigtsen [Wed, 10 Feb 2016 02:47:58 +0000 (13:47 +1100)]
Allow interactively scaling past :max-width etc

* lisp/image.el (image--current-scaling)
(image--image-without-parameters): New functions.
(image--change-size): Use them to allow changing the size of a
image even if it has :width/:max-width (etc.) already set.

8 years ago* lisp/gnus/mm-decode.el (shr-image-map): Compilation fix.
Lars Ingebrigtsen [Wed, 10 Feb 2016 01:57:07 +0000 (12:57 +1100)]
* lisp/gnus/mm-decode.el (shr-image-map): Compilation fix.

8 years agoAllow accessing the image commands via shr
Lars Ingebrigtsen [Wed, 10 Feb 2016 01:56:21 +0000 (12:56 +1100)]
Allow accessing the image commands via shr

* lisp/gnus/mm-decode.el (mm-convert-shr-links): Allow
accessing the image commands.

* lisp/net/shr.el (shr-image-map): New map used for images.
(shr-urlify): Don't overwrite image maps when applying URL maps.

8 years agoUse a sparse image keymap
Lars Ingebrigtsen [Wed, 10 Feb 2016 01:32:28 +0000 (12:32 +1100)]
Use a sparse image keymap

* lisp/image.el (image-map): Use a sparse keymap.

8 years agoPut a keymap on images created with insert-image and friends
Lars Ingebrigtsen [Wed, 10 Feb 2016 01:03:55 +0000 (12:03 +1100)]
Put a keymap on images created with insert-image and friends

* lisp/image.el (image-save): New command.
(image-rotate): Ditto.
(image-map): New keymap.
(insert-image): Put the image-map on all images.
(insert-sliced-image): Ditto.
* doc/lispref/display.texi (Showing Images): Document the
image map.

8 years agoFix some folding issues in read-multiple-choice
Lars Ingebrigtsen [Wed, 10 Feb 2016 00:14:45 +0000 (11:14 +1100)]
Fix some folding issues in read-multiple-choice

* lisp/subr.el (read-multiple-choice): Fix folding when you
have many items.

8 years agoFix typo in last checkin
Lars Ingebrigtsen [Tue, 9 Feb 2016 23:59:25 +0000 (10:59 +1100)]
Fix typo in last checkin

8 years agoRemove Gnus compat functions
Lars Ingebrigtsen [Tue, 9 Feb 2016 23:58:59 +0000 (10:58 +1100)]
Remove Gnus compat functions

* lisp/gnus/gnus-ems.el (gnus-mark-active-p)
(gnus-region-active-p, gnus-select-lowest-window)
(gnus-summary-display-table, gnus-max-width-function): Remove
compat functions.

8 years agoMove non-compat Gnus functions to gnus-util.el
Lars Ingebrigtsen [Tue, 9 Feb 2016 23:49:20 +0000 (10:49 +1100)]
Move non-compat Gnus functions to gnus-util.el

* lisp/gnus/gnus-util.el (gnus-remove-image, gnus-put-image)
(gnus-create-image, gnus-image-type-available-p): Move here
from gnus-ems.el, since these aren't compat functions.

8 years agoOmit valloc decl if redundant
Paul Eggert [Tue, 9 Feb 2016 23:24:08 +0000 (15:24 -0800)]
Omit valloc decl if redundant

* src/gmalloc.c (valloc): Omit decl if malloc.h is included,
to pacify --enable-gcc-warnings.

8 years agoRestore the calloc family.
Wolfgang Jenkner [Tue, 9 Feb 2016 23:04:40 +0000 (15:04 -0800)]
Restore the calloc family.

* src/gmalloc.c (calloc, gcalloc, hybrid_calloc): Restore definitions.
They were lost in a4817d8 but calloc is still (marginally) used in
code statically liked with emacs, so hybrid_calloc is needed.
Also, in the non-hybrid case, we can't get rid of calloc anyway as
other libraries liked with emacs may need it.
* src/conf_post.h: Restore redefinition of calloc to hybrid_calloc.

8 years agoRemove some Gnus compat functions
Lars Ingebrigtsen [Tue, 9 Feb 2016 22:53:13 +0000 (09:53 +1100)]
Remove some Gnus compat functions

* lisp/gnus/gnus-ems.el (gnus-string-mark-left-to-right)
(gnus-window-inside-pixel-edges, gnus-set-process-plist)
(gnus-process-plist, gnus-process-get, gnus-process-put): Remove.

8 years ago-
Paul Eggert [Tue, 9 Feb 2016 22:26:40 +0000 (14:26 -0800)]
-

8 years ago; Merge from origin/emacs-25
Paul Eggert [Tue, 9 Feb 2016 22:23:53 +0000 (14:23 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

9935e7c Make the `R' command get the correct relative <img>s

8 years ago-
Paul Eggert [Tue, 9 Feb 2016 22:23:53 +0000 (14:23 -0800)]
-

8 years ago; Merge from origin/emacs-25
Paul Eggert [Tue, 9 Feb 2016 22:23:10 +0000 (14:23 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

d7933ff ; Auto-commit of ChangeLog files.

8 years agoMerge from origin/emacs-25
Paul Eggert [Tue, 9 Feb 2016 22:23:10 +0000 (14:23 -0800)]
Merge from origin/emacs-25

4feb962 * lisp/comint.el (comint-prompt-read-only): Clean tabs in docstring
cc419fb Don't inloop gnus-uu-mark-thread on the last thread
51c77a2 Display non-ASCII group names better in prompts
f93d669 Default to gpg2 instead of gpg

8 years ago; Merge from origin/emacs-25
Paul Eggert [Tue, 9 Feb 2016 22:23:10 +0000 (14:23 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

35cbe20 src/process.c Correctly convert AF_INET6 addresses

8 years agoMerge from origin/emacs-25
Paul Eggert [Tue, 9 Feb 2016 22:23:10 +0000 (14:23 -0800)]
Merge from origin/emacs-25

9ffe7dd * lisp/isearch.el (isearch-define-mode-toggle): Improve logic
16140f7 * lisp/menu-bar.el (menu-bar-options-menu): New search submenu
3db6adb * lisp/isearch.el (search-default-mode)
4ea1ea7 * lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode
c77ffc8 Use monitor's resolution for positioning tooltips
49e5749 Fix file-notify-test on MS-Windows
be1d874 Fix issues found by auditing w32notify code
87ae218 Extend etags Ruby support for accessors
aa35257 Update publicsuffix.txt.
6816bff Ensure that Gnus dribble handling allows removing entries
691feae Be consistent when using encoded strings in nnimap data
3ed423b Display the decoded Gnus group name
5428b5b Use completion-ignore-case instead of defining command

8 years ago; Merge from origin/emacs-25
Paul Eggert [Tue, 9 Feb 2016 22:23:10 +0000 (14:23 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

1fbcc8a Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25

8 years agoMerge from origin/emacs-25
Paul Eggert [Tue, 9 Feb 2016 22:23:10 +0000 (14:23 -0800)]
Merge from origin/emacs-25

1eaf68f * test/automated/file-notify-tests.el (file-notify-test06-many-events):
d333716 ; * etc/NEWS: Expand news entry for scss-mode
c32c16f ; Better document changes in ls-lisp default behavior
dc6eed2 Fix doc string of tls-program

8 years ago; Merge from origin/emacs-25
Paul Eggert [Tue, 9 Feb 2016 22:23:09 +0000 (14:23 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

1ef309f Restore window conf in nsm

8 years agoMerge from origin/emacs-25
Paul Eggert [Tue, 9 Feb 2016 22:23:09 +0000 (14:23 -0800)]
Merge from origin/emacs-25

2c117fc * etc/NEWS: Document new mpc.el features
71a0496 * lisp/custom.el (defface): Revert indentation change.  (Bug#22524)
9dfece1 Correctly fontify C++ initializations which "look like" functions.
4485222 Improve newsticker-treeview-selection-face
4236944 Minor fix in tagging Ruby accessors by etags
35fc77d Spelling fixes
3dda110 Remove 'def X' from the example