]> code.delx.au - gnu-emacs/log
gnu-emacs
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

8 years ago; make change-history-commit
Paul Eggert [Tue, 9 Feb 2016 22:20:44 +0000 (14:20 -0800)]
; make change-history-commit

8 years agoMinor alignas cleanup
Paul Eggert [Tue, 9 Feb 2016 22:15:09 +0000 (14:15 -0800)]
Minor alignas cleanup

* src/lisp.h (alignas): Remove now-redundant #ifdef that was left
over from the old way of doing things, before Bug#20862 was fixed.

8 years agoAdd lmalloc commentary and tweak laligned
Paul Eggert [Tue, 9 Feb 2016 21:43:13 +0000 (13:43 -0800)]
Add lmalloc commentary and tweak laligned

* src/alloc.c (laligned): Help compiler in a tiny way by putting
the more-commonly-failing disjunct first.

8 years agoFix network-stream-tests on MS-Windows
Eli Zaretskii [Tue, 9 Feb 2016 19:07:11 +0000 (21:07 +0200)]
Fix network-stream-tests on MS-Windows

* test/lisp/net/network-stream-tests.el (make-local-unix-server):
Skip if local sockets are not supported.

8 years ago* admin/notes/bug-triage: Fix bug priorities. Explain colors in debbugs-gnu.
Michael Albinus [Tue, 9 Feb 2016 19:04:34 +0000 (20:04 +0100)]
* admin/notes/bug-triage: Fix bug priorities.  Explain colors in debbugs-gnu.

8 years agoDisable 'timer-list'
Eli Zaretskii [Tue, 9 Feb 2016 18:30:54 +0000 (20:30 +0200)]
Disable 'timer-list'

* lisp/emacs-lisp/timer-list.el: Make 'timer-list' a disabled
command.

8 years agoClarify documentation of key binding conventions
Eli Zaretskii [Tue, 9 Feb 2016 18:12:17 +0000 (20:12 +0200)]
Clarify documentation of key binding conventions

