1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-12 09:51:05 -07:00
Commit graph

149293 commits

Author SHA1 Message Date
Michael Albinus
da4840af12 Adapt reminder-for-release-blocking-bugs
* admin/admin.el (reminder-for-release-blocking-bugs):
Require `debbugs-gnu' also in `interactive' form.

* admin/release-process: Rename RELEASE-CRITICAL to RELEASE-BLOCKING.
Adapt Emacs version.  Describe `reminder-for-release-blocking-bugs'.
2020-08-27 11:46:20 +02:00
Stefan Kangas
f40260f121 Only show flyspell welcome message interactively
* lisp/textmodes/flyspell.el (flyspell-mode): Only show welcome
message when called interactively.  (Bug#43065)
2020-08-27 11:38:47 +02:00
Stefan Kangas
2fd9860481 Add ASTEC-X issue to PROBLEMS
* etc/PROBLEMS: Mention problem with multiple monitors on proprietary
X Server ASTEC-X.  (Bug#36779)
2020-08-27 11:32:09 +02:00
Stefan Kangas
4766006d3c Fix flyspell welcome message
* lisp/textmodes/flyspell.el (flyspell-mode, flyspell-mode-on):
Fix showing welcome message when `flyspell-issue-welcome-flag' and
`flyspell-issue-message-flag' are both non-nil.  (Bug#43065)
2020-08-27 11:12:52 +02:00
Dmitry Gutov
36b3abc672 ; Add the necessary argument (bug#42967) 2020-08-27 11:33:52 +03:00
Andrew G Cohen
90ce042154 Allow a function for the :secret in a plstore
* lisp/auth-source.el (auth-source-plstore-search): If the :secret
value is a function, call it on plist to obtain the real password.
2020-08-27 13:14:26 +08:00
Stefan Kangas
f8082a5cca ; * lisp/textmodes/flyspell.el (flyspell-mode-on): Fix typo. 2020-08-27 06:58:53 +02:00
Stefan Kangas
15f6c07f15 Refer to correct mouse button in flyspell message
* lisp/textmodes/flyspell.el (make-flyspell-overlay)
(flyspell-mode-on): Refer to mouse-3 in help messages when the
variable 'flyspell-use-mouse-3-for-menu' is non-nil.  (Bug#11680)
2020-08-27 06:51:47 +02:00
Stefan Kangas
587a60cc0f Signal error on Hunspell installation problem
* lisp/textmodes/ispell.el (ispell-find-hunspell-dictionaries):
Signal user-error when Hunspell warns that it "Can't open affix or
dictionary files", and propagate this message.  (Bug#25825)
2020-08-27 06:13:46 +02:00
Stefan Kangas
e24a93d100 ; Fix license statements. 2020-08-27 02:53:25 +02:00
Stefan Kangas
a6539d81da ; * lisp/info.el (Info-complete-menu-item): Fix wording of comment. 2020-08-27 02:36:37 +02:00
Protesilaos Stavrou
c1b0515952 Add themes modus-operandi and modus-vivendi
* etc/themes/modus-operandi-theme.el:
* etc/themes/modus-vivendi-theme.el: New themes.  (Bug#43019)
2020-08-27 01:37:41 +02:00
Stefan Kangas
5a1785d58a Sort Info index completions alphabetically
* lisp/info.el (Info-complete-menu-item): Sort the list of completions
alphabetically using 'nreverse'.  This makes no difference for Emacs
but helps third-party completion frameworks such as Ivy.  (Bug#38614)

Suggested by Howard Melman <hmelman@gmail.com>.
2020-08-27 01:11:58 +02:00
Dmitry Gutov
1a167f5a7a ; Bump xref version 2020-08-27 00:56:16 +03:00
Dmitry Gutov
c601211e0d Unbreak dired-do-find-regexp in Emacs 26
* lisp/progmodes/xref.el (xref--show-xrefs):
Support the old convention (bug#42967).
2020-08-27 00:56:16 +03:00
Dmitry Gutov
7f6dba00ed Unbreak xref-goto-xref in Emacs 26
* lisp/progmodes/xref.el (xref-goto-xref):
Call next-error-found only if it's defined (bug#42981).
2020-08-27 00:56:16 +03:00
Paul Eggert
14fb657ba8 Fix expand-file-name symlink-to-dir bug
Problem reported by Yegor Timoshenko (Bug#26911),
and I ran into it myself recently in normal-top-level.
* doc/lispref/files.texi (File Name Expansion), etc/NEWS: Mention this.
* src/fileio.c (Fexpand_file_name): Expand "/a/b/." to "/a/b/" not
"/a/b", to avoid misinterpreting a symlink "/a/b".  Similarly,
expand "/a/b/c/.." to "/a/b/" not "/a/b".
* test/lisp/net/tramp-tests.el (tramp-test05-expand-file-name):
Adjust to match new behavior.
(tramp-test05-expand-file-name-relative): This test now succeeds,
at least on Fedora 31.
* test/src/fileio-tests.el:
(fileio-tests--expand-file-name-trailing-slash)	New test.
2020-08-26 13:27:56 -07:00
Paul Eggert
ff864be694 Fix PWD startup checking with symlinks
* lisp/startup.el (normal-top-level): Do not put "." after "/";
it’s not needed and with current file-name-as-directory it does
the wrong thing if PWD is a symlink.
2020-08-26 13:27:56 -07:00
Paul Eggert
dfeb059312 * lisp/files.el (insert-directory): Simplify (if ... X X) to X. 2020-08-26 13:27:56 -07:00
Andrea Corallo
aa526c9470 Merge branch 'add_driver_option' into HEAD 2020-08-26 21:40:00 +02:00
Andrea Corallo
51acfeef6a * Init gcc_jit_context_add_driver_option as optional
* src/comp.c (init_gccjit_functions): Use LOAD_DLL_FN_OPT to init
	'gcc_jit_context_add_driver_option' as this is optional.
2020-08-26 21:25:45 +02:00
Andrea Corallo
63f041c0a4 * Rename comp-native-driver-options-available-p
* src/comp.c (Fcomp_native_driver_options_effective_p)
	Rename plus better doc.
	(add_driver_options, syms_of_comp): Rename
	`comp-native-driver-options-available-p' into
	comp-native-driver-options-effective-p.
