1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-13 06:50:39 -08:00
Commit graph

144682 commits

Author SHA1 Message Date
Paul Eggert
fa574e68de Fix broken build on AIX 7.2
Without this fix, the build on AIX 7.2 with xlc fails in the ‘CCLD
temacs’ step with the diagnostic ‘ld: 0711-317 ERROR: Undefined
symbol: BC’.  This is because -lcurses does not define BC etc.
* configure.ac: When building terminfo.o, define
TERMINFO_DEFINES_BC if the library defines BC etc.
* src/terminfo.c (UP, BC, PC): Define depending on
TERMINFO_DEFINES_BC, not on TERMINFO.

(cherry picked from commit 632917461a)
2021-01-04 09:02:40 -08:00
Glenn Morris
2c84790252 Merge from origin/emacs-27
99cc0045eb (origin/emacs-27) Update two user option names in the Widg...
2021-01-04 07:50:26 -08:00
Glenn Morris
b90f3c5cae ; Merge from origin/emacs-27
The following commit was skipped:

32c960bdc6 Mention -lcurses problem on AIX
2021-01-04 07:50:26 -08:00
Glenn Morris
1395fb8ff7 Merge from origin/emacs-27
2e09efdb68 Revert previous patch which was installed into wrong branch.
2021-01-04 07:50:25 -08:00
Glenn Morris
e8bf7258ae ; Merge from origin/emacs-27
The following commit was skipped:

585997d05a Fix broken build on AIX 7.2
2021-01-04 07:50:25 -08:00
Glenn Morris
49137d3278 Merge from origin/emacs-27
a7c2793efe Fix last change
2021-01-04 07:50:25 -08:00
Glenn Morris
33108bc477 ; Merge from origin/emacs-27
The following commit was skipped:

ec1e1f80e6 Add a reference between the Strings node and Search/Replace
2021-01-04 07:50:25 -08:00
Glenn Morris
ba2f2f9378 Merge from origin/emacs-27
90c782e92e Merge branch 'emacs-27' of git.savannah.gnu.org:/srv/git/e...
2021-01-04 07:50:25 -08:00
Glenn Morris
82c6f43653 ; Merge from origin/emacs-27
The following commit was skipped:

f0deca159d (emacs-27) ; Auto-commit of loaddefs files.
2021-01-04 07:50:25 -08:00
Glenn Morris
6f0bb2fe58 Merge from origin/emacs-27
7384ec6416 Add warning comments abound binding keys in Isearch maps
2021-01-04 07:50:22 -08:00
Glenn Morris
dadffdd81f ; Merge from origin/emacs-27
The following commit was skipped:

3711339f92 Fix crash in ns_mouse_position (bug#45541)
2021-01-04 07:50:22 -08:00
Michael Albinus
f5a1315f1e Fix error in tramp-sh-handle-insert-directory
* lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory): Let buffer be
unibyte when applying numbers returned with the ls --dired option.
Reported by Justus Piater <Justus-dev@Piater.name>.

* test/lisp/net/tramp-tests.el (tramp--test-check-files): Extend test.
2021-01-04 16:32:32 +01:00
Mauro Aranda
99cc0045eb Update two user option names in the Widget manual
* doc/misc/widget.texi (Basic Types): The user options
widget-glyph-directory and widget-glyph-enable were renamed long ago
to widget-image-directory and widget-image-enable, but the manual
kept calling them by their old names.  Update the names.
2021-01-04 10:26:14 -03:00
Basil L. Contovounesios
56556b5f4d
Fix build for --enable-checking=structs
The last change to lisp.h only added comments in Lisp_String, so the
portable dumper need not be changed.

