1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-27 19:31:38 +00:00
Commit Graph

133653 Commits

Author SHA1 Message Date
Lars Ingebrigtsen
c6de1f1592 Fix typo in sha1-intermediate check
* lisp/net/nsm.el (nsm-protocol-check--intermediate-sha1): Allow
storing the exception with a correct name.
2018-07-08 16:14:06 +02:00
Lars Ingebrigtsen
3302b7cd7f Mention the NSM in the gnutls variable doc strings
* gnutls.el (gnutls-algorithm-priority): Mention the Network
Security Manager here since this variable is an obvious place
for people concerned about network security to look.
(gnutls-verify-error): Ditto.
(gnutls-min-prime-bits): Ditto.
2018-07-08 15:59:27 +02:00
Lars Ingebrigtsen
1dc4d09093 Document network-security-protocol-checks better
* doc/emacs/misc.texi (Network Security): Rearrange the
network-security-protocol-checks documentation and try to explain
more what this all means and what checks are triggered.
2018-07-08 13:40:37 +02:00
Lars Ingebrigtsen
f9649f0e14 NSM-related doc fixes
* src/gnutls.c (Fgnutls_peer_status): Mention :certificates in the
doc string.

* etc/NEWS: Mention how to switch off the additional TLS checks.
2018-07-08 13:30:08 +02:00
Michael Albinus
40c2ce743b Remove test code from last commit 2018-07-08 13:08:05 +02:00
Michael Albinus
e02d8e29c6 Fix Bug#32084
* test/lisp/net/dbus-tests.el (dbus-test02-register-service-own-bus):
Unset $DISPLAY when calling dbus-launch, in order to avoid
possible X11 authentication errors.  (Bug#32084)
2018-07-08 13:02:19 +02:00
Basil L. Contovounesios
da5d6dbe39 Fix (length NON-SEQUENCE) documentation
Suggested by Eli Zaretskii <eliz@gnu.org> in the following threads:
https://lists.gnu.org/archive/html/emacs-devel/2018-07/msg00171.html
https://lists.gnu.org/archive/html/emacs-devel/2018-07/msg00206.html

* doc/lispref/sequences.texi (Sequence Functions): Mention that
'length' signals a 'wrong-type-argument' also when given a
non-sequencep argument.
2018-07-07 20:05:42 +03:00
Glenn Morris
98463bed07 * lisp/imenu.el: Require cl-lib, not internal components of same. 2018-07-07 09:59:53 -07:00
Glenn Morris
e8c8b5923a * admin/make-tarball.txt, admin/release-process: Refcard tweaks. 2018-07-07 12:34:16 -04:00
Glenn Morris
d3e0fdc24f Merge from origin/emacs-26
a427de9 (origin/emacs-26) Fix bug #11732
3a04e15 Improve documentation of 'emacs-lock-mode'
9d6ca5a * lisp/imenu.el (imenu-generic-expression): Doc fix.  (Bug#32...
fdd7e7d Improve indexing of 'eval-defun' in ELisp manual
10af989 Fix (length CIRCULAR) documentation
271d1f7 Tramp editorials
4abf94f Clarify and improve doc strings of 'eval-last-sexp' and friends
6cfc7a7 Automate upload of Emacs manuals to gnu.org
b73cde5 Fix MH-E mail composition with GNU Mailutils (SF#485)
0dce5e5 Speed up 'replace-buffer-contents' some more
00fdce0 * doc/emacs/docstyle.texi: Avoid messing up the html output.

Conflicts:
	admin/make-tarball.txt
2018-07-07 09:27:44 -07:00
Drew Adams
77166e0da2 Fix 2 minor bugs in 'imenu--generic-function'
* lisp/imenu.el (imenu--generic-function): Move point to START
before checking whether the current item is inside a comment
or a string.  Remove any empty menus that could have been
added before returning.  (Bug#32024)
2018-07-07 19:20:45 +03:00
Eli Zaretskii
a427de9c86 Fix bug #11732
* src/w32fns.c (w32_wnd_proc): Fix handling of Windows input
methods.  (Bug#11732)
2018-07-07 14:30:00 +03:00
Eli Zaretskii
3a04e151af Improve documentation of 'emacs-lock-mode'
* lisp/emacs-lock.el (emacs-lock-mode): Mention in the doc string
the special handling of some major modes due to
'emacs-lock-unlockable-modes'.
2018-07-07 12:50:22 +03:00
Eli Zaretskii
9d6ca5ad4d * lisp/imenu.el (imenu-generic-expression): Doc fix. (Bug#32016) 2018-07-07 12:34:26 +03:00
John Shahid
ea2f96837d Keep interactive uses of 'recenter' backward compatible (Bug#31325)
* window.c (Frecenter): Change the interactive spec to always pass
a non-nil value to the REDISPLAY argument when called interactively.
* window.el (recenter-top-bottom): Make sure 'recenter's second
argument is non-nil everywhere.
* windows.texi (Textual Scrolling): Update documentation of
'recenter'.
2018-07-07 12:07:47 +03:00
Eli Zaretskii
42c0b8f3f2 Documentation followup for bug#32029
* etc/NEWS: Mention 'xref-find-definitions-at-mouse'

* doc/emacs/maintaining.texi (Looking Up Identifiers):
Document 'xref-find-definitions-at-mouse'.
2018-07-07 12:01:08 +03:00
Tobias Gerdin
455a236d41 New function 'xref-find-definitions-at-mouse'
* lisp/progmodes/xref.el (xref-find-definitions-at-mouse): New
function.  (Bug32029)

Copyright-paperwork-exempt: yes
2018-07-07 11:59:56 +03:00
Eli Zaretskii
fdd7e7d8a8 Improve indexing of 'eval-defun' in ELisp manual
* doc/lispref/display.texi (Defining Faces):
* doc/lispref/debugging.texi (Explicit Debug):
* doc/lispref/customize.texi (Variable Definitions):
* doc/lispref/variables.texi (Defining Variables): Add index
entries for 'eval-defun'.  (Bug#32066)
2018-07-07 11:37:43 +03:00
Eli Zaretskii
c73cf3548e Fix recent change in window.c
* src/window.c (scroll_command): Fix minor inefficiency in
last change: don't call Fset_buffer if the buffer is already set to be
what we want.  (Bug#31988)
2018-07-07 10:45:45 +03:00
Paul Eggert
130310893a Update from gnulib
This incorporates:
2018-07-04 gnulib-tool: minor tweaks for --gnu-make
* build-aux/config.guess, build-aux/config.sub: Copy from Gnulib.
* lib/gnulib.mk.in: Regenerate.
2018-07-06 23:18:22 -07:00
Basil L. Contovounesios
6c60c4e2ff Fix scrolling
* src/window.c (scroll_command): Fix scrolling.
2018-07-06 16:23:21 -07:00
Paul Eggert
10af989024 Fix (length CIRCULAR) documentation
* doc/lispref/sequences.texi (Sequence Functions):
Correct documentation of what (length X) does when
X is a circular list.
2018-07-06 11:00:22 -07:00
Michael Albinus
271d1f778e Tramp editorials
* doc/misc/tramp.texi (Android shell setup): Mention Termux.

* lisp/net/tramp-sh.el (tramp-remote-process-environment):
Use proper spelling "Tramp" in docstring.
2018-07-06 14:03:42 +02:00
Eli Zaretskii
4abf94fa3b Clarify and improve doc strings of 'eval-last-sexp' and friends
* lisp/simple.el (eval-expression, eval-expression-print-format):
* lisp/progmodes/elisp-mode.el (eval-last-sexp): Doc fixes.
(Bug#32064)
2018-07-06 12:31:51 +03:00
Glenn Morris
6cfc7a7b1b Automate upload of Emacs manuals to gnu.org
* admin/make-manuals, admin/upload-manuals: New scripts.
* admin/admin.el (make-manuals, make-manuals-dist): Handle batch mode.
* admin/make-tarball.txt: Update web-page details.
2018-07-05 21:50:18 -07:00
Mike Kupfer
b73cde5e28 Fix MH-E mail composition with GNU Mailutils (SF#485)
* lisp/mh-e/mh-comp.el (mh-bare-components): Recursively delete
the temporary folder.
2018-07-04 15:43:04 -07:00
Michael Albinus
3bbd4ffc68 * lisp/shell.el (shell-completion-vars):
Set `comint-file-name-prefix' to "" for local default directory.
2018-07-04 09:04:55 +02:00
Paul Eggert
0bb7dfc39c Adjust to Gnulib change with -Wswitch-default
* configure.ac: Simplify by not bothering to omit
-Wswitch-default, as Gnulib no longer enables it by default.
2018-07-03 23:51:32 -07:00
Paul Eggert
891536aaad Update from Gnulib
This incorporates:
2018-07-01 getloadavg: don't redefine WINDOWS32
2018-07-01 manywarnings: omit -Wswitch-default
* build-aux/config.sub, lib/getloadavg.c, m4/manywarnings.m4:
Copy from Gnulib.
2018-07-03 23:51:31 -07:00
Tom Tromey
38ea8e147a Fix Tcl indentation in a namespace
Fixes bug#32035
* lisp/progmodes/tcl.el (tcl-proc-list): Add "namespace".
* test/lisp/progmodes/tcl-tests.el (tcl-mode-namespace-indent): New
test.
2018-07-03 22:13:27 -06:00
Stefan Monnier
f9f0c99384 * lisp/mail/sendmail.el: Use lexical-binding
(mail-recover-1): Declare dired-trivial-filenames.
2018-07-03 18:16:52 -04:00
Eli Zaretskii
0dce5e5920 Speed up 'replace-buffer-contents' some more
* src/editfns.c (EXTRA_CONTEXT_FIELDS): New members beg_a and beg_b.
(Freplace_buffer_contents): Set up ctx.beg_a and ctx.beg_b.
(buffer_chars_equal): Use ctx->beg_a and ctx->beg_b instead of
calling BUF_BEGV, which is expensive.  This speeds up the recipe
in bug#31888 by 30%.
2018-07-03 22:16:20 +03:00
Paul Eggert
9d274c3e1c Fix typo in --with-x-toolkit=no code
* src/xmenu.c (pop_down_menu) [!USE_X_TOOLKIT && !USE_GTK]:
Fix type typo introduced by 2018-06-14T22:59:08!eggert@cs.ucla.edu.
2018-07-03 11:55:01 -07:00
João Távora
4ee502ca9d Adjust previous jsonrpc change
(nth 2) is probably a better alternative to caddr, and in Emacs 26.1
we can pass 0 as :service to automatically find an available port.

* lisp/jsonrpc.el (jsonrpc--call-deferred): Use cl-caddr.

* test/lisp/jsonrpc-tests.el
(jsonrpc--call-with-emacsrpc-fixture): Pass 0 as :service to when
making the listen server.
2018-07-03 08:21:56 +01:00
Glenn Morris
00fdce071c * doc/emacs/docstyle.texi: Avoid messing up the html output.
Previously the @hyphenation commands somehow caused the <head>
section to go missing, with makeinfo 4.13 at least.
2018-07-02 22:37:22 -07:00
Glenn Morris
40db29fc55 * lisp/mail/sendmail.el (mail-from-style):
Improve obsolescence message.
2018-07-02 22:07:08 -07:00
Glenn Morris
c4a93e4892 ; Merge from origin/emacs-26
The following commit was skipped:

8c70142 (origin/emacs-26) ; Auto-commit of loaddefs files.
2018-07-02 19:19:26 -07:00
Glenn Morris
02f2f336af Merge from origin/emacs-26
fc5cae7 ; Fix ChangeLog typo.
e17a5e5 ; make change-history-commit
f205928 * etc/HISTORY: Cite Brinkoff on early history.
4e58ca8 Document internal use of 'above-suspended' z-group frame para...
4bd43b0 Increase max-lisp-eval-depth adjustment while in debugger (bu...
ab98352 Improve on last change in replace-buffer-contents
2f149c0 Fix a factual error in Introduction to Emacs Lisp
8ad50a3 ; * lisp/files.el (buffer-offer-save): Doc fix.  (Bug#32000)
c80f31f Minor improvements in documentation of imenu.el
8ebb683 Avoid errors with recentering in 'skeleton-insert'
e980a3c * src/lisp.h: Omit obsolete comment re bytecode stack.
eec71eb Speed up replace-buffer-contents
93c41ce Remove extra process call from vc-git-find-file-hook
7ea0873 ; Update some commentary
4a7f423 Speed up vc-git-dir-status-files
9134c84 Avoid compiler warning using coding.h

Conflicts:
	src/editfns.c
2018-07-02 19:19:26 -07:00
Glenn Morris
bc0e36df8d ; Merge from origin/emacs-26
The following commit was skipped:

1f50379 Sync with Tramp 2.3.4.  Do not merge with master
2018-07-02 19:19:05 -07:00
Glenn Morris
98e98b42a0 Merge from origin/emacs-26
d008ef3 * src/xdisp.c (Vmouse_autoselect_window): Clarify doc-string ...
6f6d525 Detect a non-list package archive content properly (Bug#22311)
2018-07-02 19:19:05 -07:00
Glenn Morris
8c70142ea3 ; Auto-commit of loaddefs files. 2018-07-02 20:45:00 -04:00
João Távora
332f4656b0 Make lisp/jsonrpc.el work with Emacs 25.1
* jsonrpc.el (Package-Requires): Require Emacs 25.1
(jsonrpc-lambda): Use cl-gensym.
(jsonrpc--call-deferred): Caddr doesn't exist in
emacs 25.1.

* jsonrpc-tests.el
(jsonrpc--call-with-emacsrpc-fixture): New function.
(jsonrpc--with-emacsrpc-fixture): Use it.
(deferred-action-complex-tests): Adjust test for Emacs 25.1
2018-07-02 17:30:35 +01:00
John Shahid
ee3e432300 Optionally add argument description in minor mode DOC (bug#10754)
Add a paragraph to minor mode's docstring documenting the mode's ARG
usage if the supplied docstring doesn't already contain the word "ARG".

* easy-mmode.el (easy-mmode--arg-docstring): New const.
(easy-mmode--arg-docstring): New function.
(define-minor-mode): Use them.

Remove argument documentation from all minor modes.
2018-07-01 23:34:53 -04:00
Eli Zaretskii
fd5bf49139 Fix last change
* src/w32console.c (Fset_screen_color): Call Frecenter with 2
arguments.  (Bug#31325)

* etc/NEWS:
* doc/lispref/windows.texi (Textual Scrolling): Clarify the
role of the second argument to 'recenter'.
2018-07-01 19:19:51 +03:00
John Shahid
260768a64b Add a new argument to 'recenter' to allow finer control of redisplay
* window.c (recenter): Add a new REDISPLAY argument to allow the
caller to control the redisplay behavior.  'recenter' will only
redisplay the frame if this new arg and 'recenter-redisplay' are
both non-nil.
(recenter-top-bottom): Pass an extra non-nil argument to
'recenter' to force a redisplay.  (Bug#31325)
2018-07-01 19:05:37 +03:00
Paul Eggert
fc5cae731c ; Fix ChangeLog typo. 2018-07-01 08:36:57 -07:00
Paul Eggert
e17a5e58b7 ; make change-history-commit 2018-07-01 08:36:57 -07:00
Paul Eggert
f205928d1f * etc/HISTORY: Cite Brinkoff on early history. 2018-07-01 08:25:46 -07:00
Glenn Morris
7edc019651 ; Auto-commit of loaddefs files. 2018-07-01 07:27:20 -04:00
Michael Albinus
8b6812fd90 Minor change in tramp-tests.el
* test/lisp/net/tramp-tests.el (tramp-test03-file-name-host-rules):
Cleanup before running the test.
2018-07-01 11:58:55 +02:00