2020-08-26 21:25:45 +02:00
Andrea Corallo
f8321f07ce * src/comp.c (add_driver_options): Fix missing condition + clean-up pragma 2020-08-26 21:25:45 +02:00
Andreas Fuchs
c17013ae76 * Add 'comp-native-driver-options-available-p'
* src/comp.c (comp-native-driver-options-available-p): New
  function that returns t if driver options can be used.
2020-08-26 21:25:45 +02:00
Andrea Corallo
1f105d5554 * Improve 'add_driver_options'
* src/comp.c (add_driver_options): Use
	load_gccjit_if_necessary and FOR_EACH_TAIL + GNU style.
2020-08-26 21:25:45 +02:00
Andreas Fuchs
c00aedb4a5 Fix windows NT handling for [...]_add_driver_options
* Instead of conditionalizing on the wrong preprocessor flag, now use
  the right one: LIBGCCJIT_HAVE_gcc_jit_context_add_driver_option

* Also perform the driver-option-adding step on win NT, but only if
  the function is non-NULL.

* Make the function declaration for add_driver_options non-old-style.
2020-08-26 21:25:45 +02:00
Andreas Fuchs
2772e835b6 Set native driver options in async compiles, also
Ensure the variable is set to the value that was customized in the
parent process in child compilation processes, also.
2020-08-26 21:25:45 +02:00
Stefan Kangas
6a5f970084 Sync latest SKK-JISYO.L
* leim/SKK-DIC/SKK-JISYO.L: Sync to current upstream version.
2020-08-26 17:27:52 +02:00
leo
3345dc8e15 Allow disabling double buffering at build time
* configure.ac: Allow disabling double buffering (bug#32032).

Copyright-paperwork-exempt: yes
2020-08-26 15:03:08 +02:00
Robert Pluim
fca0d6e875 Allow directories to be called .el in -add-subdirs-to-load-path
* lisp/startup.el (normal-top-level-add-subdirs-to-load-path):
Allow the directories to be called "<foo>.el" (bug#32266).
2020-08-26 14:47:22 +02:00
Glenn Morris
f68a8869d1 Fix doc-view problem with file names with spaces in them
* lisp/doc-view.el (doc-view-get-bounding-box): Don't bug out on
file names with spaces in them (bug#33344).
2020-08-26 14:37:13 +02:00
Lars Ingebrigtsen
be7af20e73 Use format-prompt a couple of places
* lisp/ps-print.el (ps-print-preprint):
* lisp/help-fns.el (describe-function): Use `format-prompt'
(bug#12443).
2020-08-26 14:08:21 +02:00
Lars Ingebrigtsen
0985c0e6c6 Implement a way to customize "default" values
* doc/lispref/minibuf.texi (Text from Minibuffer): Document them.

* lisp/minibuffer.el (format-prompt): New function (bug#12443).
(minibuffer-default-prompt-format): New variable.
2020-08-26 14:07:25 +02:00
Lars Ingebrigtsen
a4d57add69 Make the epa key display slightly more informative
* lisp/epa.el (epa--button-key-text): Say what the validity
characters output by GPG mean (bug#34726).
2020-08-26 13:23:00 +02:00
Štěpán Němec
e48c60e7c9 Document ispell comment/string checking commands in the user manual
* doc/emacs/fixit.texi (Spelling): Mention
'ispell-comments-and-strings' and 'ispell-comment-or-string-at-point'.
(bug#6411)
2020-08-26 13:19:46 +02:00
Štěpán Němec
2aefd55904 ispell: Commands to check comments or strings at point or in region
* lisp/textmodes/ispell.el (ispell-comments-and-strings): Accept START
and END arguments, defaulting to active region in interactive calls.
(ispell-comment-or-string-at-point): New command. (bug#6411)
2020-08-26 13:19:46 +02:00
Eli Zaretskii
32f4fa80b5 ; * doc/lispref/backups.texi (Auto-Saving): Fix wording of last change. 2020-08-26 13:46:56 +03:00
Noam Postavsky
7e809b9ef7 Don't recommend redefining auto-save filename functions
* doc/lispref/backups.texi (Auto-Saving): Document
auto-save-file-name-transforms.
* lisp/files.el (make-auto-save-file-name)
(auto-save-file-name-p): Remove suggestion to redefine for
customization (bug#34911).
2020-08-26 12:37:24 +02:00
Phil Sainty
fa3959f5cb term.el: Use correct exit status in suggested dir-tracking functions
* lisp/term.el: Make some of the examples better (bug#43055).
2020-08-26 12:03:32 +02:00
Brian Leung
6d84853de8 eshell: Remove unnecessary check in em-hist
* lisp/eshell/em-hist.el
(eshell-previous-matching-input-string-position): Both before and
within the while loop, n is always smaller than n (bug#43056).

Copyright-paperwork-exempt: yes
2020-08-26 12:01:14 +02:00
Lars Ingebrigtsen
99fe2a2643 Remove side-effect-free markup for assoc-default
* lisp/subr.el (assoc-default): assoc-default isn't
side-effect-free, because it takes a :test parameter that can do
anything (bug#37943).
2020-08-26 11:28:18 +02:00
Mattias Engdegård
1926fe6527 Fix lexical misunderstandings in gnus-icalendar-tests.el (bug#39782)
* test/lisp/gnus/gnus-icalendar-tests.el:
(icalendar-tests--get-ical-event): Remove unused function accidentally
copy-pasted from icalendar-tests.el.
(gnus-icalendar-parse, gnus-icalendary-byday):
Remove unintended initial newlines.
Duplicate comma-escaping backslashes so that they have intended
effects, conforming to RFC 5545.
Remove ineffective comma-escaping backslashes where not intended.
2020-08-26 10:48:44 +02:00
Paul Eggert
e823709d17 regex-emacs: copy less when reallocating
* src/regex-emacs.c (GROW_FAIL_STACK): Copy just the
occupied stack slots, as the rest are garbage.
2020-08-26 00:20:31 -07:00
Paul Eggert
bd5771ff27 regex-emacs: fix leak on memory allocation failure
* src/regex-emacs.c (ENSURE_FAIL_STACK): If the failure
stack cannot be grown, free locally-allocated storage
before returning.
2020-08-26 00:20:31 -07:00
Paul Eggert
4c0a9754ac regex-emacs: subscript-check register numbers
* src/regex-emacs.c (PUSH_FAILURE_REG, POP_FAILURE_REG_OR_COUNT)
(re_match_2_internal): Add some easserts for subscript checking.
2020-08-26 00:20:31 -07:00
Paul Eggert
82c089f532 regex-emacs: omit regstart tests and regend set
* src/regex-emacs.c (PUSH_FAILURE_REG, POP_FAILURE_REG_OR_COUNT)
(re_match_2_internal): Add some assertions that regstart
is set whenever regend is.
(re_match_2_internal): Omit two unnecessary REG_UNSET (regstart ...)s
and one unnecessary assignment to regend.
2020-08-26 00:20:31 -07:00
Paul Eggert
768bea30cb regex-emacs omit allocation of 3 slots
* src/regex-emacs.c (re_match_2_internal): Avoid
unnecessary allocation of REGEND[0], BEST_REGSTART[0],
BEST_REGEND[0].
2020-08-26 00:20:31 -07:00
Paul Eggert
438975bbaa regex-emacs omit POS runtime check
* src/regex-emacs.c (re_match_2_internal): Replace unnecessary
runtime check of POS with some eassumes.
2020-08-26 00:20:30 -07:00
Paul Eggert
b64d04c3d6 Fix gpg2-related test failures on RHEL 7.8
* test/lisp/gnus/mml-sec-tests.el (test-conf)
(mml-secure-en-decrypt-passphrase-no-cache-openpgp-todo)
(mml-secure-run-tests-with-gpg2):
Use epg-find-configuration instead of the obsolescent
epg-configuration.  This fixes test failures on RHEL 7.8,
where ‘gpg’ and ‘gpg2’ are both 2.0.22.
2020-08-25 18:33:48 -07:00
Paul Eggert
ea382a289d mml-secure-en-decrypt-sign-1-2-double is unstable
* test/lisp/gnus/mml-sec-tests.el:
(mml-secure-en-decrypt-sign-1-2-double): Mark this as unstable.
2020-08-25 18:03:16 -07:00