1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

132194 Commits

Author SHA1 Message Date
Michael Albinus
508c40ef1d Comple fix for Bug#32550
* lisp/net/tramp.el (tramp-rfn-eshadow-update-overlay):
Use `save-excursion'.  This completes the fix of Bug#32550.
2018-10-01 14:17:27 +02:00
Glenn Morris
35b56a24a0 ; Auto-commit of loaddefs files. 2018-10-01 06:23:16 -04:00
Eli Zaretskii
9c028d6965 * lisp/savehist.el (savehist-mode): Doc fix. (Bug#32889) 2018-10-01 10:45:33 +03:00
Eli Zaretskii
3a2b5a713f ; * lisp/bindings.el (bindings--define-key): Doc fix. (Bug#32885) 2018-10-01 10:19:27 +03:00
Nicolas Goaziou
6a7a869c33 Org manual: Rewrite the Org Mobile section
* doc/misc/org.texi (Org Mobile): Rewritten from "MobileOrg" section.
Remove all references to non-free software.
Moved into "Miscellaneous", much like Org Crypt library. No longer an
appendix.
(Footnotes): Remove a reference to "MobileOrg".
(Bug#32722)
2018-09-30 14:40:14 +03:00
Alan Mackenzie
6650751ce7 Temporary workaround for bug #32848 for branch emacs-26
Do not merge with master.

* lisp/follow.el (follow-mode): Set make-cursor-line-fully-visible to nil
buffer locally whilst follow-mode is active.
2018-09-30 10:46:26 +00:00
Tino Calancha
7296b6fbf2 Improve cl-do, cl-do* docstrings
* lisp/emacs-lisp/cl-macs.el(cl-do, cl-do*):
Improve docstring (Bug#32803).
2018-09-29 18:06:15 +09:00
Eli Zaretskii
d416109f06 Avoid returning early in 'while-no-input' due to subprocesses
* src/keyboard.c (kbd_buffer_store_buffered_event): Support
also the internal buffer-switch events.
(syms_of_keyboard) <Qbuffer_switch>: New DEFSYM.

* lisp/subr.el (while-no-input-ignore-events): Ignore
'buffer-switch' events.  Reported by Michael Heerdegen
<michael_heerdegen@web.de>.

* etc/NEWS: Mention the change in behavior of 'while-no-input'
2018-09-29 10:11:08 +03:00
John Shahid
e8a4d942dd Cleanup when opening a new terminal fails. (Bug#32794)
* src/term.c (init_tty): Call delete_terminal_internal if emacs_open
fail.
* src/terminal.c (delete_terminal): Move some code into
delete_terminal_internal and call it.
(delete_terminal_internal): New function.
* src/termhooks.h: Prototype for delete_terminal_internal.
2018-09-29 09:30:01 +03:00
Alan Third
9ad0f1d15c Fix deprecation warning
* src/nsterm.m (ns_term_init): Use writeToFile or writeToURL as
required.
2018-09-28 20:23:46 +01:00
Alan Third
7946445962 Make all NS drawing be done from drawRect
See bug#31904 and bug#32812.

* src/nsterm.m (ns_update_begin): Don't lock focus, only clip if there
is already a view focused.
(ns_update_end): Don't mess with view focusing any more.
(ns_focus): Only clip drawing if there is already a focused view,
otherwise mark area dirty for later drawing.  Renamed ns_clip_to_rect.
All callers changed.
(ns_unfocus): Don't unfocus the view any more.  Renamed
ns_reset_clipping. All callers changed.
(ns_clip_to_row): Update to match ns_clip_to_rect.
(ns_clear_frame):
(ns_clear_frame_area):
(ns_draw_fringe_bitmap):
(ns_draw_window_cursor):
(ns_draw_vertical_window_border):
(ns_draw_window_divider):
(ns_dumpglyphs_stretch):
(ns_draw_glyph_string): Only draw if ns_focus or ns_clip_to_row
return YES.
(ns_copy_bits): Remove superfluous calls to ns_(un)focus.
(ns_flush_display): New function.
2018-09-28 20:23:46 +01:00
Glenn Morris
41fa88b99b ; Fix some doc typos 2018-09-28 14:02:52 -04:00
Michael Albinus
1908173a4d Fix Bug#32828
* lisp/net/dbus.el (dbus-init-bus): Return number of connections,
as promised by the docstring.  (Bug#32828)
2018-09-28 12:51:25 +02:00
Noam Postavsky
7f5086da05 * lisp/net/shr.el (shr-copy-url): Fix docstring. 2018-09-27 19:37:25 -04:00
Eli Zaretskii
d309994aff Fix typos in documentation
* doc/misc/vhdl-mode.texi (Custom Indentation Functions):
* doc/misc/url.texi (Customization):
* doc/misc/tramp.texi (Overview):
* doc/misc/srecode.texi (Developing Template Functions):
* doc/misc/sieve.texi (Sieve Mode):
* doc/misc/reftex.texi (Options - Creating Citations):
* doc/misc/org.texi (Cooperation, Conflicts):
* doc/misc/gnus.texi (Misc Group Stuff):
* doc/misc/eshell.texi (Bugs and ideas):
* doc/misc/calc.texi (Summary):
* doc/man/emacsclient.1:
* doc/lispref/os.texi (Security Considerations):
* doc/lispref/control.texi (pcase Macro):
* CONTRIBUTE: Fix typos.  Reported by Mak Kolybabi
<mak@kolybabi.com>  (Bug#32853)
2018-09-27 18:48:06 +03:00
Charles A. Roelli
25cdd65c4e ; Spellcheck two more documentation strings
* lisp/files.el (hack-local-variables):
* src/keymap.c (Ftext_char_description): Spellcheck documentation.
2018-09-25 21:33:00 +02:00
Charles A. Roelli
c8bda0555c ; * lisp/simple.el (save-interprogram-paste-before-kill): Fix documentation. 2018-09-25 21:29:29 +02:00
Stefan Monnier
dc7fdee08c * doc/emacs/kmacro.texi (Basic Keyboard Macro): Mention old bindings
According to Apple gospel, function keys are partly going the way of the dodo
so F3/F4 can, like in the good old days, be hard to reach for some users.
2018-09-24 14:58:11 -04:00
Eli Zaretskii
17766a14cc Improve docs of functions/variables related to 'display-buffer'
* lisp/window.el (display-buffer, pop-to-buffer-same-window)
(display-buffer-same-window, display-buffer-in-side-window)
(same-window-p, display-buffer-overriding-action)
(display-buffer-base-action)
(display-buffer--same-window-action)
(display-buffer--other-frame-action)
(with-current-buffer-window, with-displayed-buffer-window)
(display-buffer-alist, display-buffer-assq-regexp)
(display-buffer-other-frame): Clarify and improve the doc
strings.  (Bug#32798)
2018-09-24 18:07:02 +03:00
Stefan Monnier
a3639317bc * lisp/mouse.el (tear-off-window): Fix non-mouse use (bug#32799) 2018-09-22 19:16:55 -04:00
Eli Zaretskii
8b8a4c0aeb Improve documentation of directory-local variables
* lisp/files.el (hack-local-variables, normal-mode)
(after-find-file, find-file-hook): Mention directory-local
variables in the doc strings.  Suggested by Marcin Borkowski
<mbork@mbork.pl>.

* doc/emacs/custom.texi (File Variables, Directory Variables):
Clarify that directory-local variables are overridden by
file-local ones.
2018-09-22 12:06:51 +03:00
Eli Zaretskii
c9c9756d21 Don't use obsolete variable 'save-place' in documentation
* doc/lispref/customize.texi (Variable Definitions): Replace
example of saveplace defcustom with a fictitious one, which
will not bit-rot with time.  (Bug#32741)
2018-09-22 10:54:58 +03:00
Mark A. Hershberger
ca208e8388 Use save-place-mode instead of save-place
* lisp/menu-bar.el (menu-bar-options-save, menu-bar-options-menu):
* lisp/saveplace.el (save-place-to-alist, save-places-to-alist)
(save-place-find-file-hook, save-place-dired-hook): Use
save-place-mode instead of the obsolete save-place.
2018-09-22 10:41:22 +03:00
Eli Zaretskii
d28d54c767 More accurate docs for 'text-char-description'
* src/keymap.c (Ftext_char_description):
* doc/lispref/help.texi (Describing Characters): More accurate
description of 'text-char-description'.  Remove incorrect
examples from the ELisp manual.  (Bug#32743)
2018-09-20 09:41:55 +03:00
Noam Postavsky
b3baf997c8 Document synchronous behavior of eshell/make (Bug#32513)
* doc/misc/eshell.texi (Built-ins):
* lisp/eshell/em-unix.el (eshell/make): Mention that it falls back to
the external 'make' command when called synchronously.
2018-09-19 18:57:37 -04:00
Shigeru Fukaya
98544ea3ea Fix bs-show with wide characters (Bug#17822)
* lisp/bs.el (bs--insert-one-entry, bs-show-in-buffer): Use
string-width instead of length.
2018-09-19 18:48:07 -04:00
Eli Zaretskii
85af51bab1 Improve Custom menu labels for 2 options
* lisp/dired.el (dired-use-ls-dired):
* lisp/progmodes/xref.el (xref-prompt-for-identifier): Improve
the doc string and the defcustom menu/tags text.  (Bug#32756)
2018-09-19 10:54:41 +03:00
Eli Zaretskii
72a2a36654 Improve wording of last change in dired-x.texi
* doc/misc/dired-x.texi (Shell Command Guessing): Clarify
wording in description of 'dired-guess-shell-alist-user'.
Avoid passive tense.  (Bug#32733)
2018-09-19 10:08:03 +03:00
Eli Zaretskii
d4fa83baf5 Fix GnuTLS test suite with GnuTLS versions 3.4.x
* src/gnutls.c (gnutls_cipher_get_tag_size): Make it return
zero only for versions of GnuTLS < 3.2.2, where
gnutls_cipher_get_tag_size was introduced.  This fixes the
GnuTLS test suite, which assumes that any cipher whose tag
size is non-zero is AEAD-capable, and doesn't test such ciphers
if AEAD is not available, i.e. for GnuTLS < 3.5.1.  (Bug#32446)
2018-09-18 13:24:29 +03:00
Noam Postavsky
b5bee6bf48 Fix build with gnutls versions 3.0 to 3.2 (Bug#32446)
We previously used functions available only in 3.2+ for all 3.x
versions.
* src/gnutls.c [GNUTLS_VERSION_NUMBER < 0x030501]: Replace calls to
gnutls_cipher_get_tag_size with 0.
[GNUTLS_VERSION_NUMBER < 0x030200]: Alias gnutls_cipher_get_iv_size
to gnutls_cipher_get_block_size, gnutls_digest_list to
gnutls_mac_list, and gnutls_digest_get_name to gnutls_mac_get_name.
[WINDOWSNT]: Adjust DLL function definitions and declarations
accordingly.
2018-09-17 17:54:32 -04:00
Eli Zaretskii
67eb80e0bf ; * etc/enriched.txt (hanging-indents): Remove extra indent. 2018-09-17 22:46:22 +03:00
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