]> git.eshelyaron.com Git - emacs.git/log
emacs.git
6 years agoEnsure NS frame is redrawn correctly after scroll
Alan Third [Fri, 12 Oct 2018 20:45:03 +0000 (21:45 +0100)]
Ensure NS frame is redrawn correctly  after scroll

* src/nsterm.m (ns_copy_bits): Set needsDisplay so the previous cursor
position is redrawn.

6 years agoAvoid byte-compiler warning in em-rebind.el
Alex Branham [Fri, 5 Oct 2018 14:07:13 +0000 (09:07 -0500)]
Avoid byte-compiler warning in em-rebind.el

* lisp/eshell/em-rebind.el (eshell-delete-backward-char): Use
'delete-char' instead of delete-backward-char.  (Bug#32945)

6 years ago; * doc/emacs/mark.texi (Disabled Transient Mark): Fix last change.
Eli Zaretskii [Fri, 12 Oct 2018 08:33:31 +0000 (11:33 +0300)]
; * doc/emacs/mark.texi (Disabled Transient Mark): Fix last change.

6 years agoImprove indexing of 'C-SPC C-SPC'
Eli Zaretskii [Fri, 12 Oct 2018 08:31:09 +0000 (11:31 +0300)]
Improve indexing of 'C-SPC C-SPC'

* doc/emacs/mark.texi (Disabled Transient Mark): Fix
indexing.  (Bug#32959)

6 years ago; * doc/lispref/internals.texi (Writing Dynamic Modules): Fix a typo.
Eli Zaretskii [Thu, 11 Oct 2018 18:48:10 +0000 (21:48 +0300)]
; * doc/lispref/internals.texi (Writing Dynamic Modules): Fix a typo.

6 years agoFix bug with precious entries in Gnus registry
Eric Abrahamsen [Thu, 11 Oct 2018 18:20:29 +0000 (11:20 -0700)]
Fix bug with precious entries in Gnus registry

* lisp/registry.el (registry-collect-prune-candidates): This `cdr' was
  an error: it meant that the last key in the precious list, would be
  considered a nil. Since the precious list only contains the symbol
  'mark by default, marks were never considered precious.
* doc/misc/gnus.texi (Store arbitrary data): Fix typo: "marks" should
  be "mark".

6 years agoDocument in the ELisp manual how to write loadable modules
Eli Zaretskii [Thu, 11 Oct 2018 17:53:05 +0000 (20:53 +0300)]
Document in the ELisp manual how to write loadable modules

* doc/lispref/internals.texi (Writing Dynamic Modules)
(Module Initialization, Module Functions, Module Values)
(Module Misc, Module Nonlocal): New nodes.
* doc/lispref/loading.texi (Dynamic Modules): Add
cross-reference to the new node.
* doc/lispref/internals.texi (GNU Emacs Internals):
* doc/lispref/elisp.texi (Top): Update menus for the new nodes.

6 years agodired-do-shell-command: Notify users after abort the command
Tino Calancha [Thu, 11 Oct 2018 08:23:30 +0000 (17:23 +0900)]
dired-do-shell-command: Notify users after abort the command

* lisp/dired-aux.el (dired-do-shell-command):  Notify users that
the command have aborted when they answer 'n' to the prompt (Bug#32969).

6 years agoAdapt Tramp version. Do not merge with master
Michael Albinus [Thu, 11 Oct 2018 07:39:12 +0000 (09:39 +0200)]
Adapt Tramp version.  Do not merge with master

* lisp/net/trampver.el: Change version to "2.3.5.26.2".
(customize-package-emacs-version-alist): Add Tramp version
integrated in Emacs 26.2.

6 years agoFix Apple Script permissions error
Alan Third [Sun, 7 Oct 2018 15:15:17 +0000 (16:15 +0100)]
Fix Apple Script permissions error

* nextstep/templates/Info.plist.in: Add NSAppleEventsUsageDescription
message to enable AppleEvents usage.

6 years agoFix typo in 'timerp' documentation
Mauro Aranda [Tue, 9 Oct 2018 21:20:53 +0000 (18:20 -0300)]
Fix typo in 'timerp' documentation

* doc/lispref/os.texi (Timers): Fix typo in 'timerp' documentation.
(Bug#32999)

Copyright-paperwork-exempt: yes

6 years ago; * src/data.c (Fkeywordp): Remove inaccurate commentary. (Bug#32979)
Eli Zaretskii [Mon, 8 Oct 2018 20:14:59 +0000 (23:14 +0300)]
; * src/data.c (Fkeywordp): Remove inaccurate commentary.  (Bug#32979)

6 years ago* doc/emacs/mark.texi (Mark): Index "(de)activating the mark".
Charles A. Roelli [Mon, 8 Oct 2018 17:21:41 +0000 (19:21 +0200)]
* doc/emacs/mark.texi (Mark): Index "(de)activating the mark".

(Bug#32956)

6 years agoFix overflow lockup with frames > 255 lines
Scott Corley [Mon, 8 Oct 2018 06:21:40 +0000 (23:21 -0700)]
Fix overflow lockup with frames > 255 lines

Backport from master.
* src/scroll.c (struct matrix_elt): Change unsigned char fields to
int to handle frames with more than 255 lines (Bug#32951).
Copyright-paperwork-exempt: yes

6 years agoAvoid assertion violations in nonsensical calls to 'signal'
Eli Zaretskii [Sun, 7 Oct 2018 14:45:12 +0000 (17:45 +0300)]
Avoid assertion violations in nonsensical calls to 'signal'

* src/eval.c (Fsignal): If both arguments are nil, replace the
first one with 'error', to avoid assertion violations further
down the line.  (Bug#32961)

6 years ago* lisp/simple.el (transient-mark-mode): Correct documentation. (Bug#32956)
Charles A. Roelli [Sat, 6 Oct 2018 19:24:32 +0000 (21:24 +0200)]
* lisp/simple.el (transient-mark-mode): Correct documentation.  (Bug#32956)

6 years agoUpdate the locale and language database
Eli Zaretskii [Sat, 6 Oct 2018 09:38:36 +0000 (12:38 +0300)]
Update the locale and language database

* lisp/international/mule-cmds.el (locale-language-names):
Update the list of supported locales.  Use existing language
names where available.

6 years agoFix a typo in a doc string.
Eli Zaretskii [Fri, 5 Oct 2018 13:51:17 +0000 (16:51 +0300)]
Fix a typo in a doc string.

* lisp/window.el (display-buffer-alist): Fix a typo in a doc string.
Reported by Michael Heerdegen <michael_heerdegen@web.de>.

6 years agoMake nneething allow CRLF-encoded files (bug#32940)
Katsumi Yamaoka [Fri, 5 Oct 2018 00:22:20 +0000 (00:22 +0000)]
Make nneething allow CRLF-encoded files (bug#32940)

* lisp/gnus/nneething.el (nneething-request-article):
Bind coding system to raw-text instead of binary when reading a file,
that may be CRLF-encoded (bug#32940).

6 years agoFurther fix to eieio-persistent
Eric Abrahamsen [Sun, 8 Apr 2018 23:49:20 +0000 (16:49 -0700)]
Further fix to eieio-persistent

* lisp/emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
  Make handling of hash tables and vectors recursive. This is
  necessary because the write process, in `eieio-override-prin1' is
  also recursive. With any luck, this will be the last fix of its
  kind. If that's true, cherry-pick to Emacs 26.2 later on.

6 years agoAvoid ridiculously high stack limit requests on macOS
Eli Zaretskii [Thu, 4 Oct 2018 16:13:17 +0000 (19:13 +0300)]
Avoid ridiculously high stack limit requests on macOS

* src/emacs.c (main): Avoid wraparound in subtraction of
rlim_t values, in case rlim_t is an unsigned type.  (Bug#32338)

6 years agoImprove documentation of 'read-hide-char'
Charles A. Roelli [Wed, 3 Oct 2018 17:59:34 +0000 (19:59 +0200)]
Improve documentation of 'read-hide-char'

* src/minibuf.c (syms_of_minibuf) <Vread_hide_char>: Clarify
documentation and mention where else the variable is used.
* doc/lispref/minibuf.texi (Reading a Password): Add an index
entry for 'read-hide-char'.

6 years agoIn follow mode, prevent the cursor resting on a partially displayed line
Alan Mackenzie [Wed, 3 Oct 2018 15:57:15 +0000 (15:57 +0000)]
In follow mode, prevent the cursor resting on a partially displayed line

Don't merge to master.  This fixes bug #32848

* lisp/follow.el (follow-adjust-window): If point ends up in a partially
displayed line in a left hand or middle window, move it one line
forward, to
prevent unwanted scrolling should make-cursor-line-fully-visible be
non-nil.

6 years agoRevert "Temporary workaround for bug #32848 for branch emacs-26"
Alan Mackenzie [Wed, 3 Oct 2018 12:08:59 +0000 (12:08 +0000)]
Revert "Temporary workaround for bug #32848 for branch emacs-26"

This reverts commit 6650751ce73413d05599df07a9c5bc70744260f3.

6 years agoRevert "* etc/NEWS: Note setting make-cursor-line-fully-visible to nil in follow...
Alan Mackenzie [Wed, 3 Oct 2018 12:08:27 +0000 (12:08 +0000)]
Revert "* etc/NEWS: Note setting make-cursor-line-fully-visible to nil in follow-mode"

This reverts commit f3c8f4bde2de2b9d42c44f5e44f34c427bebdc58.

6 years ago* etc/NEWS: Note setting make-cursor-line-fully-visible to nil in follow-mode
Alan Mackenzie [Sun, 30 Sep 2018 15:58:40 +0000 (15:58 +0000)]
* etc/NEWS: Note setting make-cursor-line-fully-visible to nil in follow-mode

Also re-insert the "temporary note" explaining --- and +++.

6 years agoFix note about interactive advice (Bug#32905)
Noam Postavsky [Tue, 2 Oct 2018 23:56:43 +0000 (19:56 -0400)]
Fix note about interactive advice (Bug#32905)

* doc/lispref/functions.texi (Core Advising Primitives): Add missing
':', and finish the sentence fragment.

6 years agoComple fix for Bug#32550
Michael Albinus [Mon, 1 Oct 2018 12:17:27 +0000 (14:17 +0200)]
Comple fix for Bug#32550

* lisp/net/tramp.el (tramp-rfn-eshadow-update-overlay):
Use `save-excursion'.  This completes the fix of Bug#32550.

6 years ago; Auto-commit of loaddefs files.
Glenn Morris [Mon, 1 Oct 2018 10:23:16 +0000 (06:23 -0400)]
; Auto-commit of loaddefs files.

6 years ago* lisp/savehist.el (savehist-mode): Doc fix. (Bug#32889)
Eli Zaretskii [Mon, 1 Oct 2018 07:45:33 +0000 (10:45 +0300)]
* lisp/savehist.el (savehist-mode): Doc fix.  (Bug#32889)

6 years ago; * lisp/bindings.el (bindings--define-key): Doc fix. (Bug#32885)
Eli Zaretskii [Mon, 1 Oct 2018 07:19:27 +0000 (10:19 +0300)]
; * lisp/bindings.el (bindings--define-key): Doc fix.  (Bug#32885)

6 years agoOrg manual: Rewrite the Org Mobile section
Nicolas Goaziou [Sat, 29 Sep 2018 14:40:42 +0000 (16:40 +0200)]
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)

6 years agoTemporary workaround for bug #32848 for branch emacs-26
Alan Mackenzie [Sun, 30 Sep 2018 10:46:26 +0000 (10:46 +0000)]
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.

6 years agoImprove cl-do, cl-do* docstrings
Tino Calancha [Sat, 29 Sep 2018 09:06:03 +0000 (18:06 +0900)]
Improve cl-do, cl-do* docstrings

* lisp/emacs-lisp/cl-macs.el(cl-do, cl-do*):
Improve docstring (Bug#32803).

6 years agoAvoid returning early in 'while-no-input' due to subprocesses
Eli Zaretskii [Sat, 29 Sep 2018 07:11:08 +0000 (10:11 +0300)]
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'

6 years agoCleanup when opening a new terminal fails. (Bug#32794)
John Shahid [Fri, 21 Sep 2018 15:15:10 +0000 (11:15 -0400)]
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.

6 years agoFix deprecation warning
Alan Third [Wed, 26 Sep 2018 21:21:37 +0000 (22:21 +0100)]
Fix deprecation warning

* src/nsterm.m (ns_term_init): Use writeToFile or writeToURL as
required.

6 years agoMake all NS drawing be done from drawRect
Alan Third [Fri, 28 Sep 2018 19:23:07 +0000 (20:23 +0100)]
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.

6 years ago; Fix some doc typos
Glenn Morris [Fri, 28 Sep 2018 18:02:52 +0000 (14:02 -0400)]
; Fix some doc typos

6 years agoFix Bug#32828
Michael Albinus [Fri, 28 Sep 2018 10:51:25 +0000 (12:51 +0200)]
Fix Bug#32828

* lisp/net/dbus.el (dbus-init-bus): Return number of connections,
as promised by the docstring.  (Bug#32828)

6 years ago* lisp/net/shr.el (shr-copy-url): Fix docstring.
Noam Postavsky [Thu, 27 Sep 2018 23:36:09 +0000 (19:36 -0400)]
* lisp/net/shr.el (shr-copy-url): Fix docstring.

6 years agoFix typos in documentation
Eli Zaretskii [Thu, 27 Sep 2018 15:48:06 +0000 (18:48 +0300)]
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)

6 years ago; Spellcheck two more documentation strings
Charles A. Roelli [Tue, 25 Sep 2018 19:33:00 +0000 (21:33 +0200)]
; Spellcheck two more documentation strings

* lisp/files.el (hack-local-variables):
* src/keymap.c (Ftext_char_description): Spellcheck documentation.

6 years ago; * lisp/simple.el (save-interprogram-paste-before-kill): Fix documentation.
Charles A. Roelli [Tue, 25 Sep 2018 19:29:29 +0000 (21:29 +0200)]
; * lisp/simple.el (save-interprogram-paste-before-kill): Fix documentation.

6 years ago* doc/emacs/kmacro.texi (Basic Keyboard Macro): Mention old bindings
Stefan Monnier [Mon, 24 Sep 2018 18:58:11 +0000 (14:58 -0400)]
* 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.

6 years agoImprove docs of functions/variables related to 'display-buffer'
Eli Zaretskii [Mon, 24 Sep 2018 15:07:02 +0000 (18:07 +0300)]
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)

6 years ago* lisp/mouse.el (tear-off-window): Fix non-mouse use (bug#32799)
Stefan Monnier [Sat, 22 Sep 2018 23:16:55 +0000 (19:16 -0400)]
* lisp/mouse.el (tear-off-window): Fix non-mouse use (bug#32799)

6 years agoImprove documentation of directory-local variables
Eli Zaretskii [Sat, 22 Sep 2018 09:06:51 +0000 (12:06 +0300)]
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.

6 years agoDon't use obsolete variable 'save-place' in documentation
Eli Zaretskii [Sat, 22 Sep 2018 07:54:58 +0000 (10:54 +0300)]
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)

6 years agoUse save-place-mode instead of save-place
Mark A. Hershberger [Sat, 15 Sep 2018 16:49:49 +0000 (12:49 -0400)]
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.

6 years agoMore accurate docs for 'text-char-description'
Eli Zaretskii [Thu, 20 Sep 2018 06:41:55 +0000 (09:41 +0300)]
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)

6 years agoDocument synchronous behavior of eshell/make (Bug#32513)
Noam Postavsky [Wed, 19 Sep 2018 22:57:37 +0000 (18:57 -0400)]
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.

6 years agoFix bs-show with wide characters (Bug#17822)
Shigeru Fukaya [Sat, 21 Jun 2014 03:35:55 +0000 (12:35 +0900)]
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.

6 years agoImprove Custom menu labels for 2 options
Eli Zaretskii [Wed, 19 Sep 2018 07:54:41 +0000 (10:54 +0300)]
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)

6 years agoImprove wording of last change in dired-x.texi
Eli Zaretskii [Wed, 19 Sep 2018 07:08:03 +0000 (10:08 +0300)]
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)

6 years agoFix GnuTLS test suite with GnuTLS versions 3.4.x
Eli Zaretskii [Tue, 18 Sep 2018 10:24:29 +0000 (13:24 +0300)]
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)

6 years agoFix build with gnutls versions 3.0 to 3.2 (Bug#32446)
Noam Postavsky [Sat, 15 Sep 2018 14:25:11 +0000 (10:25 -0400)]
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.

6 years ago; * etc/enriched.txt (hanging-indents): Remove extra indent.
Eli Zaretskii [Mon, 17 Sep 2018 19:46:22 +0000 (22:46 +0300)]
; * etc/enriched.txt (hanging-indents): Remove extra indent.

6 years agoFix the Bubbles game on TTY frames
Eli Zaretskii [Mon, 17 Sep 2018 14:34:31 +0000 (17:34 +0300)]
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)

6 years agoAdd choice to reshow certificate information (Bug#31877)
Allen Li [Wed, 1 Aug 2018 10:04:26 +0000 (03:04 -0700)]
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.

6 years ago* src/alloc.c (Fbool_vector, Flist, Fvector): Doc tweak.
Glenn Morris [Sat, 15 Sep 2018 22:33:32 +0000 (15:33 -0700)]
* src/alloc.c (Fbool_vector, Flist, Fvector): Doc tweak.

Use a simpler, consistent form.

6 years ago* src/alloc.c (vector): Fix grammatical error in doc string: "are" -> "is".
Alan Mackenzie [Sat, 15 Sep 2018 20:21:08 +0000 (20:21 +0000)]
* src/alloc.c (vector): Fix grammatical error in doc string: "are" -> "is".

6 years agoAvoid adverse side effects of fixing bug#21824
Eli Zaretskii [Sat, 15 Sep 2018 09:21:12 +0000 (12:21 +0300)]
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)

6 years agoDocument changes called out in NEWS
Eli Zaretskii [Sat, 15 Sep 2018 08:51:34 +0000 (11:51 +0300)]
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.

6 years ago; * etc/NEWS: Document recent change in 'thing-at-point'.
Eli Zaretskii [Sat, 15 Sep 2018 08:07:16 +0000 (11:07 +0300)]
; * etc/NEWS: Document recent change in 'thing-at-point'.

6 years ago; INSTALL: Fix a typo in the last commit.
Eli Zaretskii [Sat, 15 Sep 2018 07:52:55 +0000 (10:52 +0300)]
; INSTALL: Fix a typo in the last commit.

6 years agoTiny doc updates re yum/dnf etc
Glenn Morris [Fri, 14 Sep 2018 15:54:28 +0000 (08:54 -0700)]
Tiny doc updates re yum/dnf etc

* INSTALL: Mention dnf and Debian unversioned emacs package.
* doc/misc/efaq.texi (Installing Emacs): Mention dnf.

6 years agoRemove unused variable
Leo Liu [Fri, 14 Sep 2018 14:44:09 +0000 (22:44 +0800)]
Remove unused variable

* lisp/progmodes/prolog.el (prolog-hungry-delete-key-flag): Remove.

6 years agoFix (thing-at-point 'list) regression (Bug#31772)
Leo Liu [Fri, 14 Sep 2018 14:31:50 +0000 (22:31 +0800)]
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.

6 years agoClarify meaning of '*'
Robert Pluim [Fri, 14 Sep 2018 13:57:14 +0000 (15:57 +0200)]
Clarify meaning of '*'

* doc/misc/dired-x.texi (Shell Command Guessing): Clarify meaning
of '*'. (Bug#32733)

6 years ago* etc/PROBLEMS: Document Ubuntu 16.04 issue.
Paul Eggert [Wed, 12 Sep 2018 14:53:43 +0000 (07:53 -0700)]
* etc/PROBLEMS: Document Ubuntu 16.04 issue.

6 years agoIncrease default value for imenu-auto-rescan-maxout
Alex Branham [Fri, 31 Aug 2018 13:05:06 +0000 (08:05 -0500)]
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

6 years agoImprove recent change to ELisp manual
Eli Zaretskii [Tue, 11 Sep 2018 18:33:28 +0000 (21:33 +0300)]
Improve recent change to ELisp manual

* doc/lispref/commands.texi (Keyboard Events): Add index entry
for "character event".  (Bug#32562)

6 years ago* doc/lispref/display.texi (SVG Images): Improve wording.
Eli Zaretskii [Tue, 11 Sep 2018 07:30:25 +0000 (10:30 +0300)]
* doc/lispref/display.texi (SVG Images): Improve wording.

6 years ago* doc/lispref/display.texi (SVG Images): Fix a typo. (Bug#32690)
Eli Zaretskii [Tue, 11 Sep 2018 07:12:49 +0000 (10:12 +0300)]
* doc/lispref/display.texi (SVG Images): Fix a typo.  (Bug#32690)

6 years agoClarify completion text in the ELisp manual
Eli Zaretskii [Mon, 10 Sep 2018 13:20:42 +0000 (16:20 +0300)]
Clarify completion text in the ELisp manual

* doc/lispref/minibuf.texi (Programmed Completion): Clarify
text.  Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.

6 years agoFix handling of abbreviated control command in gdb-mi.el
Eli Zaretskii [Mon, 10 Sep 2018 13:11:05 +0000 (16:11 +0300)]
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)

6 years agoClarify documentation of functions reading character events
Eli Zaretskii [Mon, 10 Sep 2018 09:46:22 +0000 (12:46 +0300)]
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)

6 years agoRecord :version for built-in variables while dumping
Eli Zaretskii [Fri, 7 Sep 2018 07:35:59 +0000 (10:35 +0300)]
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.

6 years ago* src/process.c (connect_network_socket): Fix memory leak. (Bug#32604)
YAMAMOTO Mitsuharu [Thu, 6 Sep 2018 23:35:36 +0000 (08:35 +0900)]
* src/process.c (connect_network_socket): Fix memory leak.  (Bug#32604)

6 years ago* Makefile.in (appdatadir): Use the non-obsolete location "metainfo".
Glenn Morris [Wed, 5 Sep 2018 20:37:56 +0000 (16:37 -0400)]
* 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."

6 years agoBetter fix for bug#32550
Stefan Monnier [Tue, 4 Sep 2018 16:03:52 +0000 (12:03 -0400)]
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.

6 years agoFix Bug#32550
Michael Albinus [Tue, 4 Sep 2018 09:59:39 +0000 (11:59 +0200)]
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)

6 years agoDon't call XGetGeometry for frames without outer X window (Bug#32615)
Martin Rudalics [Tue, 4 Sep 2018 06:53:49 +0000 (08:53 +0200)]
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)

6 years ago* lisp/calculator.el: Fix doc typo.
Paul Eggert [Mon, 3 Sep 2018 19:57:10 +0000 (12:57 -0700)]
* lisp/calculator.el: Fix doc typo.

6 years agoStandardize calc bug reporting instructions
Glenn Morris [Mon, 3 Sep 2018 17:28:07 +0000 (10:28 -0700)]
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.

6 years ago; Auto-commit of loaddefs files.
Glenn Morris [Sat, 1 Sep 2018 10:23:14 +0000 (06:23 -0400)]
; Auto-commit of loaddefs files.

6 years agoRename thread-alive-p to thread-live-p
Michael Albinus [Fri, 31 Aug 2018 08:47:03 +0000 (10:47 +0200)]
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'.

6 years agorcirc: Document /reconnect as a built-in command (Bug#29656)
Miciah Masters [Mon, 11 Dec 2017 00:56:48 +0000 (19:56 -0500)]
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

6 years ago* test/lisp/calc/calc-tests.el (calc-imaginary-i): New test.
Noam Postavsky [Thu, 30 Aug 2018 02:47:00 +0000 (22:47 -0400)]
* test/lisp/calc/calc-tests.el (calc-imaginary-i): New test.

6 years ago; * configure.ac: Remove outdated comment (it was about CRT_DIR).
Glenn Morris [Wed, 29 Aug 2018 01:03:12 +0000 (21:03 -0400)]
; * configure.ac: Remove outdated comment (it was about CRT_DIR).

6 years agoadmin.el: respect environment settings for makeinfo etc
Glenn Morris [Tue, 28 Aug 2018 20:34:25 +0000 (16:34 -0400)]
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.

6 years ago* etc/PROBLEMS: New entry about GTK+ 3 crash with some X servers.
Glenn Morris [Tue, 28 Aug 2018 20:05:04 +0000 (16:05 -0400)]
* etc/PROBLEMS: New entry about GTK+ 3 crash with some X servers.

6 years agoIndex profiler commands in elisp manual
Noam Postavsky [Tue, 28 Aug 2018 11:49:49 +0000 (07:49 -0400)]
Index profiler commands in elisp manual

* doc/lispref/debugging.texi (Profiling): Add index entries for
profiler-start, profiler-report, profiler-stop.

6 years agoFix math-imaginary-i check
Noam Postavsky [Wed, 15 Aug 2018 03:26:50 +0000 (23:26 -0400)]
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>).

6 years ago; Let pre-commit git hook check merged in changes (Bug#29197)
Noam Postavsky [Thu, 15 Feb 2018 00:58:07 +0000 (19:58 -0500)]
; 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.

6 years agoAvoid infinite hscrolling loops when line numbers are displayed
Eli Zaretskii [Tue, 28 Aug 2018 11:11:12 +0000 (14:11 +0300)]
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)

6 years agoAvoid crashes in malformed defvar
Eli Zaretskii [Tue, 28 Aug 2018 07:20:46 +0000 (10:20 +0300)]
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)

6 years ago* configure.ac (emacs_config_features): Add GLIB, XDBE, XIM.
Glenn Morris [Tue, 28 Aug 2018 01:46:14 +0000 (21:46 -0400)]
* configure.ac (emacs_config_features): Add GLIB, XDBE, XIM.

6 years ago* configure.ac: Doc fixes related to --with-xim.
Glenn Morris [Tue, 28 Aug 2018 01:44:29 +0000 (21:44 -0400)]
* configure.ac: Doc fixes related to --with-xim.