* src/pdumper.c (dump_string): Update hash for Lisp_String.
2021-01-04 13:15:15 +00:00
Mauro Aranda
4e80eb7b7c Don't skip widgets when moving backward
* lisp/wid-edit.el (widget-move): Remove code that caused
widget-backward to skip an immediate previous widget when moving
backward from the start of a widget.  (Bug#45623)

* test/lisp/wid-edit-tests.el (widget-test-widget-backward): New test.
2021-01-04 10:02:20 -03:00
Amin Bandali
65f21729e6 Fix off-by-one error in mode-line-compact code
* src/xdisp.c (display_mode_line): Fix off-by-one error that would
chop off the final non-space character when compacting (bug#45646).
2021-01-04 10:48:08 +01:00
Lars Ingebrigtsen
b2f81b7bab Fix computation of Lines in nnmaildir
* lisp/gnus/nnmaildir.el (nnmaildir--update-nov): Lines is -1 if
it's not present; not 0 (probably) (bug#45650).
2021-01-04 10:42:13 +01:00
Stefan Monnier
90951f847c * src/print.c (print_vectorlike): Use HASH_TABLE_SIZE 2021-01-04 01:00:33 -05:00
Stefan Monnier
b2f8c9f96f * src/xdisp.c (syms_of_xdisp): New var redisplay-skip-fontification-on-input
(handle_fontified_prop): Use it.

* src/keyboard.h (input_was_pending): Declare.
* src/keyboard.c (input_was_pending): Make non-static.
2021-01-04 00:59:56 -05:00
Stefan Monnier
0c599ee2e2 * lisp/erc/erc.el: Use run-hook-with-args for erc-pre-send-functions
(erc-process-input-line): A function can be `listp`.
(erc-send-input): Use `run-hook-with-args` for `erc-pre-send-functions`.
(erc-display-command): Comment out, unused.
2021-01-04 00:21:02 -05:00
Stefan Monnier
535a25164b * lisp/calc/calc-yank.el (calc-edit-mode): Make it into a proper major mode
Also make `calc-edit-handler` hold a function instead of an expression.

(calc-original-buffer, calc-return-buffer, calc-one-window)
(calc-edit-handler, calc-restore-trail, calc-allow-ret)
(calc-edit-top): Give them a default value.
(calc--edit-mode): New function extracted from old `calc-edit-mode`.
(calc-edit-return, calc-edit-finish): Don't need to test `boundp` any more.
(calc-edit-finish): Allow `calc-edit-handler` to be a function.

(calc-edit, calc-alg-edit):

* lisp/calc/calc-prog.el (calc-edit-user-syntax, calc-user-define-edit):
* lisp/calc/calc-embed.el (calc-embedded-edit):
* lisp/calc/calc-sel.el (calc-edit-selection):
* lisp/calc/calc-store.el (calc-edit-variable):
Use `calc--edit-mode` and make first arg into a function.

* lisp/calc/calc-ext.el (calc-init-extensions): Autoload `calc--edit-mode`
instead of `calc-edit-mode`.
2021-01-04 00:01:58 -05:00
Stefan Monnier
d8d223e7ef * Makefile.in (test/%): New target 2021-01-03 23:15:33 -05:00
Stefan Monnier
587a97bcb2 * lisp/calendar/appt.el (appt-activate): Set the local write-file-functions 2021-01-03 23:14:18 -05:00
Mark Oteiza
9c0387d786 Fix last change in json.el
* lisp/json.el (json-encode-array): Include optimization for lists.
2021-01-03 22:07:59 -05:00
Stefan Monnier
dbc16cdd13 * lisp/arc-mode.el (tar-grind-file-mode): Remove left over autoload 2021-01-03 20:16:40 -05:00
Stefan Monnier
5282e1378e * doc/lispref/syntax.texi (Syntax Class Table): Clarify @ 2021-01-03 20:14:16 -05:00
Stefan Monnier
20ad0cc03b * admin/last-chance.el (last-chance): Use greps return value
(compilation-finish-functions): Only set it buffer-locally.
2021-01-03 17:25:06 -05:00
Stefan Monnier
c2e0f1982f * src/buffer.c (Fset_buffer_multibyte): Remove dead code 2021-01-03 17:20:28 -05:00
Mark Oteiza
d3d60ab272 Remove unnecessary dependency on seq library
* lisp/json.el: Remove require declaration.
(json-encode-array): Just use length and /=.
2021-01-03 16:58:09 -05:00
Phillip Lord
1fa1354964 Remove relative paths for consistency
* admin/nt/dist-build/build-zips.sh: Remove Paths
2021-01-03 21:05:45 +00:00
Stefan Monnier
32c6732d16 * lisp/emacs-lisp/byte-run.el (make-obsolete): Make when mandatory
(define-obsolete-function-alias, make-obsolete-variable)
(define-obsolete-variable-alias): Adjust similarly.
2021-01-03 15:43:31 -05:00
Paul Eggert
32c960bdc6 Mention -lcurses problem on AIX
* etc/PROBLEMS: Describe problem with Emacs 27 and -lcurses.
Do not merge to master.
2021-01-03 12:42:23 -08:00
Paul Eggert
632917461a Fix broken build on AIX 7.2
Without this fix, the build on AIX 7.2 with xlc fails in the ‘CCLD
temacs’ step with the diagnostic ‘ld: 0711-317 ERROR: Undefined
symbol: BC’.  This is because -lcurses does not define BC etc.
* configure.ac: When building terminfo.o, define
TERMINFO_DEFINES_BC if the library defines BC etc.
* src/terminfo.c (UP, BC, PC): Define depending on
TERMINFO_DEFINES_BC, not on TERMINFO.
2021-01-03 11:59:50 -08:00
Paul Eggert
2e09efdb68 Revert previous patch which was installed into wrong branch. 2021-01-03 11:58:34 -08:00
Paul Eggert
585997d05a Fix broken build on AIX 7.2
Without this fix, the build on AIX 7.2 with xlc fails in the ‘CCLD
temacs’ step with the diagnostic ‘ld: 0711-317 ERROR: Undefined
symbol: BC’.  This is because -lcurses does not define BC etc.
* configure.ac: When building terminfo.o, define
TERMINFO_DEFINES_BC if the library defines BC etc.
* src/terminfo.c (UP, BC, PC): Define depending on
TERMINFO_DEFINES_BC, not on TERMINFO.
2021-01-03 11:51:57 -08:00
Alan Third
ad2567fb1e Fix child frame restacking on NS (bug#41422)
* src/nsfns.m (Fns_frame_restack): Use new restackWindow method.
* src/nsterm.m ([EmacsWindow orderFront:]):
([EmacsWindow makeKeyAndOrderFront:]):
(nswindow_orderedIndex_sort):
([EmacsWindow orderBack:]):
([EmacsWindow restackWindow:above:]): Override superclass methods to
handle child windows the way we want.
2021-01-03 16:23:06 +00:00
Stefan Monnier
825b4ec338 * lisp/progmodes/xref.el (xref--show-defs-buffer-at-bottom): Fix missing arg 2021-01-02 23:12:10 -05:00
Alan Third
f14869cd70 Fix crash when using menus and tramp on NS
; Fixes bug#24472, bug#37557 and bug#37922.

* src/nsterm.m (ns_select): Don't drain outerpool in this function.
2021-01-02 22:29:55 +00:00
Alan Third
d84cf78df8 Fix NS toolbar image release crash (bug#43973)
The toolbar fails to make a proper copy of EmacsImage objects, so
releasing the copy incorrectly released instance variables from the
original objects.

* src/nsimage.m ([EmacsImage copyWithZone:]): New function to enable
correct copying of EmacsImage.
2021-01-02 22:29:54 +00:00
Roland Winkler
dde3269633 bibtex-mode: Extend widget bibtex-entry-alist 2021-01-02 13:44:23 -06:00
Eric Abrahamsen
bfb4db5e44 Reposition call to set-buffer-modified-p in sieve-upload
* lisp/net/sieve.el (sieve-upload): It's meant to affect the script
buffer, not sieve-buffer, so needs to be outside the call to
with-current-buffer.
2021-01-02 11:05:38 -08:00
Dmitry Gutov
6b10ce867f xref--show-pos-in-buf: Don't set other-window-scroll-buffer
* lisp/progmodes/xref.el (xref--show-pos-in-buf):
Don't set other-window-scroll-buffer (bug#45581).
2021-01-02 20:52:31 +02:00
Mattias Engdegård
d10c96c426 Fix backslash mistakes in doc strings in C code
These were found by an instrumented version of make-docfile.

* src/gnutls.c (Fgnutls_available_p):
* src/keymap.c (Fkey_description):
* src/xdisp.c (syms_of_xdisp):
2021-01-02 18:12:13 +01:00
Mauro Aranda
c7f15dfa80 Fix Quit button in dictionary buffer
* lisp/net/dictionary.el (dictionay-close): Changing the arity of the
function in cc5f280378 was a mistake.
Restore it, but mark the argument as unused to avoid a
wrong-number-of-arguments error when using the Quit button.
2021-01-02 11:59:36 -03:00
Philipp Stephani
4ac6148ef9 Avoid printing stacktraces when it probably wouldn't work anyway.
* src/eval.c (signal_or_quit): Don't try to call the debugger if it's
inhibited or we are about to dump or bootstrap.  In those cases the
debugger probably wouldn't work anyway.
2021-01-02 15:04:50 +01:00
Philipp Stephani
64f2c96cbe Make a process test faster.
The test 'process-tests/fd-setsize-no-crash/make-process' used to call
'sleep' to ensure that enough processes are live to trigger a
FD_SETSIZE overflow.  However, we can just call 'cat' instead and
close standard input when done.  That way, we only wait as long as
needed.

* process-tests.el
(process-tests/fd-setsize-no-crash/make-process): Invoke 'cat' instead
of 'sleep'.  Close standard input to exit the 'cat' processes.
2021-01-02 13:53:17 +01:00
Philipp Stephani
df605870fd Simplify TTY allocation.
The 'process-tty-name' already provides the TTY name, we don't have
interrogate the TTY host.

* test/src/process-tests.el
(process-tests/fd-setsize-no-crash/make-serial-process): Use
'process-tty-name' instead of having the TTY host print its TTY
name.  Check whether TTY names are unique.
(process-tests--new-pty, process-tests--with-temp-file): Remove;
no longer used.
2021-01-02 13:33:56 +01:00
Eli Zaretskii
72b048bb96 Fix last change in characters.el
* lisp/international/characters.el: Adjust syntax of more
characters to follow that of Unicode properties.  (Bug#44974)
2021-01-02 13:36:54 +02:00
João Távora
70e6c0850e ; * lisp/progmodes/flymake.el: Bump version to 1.1.0. 2021-01-02 11:19:46 +00:00
Eli Zaretskii
70484f92a1 Fix syntax of symbol and punctuation characters
* lisp/international/characters.el: Adjust syntax of punctuation
and symbol charcaters to follow that of Unicode properties.
(Bug#44974)
2021-01-02 12:42:16 +02:00