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

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 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 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 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 agoSkip TLS tests if we don't have openssl
Lars Ingebrigtsen [Mon, 8 Feb 2016 07:28:00 +0000 (18:28 +1100)]
Skip TLS tests if we don't have openssl

* test/lisp/net/network-stream-tests.el (connect-to-tls): Skip
TLS tests if we don't have openssl and GnuTLS.

8 years agoAutomatically scale images up on high-density screens
Lars Ingebrigtsen [Mon, 8 Feb 2016 07:22:53 +0000 (18:22 +1100)]
Automatically scale images up on high-density screens

* doc/lispref/display.texi (ImageMagick Images): Mention :scale.
(Defining Images): Mention image-scaling-factor.

* lisp/image.el (image-compute-scaling-factor): New function
(bug#22172).
(create-image): Use it.
(image-scaling-factor): New variable.

* src/image.c (compute_image_size): Take :scale into account.

8 years agoEnsure progress when fetching from the queue
Lars Ingebrigtsen [Mon, 8 Feb 2016 06:13:01 +0000 (17:13 +1100)]
Ensure progress when fetching from the queue

* lisp/url/url-queue.el (url-queue-check-progress): Ensure
that we have progress when fetching queued requests (bug#22576).

8 years agoMake mail-extract-address-components return the user name more
Lars Ingebrigtsen [Mon, 8 Feb 2016 05:44:56 +0000 (16:44 +1100)]
Make mail-extract-address-components return the user name more

* lisp/mail/mail-extr.el (mail-extract-address-components):
Return the name even if it's the same as the mailbox name (if
`mail-extr-ignore-single-names' isn't set) (bug#22594).

8 years agoMessage no longer warns about unknown top level domains
Lars Ingebrigtsen [Mon, 8 Feb 2016 05:06:59 +0000 (16:06 +1100)]
Message no longer warns about unknown top level domains

8 years agoAdd tests for url-auth
Jarno Malmari [Mon, 8 Feb 2016 04:56:21 +0000 (15:56 +1100)]
Add tests for url-auth

* test/lisp/url/url-auth-tests.el: New file.

8 years agoAdd a TLS connection test
Lars Ingebrigtsen [Mon, 8 Feb 2016 04:28:50 +0000 (15:28 +1100)]
Add a TLS connection test

* test/lisp/net/network-stream-tests.el (connect-to-tls): Add
a TLS connection test.

8 years agoAdd more network tests
Lars Ingebrigtsen [Mon, 8 Feb 2016 03:35:07 +0000 (14:35 +1100)]
Add more network tests

* test/lisp/net/network-stream-tests.el (echo-server-nowait):
New test.

8 years agoAdd network tests
Lars Ingebrigtsen [Mon, 8 Feb 2016 03:24:25 +0000 (14:24 +1100)]
Add network tests

* test/lisp/net/network-stream-tests.el: New suite of network tests.

8 years agoAllow various Gnus and Message address variables to be functions
Foo [Mon, 8 Feb 2016 02:28:37 +0000 (13:28 +1100)]
Allow various Gnus and Message address variables to be functions

* doc/misc/gnus.texi (To From Newsgroups):
gnus-ignored-from-addresses can be a function.

* doc/misc/message.texi (Wide Reply):
message-dont-reply-to-names can be a function.

* lisp/gnus/gnus-icalendar.el (gnus-icalendar-identities):
message-alternative-emails can be a function.

* lisp/gnus/gnus-notifications.el (gnus-notifications):
message-alternative-emails can be a function (bug#22315).

* lisp/gnus/gnus-sum.el
(gnus-summary-from-or-to-or-newsgroups):
gnus-ignored-from-addresses can be a function (bug#22315).

8 years agoFix typo in Gnus regexp
Lars Ingebrigtsen [Mon, 8 Feb 2016 02:12:17 +0000 (13:12 +1100)]
Fix typo in Gnus regexp

* lisp/gnus/gnus-art.el (gnus-button-valid-fqdn-regexp): Fix
typo in last change to this regexp (bug#22592).

8 years agoPort to FreeBSD x86
Paul Eggert [Sun, 7 Feb 2016 21:33:01 +0000 (13:33 -0800)]
Port to FreeBSD x86

Reported by Herbert J. Skuhra in:
http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00336.html
* src/lisp.h (NONPOINTER_BITS) [__FreeBSD__]: Zero in this case too,
since malloc always returns a multiple of 8 in FreeBSD.

8 years agoOn leaving CC Mode, clean up by removing character properties.
Alan Mackenzie [Sun, 7 Feb 2016 15:06:43 +0000 (15:06 +0000)]
On leaving CC Mode, clean up by removing character properties.

* lisp/progmodes/cc-mode.el (c-leave-cc-mode-mode): Remove from the buffer
all instances of the text properties/extents category, syntax-table,
c-is-sws, c-in-sws, c-type, and c-awk-NL-prop.

8 years ago; Auto-commit of ChangeLog files.
Glenn Morris [Sun, 7 Feb 2016 11:30:00 +0000 (06:30 -0500)]
; Auto-commit of ChangeLog files.

8 years agomessage-valid-fqdn-regexp no longer exists
Lars Ingebrigtsen [Sun, 7 Feb 2016 03:30:16 +0000 (14:30 +1100)]
message-valid-fqdn-regexp no longer exists

* lisp/gnus/gnus-art.el (gnus-button-valid-fqdn-regexp): Don't use
the no-longer-existing message-valid-fqdn-regexp variable.

8 years agoRemove message-valid-fqdn-regexp, since it changes too much now
Lars Ingebrigtsen [Sun, 7 Feb 2016 03:19:59 +0000 (14:19 +1100)]
Remove message-valid-fqdn-regexp, since it changes too much now

* lisp/gnus/message.el (message-valid-fqdn-regexp): Remove.
(message-bogus-recipient-p): Don't use it any more.
(message-make-fqdn): Ditto.  Suggested by Lars-Johan Liman.

8 years agoMatch "Re :" as a "Re:" prefix
Paul van der Walt [Sun, 7 Feb 2016 02:52:22 +0000 (13:52 +1100)]
Match "Re :" as a "Re:" prefix

* lisp/gnus/message.el (message-subject-re-regexp): Also match
"Re :" as a "Re:" prefix (commonly used in France).

8 years agolisp/net/shr.el (shr-tag-del, shr-tag-ins): New functions.
Adam Sjøgren [Sun, 7 Feb 2016 02:11:57 +0000 (13:11 +1100)]
lisp/net/shr.el (shr-tag-del, shr-tag-ins): New functions.

* lisp/net/shr.el (shr-tag-del, shr-tag-ins): New functions.

8 years agosrc/process.c Correctly convert AF_INET6 addresses
David Edmondson [Sun, 7 Feb 2016 01:54:08 +0000 (12:54 +1100)]
src/process.c Correctly convert AF_INET6 addresses

* src/process.c (conv_lisp_to_sockaddr): AF_INET6 addresses are
converted to a list of 16 bit quantities by
conv_sockaddr_to_lisp(). conv_lisp_to_sockaddr() should follow the
same scheme rather than expecting a (longer) list of 8 bit
quantities.

Backport:

(cherry picked from commit 55ce3c30d617c38eb086d5ad4ffbd881c20c559c)

8 years agosrc/process.c Correctly convert AF_INET6 addresses
David Edmondson [Sun, 7 Feb 2016 01:54:08 +0000 (12:54 +1100)]
src/process.c Correctly convert AF_INET6 addresses

* src/process.c (conv_lisp_to_sockaddr): AF_INET6 addresses are
converted to a list of 16 bit quantities by
conv_sockaddr_to_lisp(). conv_lisp_to_sockaddr() should follow the
same scheme rather than expecting a (longer) list of 8 bit
quantities.

8 years ago* lisp/isearch.el (isearch-define-mode-toggle): Improve logic
Artur Malabarba [Sat, 6 Feb 2016 22:46:16 +0000 (22:46 +0000)]
* lisp/isearch.el (isearch-define-mode-toggle): Improve logic

8 years ago* lisp/menu-bar.el (menu-bar-options-menu): New search submenu
Artur Malabarba [Sat, 6 Feb 2016 22:45:17 +0000 (22:45 +0000)]
* lisp/menu-bar.el (menu-bar-options-menu): New search submenu

(menu-bar-search-options-menu): New variable

8 years ago* lisp/isearch.el (search-default-mode)
Artur Malabarba [Sat, 6 Feb 2016 18:45:21 +0000 (18:45 +0000)]
* lisp/isearch.el (search-default-mode)

(isearch-regexp-function): Improve docstrings.

8 years ago* lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode
Artur Malabarba [Sat, 6 Feb 2016 18:44:22 +0000 (18:44 +0000)]
* lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode

(search-default-mode): New variable.
(isearch-mode, isearch-define-mode-toggle)
(isearch--describe-regexp-mode): Update accordingly.
* lisp/menu-bar.el (nonincremental-search-forward): Update accordingly.
* etc/NEWS: Update accordingly.
* doc/emacs/search.texi: Update accordingly.

8 years agoUse monitor's resolution for positioning tooltips
Oscar Fuentes [Sat, 6 Feb 2016 21:12:53 +0000 (22:12 +0100)]
Use monitor's resolution for positioning tooltips

* src/xfns.c (compute_tip_xy): Use the resolution of the monitor where
  the mouse pointer is to avoid placing the tooltip over the border of
  the monitor on multi-head displays. Fixes bug#22549.

8 years agoFix file-notify-test on MS-Windows
Eli Zaretskii [Sat, 6 Feb 2016 19:53:38 +0000 (21:53 +0200)]
Fix file-notify-test on MS-Windows

* test/automated/file-notify-tests.el (file-notify--test-timeout):
Reduce w32notify timeout to 10 sec.
(file-notify-test06-many-events): Call read-event after each
rename, to keep the w32notify backend happy in batch mode.
(Bug#22534)

8 years agoFix issues found by auditing w32notify code
Eli Zaretskii [Sat, 6 Feb 2016 16:30:35 +0000 (18:30 +0200)]
Fix issues found by auditing w32notify code

* src/w32inevt.c (handle_file_notifications): Count the number of
events to be returned.
* src/w32notify.c (send_notifications): Don't copy to the file
notification buffer more than it can hold.  (Bug#22534)

8 years agoExtend etags Ruby support for accessors
Eli Zaretskii [Sat, 6 Feb 2016 09:08:20 +0000 (11:08 +0200)]
Extend etags Ruby support for accessors

* lib-src/etags.c (Ruby_functions): Support accessors defined with
parentheses.  (Bug#22563)

* test/etags/ruby-src/test1.ru (A::B): Add tests for accessors
defined with parentheses.
* test/etags/ETAGS.good_1:
* test/etags/ETAGS.good_2:
* test/etags/ETAGS.good_3:
* test/etags/ETAGS.good_4:
* test/etags/ETAGS.good_5:
* test/etags/ETAGS.good_6:
* test/etags/CTAGS.good: Adapt to changes in Ruby tests.

8 years agoSearch for host/port combinations in auth-source on OS X
Martin Jesper Low Madsen [Sat, 6 Feb 2016 06:17:27 +0000 (17:17 +1100)]
Search for host/port combinations in auth-source on OS X

* lisp/gnus/auth-source.el (auth-source-macos-keychain-search):
Search for all host/port (or protocol) combinations for a match in
the OS X keychain.

8 years agoRemove nonsensical setting of gnus-newsgroup-unseen
Lars Ingebrigtsen [Sat, 6 Feb 2016 05:46:43 +0000 (16:46 +1100)]
Remove nonsensical setting of gnus-newsgroup-unseen

* lisp/gnus/gnus-sum.el (gnus-update-marks): Remove nonsensical
setting of gnus-newsgroup-unseen.

8 years agoUpdate publicsuffix.txt.
Lars Ingebrigtsen [Sat, 6 Feb 2016 05:11:18 +0000 (16:11 +1100)]
Update publicsuffix.txt.

* etc/publicsuffix.txt: Updated from
https://publicsuffix.org/list/public_suffix_list.dat.

8 years agoEnsure that Gnus dribble handling allows removing entries
Lars Ingebrigtsen [Sat, 6 Feb 2016 05:02:26 +0000 (16:02 +1100)]
Ensure that Gnus dribble handling allows removing entries

* lisp/gnus/gnus-start.el (gnus-dribble-enter): Ensure that each
entry is on a single line.

8 years agoBe consistent when using encoded strings in nnimap data
OGAWA Hirofumi [Sat, 6 Feb 2016 04:49:32 +0000 (15:49 +1100)]
Be consistent when using encoded strings in nnimap data

* lisp/gnus/nnimap.el (nnimap-encode-gnus-group): New function
(nnimap-request-list): Use it.
(nnimap-request-newgroups): Ditto.

Copyright-paperwork-exempt: yes

8 years agoDisplay the decoded Gnus group name
OGAWA Hirofumi [Sat, 6 Feb 2016 04:41:05 +0000 (15:41 +1100)]
Display the decoded Gnus group name

* lisp/gnus/gnus-sum.el (gnus-summary-read-group-1): Use the
decoded group name in the message.

Copyright-paperwork-exempt: yes

8 years agoUse completion-ignore-case instead of defining command
Lars Ingebrigtsen [Sat, 6 Feb 2016 03:13:57 +0000 (14:13 +1100)]
Use completion-ignore-case instead of defining command

* lisp/erc/erc.el (erc-mode): Set completion-ignore-case so
that we get case-insensitive completion.
(erc-completion-at-point): Remove.

8 years agoUse underline on all terminals that support it
Lars Ingebrigtsen [Sat, 6 Feb 2016 03:08:10 +0000 (14:08 +1100)]
Use underline on all terminals that support it

* lisp/subr.el (read-multiple-choice): Use
display-supports-face-attributes-p instead of
display-graphic-p to determine whether we can use underlining.

8 years agoMake the nsm query say what it did after the user interaction
Lars Ingebrigtsen [Fri, 5 Feb 2016 06:48:44 +0000 (17:48 +1100)]
Make the nsm query say what it did after the user interaction

* lisp/net/nsm.el (nsm-query): Issue a message about
aborting/accepting messages (suggested by N. Jackson)
(bug#22531).

8 years agoOmit XLI (init) == 0 optimization in make-vector
Paul Eggert [Fri, 5 Feb 2016 22:37:09 +0000 (14:37 -0800)]
Omit XLI (init) == 0 optimization in make-vector

* src/alloc.c (Fmake_vector): Simplify by omitting the (XLI (init)
== 0) case, as this optimization is probably not worth the hassle.
Just for the record, the test for that case could have been
(XLI (init) % ((EMACS_UINT) -1 / UCHAR_MAX) == 0) (!),
assuming the typical platform with no padding bits and where
conversion to int omits the most significant bits.

8 years agoMerge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
Eli Zaretskii [Fri, 5 Feb 2016 21:56:14 +0000 (23:56 +0200)]
Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25

8 years ago* test/automated/file-notify-tests.el (file-notify-test06-many-events):
Michael Albinus [Fri, 5 Feb 2016 21:55:28 +0000 (22:55 +0100)]
* test/automated/file-notify-tests.el (file-notify-test06-many-events):

Reduce the number of iterations to 250 in case of w32notify.

8 years agoFix problems caused by new implementation of sub-word mode
Eli Zaretskii [Fri, 5 Feb 2016 21:54:21 +0000 (23:54 +0200)]
Fix problems caused by new implementation of sub-word mode

* lisp/subr.el (forward-word-strictly, backward-word-strictly):
New functions.
(word-move-empty-char-table): New variable.

* etc/NEWS: Mention 'forward-word-strictly' and
'backward-word-strictly'.

* doc/lispref/positions.texi (Word Motion): Document
'find-word-boundary-function-table', 'forward-word-strictly', and
'backward-word-strictly'.  (Bug#22560)

* src/syntax.c (syms_of_syntax)
<find-word-boundary-function-table>: Doc fix.

* lisp/wdired.el (wdired-xcase-word):
* lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name)
(texinfo-copy-section-title, texinfo-start-menu-description)
(texinfo-copy-menu-title, texinfo-specific-section-type)
(texinfo-insert-node-lines, texinfo-copy-next-section-title):
* lisp/textmodes/texinfo.el (texinfo-clone-environment)
(texinfo-insert-@end):
* lisp/textmodes/texinfmt.el (texinfo-format-scan)
(texinfo-anchor, texinfo-multitable-widths)
(texinfo-multitable-item):
* lisp/textmodes/tex-mode.el (latex-env-before-change):
* lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify):
* lisp/skeleton.el (skeleton-insert):
* lisp/simple.el (count-words):
* lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit)
(vhdl-beginning-of-defun, vhdl-beginning-of-statement-1)
(vhdl-update-sensitivity-list, vhdl-template-block)
(vhdl-template-break, vhdl-template-case, vhdl-template-default)
(vhdl-template-default-indent, vhdl-template-for-loop)
(vhdl-template-if-then-use, vhdl-template-bare-loop)
(vhdl-template-nature, vhdl-template-procedural)
(vhdl-template-process, vhdl-template-selected-signal-asst)
(vhdl-template-type, vhdl-template-variable)
(vhdl-template-while-loop, vhdl-beginning-of-block)
(vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func):
* lisp/progmodes/verilog-mode.el (verilog-backward-sexp)
(verilog-forward-sexp, verilog-beg-of-statement)
(verilog-set-auto-endcomments, verilog-backward-token)
(verilog-do-indent):
* lisp/progmodes/vera-mode.el (vera-guess-basic-syntax)
(vera-indent-block-closing):
* lisp/progmodes/simula.el (simula-context)
(simula-backward-up-level, simula-forward-down-level)
(simula-previous-statement, simula-next-statement)
(simula-skip-comment-backward, simula-calculate-indent)
(simula-find-if, simula-electric-keyword):
* lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p):
* lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p)
(ruby-smie--forward-token, ruby-smie--backward-token)
(ruby-singleton-class-p, ruby-calculate-indent)
(ruby-forward-sexp, ruby-backward-sexp):
* lisp/progmodes/ps-mode.el (ps-run-goto-error):
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function)
(perl-syntax-propertize-special-constructs)
(perl-backward-to-start-of-continued-exp):
* lisp/progmodes/pascal.el (pascal-indent-declaration):
* lisp/progmodes/octave.el (octave-function-file-p):
* lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax):
* lisp/progmodes/js.el (js--forward-function-decl):
* lisp/progmodes/idlwave.el (idlwave-show-begin-check)
(idlwave-beginning-of-block, idlwave-end-of-block)
(idlwave-block-jump-out, idlwave-determine-class):
* lisp/progmodes/icon.el (icon-is-continuation-line)
(icon-backward-to-start-of-continued-exp, end-of-icon-defun):
* lisp/progmodes/hideif.el (hide-ifdef-define):
* lisp/progmodes/f90.el (f90-change-keywords):
* lisp/progmodes/cperl-mode.el (cperl-electric-pod)
(cperl-linefeed, cperl-electric-terminator)
(cperl-find-pods-heres, cperl-fix-line-spacing)
(cperl-invert-if-unless):
* lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur):
* lisp/progmodes/cc-align.el (c-lineup-java-inher):
* lisp/progmodes/ada-mode.el (ada-compile-goto-error)
(ada-adjust-case-skeleton, ada-create-case-exception)
(ada-create-case-exception-substring)
(ada-case-read-exceptions-from-file, ada-after-keyword-p)
(ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end)
(ada-get-indent-if, ada-get-indent-block-start)
(ada-get-indent-loop, ada-get-indent-type)
(ada-search-prev-end-stmt, ada-check-defun-name)
(ada-goto-decl-start, ada-goto-matching-start)
(ada-goto-matching-end, ada-looking-at-semi-or)
(ada-looking-at-semi-private, ada-in-paramlist-p)
(ada-search-ignore-complex-boolean, ada-move-to-start)
(ada-move-to-end, ada-which-function, ada-gen-treat-proc):
* lisp/net/quickurl.el (quickurl-grab-url):
* lisp/mail/sendmail.el (mail-do-fcc):
* lisp/mail/rmail.el (rmail-resend):
* lisp/mail/mailabbrev.el (mail-abbrev-complete-alias):
* lisp/mail/mail-extr.el (mail-extract-address-components):
* lisp/json.el (json-read-keyword):
* lisp/files.el (insert-directory):
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
* lisp/completion.el (symbol-under-point, symbol-before-point)
(symbol-before-point-for-complete, next-cdabbrev)
(add-completions-from-c-buffer):
* lisp/cedet/semantic/texi.el (semantic-up-context)
(semantic-beginning-of-context):
* lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables):
use 'forward-word-strictly' and 'backward-word-strictly' instead
of 'forward-word' and 'backward-word'.

8 years ago* autogen.sh: Port to dash (Bug#22556).
Paul Eggert [Fri, 5 Feb 2016 21:45:11 +0000 (13:45 -0800)]
* autogen.sh: Port to dash (Bug#22556).

8 years ago; * etc/NEWS: Expand news entry for scss-mode
Simen Heggestøyl [Fri, 5 Feb 2016 19:16:26 +0000 (20:16 +0100)]
; * etc/NEWS: Expand news entry for scss-mode

8 years agoMinor cleanup for Tramp "doas".
Michael Albinus [Fri, 5 Feb 2016 17:57:35 +0000 (18:57 +0100)]
Minor cleanup for Tramp "doas".

* doc/misc/tramp.texi (Inline methods): Add "doas" method.

* etc/NEWS: Add Tramp connection method "doas".

* lisp/net/tramp-sh.el (tramp-methods) <doas>:
Add `tramp-remote-shell-args'.

8 years ago* lisp/net/tramp-sh.el (tramp-methods) <doas>: Add. (Bug#22542)
Xi Lu [Fri, 5 Feb 2016 17:03:57 +0000 (18:03 +0100)]
* lisp/net/tramp-sh.el (tramp-methods) <doas>: Add.  (Bug#22542)

(tramp-default-user-alist): Add rule for "doas".
(top): Completion function for "doas" is
`tramp-completion-function-alist-su'.

8 years ago; Better document changes in ls-lisp default behavior
Eli Zaretskii [Fri, 5 Feb 2016 10:27:53 +0000 (12:27 +0200)]
; Better document changes in ls-lisp default behavior

* etc/NEWS: Explain in more detail the effects of the new
default sorting in ls-lisp on Dired display.  (Bug#22561)

8 years agoFix doc string of tls-program
Lars Ingebrigtsen [Fri, 5 Feb 2016 07:13:34 +0000 (18:13 +1100)]
Fix doc string of tls-program

* lisp/net/tls.el (tls-program): Document the %t parameter (bug#22559).

8 years agoRestore window conf in nsm
Lars Ingebrigtsen [Fri, 5 Feb 2016 06:35:29 +0000 (17:35 +1100)]
Restore window conf in nsm

* lisp/net/nsm.el (nsm-query-user): Restore the window configuration.

Backport:

8 years agoRestore the window configuration
Lars Ingebrigtsen [Fri, 5 Feb 2016 06:34:44 +0000 (17:34 +1100)]
Restore the window configuration

* lisp/net/nsm.el (nsm-query-user): Restore the window
configuration (bug#22532).

8 years ago* etc/NEWS: Document new mpc.el features
Mark Oteiza [Fri, 5 Feb 2016 06:26:13 +0000 (01:26 -0500)]
* etc/NEWS: Document new mpc.el features

8 years agoUse an X popup in read-multiple-choice if running from a mouse command
Lars Ingebrigtsen [Fri, 5 Feb 2016 03:52:45 +0000 (14:52 +1100)]
Use an X popup in read-multiple-choice if running from a mouse command

* lisp/subr.el (read-multiple-choice): Use an X popup if
called from a mouse action (bug#19368).

8 years agoDisplay cursor in echo area when prompting
Lars Ingebrigtsen [Fri, 5 Feb 2016 03:40:59 +0000 (14:40 +1100)]
Display cursor in echo area when prompting

* lisp/subr.el (read-multiple-choice): Display the cursor in
the echo area when prompting (bug#19368).

8 years agoMake NSM prompting clearer
Lars Ingebrigtsen [Fri, 5 Feb 2016 03:32:35 +0000 (14:32 +1100)]
Make NSM prompting clearer

* lisp/net/nsm.el (nsm-query-user): Use read-multiple-choice
to prompt in a nicer way (bug#19368).

8 years agoUnderline read-multiple-choice-face
Lars Ingebrigtsen [Fri, 5 Feb 2016 03:21:27 +0000 (14:21 +1100)]
Underline read-multiple-choice-face

* lisp/faces.el (read-multiple-choice-face): Also underline
the choice.

8 years ago* lisp/custom.el (defface): Revert indentation change. (Bug#22524)
Leo Liu [Fri, 5 Feb 2016 01:48:17 +0000 (09:48 +0800)]
* lisp/custom.el (defface): Revert indentation change.  (Bug#22524)

8 years agoMake the read-multiple-choice prompt a bit prettier
Lars Ingebrigtsen [Fri, 5 Feb 2016 01:31:17 +0000 (12:31 +1100)]
Make the read-multiple-choice prompt a bit prettier

* doc/lispref/commands.texi (Reading One Event): Mention
read-multiple-choice-face.

* lisp/subr.el (read-multiple-choice): Make the prompting a bit
prettier.

8 years agoPrefer memcpy and memset to doing it by hand
Paul Eggert [Fri, 5 Feb 2016 00:36:48 +0000 (16:36 -0800)]
Prefer memcpy and memset to doing it by hand

* src/alloc.c (Fmake_vector):
* src/ccl.c (setup_ccl_program):
Use memset to clear array.
* src/alloc.c (Fvector, Fmake_byte_code):
* src/charset.c (Fdefine_charset_internal):
Use memcpy to copy array.

8 years agoDo not ignore redirections of 301, 302 and 307 status codes
Nicolas Petton [Thu, 4 Feb 2016 20:43:42 +0000 (21:43 +0100)]
Do not ignore redirections of 301, 302 and 307 status codes

The current version of HTTP/1.1 (RFC 7231) no longer requires
confirmation on 301, 302 or 307 status codes, therefore we do not have
to ignore redirects for other requests than GET and HEAD.

* lisp/url/url-http.el (url-http-parse-headers): Do not ignore 301, 302
and 307 redirects for other requests than GET and HEAD.

8 years agoCorrectly fontify C++ initializations which "look like" functions.
Alan Mackenzie [Thu, 4 Feb 2016 19:01:50 +0000 (19:01 +0000)]
Correctly fontify C++ initializations which "look like" functions.

Fixes bug#7579.

lisp/progmodes/cc-engine.el (c-forward-declarator): Add extra optional
parameter to enable handling of "anonymous" declarators in declarations.

lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Check more rigorously
whether a "(" opens a parameter list of a function, or an initialization of a
variable.

8 years ago* lisp/net/eww.el (eww-switch-to-buffer): Use pop-to-buffer-same-window instead.
Mark Oteiza [Thu, 4 Feb 2016 17:48:35 +0000 (12:48 -0500)]
* lisp/net/eww.el (eww-switch-to-buffer): Use pop-to-buffer-same-window instead.

8 years agoImprove newsticker-treeview-selection-face
Ulf Jasper [Thu, 4 Feb 2016 17:31:04 +0000 (18:31 +0100)]
Improve newsticker-treeview-selection-face

* newst-treeview.el (newsticker-treeview-selection-face): Improve
readability for dark background.

8 years agoMinor fix in tagging Ruby accessors by etags
Eli Zaretskii [Thu, 4 Feb 2016 17:23:12 +0000 (19:23 +0200)]
Minor fix in tagging Ruby accessors by etags

* lib-src/etags.c (Ruby_functions): Don't tag accessors whose
names are not literal symbols.  (Bug#22241)

8 years agoSimplify USE_ALIGNED_ALLOC
Paul Eggert [Thu, 4 Feb 2016 16:38:48 +0000 (08:38 -0800)]
Simplify USE_ALIGNED_ALLOC

* src/alloc.c (USE_ALIGNED_ALLOC): Simplify, now that we’ve merged
in the emacs-25 changes.  Omit no-longer-needed decl for aligned_alloc.

8 years agoSpelling fixes
Paul Eggert [Thu, 4 Feb 2016 15:29:35 +0000 (07:29 -0800)]
Spelling fixes

8 years agoHonor docstring of gnus-group-get-new-news
Eric Abrahamsen [Thu, 4 Feb 2016 11:14:39 +0000 (11:14 +0000)]
Honor docstring of gnus-group-get-new-news

* lisp/gnus/gnus-start.el (gnus-get-unread-articles): If the prefix arg
is t, but non-numeric, unconditionally consider all groups to need
updating.

8 years agoRemove 'def X' from the example
Dmitry Gutov [Thu, 4 Feb 2016 09:21:03 +0000 (12:21 +0300)]
Remove 'def X' from the example

* test/etags/ruby-src/test1.ru (A::B): Remove 'def X'
(http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00167.html).
* test/etags/CTAGS.good:
* test/etags/ETAGS.good_1:
* test/etags/ETAGS.good_2:
* test/etags/ETAGS.good_3:
* test/etags/ETAGS.good_4:
* test/etags/ETAGS.good_5:
* test/etags/ETAGS.good_6: Adjust accordingly.

8 years agoNew function read-multiple-choice
Lars Ingebrigtsen [Thu, 4 Feb 2016 08:51:54 +0000 (19:51 +1100)]
New function read-multiple-choice

* doc/lispref/commands.texi (Reading One Event): Document
read-multiple-choice.

* lisp/faces.el (read-multiple-choice-face): New face.

* lisp/subr.el (read-multiple-choice): New function.

8 years ago; Merge from origin/emacs-25
John Wiegley [Thu, 4 Feb 2016 07:56:17 +0000 (23:56 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

bf64d65 Allow sending empty hidden values in eww

8 years agoMerge from origin/emacs-25
John Wiegley [Thu, 4 Feb 2016 07:56:08 +0000 (23:56 -0800)]
Merge from origin/emacs-25

ee73997 Make erc work better when encountering unknown prefix chars
b99141d Make erc completion case-insensitive again
66c4620 Make complection in erc use consistent casing
8c562b2 Make /QUIT in erc more robust
d93d2c5 Make tracking faces in Emacs work more reliably
af6ab7e Make shr not bug out on images on non-graphical displays
3311f40 Fix bookmark display widths
d90ab1e Fix typo in eww-make-unique-file-name
7f81825 Make it possible to TAB to input fields
a43a1dc Insert complete alt texts when images are disabled
56ed4e1 Allow eww text fields to grow
66b315c Make erc work when subword-mode is switched on
255b68f Fix IMAP doc example
91557f5 Quoting fixes in doc strings and diagnostics
2c0dc9f Fix warning message in hack-local-variables
504696d Etags: yet another improvement in Ruby tags
8784ebf Fix x-popup-menu on TTYs without a mouse
8b87ecb * lisp/emacs-lisp/map.el: Improvements to the docstring of the
        pcase macro
6191003 Use pop-to-buffer-same-window in eww
fe321fd * autogen.sh: Revert all recent changes.
74ebd4a * make-dist: Updates related to nt/.
737193a * make-dist: Add modules/.
3696bf2 * make-dist: Update for super-special file that can't live in etc/.
a4278e2 Fix failure to compile ns-win.el in parallel builds
860da4d Fix names of tags generated for Ruby accessors
f6213ce Fix file-name recognition in 'etags'
e42e662 Change Ruby file names and extensions recognized by 'etags'
58bfb6a More improvements for Ruby support in 'etags'
c04e911 Add --git-config option to autogen.sh
5713466 Fix editing undo changes in eww fields
51362d6 Allow the user more control of popping up the eww window
ee0fbd8 Make eww-browse-url with new-window parameter work again
9c3142d Clean up eww code slightly
cb035f3 Don't insert nil faces in shr
4c3fae3 ; * lisp/progmodes/prolog.el: Remove some obsolete commentary.
93f2153 Improve the custom type of some user options.
9f60d7e Mark some risky calendar variables.
1d07dcd Highlight two additional SCSS keywords
ee8b466 Recommend enabling integrity-checking in git
e639e10 Some corrections in Elisp manual
d766ca8 Chatter when autogen.sh changes Git configuration
3b734e1 * org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399)
43cb9f8 Omit unnecessary history from Lisp intro
2fbd1da * etc/HISTORY: Add some more history, plus git tags.
c90e1b4 Improve elisp “Security Considerations” doc
cedd7ca autogen.sh now arranges for git to check hashes
86ce76b ; Fix ChangeLog.2 commit ID.
7b1d2b1 Fix (c & 040) typo in emergency escapes
a8273da Fix display of overlay strings with 'display' and 'box' property
fc48106 Fix imap-starttls-open
cdecbed Fix return value of imap-starttls-open
20c7e34 ; * etc/NEWS: Fix renamed command name
98bdbdb Correct reference to DARWIN_OS preprocessor symbol
b250d29 Spelling fix
b920a0e Spelling fixes
93b144b Pacify GCC on C library without glibc API

8 years ago; Merge from origin/emacs-25
John Wiegley [Thu, 4 Feb 2016 07:54:58 +0000 (23:54 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

71b20b3 Backport: * lisp/files.el: Remove support for extra .dir-locals file

8 years agoMerge from origin/emacs-25
John Wiegley [Thu, 4 Feb 2016 07:54:45 +0000 (23:54 -0800)]
Merge from origin/emacs-25

ea26c8a * lisp/net/browse-url.el (browse-url-default-browser): Lower
        priority of non-free Chrome.
0fac75f Improve the custom type of some user options.
2df0e04 Highlight CSS variables with variable name face
3cf5e81 * lisp/gnus/gnus-kill.el (gnus-winconf-kill-file): Not
        user-serviceable.
2a5233c Mark some user options that can get evalled as risky.
39b166f Disable DebPrint in sys_read on MS-Windows
9fd0189 ;Fix ChangeLog entry
4bb7233 Fix typos in Introduction to Emacs Lisp manual

8 years agoAllow sending empty hidden values in eww
Vasilij Schneidermann [Thu, 4 Feb 2016 04:52:59 +0000 (15:52 +1100)]
Allow sending empty hidden values in eww

* lisp/net/eww.el (eww-tag-input): Allow sending empty hidden
values (bug#22388).

Copyright-paperwork-exempt: Yes
(cherry picked from commit 5898da8210af7953e638ddf7821c05260979c3f0)

Backport:

8 years agoMake erc work better when encountering unknown prefix chars
David Edmondson [Thu, 4 Feb 2016 05:52:01 +0000 (16:52 +1100)]
Make erc work better when encountering unknown prefix chars

* lisp/erc/erc.el (erc-channel-receive-names): Output a warning
instead of erroring out on unknown prefix chars (bug#22380).

8 years agoAdd a new command to switch between erc buffers
Mark Oteiza [Thu, 4 Feb 2016 07:00:37 +0000 (18:00 +1100)]
Add a new command to switch between erc buffers

* doc/misc/eww.texi: Document eww-switch-to-buffer and its keybinding
* etc/NEWS: Mention new command
* lisp/net/eww.el (eww-mode-map): Bind eww-switch-to-buffer to "s"
(eww-mode-map): Add menu item
(eww-switch-to-buffer): New command

8 years agoMake erc work better when encountering unknown prefix chars
David Edmondson [Thu, 4 Feb 2016 05:52:01 +0000 (16:52 +1100)]
Make erc work better when encountering unknown prefix chars

* lisp/erc/erc.el (erc-channel-receive-names): Output a warning
instead of erroring out on unknown prefix chars (bug#22380).

8 years agoAllow sending empty hidden values in eww
Vasilij Schneidermann [Thu, 4 Feb 2016 04:52:59 +0000 (15:52 +1100)]
Allow sending empty hidden values in eww

* lisp/net/eww.el (eww-tag-input): Allow sending empty hidden
values (bug#22388).

Copyright-paperwork-exempt: Yes

8 years agoMake erc completion case-insensitive again
Lars Ingebrigtsen [Thu, 4 Feb 2016 06:51:53 +0000 (17:51 +1100)]
Make erc completion case-insensitive again

* lisp/erc/erc.el (erc-completion-at-point): Make erc completion
case-insensitive again (bug#11360).

8 years agoMake complection in erc use consistent casing
Carlos Pita [Thu, 4 Feb 2016 06:03:34 +0000 (17:03 +1100)]
Make complection in erc use consistent casing

* lisp/erc/erc-pcomplete.el (pcomplete-erc-all-nicks): Make
case in the complection consistent (bug#18509).

Copyright-paperwork-exempt: Yes