* doc/lispref/tips.texi (Key Binding Conventions): Clarify which
"punctuation characters" are reserved after "C-c".  (Bug#22604)

8 years ago* etc/NEWS: mention the `vc-faces' customization group
Oscar Fuentes [Tue, 9 Feb 2016 17:28:02 +0000 (18:28 +0100)]
* etc/NEWS: mention the `vc-faces' customization group

8 years agoSync with gnulib
Paul Eggert [Tue, 9 Feb 2016 17:06:40 +0000 (09:06 -0800)]
Sync with gnulib

This incorporates:
2016-02-09 stdalign: port to clang 3.7.0
2016-02-06 misc: port better to gcc -fsanitize=address
* doc/misc/texinfo.tex, lib/stdalign.in.h, m4/acl.m4, m4/getgroups.m4:
Copy from gnulib.

8 years ago* CONTRIBUTE: Add more examples for $(SELECTOR) make variable.
Michael Albinus [Tue, 9 Feb 2016 10:06:14 +0000 (11:06 +0100)]
* CONTRIBUTE: Add more examples for $(SELECTOR) make variable.

8 years agoAvoid aligned_alloc static/extern collision
Paul Eggert [Tue, 9 Feb 2016 08:26:00 +0000 (00:26 -0800)]
Avoid aligned_alloc static/extern collision

* src/alloc.c (aligned_alloc): Define to private name when a
static function, to avoid collision with lisp.h extern decl.
Reported by John Yates in:
http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00439.html

8 years agoMake mm-html-inhibit-images and mm-html-blocked-images default to nil
Katsumi Yamaoka [Tue, 9 Feb 2016 05:30:26 +0000 (05:30 +0000)]
Make mm-html-inhibit-images and mm-html-blocked-images default to nil

* lisp/gnus/mm-decode.el (mm-html-inhibit-images)
(mm-html-blocked-images): Default to nil.

* doc/misc/emacs-mime.texi (Display Customization): Mention that
mm-html-inhibit-images and mm-html-blocked-images default to nil.

* etc/NEWS (Gnus): Document mm-html-inhibit-images and
mm-html-blocked-images.

8 years agoIncrease success rate of fallback lmalloc
Paul Eggert [Tue, 9 Feb 2016 04:24:55 +0000 (20:24 -0800)]
Increase success rate of fallback lmalloc

* src/alloc.c (lmalloc, lrealloc): Reallocate with (typically)
larger and larger sizes, to increase the probability that
the allocator will return a Lisp-aligned pointer.

8 years agoMake backgrounds extend to the end of the lines in shr
Lars Ingebrigtsen [Tue, 9 Feb 2016 03:45:22 +0000 (14:45 +1100)]
Make backgrounds extend to the end of the lines in shr

* lisp/net/shr.el (shr-face-background): Faces can also be on
the form `(:background "#fff)' (bug#22547).

8 years agoMake `message-beginning-of-line' aware of folded headers
Michal Nazarewicz [Tue, 9 Feb 2016 03:07:05 +0000 (14:07 +1100)]
Make `message-beginning-of-line' aware of folded headers

* lisp/gnus/message.pl (message-beginning-of-header): New function which
moves point to the beginning of a mail header.  The function is aware of
folded headers and with non-nil argument looks for the true beginning of
a header while with nil argument moves to the indented text of header's
value.
(message-beginning-of-line): Function is now aware of folded headers and
either moves point to the indention of a header or, in visual-line-mode,
searches for the beginning of the header.

8 years agoOptimise ‘point in message header’ check
Michal Nazarewicz [Tue, 9 Feb 2016 03:05:34 +0000 (14:05 +1100)]
Optimise ‘point in message header’ check

* lisp/gnus/message.el (message-point-in-header-p): Replace two unbound
regular expression matches with a single bound string match thus
reducing amount of work the function is doing.

8 years agoMake the `R' command get the correct relative <img>s
Lars Ingebrigtsen [Tue, 9 Feb 2016 02:51:45 +0000 (13:51 +1100)]
Make the `R' command get the correct relative <img>s

* lisp/net/eww.el (eww-readable): Preserve the base URL so
that image expansions are fetched from the right place (bug#22605).

(cherry picked from commit 8722e849f75ceafb82a1c17105e8ab76077a8ebc)

Backport:

8 years agoMake the `R' command get the correct relative <img>s
Lars Ingebrigtsen [Tue, 9 Feb 2016 02:51:45 +0000 (13:51 +1100)]
Make the `R' command get the correct relative <img>s

* lisp/net/eww.el (eww-readable): Preserve the base URL so
that image expansions are fetched from the right place (bug#22605).

8 years agoAdd a mode to list and cancel timers
Lars Ingebrigtsen [Tue, 9 Feb 2016 02:36:15 +0000 (13:36 +1100)]
Add a mode to list and cancel timers

* doc/lispref/os.texi (Timers): Menton `timer-list'.

* lisp/emacs-lisp/timer-list.el: New file.

8 years agoFix typos in emacs-mime.texi and gnus.texi
Mike Kupfer [Tue, 9 Feb 2016 01:48:46 +0000 (01:48 +0000)]
Fix typos in emacs-mime.texi and gnus.texi

* doc/misc/emacs-mime.texi (Display Customization):
* doc/misc/gnus.texi (HTML): Fix typo.

8 years agoAdd new commands to allow changing the size of images
Lars Ingebrigtsen [Tue, 9 Feb 2016 01:44:32 +0000 (12:44 +1100)]
Add new commands to allow changing the size of images

* lisp/image.el (image-increase-size, image-decrease-size):
New commands.
(image-change-size): New function.

8 years agoAllow the image scale to be a floating point number
Lars Ingebrigtsen [Tue, 9 Feb 2016 01:34:48 +0000 (12:34 +1100)]
Allow the image scale to be a floating point number

* src/image.c (compute_image_size): The scale can be a
floating point number.

8 years ago* doc/misc/emacs-mime.texi (Display Customization):
Katsumi Yamaoka [Tue, 9 Feb 2016 00:20:27 +0000 (00:20 +0000)]
* doc/misc/emacs-mime.texi (Display Customization):
Doc fix for mm-html-inhibit-images.

8 years agoFix message-cross-post-followup-to group names
Lars Ingebrigtsen [Mon, 8 Feb 2016 23:34:59 +0000 (10:34 +1100)]
Fix message-cross-post-followup-to group names

* lisp/gnus/message.el (message-cross-post-followup-to): Don't
insert group names like "nntp+foo:zot", because those aren't valid.

8 years agoCompare recipient and keys case-insensitively
David Edmondson [Mon, 8 Feb 2016 23:26:52 +0000 (10:26 +1100)]
Compare recipient and keys case-insensitively

* lisp/gnus/mml2015.el: (mml-secure-check-user-id): When comparing a
recipient address with that from a key, do so in a case insensitive
manner (bug#22603).

8 years agoAdd an IPv6 test
Lars Ingebrigtsen [Mon, 8 Feb 2016 23:24:34 +0000 (10:24 +1100)]
Add an IPv6 test

* test/lisp/net/network-stream-tests.el
(connect-to-tls-ipv6-nowait): Add an ipv6 test, too.

8 years agoUse gnutls-serv instead of openssh
Lars Ingebrigtsen [Mon, 8 Feb 2016 23:16:14 +0000 (10:16 +1100)]
Use gnutls-serv instead of openssh

* test/lisp/net/network-stream-tests.el (make-tls-server): Use
gnutls-serv instead of openssh.

8 years ago* lisp/gnus/mm-decode.el (mm-alist-to-plist): Doc fix.
Glenn Morris [Mon, 8 Feb 2016 22:49:34 +0000 (17:49 -0500)]
* lisp/gnus/mm-decode.el (mm-alist-to-plist): Doc fix.

8 years agoRefactor HTML images handling of Gnus and mm-* (a part of bug#21650)
Katsumi Yamaoka [Mon, 8 Feb 2016 22:41:25 +0000 (22:41 +0000)]
Refactor HTML images handling of Gnus and mm-* (a part of bug#21650)

* doc/misc/emacs-mime.texi (Display Customization):
Remove mm-inline-text-html-with-images; add documentations for
mm-html-inhibit-images and mm-html-blocked-images.

* lisp/gnus/gnus-art.el (gnus-article-show-images):
No need to bind mm-inline-text-html-with-images.
(gnus-bind-safe-url-regexp): Rename to gnus-bind-mm-vars.
(gnus-bind-mm-vars): Rename from gnus-bind-safe-url-regexp;
bind mm-html-inhibit-images and mm-html-blocked-images.
(gnus-mime-view-all-parts, gnus-mime-view-part-internally)
(gnus-mm-display-part, gnus-mime-display-single)
(gnus-mime-display-alternative): Use gnus-bind-mm-vars.

* lisp/gnus/mm-decode.el (mm-inline-text-html-with-images): Remove.
(mm-html-inhibit-images, mm-html-blocked-images): New user options.
(mm-shr): Bind shr-inhibit-images and shr-blocked-images with
mm-html-inhibit-images and mm-html-blocked-images respectively
instead of gnus-inhibit-images and gnus-blocked-images.

* lisp/gnus/mm-view.el (mm-setup-w3m): Use mm-html-inhibit-images
instead of mm-inline-text-html-with-images.

8 years agoPort to FreeBSD 11-CURRENT i386
Paul Eggert [Mon, 8 Feb 2016 19:38:35 +0000 (11:38 -0800)]
Port to FreeBSD 11-CURRENT i386

Problem reported by Herbert J. Skuhra in:
http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00354.html
Instead of trying
* src/alloc.c (lmalloc, lrealloc, laligned): New functions.
(xmalloc, xzalloc, xrealloc, lisp_malloc): Use them.
(__alignof__) [!__GNUC__ && !__alignof__]: New macro.
(MALLOC_IS_GC_ALIGNED): New macro.
* src/lisp.h (NONPOINTER_BITS): Remove.  All uses removed.
No longer needed now that alloc.c uses lmalloc and lrealloc.

8 years agoPerformance improvements for vc-hg
Daniel Colascione [Mon, 8 Feb 2016 18:52:54 +0000 (10:52 -0800)]
Performance improvements for vc-hg

Teach vc-hg how to read some Mercurial internal data structures,
allowing us to avoid the need to run hg status -A, which is very slow
for large repositories.  Fall back to running hg if anything looks
funny.  vc-hg now puts the _working directory_ revision in the
modeline instead of the file revision, which greatly improves
performance and which allows us to again skip running hg in the case
that we have an active bookmark.

* lisp/vc/vc-hg.el (vc-hg-state): Try calling `vc-hg-statefast'
(vc-hg-symbolic-revision-styles)
(vc-hg-use-file-version-for-mode-line-version)
(vc-hg-parse-hg-data-structures): New user preferences
(vc-hg--active-bookmark-internal, vc-hg--run-log)
(vc-hg--symbolic-revision, vc-hg-mode-line-string)
(vc-hg--read-u8, vc-hg--read-u32-be)
(vc-hg--raw-dirstate-search, vc-hg--cached-dirstate-search)
(vc-hg--parts-to-string, vc-hg--pcre-to-elisp-re)
(vc-hg--glob-to-pcre, vc-hg--hgignore-add-pcre)
(vc-hg--hgignore-add-glob, vc-hg--hgignore-add-path)
(vc-hg--slurp-hgignore-1, vc-hg--slurp-hgignore)
(vc-hg--ignore-patterns-valid-p)
(vc-hg--ignore-patterns-ignored-p, vc-hg--time-to-fixnum)
(vc-hg--file-ignored-p, vc-hg--read-repo-requirements)
(vc-hg--requirements-understood-p, vc-hg--dirstate-scan-cache)
(vc-hg-state-fast): New functions.
(vc-hg--hgignore-patterns, vc-hg--hgignore-filenames)
(vc-hg--cached-ignore-patterns, vc-hg--dirstate-scan-cache)
(vc-hg--dirstate-scan-cache): New internal variables.
* lisp/vc/vc-hooks.el (vc-refresh-state): Invoke vc find-file-hook
before updating modeline.

8 years ago; ChangeLog fixes.
Glenn Morris [Mon, 8 Feb 2016 16:48:47 +0000 (08:48 -0800)]
; ChangeLog fixes.

8 years ago; Some standardization of copyright and license notices in recent new files
Glenn Morris [Mon, 8 Feb 2016 16:43:52 +0000 (08:43 -0800)]
; Some standardization of copyright and license notices in recent new files

8 years agoSome fixes in file-notify-tests.el
Michael Albinus [Mon, 8 Feb 2016 09:54:43 +0000 (10:54 +0100)]
Some fixes in file-notify-tests.el

* test/automated/file-notify-tests.el
(file-notify--test-with-events-check)
(file-notify--test-with-events-explainer): New defuns.
(file-notify--test-with-events): Use it.
(file-notify-test07-backup): Fix docstring.  Some of the
backends fire two `changed' events.  Backup by rename doesn't
work for kqueue.