1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-07 15:21:46 +00:00
Commit Graph

132113 Commits

Author SHA1 Message Date
Eli Zaretskii
c71cfb79c3 Fix the Bubbles game on TTY frames
* lisp/play/bubbles.el (bubbles--col-offset)
(bubbles--row-offset): Doc fixes.
(bubbles--compute-offsets): Conflate the GUI and TTY code into
a single common version.  Set the offsets to simple numbers,
not to lists.
(bubbles--initialize, bubbles--show-scores): Wrap offset
values in a list, so that they are interpreted as pixel
values, not as units of character width.  This fixes the game
on TTY frames.  (Bug#32744)
2018-09-17 17:34:31 +03:00
Allen Li
3bbf21b913 Add choice to reshow certificate information (Bug#31877)
In various situations, the window displaying the certificate
information can be hidden (such as if the user accidentally presses ?,
which causes the read-multiple-choice help window to replace it).
Instead of leaving the user to make a choice blindly, add a choice to
reshow the certification information.

* lisp/net/nsm.el (nsm-query-user): Add reshow choice.
2018-09-16 21:15:21 -04:00
Glenn Morris
6f2c471689 * src/alloc.c (Fbool_vector, Flist, Fvector): Doc tweak.
Use a simpler, consistent form.
2018-09-15 15:33:32 -07:00
Alan Mackenzie
39eecb382b * src/alloc.c (vector): Fix grammatical error in doc string: "are" -> "is". 2018-09-15 20:21:08 +00:00
Eli Zaretskii
e133b63062 Avoid adverse side effects of fixing bug#21824
* test/src/buffer-tests.el
(overlay-modification-hooks-deleted-overlay): New test.

* src/buffer.c (report_overlay_modification): Don't bypass all
the overlay-modification hooks; instead, invoke each function
only if the buffer associated with the overlay is the current
buffer.  (Bug#30823)
2018-09-15 12:21:12 +03:00
Eli Zaretskii
cc8f334d2d Document changes called out in NEWS
* doc/lispref/lists.texi (Association Lists): Document
'assoc-delete-all'.
* doc/lispref/minibuf.texi (Minibuffers): Adapt menu.
(Multiple Queries): Document 'read-answer'.

* etc/NEWS: Reflect the above documentation in the respective
entries.
2018-09-15 11:51:34 +03:00
Eli Zaretskii
20ecc5266e ; * etc/NEWS: Document recent change in 'thing-at-point'. 2018-09-15 11:07:16 +03:00
Eli Zaretskii
1fc5283050 ; INSTALL: Fix a typo in the last commit. 2018-09-15 10:52:55 +03:00
Glenn Morris
24f240d51e Tiny doc updates re yum/dnf etc
* INSTALL: Mention dnf and Debian unversioned emacs package.
* doc/misc/efaq.texi (Installing Emacs): Mention dnf.
2018-09-14 08:54:28 -07:00
Leo Liu
41c2d25912 Remove unused variable
* lisp/progmodes/prolog.el (prolog-hungry-delete-key-flag): Remove.
2018-09-14 22:44:09 +08:00
Leo Liu
1e3b3fa615 Fix (thing-at-point 'list) regression (Bug#31772)
* lisp/thingatpt.el (thing-at-point-bounds-of-list-at-point): Revert
  to pre 26.1 behavior.  Return whole sexp at point if no enclosing
  list.
  (list-at-point): New optional arg to ignore comments and strings.

* test/lisp/thingatpt-tests.el
  (thing-at-point-bounds-of-list-at-point): Fix and augment tests.
2018-09-14 22:38:58 +08:00
Robert Pluim
219893a519 Clarify meaning of '*'
* doc/misc/dired-x.texi (Shell Command Guessing): Clarify meaning
of '*'. (Bug#32733)
2018-09-14 15:58:17 +02:00
Paul Eggert
41cdda22c7 * etc/PROBLEMS: Document Ubuntu 16.04 issue. 2018-09-12 07:53:43 -07:00
Alex Branham
1c22f037fd Increase default value for imenu-auto-rescan-maxout
* lisp/imenu.el (imenu-auto-rescan-maxout): Increase default value to
  600000.  (Bug#18426)
* doc/emacs/programs.texi (imenu-auto-rescan-maxout): Add
  documentation for imenu-auto-rescan-maxout.

Copyright-paperwork-exempt: yes
2018-09-12 15:20:25 +02:00
Eli Zaretskii
ee843895cb Improve recent change to ELisp manual
* doc/lispref/commands.texi (Keyboard Events): Add index entry
for "character event".  (Bug#32562)
2018-09-11 21:33:28 +03:00
Eli Zaretskii
ff374e4491 * doc/lispref/display.texi (SVG Images): Improve wording. 2018-09-11 10:30:25 +03:00
Eli Zaretskii
3a0caf6b7d * doc/lispref/display.texi (SVG Images): Fix a typo. (Bug#32690) 2018-09-11 10:12:49 +03:00
Eli Zaretskii
7efcdf7b3e Clarify completion text in the ELisp manual
* doc/lispref/minibuf.texi (Programmed Completion): Clarify
text.  Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2018-09-10 16:20:42 +03:00
Eli Zaretskii
30b0b0e2e2 Fix handling of abbreviated control command in gdb-mi.el
* lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp):
Support unambiguous abbreviations of commands.  (Bug#32576)
2018-09-10 16:11:05 +03:00
Eli Zaretskii
5cf282d65f Clarify documentation of functions reading character events
* doc/lispref/help.texi (Describing Characters):
* doc/lispref/commands.texi (Keyboard Events)
(Reading One Event, Classifying Events): Make the distinction
between characters and character events more explicit.

* src/keymap.c (Ftext_char_description)
(Fsingle_key_description):
* src/lread.c (Fread_char, Fread_char_exclusive): Doc fixes,
to make a clear distinction between a character input event
and a character code.  (Bug#32562)
2018-09-10 12:46:22 +03:00
Eli Zaretskii
96281c5ee1 Record :version for built-in variables while dumping
* lisp/cus-start.el (standard): Record the ':version; of the
symbols when dumping, so that 'describe-variable' could tell
which built-in variables were added/changed in recent
versions.
2018-09-07 10:35:59 +03:00
YAMAMOTO Mitsuharu
82160cf0c1 * src/process.c (connect_network_socket): Fix memory leak. (Bug#32604) 2018-09-07 08:35:36 +09:00
Glenn Morris
6c616e465c * Makefile.in (appdatadir): Use the non-obsolete location "metainfo".
; https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
; "AppStream tools scan the /usr/share/appdata/ path for legacy
; compatibility as well.  It should not be used anymore by new
; software though, even on older Linux distributions (like RHEL 7
; and Ubuntu 16.04 LTS) the metainfo path is well supported.  Support
; for the legacy path might be dropped completely in future."
2018-09-05 16:37:56 -04:00
Stefan Monnier
9618e16efa Better fix for bug#32550
* lisp/rfn-eshadow.el (rfn-eshadow-overlay): Give it a global default.

* lisp/net/tramp.el (rfn-eshadow-overlay): Declare it as dynamically scoped.
(tramp-rfn-eshadow-update-overlay): Revert the corresponding part of
last change.
2018-09-04 12:03:52 -04:00
Michael Albinus
30d94e4b92 Fix Bug#32550
* lisp/net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not
use `symbol-value'.
(tramp-rfn-eshadow-update-overlay): Do not use `symbol-value'.  Do
not let-bind `rfn-eshadow-overlay', assign it directly (due to
lexical binding).  (Bug#32550)
2018-09-04 11:59:39 +02:00
Martin Rudalics
57bcdc76e0 Don't call XGetGeometry for frames without outer X window (Bug#32615)
* src/xfns.c (frame_geometry): Don't call XGetGeometry when
FRAME has no outer X window; return nil instead.  (Bug#32615)
2018-09-04 08:53:49 +02:00
Paul Eggert
82fc6b6313 * lisp/calculator.el: Fix doc typo. 2018-09-03 12:57:10 -07:00
Glenn Morris
ddc7c648d2 Standardize calc bug reporting instructions
* doc/misc/calc.texi (Reporting Bugs): Use standard commands.
* lisp/calc/calc-misc.el (report-calc-bug, calc-report-bug):
* lisp/calc/calc.el (calc-bug-address): Change to be
obsolete aliases for standard Emacs bug reporting items.
2018-09-03 10:28:07 -07:00
Glenn Morris
f9efbb599f ; Auto-commit of loaddefs files. 2018-09-01 06:23:14 -04:00
Michael Albinus
ac7936cb8f Rename thread-alive-p to thread-live-p
* doc/lispref/threads.texi (Basic Thread Functions): Use thread-live-p.

* etc/NEWS: 'thread-alive-p' has been renamed to 'thread-live-p'.

* src/thread.c (thread_live_p): Rename from thread_alive_p.  Adapt
all callees.
(Fthread_live_p): Rename from Fthread_alive_p.
(syms_of_threads): Make thread-alive-p an alias of thread-live-p.

* test/src/thread-tests.el (all): Replace `thread-alive-p' by
`thread-live-p'.
(threads-live): Rename from `threads-alive'.
2018-08-31 10:47:03 +02:00
Miciah Masters
3d09d533d1 rcirc: Document /reconnect as a built-in command (Bug#29656)
The change "New command rcirc-cmd-reconnect" from 2014-04-09 (shipped
in Emacs 25.1) added a /reconnect command to rcirc but did not
document it and did not delete the example /reconnect command
definition in the manual.
* doc/misc/rcirc.texi (rcirc commands): Document the built-in /reconnect
command.
(Hacking and Tweaking): Delete example reconnect command.

Copyright-paperwork-exempt: yes
2018-08-29 22:53:43 -04:00
Noam Postavsky
a1e615618d * test/lisp/calc/calc-tests.el (calc-imaginary-i): New test. 2018-08-29 22:47:00 -04:00
Glenn Morris
2670cbf9a8 ; * configure.ac: Remove outdated comment (it was about CRT_DIR). 2018-08-28 21:03:12 -04:00
Glenn Morris
3b71befdfb admin.el: respect environment settings for makeinfo etc
* admin/admin.el (manual-makeinfo, manual-texi2pdf, manual-texi2dvi):
New variables.
(manual-html-mono, manual-html-node, manual-pdf, manual-ps): Use them.
2018-08-28 16:34:25 -04:00
Glenn Morris
3764ab4186 * etc/PROBLEMS: New entry about GTK+ 3 crash with some X servers. 2018-08-28 16:05:04 -04:00
Noam Postavsky
9d61344499 Index profiler commands in elisp manual
* doc/lispref/debugging.texi (Profiling): Add index entries for
profiler-start, profiler-report, profiler-stop.
2018-08-28 08:04:17 -04:00
Noam Postavsky
f088817923 Fix math-imaginary-i check
Reported by Bastian Erdnüß at
<https://lists.gnu.org/archive/html/emacs-devel/2018-08/msg00300.html>.
* lisp/calc/calc-cplx.el (math-imaginary-i): Check for a value
of (polar 1 <quarter-circle>).
2018-08-28 08:04:17 -04:00
Noam Postavsky
fca935e4ab ; Let pre-commit git hook check merged in changes (Bug#29197)
* build-aux/git-hooks/pre-commit: If GIT_MERGE_CHECK_OTHER is 'true',
check changes against the merge target, rather than the current
branch.  Include file name when giving error message about
non-standard characters.
2018-08-28 08:04:17 -04:00
Eli Zaretskii
fe06fcc595 Avoid infinite hscrolling loops when line numbers are displayed
* src/xdisp.c (maybe_produce_line_number): Don't produce line
numbers if we don't have enough screen estate.  (Bug#32351)
2018-08-28 14:11:12 +03:00
Eli Zaretskii
63e59c8ca5 Avoid crashes in malformed defvar
* src/eval.c (Fdefvar): Don't call XSYMBOL on something that
might not be a symbol.  This avoids crashes due to malformed
'defvar' forms.  (Bug#32552)
2018-08-28 10:20:46 +03:00
Glenn Morris
785682c26d * configure.ac (emacs_config_features): Add GLIB, XDBE, XIM. 2018-08-27 21:46:14 -04:00
Glenn Morris
2695b7e745 * configure.ac: Doc fixes related to --with-xim. 2018-08-27 21:44:29 -04:00
Glenn Morris
d0d162c2d6 Small checkdoc quoting fix (bug#32546)
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
Fix quoting thinko.
2018-08-27 18:27:01 -04:00
Sergey Vinokurov
54fb383af6 Fix detection of freed emacs_values (Bug#32479)
* src/emacs-module.c (module_free_global_ref): Compare a value to be
freed with all entries of the list.

* test/data/emacs-module/mod-test.c (Fmod_test_globref_free): New
function.
(emacs_module_init): Make it accessible from Lisp.
* test/src/emacs-module-tests.el (mod-test-globref-free-test): New
test which uses it.
2018-08-25 18:57:56 -04:00
Noam Postavsky
769d0cdaa9 ; Fix out-of-tree build for mod-test.so
* test/Makefile.in: Don't look for emacs-module.h in $(srcdir), since
it is generated.
2018-08-25 18:57:28 -04:00
Eli Zaretskii
9a1329e966 Avoid crashes with very wide TTY frames on MS-Windows
* src/w32console.c <glyph_base>: Reduce the number of elements
to 80.
<glyphs, glyphs_len>: New static variables.
(w32con_clear_end_of_line): If the line is wider than the
current size of the "empty row" in 'glyphs', reallocate
'glyphs' to support the full width of the frame.  This
avoids segfaults when the frame is wider than 256 columns.
(Bug#32445)
2018-08-25 15:26:41 +03:00
Wenjamin Petrenko
9a613d3ed0 Prevent `modify-file-local-variable-prop-line' from adding extra ';'
* lisp/files-x.el (modify-file-local-variable-prop-line): Handle
whitespace when checking if there's already a ';' before the
variable (Bug#23294).

Copyright-paperwork-exempt: yes
2018-08-24 21:54:16 -04:00
Glenn Morris
624e7dc778 Update GNOME bugtracker URLs
* configure.ac, admin/notes/multi-tty, etc/PROBLEMS:
* src/emacs.c (main):
* src/xterm.c (x_connection_closed): Update GNOME bugtracker URLs.
; * src/gtkutil.c (xg_display_close):
; * src/image.c (svg_load_image): Update URLs in comments.
2018-08-24 13:13:08 -04:00
Eli Zaretskii
51ef6d5576 Clarify in the Emacs manual that ChangeLog files are not used
* doc/emacs/trouble.texi (Sending Patches): Use "commit log"
instead of "change log", to avoid the interpretation that we
are talking about literal ChangeLog files.  (Bug#32359)
2018-08-23 20:02:27 +03:00
Eli Zaretskii
6e08019af7 Recognize codepage 65001 as a valid encoding
* lisp/international/mule-conf.el (cp65001): Define it as an
alias for UTF-8.
2018-08-21 19:35:31 +03:00