1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 00:30:37 -08:00
Commit graph

124655 commits

Author SHA1 Message Date
Jarno Malmari
f7b0ca9dfa Add tests for url-auth
* test/lisp/url/url-auth-tests.el: New file.
2016-02-08 15:56:21 +11:00
Lars Ingebrigtsen
f29b6cf379 Add a TLS connection test
* test/lisp/net/network-stream-tests.el (connect-to-tls): Add
a TLS connection test.
2016-02-08 15:28:50 +11:00
Lars Ingebrigtsen
4f50d8db8c Add more network tests
* test/lisp/net/network-stream-tests.el (echo-server-nowait):
New test.
2016-02-08 14:35:07 +11:00
Lars Ingebrigtsen
0cc907100c Add network tests
* test/lisp/net/network-stream-tests.el: New suite of network tests.
2016-02-08 14:24:25 +11:00
Foo
357ae5dba5 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).
2016-02-08 13:28:37 +11:00
Lars Ingebrigtsen
d0c2957609 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).
2016-02-08 13:12:17 +11:00
Paul Eggert
eb52f7015a 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.
2016-02-07 13:33:18 -08:00
Alan Mackenzie
7149cc54e7 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.
2016-02-07 15:06:43 +00:00
Glenn Morris
90c647b97f ; Auto-commit of ChangeLog files. 2016-02-07 06:30:00 -05:00
Lars Ingebrigtsen
3a2b6aa331 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.
2016-02-07 14:30:16 +11:00
Lars Ingebrigtsen
762986c9d3 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.
2016-02-07 14:19:59 +11:00
Paul van der Walt
ee7fa0599b 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).
2016-02-07 13:52:22 +11:00
Adam Sjøgren
c4dce0494a lisp/net/shr.el (shr-tag-del, shr-tag-ins): New functions.
* lisp/net/shr.el (shr-tag-del, shr-tag-ins): New functions.
2016-02-07 13:11:57 +11:00
David Edmondson
55ce3c30d6 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.
2016-02-07 12:54:08 +11:00
Martin Jesper Low Madsen
20087772d6 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.
2016-02-06 17:17:27 +11:00
Lars Ingebrigtsen
c796361d79 Remove nonsensical setting of gnus-newsgroup-unseen
* lisp/gnus/gnus-sum.el (gnus-update-marks): Remove nonsensical
setting of gnus-newsgroup-unseen.
2016-02-06 16:46:43 +11:00
Lars Ingebrigtsen
8d88dbdf9a 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.
2016-02-06 14:08:26 +11:00
Lars Ingebrigtsen
c6d4b63f25 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).
2016-02-06 14:08:26 +11:00
Paul Eggert
130056880f 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.
2016-02-05 14:37:38 -08:00
Paul Eggert
f8a8da2535 * autogen.sh: Port to dash (Bug#22556). 2016-02-05 13:45:40 -08:00
Michael Albinus
05570f0002 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'.
2016-02-05 18:57:35 +01:00
Xi Lu
d66e8f7248 * 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'.
2016-02-05 18:03:57 +01:00
Lars Ingebrigtsen
44b15ee2e3 Restore the window configuration
* lisp/net/nsm.el (nsm-query-user): Restore the window
configuration (bug#22532).
2016-02-05 17:34:44 +11:00
Lars Ingebrigtsen
ebc6985b83 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).
2016-02-05 14:52:45 +11:00
Lars Ingebrigtsen
fa6912fc9e Display cursor in echo area when prompting
* lisp/subr.el (read-multiple-choice): Display the cursor in
the echo area when prompting (bug#19368).
2016-02-05 14:40:59 +11:00
Lars Ingebrigtsen
e49c46f771 Make NSM prompting clearer
* lisp/net/nsm.el (nsm-query-user): Use read-multiple-choice
to prompt in a nicer way (bug#19368).
2016-02-05 14:32:35 +11:00
Lars Ingebrigtsen
cbcc3b79ba Underline read-multiple-choice-face
* lisp/faces.el (read-multiple-choice-face): Also underline
the choice.
2016-02-05 14:21:27 +11:00
Lars Ingebrigtsen
b3a28d088f 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.
2016-02-05 12:31:34 +11:00
Paul Eggert
605f9019b4 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.
2016-02-04 16:39:12 -08:00
Nicolas Petton
46dfdd831b 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.
2016-02-04 21:43:42 +01:00
Mark Oteiza
7a7164ea3e * lisp/net/eww.el (eww-switch-to-buffer): Use pop-to-buffer-same-window instead. 2016-02-04 12:48:35 -05:00
Paul Eggert
0815944ac4 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.
2016-02-04 08:40:12 -08:00
Eric Abrahamsen
1f5eeb7be4 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.
2016-02-04 11:14:39 +00:00
Lars Ingebrigtsen
4531b03ec9 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.
2016-02-04 19:52:07 +11:00
John Wiegley
d95c7bb472 ; Merge from origin/emacs-25
The following commit was skipped:

bf64d65 Allow sending empty hidden values in eww
2016-02-03 23:56:17 -08:00
John Wiegley
0608bf1c3d 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
2016-02-03 23:56:08 -08:00
John Wiegley
91ab66201c ; Merge from origin/emacs-25
The following commit was skipped:

71b20b3 Backport: * lisp/files.el: Remove support for extra .dir-locals file
2016-02-03 23:54:58 -08:00
John Wiegley
1829a1fc85 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
2016-02-03 23:54:45 -08:00
Vasilij Schneidermann
bf64d65c64 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 5898da8210)

Backport:
2016-02-04 18:06:02 +11:00
David Edmondson
ee7399792f 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).
2016-02-04 18:04:07 +11:00
Mark Oteiza
535e2bef6d 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
2016-02-04 18:00:51 +11:00
David Edmondson
8b35b109dd 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).
2016-02-04 18:00:50 +11:00
Vasilij Schneidermann
5898da8210 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
2016-02-04 18:00:50 +11:00
Lars Ingebrigtsen
b99141da55 Make erc completion case-insensitive again
* lisp/erc/erc.el (erc-completion-at-point): Make erc completion
case-insensitive again (bug#11360).
2016-02-04 17:51:53 +11:00
Carlos Pita
66c462005c 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
2016-02-04 17:03:34 +11:00
Francis Litterio
8c562b2d7f Make /QUIT in erc more robust
* lisp/erc/erc.el (erc-kill-query-buffers): Don't bug out if we're
issuing /QUIT to disconnected servers (bug#22099).
2016-02-04 16:55:01 +11:00
Kevin Brubeck Unhammer
d93d2c5b16 Make tracking faces in Emacs work more reliably
* lisp/erc/erc-track.el (erc-faces-in): Always return lists of
faces to avoid later ambiguity (bug#22424).

Copyright-paperwork-exempt: Yes
2016-02-04 16:49:42 +11:00
Lars Ingebrigtsen
af6ab7efc7 Make shr not bug out on images on non-graphical displays
* lisp/net/shr.el (shr-put-image): Don't bug out on alt-less
images on non-graphical displays (bug#22327).
2016-02-04 16:44:06 +11:00
Andrew Hyatt
b171347602 Remove packages obsoleted before Emacs 24.
In accordance with the policy discussed in the emacs-devel list,
packages that have been obsoleted for a full major release cycle are up
for deletion.

This removes almost all packages that are now eligible for deletion,
with the exception of "cl-compat", which seems it is likely to still be
used, and "optional", which offers some functionality that doesn't have
a replacement yet.
2016-02-04 00:13:36 -05:00
Lars Ingebrigtsen
3311f4080b Fix bookmark display widths
* lisp/net/eww.el (eww-list-bookmarks): Pop to the buffer before
preparing it so that the widths are computed correctly (bug#22328).
2016-02-04 16:10:49 +11:00