]> git.eshelyaron.com Git - emacs.git/log
emacs.git
6 years ago* lisp/gnus/gnus-art.el (gnus-article-prepare): Fix previous commit,
martin rudalics [Fri, 13 Apr 2018 07:42:19 +0000 (07:42 +0000)]
* lisp/gnus/gnus-art.el (gnus-article-prepare): Fix previous commit,
in which selecting the article window is not necessary (bug#25526).

6 years agoRemove unused local variable
Lars Ingebrigtsen [Fri, 13 Apr 2018 00:23:49 +0000 (02:23 +0200)]
Remove unused local variable

6 years agoTreat 302 redirects as if they were 303 redirects
Lars Ingebrigtsen [Fri, 13 Apr 2018 00:21:30 +0000 (02:21 +0200)]
Treat 302 redirects as if they were 303 redirects

* lisp/url/url-http.el (url-http-parse-headers): Treat 302 as 303,
since this is what the standards recommend these days (bug#25703).
See https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection

6 years agoMake eww render <select> elements again
Lars Ingebrigtsen [Fri, 13 Apr 2018 00:08:40 +0000 (02:08 +0200)]
Make eww render <select> elements again

* lisp/net/eww.el (eww-tag-select): Actually render <select>
elements (bug#25703).

6 years ago<label> shouldn't introduce a line break
Lars Ingebrigtsen [Thu, 12 Apr 2018 23:51:56 +0000 (01:51 +0200)]
<label> shouldn't introduce a line break

* lisp/net/shr.el (shr-tag-label): Remove so that labels don't
break lines (because they shouldn't: They're usually part of a
selection interface) (bug#30557).

6 years ago* lisp/gnus/gnus-art.el (gnus-article-prepare): Make sure the article
Katsumi Yamaoka [Thu, 12 Apr 2018 23:19:17 +0000 (23:19 +0000)]
* lisp/gnus/gnus-art.el (gnus-article-prepare): Make sure the article
begins with the top of the header (bug#25526).

6 years agoTweak the eww readability function
Lars Ingebrigtsen [Thu, 12 Apr 2018 22:13:17 +0000 (00:13 +0200)]
Tweak the eww readability function

* lisp/net/eww.el (eww-highest-readability): Require that the
readable bit is at least 100 words (bug#30445).

6 years ago(dom-texts): Don't return contents of <script> as text
Lars Ingebrigtsen [Thu, 12 Apr 2018 22:11:47 +0000 (00:11 +0200)]
(dom-texts): Don't return contents of <script> as text

From: Lars Ingebrigtsen <larsi@gnus.org>

* lisp/dom.el (dom-texts): Don't return contents of <script> as
text, because it isn't and makes reasoning about textual parts
more difficult.

6 years agoSupport list of default values in completing-read-multiple
Basil L. Contovounesios [Thu, 12 Apr 2018 20:36:45 +0000 (23:36 +0300)]
Support list of default values in completing-read-multiple

* lisp/emacs-lisp/crm.el (completing-read-multiple):
Consider head of DEF argument when specified as a list,
as per completing-read-default. (bug#30072)

6 years agoFrom: Lars Ingebrigtsen <larsi@gnus.org>
Jonathan Marten [Thu, 12 Apr 2018 20:23:31 +0000 (22:23 +0200)]
From: Lars Ingebrigtsen <larsi@gnus.org>

* lisp/gnus/nnimap.el (nnimap-login): Allow anonymous logins
(bug#24704).

Copyright-paperwork-exempt: yes

6 years agoDefault message-forward-as-mime to nil
Lars Ingebrigtsen [Thu, 12 Apr 2018 20:04:09 +0000 (22:04 +0200)]
Default message-forward-as-mime to nil

* doc/misc/gnus.texi (Summary Mail Commands): Ditto.

* doc/misc/message.texi (Forwarding): Note the new default.

* lisp/gnus/message.el (message-forward-as-mime): Default to nil
since it's been reported that many recipients can't read MIME
digest forwards (bug#24878).

6 years agoLoad w3m in Gnus if required
Lars Ingebrigtsen [Thu, 12 Apr 2018 19:34:37 +0000 (21:34 +0200)]
Load w3m in Gnus if required

* lisp/gnus/gnus-art.el (gnus-article-show-images): Ensure that
w3m is loaded if the user requests that we use it.

6 years agoDon't autoload function from w3m
Tim Landscheidt [Thu, 12 Apr 2018 19:31:49 +0000 (21:31 +0200)]
Don't autoload function from w3m

* lisp/gnus/gnus-art.el (w3m-toggle-inline-images): Don't use
autoload for packages that may not be installed (bug#25604).

6 years agoFrom: Lars Ingebrigtseb <larsi@gnus.org>
Oleg Pykhalov [Thu, 12 Apr 2018 19:19:23 +0000 (21:19 +0200)]
From: Lars Ingebrigtseb <larsi@gnus.org>

* lisp/gnus/gnus-sum.el (gnus-summary-limit-to-score): Allow limit
to articles that have a score below the stated number, too
(bug#30356).

6 years agomessage-forward-as-mime doc clarification
Lars Ingebrigtsen [Thu, 12 Apr 2018 19:13:47 +0000 (21:13 +0200)]
message-forward-as-mime doc clarification

* lisp/gnus/message.el (message-forward-as-mime): Doc
clarification (bug#27714).

6 years agomessage-forward-ignored-headers doc clarification
Lars Ingebrigtsen [Thu, 12 Apr 2018 19:11:12 +0000 (21:11 +0200)]
message-forward-ignored-headers doc clarification

* lisp/gnus/message.el (message-forward-ignored-headers): Doc
clarification (bug#27715).

6 years agoRestore point in summary buffer after sorting
Lars Ingebrigtsen [Thu, 12 Apr 2018 17:36:28 +0000 (19:36 +0200)]
Restore point in summary buffer after sorting

* lisp/gnus/gnus-sum.el (gnus-summary-sort): Keep point on the
current article when sorting (bug#30615).

6 years agonil is no longer an allowed value for mm-inline-text-html
Lars Ingebrigtsen [Thu, 12 Apr 2018 17:18:26 +0000 (19:18 +0200)]
nil is no longer an allowed value for mm-inline-text-html

* doc/misc/emacs-mime.texi (Display Customization): Remove the doc
for the nil case of mm-inline-text-html.

* doc/misc/mh-e.texi (HTML): Ditto.

* lisp/gnus/mm-view.el (mm-inline-text-html): If no
mm-text-html-renderer is specified, just insert the raw text
instead of erroring out (bug#30870).

6 years agoEnsure that non-QRESYNC nnimap can proceed after a QRESYNC fail
Lars Ingebrigtsen [Thu, 12 Apr 2018 16:12:03 +0000 (18:12 +0200)]
Ensure that non-QRESYNC nnimap can proceed after a QRESYNC fail

* lisp/gnus/nnimap.el (nnimap-update-info): If we don't have a
start-article in the non-QRESYNC case, then the start has to be 1
(bug#23241).

6 years agoMake it possible to exit Gnus without saving .newsrc.eld
Lars Ingebrigtsen [Thu, 12 Apr 2018 15:50:14 +0000 (17:50 +0200)]
Make it possible to exit Gnus without saving .newsrc.eld

* lisp/gnus/gnus-start.el (gnus-save-newsrc-file): Don't error out
here so that we can proceed with shutting down Gnus without saving
the .newsrc.eld file when it has been updated externally (bug#23761).

6 years agoMake nnml save the .overview file when used as an expiry target
Lars Ingebrigtsen [Thu, 12 Apr 2018 14:53:07 +0000 (16:53 +0200)]
Make nnml save the .overview file when used as an expiry target

* lisp/gnus/nnmail.el (nnmail-expiry-target-group): Always pass in
the `last' parameter to the acceptance function so that backends
like nnml save the .overview file (bug#24499).  This may slow down
some use cases.

6 years agoClarify Gnus doc string
Lars Ingebrigtsen [Thu, 12 Apr 2018 14:33:36 +0000 (16:33 +0200)]
Clarify Gnus doc string

* lisp/gnus/gnus-cite.el (gnus-article-fill-cited-article):
Clarify doc string (bug#24578).

6 years agoElide XEmacs-relevant comment
Lars Ingebrigtsen [Thu, 12 Apr 2018 14:32:00 +0000 (16:32 +0200)]
Elide XEmacs-relevant comment

* lisp/gnus/gnus-cite.el (gnus-article-fill-cited-article): Remove
mention of XEmacs, since we no longer support XEmacs.

6 years agoMake message-simplify-recipients obsolete
Lars Ingebrigtsen [Thu, 12 Apr 2018 13:17:40 +0000 (15:17 +0200)]
Make message-simplify-recipients obsolete

* lisp/gnus/message.el (message-simplify-recipients)
(message-recipients-without-full-name): Made obsolete since
Message now simplifies all addresses by default.

6 years agoRemove repetitions from recipient addresses in Message
Lars Ingebrigtsen [Thu, 12 Apr 2018 12:57:51 +0000 (14:57 +0200)]
Remove repetitions from recipient addresses in Message

* lisp/gnus/message.el (message--alter-repeat-address): New function.
(message-get-reply-headers): Use it to remove repetitions on the
form "foo@bar.com" <foo@bar.com>.

6 years ago* etc/NEWS: Fix entry regarding automatic encryption of (Bug#31124) messages
Damien Cassou [Wed, 11 Apr 2018 13:28:11 +0000 (15:28 +0200)]
* etc/NEWS: Fix entry regarding automatic encryption of (Bug#31124) messages

6 years ago; doc/misc/gnus.texi (Fancy Mail Splitting): Fix misplaced @item.
Noam Postavsky [Thu, 12 Apr 2018 01:00:57 +0000 (21:00 -0400)]
; doc/misc/gnus.texi (Fancy Mail Splitting): Fix misplaced @item.

6 years agoAdd tests for buffer-base-buffer function (Bug#30905)
Shanavas M [Thu, 22 Mar 2018 09:20:22 +0000 (12:20 +0300)]
Add tests for buffer-base-buffer function (Bug#30905)

* test/src/buffer-tests.el (test-buffer-base-buffer-indirect)
(test-buffer-base-buffer-non-indirect): New tests for
`buffer-base-buffer'.

6 years agomake-dist: fix bug with top-level ChangeLog
Paul Eggert [Thu, 12 Apr 2018 00:03:43 +0000 (17:03 -0700)]
make-dist: fix bug with top-level ChangeLog

Problem reported by Glenn Morris in:
https://lists.gnu.org/r/emacs-devel/2018-04/msg00307.html
* make-dist (top_level_ChangeLog): New var.  Use it to link
top-level ChangeLog only when desired.

6 years agoSupport port number in Gnus X-Message-SMTP-Method header
Alain Schneble [Wed, 11 Apr 2018 22:51:19 +0000 (00:51 +0200)]
Support port number in Gnus X-Message-SMTP-Method header

* lisp/gnus/message.el (message-multi-smtp-send-mail): Try to parse
service as port number.  If it succeeds, use parsed number, else use
supplied service name as before (bug#24653).  (This only matters
on some operating systems.)

6 years agoGnus Group Mail Spliting on mailing-list headers
Daniel Dehennin [Wed, 11 Apr 2018 22:40:13 +0000 (00:40 +0200)]
Gnus Group Mail Spliting on mailing-list headers

* texi/gnus.texi: Document the new `list' split abbreviation and
`match-list' group parameter (bug#25346).

* lisp/gnus-mlspl.el: Use the `list' abbreviation when the new
`match-list' group parameter is set to `t'.
The split regexp is modified to match either `@` or `.` as domain
separator to comply with RFC2919 IDs too.

* lisp/nnmail.el: Add new `list' split abbreviation matching common
mailing-list headers.

6 years agoTweak previous patch to respect quiet next group selection again
Lars Ingebrigtsen [Wed, 11 Apr 2018 22:27:10 +0000 (00:27 +0200)]
Tweak previous patch to respect quiet next group selection again

* lisp/gnus/gnus-sum.el (gnus-summary-next-article): Tweak
previous patch to be quieter if the user has requested `quietly'
next group selection.

6 years agoDisplay "No more ... articles" on `n' in Gnus
Lars Ingebrigtsen [Wed, 11 Apr 2018 22:16:30 +0000 (00:16 +0200)]
Display "No more ... articles" on `n' in Gnus

* lisp/gnus/gnus-sum.el (gnus-summary-next-article): Display the
"No more"... messages if gnus-auto-select-next is nil and the user
has default messaging levels (bug#25582).

6 years agoRung new-news-hook from `M-g' in the Gnus summary buffer
Łukasz Stelmach [Wed, 11 Apr 2018 22:09:41 +0000 (00:09 +0200)]
Rung new-news-hook from `M-g' in the Gnus summary buffer

* lisp/gnus/gnus-group.el (gnus-group-get-new-news-this-group):
Run `gnus-after-getting-new-news-hook' when doing `M-g' in the
summary buffer, too (bug#25892).  This makes `M-g' in both group
and summary buffers work more similar.

Copyright-paperwork-exempt: yes

6 years agoGive better errors in signing failures in Gnus
Noam Postavsky [Wed, 11 Apr 2018 22:05:27 +0000 (00:05 +0200)]
Give better errors in signing failures in Gnus

* lisp/gnus/mml1991.el (mml1991-epg-sign): Give better error
messages when signing fails (bug#26298).

* lisp/gnus/mml2015.el (mml2015-epg-sign): Ditto.

6 years agoRemove the Gmane backend from nnir
Lars Ingebrigtsen [Wed, 11 Apr 2018 21:52:53 +0000 (23:52 +0200)]
Remove the Gmane backend from nnir

* lisp/gnus/nnir.el (nnir-engines): Remove Gmane backend, which no
longer exists.
(nnir-method-default-engines): Ditto.
(nnir-run-gmane): Removed function (bug#28234).

6 years agoHeed switch-function argument in gnus-user-agent
Basil L. Contovounesios [Wed, 11 Apr 2018 21:21:59 +0000 (23:21 +0200)]
Heed switch-function argument in gnus-user-agent

* lisp/gnus/gnus-msg.el (gnus-msg-mail): Heed switch-action argument
when falling back to message-user-agent because Gnus is not
running (bug#28992).

6 years agoAlways rescale images in gnus-rescale-image
Lars Ingebrigtsen [Wed, 11 Apr 2018 17:31:37 +0000 (19:31 +0200)]
Always rescale images in gnus-rescale-image

* lisp/gnus/gnus-util.el (gnus-rescale-image): Rescale images even
if we don't have a visible article buffer.  Reported and fix
suggested by Kevin Brubeck Unhammer.

6 years agoSome minor Tramp changes
Michael Albinus [Wed, 11 Apr 2018 14:56:57 +0000 (16:56 +0200)]
Some minor Tramp changes

* lisp/net/tramp-sh.el (tramp-get-ls-command-with):
New defun, replacing ...
(tramp-get-ls-command-with-dired)
(tramp-get-ls-command-with-quoting-style)
(tramp-get-ls-command-with-w-option): Removed.
(tramp-do-file-attributes-with-ls)
(tramp-do-directory-files-and-attributes-with-stat)
(tramp-sh-handle-insert-directory): Adapt callees.

* lisp/net/tramp-smb.el (tramp-smb-errors):
Add "NT_STATUS_CONNECTION_RESET".

6 years agoDon't kill off LibreOffice when selecting the next article in Gnus
Lars Ingebrigtsen [Wed, 11 Apr 2018 11:46:48 +0000 (13:46 +0200)]
Don't kill off LibreOffice when selecting the next article in Gnus

* lisp/gnus/mm-decode.el (mm-keep-viewer-alive-types): Add the
media types that LibreOffice uses to the list, since we don't want
to kill off LibreOffice willy-nilly.

6 years agoDoc fix for mm-keep-viewer-alive-types
Lars Ingebrigtsen [Wed, 11 Apr 2018 11:44:15 +0000 (13:44 +0200)]
Doc fix for mm-keep-viewer-alive-types

* lisp/gnus/mm-decode.el (mm-keep-viewer-alive-types): Clarify doc
string.

6 years agoMerge from origin/emacs-26
Glenn Morris [Tue, 10 Apr 2018 14:50:48 +0000 (07:50 -0700)]
Merge from origin/emacs-26

c267421 (tag: emacs-26.1-rc1, origin/emacs-26) ; * ChangeLog.3: Update.
aa77415 * etc/AUTHORS: Regenerate.
c8ffca5 * lisp/files.el (kept-new-versions): Improve documentation st...
3a798f6 Fix a minor mistake in the ELisp manual
6afa868 ; * src/dispextern.h (struct it): Fix a typo in a comment.
5659b2f * lisp/files.el (find-file-literally): Doc fix.
9b24a79 Fix typos in doc strings

6 years ago; Merge from origin/emacs-26
Glenn Morris [Tue, 10 Apr 2018 14:50:48 +0000 (07:50 -0700)]
; Merge from origin/emacs-26

The following commit was skipped:

8dffaea Bump Emacs version to 26.1

6 years agoMerge from origin/emacs-26
Glenn Morris [Tue, 10 Apr 2018 14:50:48 +0000 (07:50 -0700)]
Merge from origin/emacs-26

f674c89 ; * ChangeLog.3: Update.
80d868e * lisp/emacs-lisp/inline.el: Clarify apparent typos
9f54f28 ; * lisp/auth-source.el (auth-sources): Update the :version tag.

6 years ago; Merge from origin/emacs-26
Glenn Morris [Tue, 10 Apr 2018 14:50:48 +0000 (07:50 -0700)]
; Merge from origin/emacs-26

The following commit was skipped:

3573b4e Allow sexp customization type in auth-sources

6 years agomake-dist: check exit statuses more carefully
Paul Eggert [Mon, 9 Apr 2018 20:34:44 +0000 (13:34 -0700)]
make-dist: check exit statuses more carefully

* make-dist: Do a better job checking for subprocess failure.

6 years ago; * ChangeLog.3: Update. emacs-26.1-rc1
Nicolas Petton [Mon, 9 Apr 2018 19:00:56 +0000 (21:00 +0200)]
; * ChangeLog.3: Update.

6 years ago* etc/AUTHORS: Regenerate.
Nicolas Petton [Mon, 9 Apr 2018 19:00:47 +0000 (21:00 +0200)]
* etc/AUTHORS: Regenerate.

6 years ago* lisp/files.el (kept-new-versions): Improve documentation string.
Charles A. Roelli [Mon, 9 Apr 2018 18:26:50 +0000 (20:26 +0200)]
* lisp/files.el (kept-new-versions): Improve documentation string.

6 years agoFix a minor mistake in the ELisp manual
Eli Zaretskii [Mon, 9 Apr 2018 14:53:37 +0000 (17:53 +0300)]
Fix a minor mistake in the ELisp manual

* doc/lispref/files.texi (Reading from Files): Fix copy/paste
mistake.  (Bug#31107)

6 years agoPreserve case in query-replace undo
Tino Calancha [Mon, 9 Apr 2018 02:47:47 +0000 (11:47 +0900)]
Preserve case in query-replace undo

If the user query and replaces 'foo' with 'BAR', then
undo must comeback to 'foo', not to 'FOO' (Bug#31073).
* lisp/replace.el (perform-replace): Bind nocasify to non-nil
value during undo/undo-all actions.
* test/lisp/replace-tests.el (query-replace-undo-bug31073): Add test.

6 years ago* lisp/auth-source.el (auth-source-secrets-search): Fix docstring.
Michael Albinus [Sun, 8 Apr 2018 17:22:45 +0000 (19:22 +0200)]
* lisp/auth-source.el (auth-source-secrets-search): Fix docstring.

6 years agoFix python-shell-send-defun at start of buffer (Bug#30822)
nitishch [Sat, 7 Apr 2018 03:15:03 +0000 (08:45 +0530)]
Fix python-shell-send-defun at start of buffer (Bug#30822)

* lisp/progmodes/python.el (python-shell-send-defun): Handle the case
when we hit the beginning of buffer.

Copyright-paperwork-exempt: yes

6 years agoDocument that 'make-process' mixes the output streams
Philipp Stephani [Wed, 4 Apr 2018 10:14:56 +0000 (12:14 +0200)]
Document that 'make-process' mixes the output streams

* doc/lispref/processes.texi (Asynchronous Processes):
* src/process.c (Fmake_process): Document that standard error is mixed
with standard output if STDERR is nil.

* test/src/process-tests.el (make-process/mix-stderr): New unit test.

6 years ago* lisp/simple.el (undo-auto--undoable-change): Avoid leak
Stefan Monnier [Sat, 7 Apr 2018 15:21:52 +0000 (11:21 -0400)]
* lisp/simple.el (undo-auto--undoable-change): Avoid leak

6 years ago; * src/dispextern.h (struct it): Fix a typo in a comment.
Eli Zaretskii [Sat, 7 Apr 2018 14:24:01 +0000 (17:24 +0300)]
; * src/dispextern.h (struct it): Fix a typo in a comment.

6 years agoFix goto page from page directory (Bug#28909)
Marco Wahl [Wed, 28 Mar 2018 09:04:08 +0000 (11:04 +0200)]
Fix goto page from page directory (Bug#28909)

* lisp/textmodes/page-ext.el (pages-directory-goto): Use the
interactive spec as in `occur-mode-goto-occurrence'.

6 years agoHandle quotation marks and apostrophes in ‘sgml-quote’
Michal Nazarewicz [Sat, 31 Mar 2018 13:16:54 +0000 (14:16 +0100)]
Handle quotation marks and apostrophes in ‘sgml-quote’

To be able to use text in an HTML argument, quotation marks need
to be replaced with an appropriate character reference.  Make
‘sgml-quote’ do that.

While at it, fix entiteis not being unquoted if they lack closing
semicolon (e.g. ‘&amp’) occuring at the very end of a region.
Even though unlikely, make ‘sgml-quote’ handle this scenario.

* lisp/textmodes/sgml-mode.el (sgml-quote): Handle quotation marks and
apostrophes.  Match entities lacking semicolon at the end of regions.
* test/lisp/textmodes/sgml-mode-tests.el (sgml-quote-works): New test
case for ‘sgml-quote’ function.

6 years agoMake dbus.el fitter for Emacs configured --without-dbus
Michael Albinus [Fri, 6 Apr 2018 09:49:21 +0000 (11:49 +0200)]
Make dbus.el fitter for Emacs configured --without-dbus

* lisp/net/dbus.el (dbus-error, dbus-debug): Define if not exist.

* test/lisp/net/secrets-tests.el: Revert 51c8369fa2 and 79a3ad9592.

6 years ago* lisp/files.el (find-file-literally): Doc fix.
Eli Zaretskii [Fri, 6 Apr 2018 06:44:42 +0000 (09:44 +0300)]
* lisp/files.el (find-file-literally): Doc fix.

6 years ago; Spelling fix
Paul Eggert [Fri, 6 Apr 2018 04:38:49 +0000 (21:38 -0700)]
; Spelling fix

6 years agoRequire secrets.el iif Emacs has dbusbind support
Tino Calancha [Fri, 6 Apr 2018 01:05:43 +0000 (10:05 +0900)]
Require secrets.el iif Emacs has dbusbind support

* test/lisp/net/secrets-tests.el: Require secrets.el if
and only if, Emacs has been compiled with dbusbind support.

6 years agoRun secrets suite test when Emacs has dbus support
Tino Calancha [Thu, 5 Apr 2018 23:55:39 +0000 (08:55 +0900)]
Run secrets suite test when Emacs has dbus support

* test/lisp/net/secrets-tests.el (secrets-test00-availability)
(secrets-test01-sessions, secrets-test02-collections)
(secrets-test03-items, secrets-test04-search): Skip test
unless Emacs is compiled with dbus support.

6 years agoFix typos in doc strings
Eli Zaretskii [Thu, 5 Apr 2018 18:38:07 +0000 (21:38 +0300)]
Fix typos in doc strings

* lisp/simple.el (undo-auto--boundary-timer)
(undo-auto--boundary-ensure-timer): Fix typos in doc strings.

6 years agoAdd tests for secrets.el
Michael Albinus [Thu, 5 Apr 2018 15:40:57 +0000 (17:40 +0200)]
Add tests for secrets.el

* lisp/net/secrets.el (secrets-lock-collection): New defun.
(secrets-search-items, secrets-create-item): Fix structure of :dict-entry.

* test/lisp/net/secrets-tests.el: New package.

6 years ago* test/lisp/gnus/message-tests.el (message-all-epg-keys-available-p):
Glenn Morris [Thu, 5 Apr 2018 12:58:20 +0000 (08:58 -0400)]
* test/lisp/gnus/message-tests.el (message-all-epg-keys-available-p):
Add skip condition.

6 years agoBump Emacs version to 26.1
Nicolas Petton [Thu, 5 Apr 2018 09:56:27 +0000 (11:56 +0200)]
Bump Emacs version to 26.1

* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 26.1.

6 years ago; * ChangeLog.3: Update.
Nicolas Petton [Thu, 5 Apr 2018 09:27:04 +0000 (11:27 +0200)]
; * ChangeLog.3: Update.

6 years agoHonor dired-create-destination-dirs if copying/renaming >1 files
Tino Calancha [Thu, 5 Apr 2018 03:15:54 +0000 (12:15 +0900)]
Honor dired-create-destination-dirs if copying/renaming >1 files

Check `dired-create-destination-dirs' when the user wants to
copy/rename several files.
* lisp/dired-aux.el (dired-do-create-files):
Call `dired-maybe-create-dirs' right before bind `into-dir' (Bug#30624).
* test/lisp/dired-aux-tests.el (dired-test-bug30624): Add test.

6 years ago* lisp/emacs-lisp/inline.el: Clarify apparent typos
Stefan Monnier [Thu, 5 Apr 2018 01:15:36 +0000 (21:15 -0400)]
* lisp/emacs-lisp/inline.el: Clarify apparent typos

6 years agoMove password-word-equivalents defn to mule-conf
Paul Eggert [Thu, 5 Apr 2018 00:02:28 +0000 (17:02 -0700)]
Move password-word-equivalents defn to mule-conf

* lisp/international/mule-conf.el (password-word-equivalents):
Move here ...
* lisp/simple.el (password-word-equivalents): ... from here.
This variable belongs in an i18n file somewhere, not in simple.el,
since it’s i18n-related.  Also, having it in simple.el tickles
Emacs performance bugs on some platforms when developers visit
simple.el.  Problem reported by Drew Adams in, for example:
https://lists.gnu.org/r/emacs-devel/2018-04/msg00124.html

6 years ago* lisp/isearch.el (isearch-pre-command-hook): Default to shift-translated
Juri Linkov [Wed, 4 Apr 2018 20:49:45 +0000 (23:49 +0300)]
* lisp/isearch.el (isearch-pre-command-hook): Default to shift-translated

move commands that can be enabled by the `isearch-move' property `enabled',
and disabled by `disabled'.
(search-exit-option): Doc fix.
(isearch-post-command-hook): Check for isearch-forward.
https://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00438.html

6 years ago* lisp/shell.el (shell-mode): Check if buffer has a live process.
Juri Linkov [Wed, 4 Apr 2018 20:43:54 +0000 (23:43 +0300)]
* lisp/shell.el (shell-mode): Check if buffer has a live process.

(Bug#31028)

6 years ago; * lisp/auth-source.el (auth-sources): Update the :version tag.
Eli Zaretskii [Wed, 4 Apr 2018 19:16:09 +0000 (22:16 +0300)]
; * lisp/auth-source.el (auth-sources): Update the :version tag.

6 years agoAllow sexp customization type in auth-sources
Ted Zlatanov [Wed, 4 Apr 2018 18:14:27 +0000 (14:14 -0400)]
Allow sexp customization type in auth-sources

* lisp/auth-source.el (auth-sources): Allow sexp customization type.
Update the :version tag.

(cherry picked from commit 447da5b0d49b7aa14fa5d6969015770fdf9b9f92)

6 years agoDetect if a message can be encrypted and add an MML tag
Damien Cassou [Tue, 27 Mar 2018 14:57:51 +0000 (16:57 +0200)]
Detect if a message can be encrypted and add an MML tag

* lisp/gnus/message.el (message-all-recipients): Return a list of
pairs, one for each recipient in To, Cc, Bcc.
(message-all-epg-keys-available-p): Check that there is a public key
in epg for each recipient of the current message.
(message-sign-encrypt-if-all-keys-available): Add MML tag to sign and
encrypt current message if there is a public key for every recipient
in current message.

* test/lisp/gnus/message-tests.el (message-all-recipients): Test for
message-all-recipients.

6 years ago* lisp/auth-source.el (auth-sources): Allow sexp customization type
Ted Zlatanov [Wed, 4 Apr 2018 18:14:27 +0000 (14:14 -0400)]
* lisp/auth-source.el (auth-sources): Allow sexp customization type

6 years agoImprove GC+Cairo workaround
Paul Eggert [Wed, 4 Apr 2018 17:59:09 +0000 (10:59 -0700)]
Improve GC+Cairo workaround

Suggested by Eli Zaretskii (Bug#20890#31).
* src/font.h (font_data_structures_may_be_ill_formed): New function.
* src/ftfont.c (ftfont_close):
* src/ftcrfont.c (ftcrfont_close): Use it.

6 years agoMerge from origin/emacs-26
Glenn Morris [Wed, 4 Apr 2018 14:50:45 +0000 (07:50 -0700)]
Merge from origin/emacs-26

3109d2b (origin/emacs-26) ; * lisp/ldefs-boot.el: Update.
86825c4 * etc/NEWS: Remove temporary markup.
737d0a2 * Update etc/AUTHORS
fbd03ba * ChangeLog.3: Update
56794ac Fix Bug#31022
a231c33 Update "Calendrical Calculations" cites
1527235 ; * doc/lispref/compile.texi (Compilation Functions): Fix wor...
b07decd ; * doc/lispref/compile.texi (Compilation Functions): Fix typo
a64c11a Fix term.el rendering following a window resize (Bug#30544)
1e6f09a * files.el (auto-save-visited-mode): Don't prompt for filenames.
eb8b13f ; * etc/NEWS: Improve the entry about pinentry.el removal.
52501ec Quote a few backticks in docstrings.

Conflicts:
etc/NEWS
lisp/ldefs-boot.el

6 years ago* etc/NEWS: Mention that output of 'help-for-help' is searchable now
Martin Rudalics [Wed, 4 Apr 2018 06:24:52 +0000 (08:24 +0200)]
* etc/NEWS: Mention that output of 'help-for-help' is searchable now

6 years ago* lisp/vc/emerge.el: Use lexical-binding
Stefan Monnier [Wed, 4 Apr 2018 03:17:30 +0000 (23:17 -0400)]
* lisp/vc/emerge.el: Use lexical-binding

Replace all `(lambda ...) with closures.  Use inhibit-read-only.
(emerge-mode): Use define-minor-mode.
(emerge-setup, emerge-setup-with-ancestor):
Don't use 'run-hooks' on local var.
(emerge-files, emerge-files-with-ancestor):
Don't use 'add-hook' on local var.
(emerge-convert-diffs-to-markers): Remove unused var 'B-point-min'.
Simplify 'offset'.
(emerge--current-beg, emerge--current-end): New macros.
(emerge-select-version): Pass 'diff-vector' to the function it calls.
Change all callers to use it instead of dyn-bound vars.

6 years agoPacify GCC when --enable-profiling
Paul Eggert [Wed, 4 Apr 2018 00:30:48 +0000 (17:30 -0700)]
Pacify GCC when --enable-profiling

* src/conf_post.h (PROFILING): Undef if not on a platform that
supports it.  Simplify uses accordingly.
* src/emacs.c (etext) [PROFILING]:
Declare at top level to avoid GCC warning.

6 years ago; * lisp/ldefs-boot.el: Update.
Nicolas Petton [Tue, 3 Apr 2018 20:46:40 +0000 (22:46 +0200)]
; * lisp/ldefs-boot.el: Update.

6 years ago* etc/NEWS: Remove temporary markup.
Nicolas Petton [Tue, 3 Apr 2018 20:33:13 +0000 (22:33 +0200)]
* etc/NEWS: Remove temporary markup.

6 years ago; * src/ftfont.c (ftfont_spec_pattern): Fix whitespace.
Eli Zaretskii [Tue, 3 Apr 2018 16:59:40 +0000 (19:59 +0300)]
; * src/ftfont.c (ftfont_spec_pattern): Fix whitespace.

6 years agoPut combine-change-calls around comment-region and uncomment-region
Alan Mackenzie [Tue, 3 Apr 2018 16:37:39 +0000 (16:37 +0000)]
Put combine-change-calls around comment-region and uncomment-region

* lisp/newcomment.el (comment-combine-change-calls): New buffer local
variable.
(uncomment-region-default-1, comment-region-default-1): Functions renamed from
uncomment-region-default and comment-region-default.
(uncomment-region-default, comment-region-default): New functions, which call
the above either enclosed in combine-change-calls or not.

6 years agoIntroduce new macro combine-change-calls
Alan Mackenzie [Tue, 3 Apr 2018 16:16:49 +0000 (16:16 +0000)]
Introduce new macro combine-change-calls

This macro is a bit like combine-after-change-calls, but also works with a
non-null before-change-functions.  It suppresses the operation of the change
hooks on a possibly large sequence of buffer modifications, replacing them
with a single invocation of before-change-functions at the start, and a single
invocation of after-change-functions at the end.

* lisp/subr.el (undo--combining-change-calls): New variable.
(combine-change-calls-1, undo--wrap-and-run-primitive-undo): New functions.
(combine-change-calls): New macro.

* doc/lispref/text.texi (Change Hooks): Document combine-change-calls.

* etc/NEWS: Add an entry under "Lisp Changes" for combine-change-calls.

6 years agoWork around GC+Cairo bug
Paul Eggert [Tue, 3 Apr 2018 15:24:10 +0000 (08:24 -0700)]
Work around GC+Cairo bug

Workaround suggested by Robert Pluim (Bug#20890#13).
* src/ftfont.c (ftfont_close) [USE_CAIRO]:
Do nothing if GC is in progress.

6 years agoPort FC_COLOR change to older fontconfig
Paul Eggert [Tue, 3 Apr 2018 15:12:41 +0000 (08:12 -0700)]
Port FC_COLOR change to older fontconfig

Problem reported by John ff in:
https://lists.gnu.org/r/emacs-devel/2018-04/msg00058.html
* src/ftfont.c (ftfont_spec_pattern) [!FC_COLOR]:
Don’t use FC_COLOR on older fontconfigs that don’t have it.

6 years ago* Update etc/AUTHORS
Nicolas Petton [Tue, 3 Apr 2018 13:00:12 +0000 (15:00 +0200)]
* Update etc/AUTHORS

6 years agoIgnore color fonts when using Xft
Robert Pluim [Tue, 3 Apr 2018 09:06:01 +0000 (11:06 +0200)]
Ignore color fonts when using Xft

* src/font.c (syms_of_font): New configuration variable
xft-ignore-color-fonts, default t.
* src/ftfont.c (ftfont_spec_pattern): Tell fontconfig to ignore
color fonts if xft-ignore-color-fonts is t.  (Bug#30874, Bug#30045)
* etc/NEWS: Document xft-ignore-color-fonts.

6 years ago* ChangeLog.3: Update
Nicolas Petton [Tue, 3 Apr 2018 12:31:27 +0000 (14:31 +0200)]
* ChangeLog.3: Update

6 years agoDocument custom-variable-history
Eli Zaretskii [Tue, 3 Apr 2018 11:30:54 +0000 (14:30 +0300)]
Document custom-variable-history

* etc/NEWS:
* doc/lispref/minibuf.texi (Minibuffer History): Document
'custom-variable-history'.

6 years agoFix Bug#31022
Michael Albinus [Tue, 3 Apr 2018 07:51:01 +0000 (09:51 +0200)]
Fix Bug#31022

* lisp/cus-start.el (temporary-file-directory): Suppress file name
handlers when calling `shell-command-to-string'.  (Bug#31022)

6 years agoUpdate "Calendrical Calculations" cites
Paul Eggert [Tue, 3 Apr 2018 05:42:26 +0000 (22:42 -0700)]
Update "Calendrical Calculations" cites

* lisp/calendar/calendar.el: Update citations to the book
"Calendrical Calculations" and its predecessors.

6 years ago* lisp/progmodes/cc-{defs,engine,langs,vars}.el: Comment the use of "a\\`"
Alan Mackenzie [Mon, 2 Apr 2018 19:53:41 +0000 (19:53 +0000)]
* lisp/progmodes/cc-{defs,engine,langs,vars}.el: Comment the use of "a\\`"

6 years agoClarify eq on floats
Paul Eggert [Mon, 2 Apr 2018 19:19:00 +0000 (12:19 -0700)]
Clarify eq on floats

* doc/lispref/objects.texi (Equality Predicates):
Say that two floats with the same values might or might not be eq.

6 years ago; * doc/lispref/compile.texi (Compilation Functions): Fix wording.
Eli Zaretskii [Mon, 2 Apr 2018 17:25:52 +0000 (20:25 +0300)]
; * doc/lispref/compile.texi (Compilation Functions): Fix wording.

6 years agoFix Testcover bug in handling of vectors containing dotted lists
Gemini Lasswell [Mon, 2 Apr 2018 16:34:31 +0000 (09:34 -0700)]
Fix Testcover bug in handling of vectors containing dotted lists

* lisp/emacs-lisp/testcover.el (testcover-analyze-coverage-compose):
Handle dotted lists. Fix bug#30909.
* test/lisp/emacs-lisp/testcover-resources/testcases.el:
(dotted-list-in-vector-bug-30909): New test case.
(quotes-within-backquotes-bug-25316, dotted-backquote)
(quoted-backquote, backquoted-vector-bug-25316)
(vector-in-macro-spec-bug, backquoted-dotted-alist): Change
docstrings to mention analyzing code instead of reinstrumenting
it.

6 years ago; * doc/lispref/compile.texi (Compilation Functions): Fix typo
Tino Calancha [Mon, 2 Apr 2018 15:43:25 +0000 (00:43 +0900)]
; * doc/lispref/compile.texi (Compilation Functions): Fix typo