1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 02:10:46 -08:00
Commit graph

140189 commits

Author SHA1 Message Date
Eli Zaretskii
a2b07f9f11 ; * etc/NEWS: Explain how to get back old behavior with --eval. 2020-03-13 12:32:52 +02:00
Eli Zaretskii
b468b3d1ff Fix a recent documentation change
* doc/emacs/frames.texi (Mouse Commands): More detailed
description of how tilting the mouse-wheel works.

* lisp/mwheel.el (mouse-wheel-tilt-scroll)
(mouse-wheel-flip-direction): Fix the wording of doc strings.
(Bug#39979)
2020-03-13 12:24:25 +02:00
Eli Zaretskii
1ab766fd58 Fix last change
* lisp/tab-bar.el (tab-bar-new-button-show): Fix wording of the
doc string.
2020-03-13 09:46:47 +02:00
Juri Linkov
ecfe633993 * lisp/tab-bar.el: Last-minute changes.
* lisp/tab-bar.el (tab-bar-mode): Check for non-nil
tab-bar-new-button and tab-bar-close-button.
(tab-bar-new-button-show): New defcustom.
(tab-bar-make-keymap-1): Check for tab-bar-new-button-show.
(tab-bar-separator): Add docstring.
2020-03-13 02:10:55 +02:00
Stefan Monnier
c1ce9fa7f2 * lisp/subr.el (cancel-change-group): Fix bug#39680
Don't re-use an existing `pending-undo-list` even if (eq last-command 'undo)
since there might have been changes to the buffer since that `undo` command
and the `pending-undo-list` can hence be invalid for the current
buffer contents.
2020-03-12 10:01:54 -04:00
İ. Göktuğ Kayaalp
ef5744a988 Improve docs for horizontal scrolling with mouse and touchpad (Bug#39979)
* lisp/mwheel.el (mouse-wheel-tilt-scroll,
mouse-wheel-flip-direction): Improve docstrings.
* doc/emacs/frames.texi (Mouse Commands): Mention touchpads.
2020-03-11 19:48:47 -04:00
Juri Linkov
1bc3fa0bd0 * lisp/emacs-lisp/package.el (package-install): Fix typo in docstring. 2020-03-10 01:41:15 +02:00
Paul Eggert
4537976afd Port .gdbinit to clang with -gdwarf-4
* src/.gdbinit (xgetsym): Port to clang with -gdwarf-4, which
doesn’t output the type of lispsym anywhere other than emacs.o
(Bug#39962).
2020-03-09 12:25:56 -07:00
Mattias Engdegård
0883c800a0 Simplify rx example in manual
* doc/lispref/searching.texi (Rx Notation):
Use the 'not' shorthand introduced in Emacs 27.
2020-03-09 16:00:18 +01:00
Michael Albinus
a695189248 ; * etc/NEWS: Fix typo. 2020-03-09 15:49:05 +01:00
Paul Eggert
cf223dc928 ; * src/timefns.c: Fix typo in previous change. 2020-03-08 16:49:32 -07:00
Paul Eggert
20d3d3a950 * src/timefns.c: Add comments. 2020-03-08 16:44:49 -07:00
Paul Eggert
0a3682a566 * src/timefns.c: Add comments. 2020-03-08 00:16:49 -08:00
Noam Postavsky
b16ba4041d ; lisp/emacs-lisp/seq.el: Explain why we don't use cl-lib here 2020-03-07 18:45:23 -05:00
Andrew Eggenberger
3cbf4cb796 Eliminate use of cl-concatenate in 'seq' package
Fixes (Bug#39761) by making cl-extra dependent on seq rather than
vice versa.
* lisp/emacs-lisp/seq.el (seq-concatenate): Move cl-concatenate's
code here instead of calling it.
* lisp/emacs-lisp/cl-extra.el (cl-concatenate): Use cl-concatenate.

Copyright-paperwork-exempt: yes
2020-03-07 18:39:01 -05:00
Paul Eggert
363d927086 Fix bug with JIT stealth timers
* lisp/emacs-lisp/timer.el (run-at-time): Don’t assume that Lisp
time values must be conses (Bug#39944).
2020-03-07 09:50:18 -08:00
Paul Eggert
818333c85a * doc/lispref/os.texi (time-subtract): Doc fix. 2020-03-07 09:50:18 -08:00
Alan Third
72f87f8873 NS port documentation updates
* doc/emacs/macos.texi (Mac / GNUstep Customization): Document some
more of the ns- variables and remove incorrect font back-end
information.
* etc/NEWS: Update the documentation status of macOS news entries.
2020-03-07 14:41:47 +00:00
João Távora
5b19db98ad ; * etc/NEWS: correctly describe what fido-mode is 2020-03-07 13:59:54 +00:00
João Távora
fc47e3ad99 Let fido-mode users force a minibuffer-exit
* lisp/icomplete.el (icomplete-fido-exit):
Add FORCE arg.  Rewrite docstring. (bug#38992)
2020-03-07 13:59:50 +00:00
Dmitry Gutov
e734961d4c icomplete-fido-exit: New command for the M-j binding
* lisp/icomplete.el (icomplete-fido-exit): New command.
(icomplete-fido-mode-map): Use it (bug#38992).
2020-03-07 13:51:03 +00:00
Dmitry Gutov
335a9bd215 minibuffer-force-complete-and-exit: Allow input with no matches
* lisp/minibuffer.el (minibuffer--require-match): New variable.
(completing-read-default): Bind it to the REQUIRE-MATCH value.
(minibuffer-force-complete-and-exit): Consult it to allow input
with no matches when a match is not required (bug#38992).

* lisp/icomplete.el (icomplete-exhibit): Use it to render the
correct parens around matches.
2020-03-07 13:50:42 +00:00
Eli Zaretskii
34132d4bf6 ; * etc/NEWS: Mark 2 entries as fully documented. 2020-03-07 14:55:43 +02:00
Eli Zaretskii
d28b73841b ; * etc/NEWS: Fix the 'mml-secure-openpgp-sign-with-sender' entry. 2020-03-07 14:50:50 +02:00
Eli Zaretskii
d1d56a9fd9 ; * etc/NEWS: 'thunk-let' and 'thunk-let*' are fully documented. 2020-03-07 14:48:33 +02:00
Eli Zaretskii
fc4f4efabf ; * etc/NEWS: No need to document vc-hg and mergebase changes. 2020-03-07 14:42:19 +02:00
Eli Zaretskii
9e8456cf0f ; * etc/NEWS: No need to document changes in Octave mode. 2020-03-07 14:39:29 +02:00
Eli Zaretskii
25b4d6fa28 ; * etc/NEWS: No need to document changes in map.el and seq.el. 2020-03-07 14:38:07 +02:00
Eli Zaretskii
fc4d0f86da ; * etc/NEWS: No need to document Ido news. 2020-03-07 14:33:16 +02:00
Eli Zaretskii
d4ac478cb3 ; * etc/NEWS: No need to document news of doc-view.el. 2020-03-07 14:32:06 +02:00
Eli Zaretskii
08c042bd26 Document that 'byte-compile-dynamic' is obsolete
* doc/lispref/compile.texi (Dynamic Loading): Document that this
is deprecated.

* etc/NEWS: mark the 'byte-compile-dynamic' entry as documented.
2020-03-07 14:23:23 +02:00
Eli Zaretskii
512b66abd7 ; * etc/NEWS: No need to document 'goto-address-uri-schemes-ignored'. 2020-03-07 14:10:14 +02:00
Eli Zaretskii
3103c01c3e ; * etc/NEWS: Formatting fixes. 2020-03-07 14:05:52 +02:00
Eli Zaretskii
98306fdfb8 ; * etc/NEWS: No need to document deprecation of 'cl'. 2020-03-07 13:55:37 +02:00
Eli Zaretskii
6281ed58be ; * etc/NEWS: No need to document the change in 'list-processes'. 2020-03-07 13:54:03 +02:00
Eli Zaretskii
e252341e11 ; * etc/NEWS: 'backup-by-copying-when-privileged-mismatch' is documented. 2020-03-07 13:48:06 +02:00
Eli Zaretskii
ec5a267ddc ; * etc/NEWS: Mark 'byte-count-to-string-function' as undocumented. 2020-03-07 13:46:06 +02:00
Eli Zaretskii
89307ebccd ; * etc/NEWS: Mark 'completion-common-part' face entry as not documented. 2020-03-07 13:43:58 +02:00
Eli Zaretskii
fdbe7cacfb Document the changes in 'read-answer'
* doc/lispref/minibuf.texi (Multiple Queries): Document the
fact that 'read-answer' can now accept non-character input
events.
2020-03-07 13:40:10 +02:00
Eli Zaretskii
10c58356e4 Document changes in lexical-binding
* doc/lispref/variables.texi (Using Lexical Binding): Document
that lexical-binding is now turned on by default in more cases.

* etc/NEWS: Fix wording of the NEWS entry about the above, and mark it
as fully documented.
2020-03-07 13:32:52 +02:00
Amin Bandali
5cb312b5b9
Update ERC mailing list address
* lisp/erc/erc.el (erc-official-location): As part of bringing ERC
under the Emacs umbrella, erc-discuss has been renamed to emacs-erc,
and will be *the* mailing list for discussions and announcements about
ERC going forward.  The other two lists, erc-announce and erc-commit,
are now retired.  For more details, see the announcement at
<https://lists.gnu.org/archive/html/emacs-erc/2020-03/msg00001.html>.
2020-03-06 13:03:12 -05:00
Roland Winkler
cb1877321b Use regexp-opt to define bibtex-autokey-transcriptions. (Bug#39686) 2020-03-06 09:37:55 +01:00
Eli Zaretskii
3f9c340de0 Improve documentation of 'table-generate-source'
* lisp/textmodes/table.el (table-generate-source): Doc fix.
(Bug#39935)

* etc/NEWS: Fix wording of the 'table-generate-source' entry and
mark it as documented.
2020-03-06 10:14:42 +02:00
Eli Zaretskii
33b31dc314 Attempt to avoid rare segfaults in show_mouse_face
* src/xdisp.c (show_mouse_face): Don't display the active region
if called on a frame different from the one recorded in HLINFO.
(Bug#37671)
2020-03-06 09:48:10 +02:00
Eli Zaretskii
88c6db9196 Avoid crashes when a fontset has strange entries
* src/fontset.c (reorder_font_vector): Skip nil entries in the
loop that assigns scores to rfont_def's.
(fontset_compare_rfontdef): Cope with nil.  This has the effect of
moving any nil entries to the end of the font-group, and avoids
crashing if an element other than the last in the font-group is
nil.  (Bug#39892)
2020-03-05 17:57:21 +02:00
Mattias Engdegård
1814c7e158 Fix rx error with ? and ??
The ? and ?? rx operators are special in that they can be written as
characters (space and '?' respectively).  This confused the definition
look-up mechanism in rare cases.

* lisp/emacs-lisp/rx.el (rx--expand-def): Don't look up non-symbols.
* test/lisp/emacs-lisp/rx-tests.el (rx-charset-or): Test.
2020-03-05 12:55:54 +01:00
Mattias Engdegård
40fb20061e * lisp/emacs-lisp/rx.el (rx--string-to-intervals): Fix error string. 2020-03-05 12:12:18 +01:00
Justin Burkett
08d7d28d35 Fix args in 'window-text-pixel-size' call in 'fit-window-to-buffer'
* lisp/window.el (fit-window-to-buffer): Fix arguments in
'window-text-pixel-size' call.

Copyright-paperwork-exempt: yes
2020-03-05 09:10:03 +01:00
João Távora
cb1e30910e Have pulse.el preserve existing overlay priorities
Fixes: bug#39821

* lisp/cedet/pulse.el (pulse-momentary-highlight-overlay): Save
overlay priority.
(pulse-momentary-unhighlight): Restore.
2020-03-04 22:33:49 +00:00
Alan Mackenzie
a3c2d186eb CC Mode: Fix the handling of two adjacent after-change-functionses.
The bug involved failing to set c-new-END correctly, which lead to an
args-out-of-range error when after-change-functions was invoked twice without
an intervening invocation of before-change-functions.

* lisp/progmodes/cc-mode.el (c-after-change): Correct a coding error in the
handling of c-just-done-before-change.
2020-03-04 21:17:04 +00:00