]> git.eshelyaron.com Git - emacs.git/log
emacs.git
8 years ago; Merge from origin/emacs-25
Paul Eggert [Mon, 10 Oct 2016 14:35:33 +0000 (07:35 -0700)]
; Merge from origin/emacs-25

The following commits were skipped:

34b6df1 Fix compilation with MinGW runtime 3.22.2 and w32api 3.18.2
4ef9ea2 Add documentation note from Alex
9d6026d * src/alloc.c: call only non-null finalizers

8 years agoMerge from origin/emacs-25
Paul Eggert [Mon, 10 Oct 2016 14:35:32 +0000 (07:35 -0700)]
Merge from origin/emacs-25

4b347fe Clarify that doc fixes are okay in feature freeze
01669ad Avoid crashes when setting the cursor
f2144ee Restore 'command-debug-status' functionality
ec6e4b9 ; Minor addition to CONTRIBUTE

8 years ago; Merge from origin/emacs-25
Paul Eggert [Mon, 10 Oct 2016 14:35:32 +0000 (07:35 -0700)]
; Merge from origin/emacs-25

The following commit was skipped:

e1b2918 Document yank behavior in the right place

8 years agoMerge from origin/emacs-25
Paul Eggert [Mon, 10 Oct 2016 14:35:31 +0000 (07:35 -0700)]
Merge from origin/emacs-25

74b4f13 Document nil args of compare-buffer-substrings
9fc81bc * doc/misc/message.texi (Bcc Warning): Fix markup.
95baa25 * doc/misc/message.texi (Bcc Warning): Document mml-secure-sa...

8 years ago; Merge from origin/emacs-25
Paul Eggert [Mon, 10 Oct 2016 14:35:31 +0000 (07:35 -0700)]
; Merge from origin/emacs-25

The following commits were skipped:

6234012 Don't require isearch-update before isearch-done
5e50114 Avoid error in icalendar--read-element
ace9d22 Make a menu less ambiguous
e683495 Doc fix for url-http

8 years agoMerge from origin/emacs-25
Paul Eggert [Mon, 10 Oct 2016 14:35:31 +0000 (07:35 -0700)]
Merge from origin/emacs-25

f1247f0 * lisp/frame.el (blink-cursor-delay): Doc fix.  (Bug#24372)
ace7f14 * lisp/gnus/gnus-art.el (gnus-button-handle-library): Fix typo.
bbf1ffd Regexp Functions doc minor fixes

8 years agoDon’t consider nested let-alist forms
Philipp Stephani [Sat, 8 Oct 2016 13:29:32 +0000 (15:29 +0200)]
Don’t consider nested let-alist forms

See Bug#24641.

* lisp/emacs-lisp/let-alist.el (let-alist--deep-dot-search): Don’t
consider symbols in nested ‘let-alist’ forms.

* test/lisp/emacs-lisp/let-alist-tests.el
(let-alist--deep-dot-search--nested): Add a unit test.

8 years agoSupport SIGTRAP in kill emulation on Windows
Alain Schneble [Sat, 8 Oct 2016 13:52:40 +0000 (16:52 +0300)]
Support SIGTRAP in kill emulation on Windows

* src/w32proc.c (sys_kill): Translate SIGTRAP signal into a call to
'DebugBreakProcess' to cause a breakpoint exception to occur in the
specified process.  On Windows versions prior to Windows XP that do
not support 'DebugBreakProcess' return -1 and set errno to ENOTSUP
(as opposed to EINVAL before this change).
* src/w32proc.c: Add typedef for 'DebugBreakProcess' function pointer
and global variable to track state of run-time dynamic linking of this
function.

* etc/NEWS: Add entry to document that 'signal-process' now supports
SIGTRAP.

8 years agoDeprecate 'wp' group and introduce a new group 'text'
Eli Zaretskii [Sat, 8 Oct 2016 13:37:42 +0000 (16:37 +0300)]
Deprecate 'wp' group and introduce a new group 'text'

* lisp/textmodes/tildify.el (tildify):
* lisp/textmodes/text-mode.el (text-mode-hook):
* lisp/textmodes/table.el (table):
* lisp/textmodes/rst.el (rst):
* lisp/textmodes/refer.el (refer):
* lisp/textmodes/refbib.el (refbib):
* lisp/textmodes/picture.el (picture):
* lisp/textmodes/nroff-mode.el (nroff):
* lisp/textmodes/enriched.el (enriched):
* lisp/textmodes/bib-mode.el (bib):
* lisp/progmodes/ebnf2ps.el (ebnf2ps):
* lisp/nxml/rng-valid.el (relax-ng):
* lisp/view.el (view):
* lisp/ps-print.el (ps-print):
* lisp/printing.el (printing):
* lisp/outline.el (outlines):
* lisp/lpr.el (lpr):
* lisp/delim-col.el (columns): Use 'text' group instead of 'wp'.
* lisp/cus-edit.el (wp): Remove the "text" tag.
(text): New defgroup, inherits from the deprecated 'wp'.
(outlines): Remove, in favor of the definition in outline.el.
(tex): Inherit from 'text'.
Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#24549)

8 years agoExtend dictionary and library-directory handling for Ispell
Laimonas Vėbra [Sat, 8 Oct 2016 12:15:22 +0000 (15:15 +0300)]
Extend dictionary and library-directory handling for Ispell

* lisp/textmodes/ispell.el (ispell-check-version): Allow
overriding LIBDIR via the variable defined by LIBRARYVAR (usually
ISPELL_DICTDIR).
(ispell-valid-dictionary-list): If the -d option to Ispell
specifies an absolute file name, use that regardless of
ispell-library-directory.  (Bug#24439)

Copyright-paperwork-exempt: yes

8 years agoFix unescaped \begin{...} in docstring
Tassilo Horn [Fri, 7 Oct 2016 16:29:57 +0000 (18:29 +0200)]
Fix unescaped \begin{...} in docstring

* lisp/textmodes/reftex-cite.el (reftex-bib-or-thebib): Fix unescaped
\begin{...} in docstring.

8 years agoUpdate comment.
Noah Friedman [Fri, 7 Oct 2016 01:32:59 +0000 (18:32 -0700)]
Update comment.

8 years agoFix compilation with MinGW runtime 3.22.2 and w32api 3.18.2
Eli Zaretskii [Thu, 6 Oct 2016 15:11:43 +0000 (18:11 +0300)]
Fix compilation with MinGW runtime 3.22.2 and w32api 3.18.2

* nt/inc/ms-w32.h (_WIN32_WINNT) [!MINGW_W64]: Undefine before
defining to avoid redefinition warnings.

* nt/inc/sys/stat.h (_SYS_STAT_H, _INC_STAT_H): Define, to avoid
inclusion of sys/stat.h from the system headers, which could then
lead to compilation errors due to redefinition of 'struct stat'
etc.  This is needed because latest versions of MinGW runtime
include sys/stat.h from wchar.h.

* src/image.c (__MINGW_MAJOR_VERSION) [WINDOWSNT]: Temporarily
redefine to 4 to avoid conflict between 2 definitions of
MemoryBarrier.  (Bug#24613)

8 years agoFix compilation with MinGW runtime 3.22.2 and w32api 3.18.2
Eli Zaretskii [Thu, 6 Oct 2016 15:08:31 +0000 (18:08 +0300)]
Fix compilation with MinGW runtime 3.22.2 and w32api 3.18.2

* nt/inc/ms-w32.h (_WIN32_WINNT) [!MINGW_W64]: Undefine before
defining to avoid redefinition warnings.

* nt/inc/sys/stat.h (_SYS_STAT_H, _INC_STAT_H): Define, to avoid
inclusion of sys/stat.h from the system headers, which could then
lead to compilation errors due to redefinition of 'struct stat'
etc.  This is needed because latest versions of MinGW runtime
include sys/stat.h from wchar.h.

* src/image.c (__MINGW_MAJOR_VERSION) [WINDOWSNT]: Temporarily
redefine to 4 to avoid conflict between 2 definitions of
MemoryBarrier.  (Bug#24613)

Do not merge to master!

8 years ago* lisp/url-url-parse.el (url-generic-parse-url): Unquote macro URL argument.
Mark Oteiza [Thu, 6 Oct 2016 02:52:20 +0000 (22:52 -0400)]
* lisp/url-url-parse.el (url-generic-parse-url): Unquote macro URL argument.

8 years agoAutoload entry point testcover-start
Mark Oteiza [Thu, 6 Oct 2016 02:49:14 +0000 (22:49 -0400)]
Autoload entry point testcover-start

* lisp/emacs-lisp/testcover.el: Add autoload cookie for
testcover-start.

8 years agoBump version of ntlm.el to 2.1.0
Thomas Fitzsimmons [Sun, 2 Oct 2016 04:01:43 +0000 (00:01 -0400)]
Bump version of ntlm.el to 2.1.0

* lisp/net/ntlm.el: Bump version to 2.1.0.

8 years agolisp/net/ntlm.el: Fix comment and docstring formatting
Thomas Fitzsimmons [Sun, 2 Oct 2016 03:57:20 +0000 (23:57 -0400)]
lisp/net/ntlm.el: Fix comment and docstring formatting

8 years agolisp/net/ntlm.el: Match Mozilla Type 1 and 3 message behavior
Thomas Fitzsimmons [Sun, 2 Oct 2016 03:30:07 +0000 (23:30 -0400)]
lisp/net/ntlm.el: Match Mozilla Type 1 and 3 message behavior

* lisp/net/ntlm.el (ntlm-build-auth-request): Only set
"negotiate domain supplied" bit when a domain is supplied.  Do
not set "negotiate workstation supplied" bit.
(ntlm-build-auth-response): Set domain to empty string by
default.  Set workstation name to "WORKSTATION".  Set flags to
logical and of Type 1 and Type 2 message flags.  Remove four
trailing 0 bytes.  Always set LM response.  Hard-code domain
offset.  Reorder buffer fields.

8 years agoAdd documentation note from Alex
John Wiegley [Tue, 4 Oct 2016 21:47:43 +0000 (14:47 -0700)]
Add documentation note from Alex

8 years agoDocument return value of `display-buffer-in-side-window'
Martin Rudalics [Wed, 5 Oct 2016 14:12:19 +0000 (16:12 +0200)]
Document return value of `display-buffer-in-side-window'

* doc/lispref/windows.texi (Displaying Buffers in Side Windows):
* lisp/window.el (display-buffer-in-side-window): Describe
return value of `display-buffer-in-side-window'.

8 years agoImprove wording in side windows documentation
Eli Zaretskii [Wed, 5 Oct 2016 13:01:19 +0000 (16:01 +0300)]
Improve wording in side windows documentation

* doc/lispref/windows.texi (Displaying Buffers in Side Windows)
(Side Window Options and Functions)
(Frame Layouts with Side Windows): Minor wording improvements.

8 years agoDocument and fix some bugs with side windows
Martin Rudalics [Wed, 5 Oct 2016 08:28:36 +0000 (10:28 +0200)]
Document and fix some bugs with side windows

Add a documentation for side windows and fix some bugs
found when testing their behavior.  Also add a new window
parameter `no-delete-other-window', a new `display-buffer'
alist member called `window-parameters', and functions to
toggle and reverse side windows on a frame.  Add new function
`window-swap-states' to exchange states of two live windows.

* lisp/window.el (display-buffer-in-atom-window): Use
`split-window-no-error'.
(window-sides-vertical): Maybe change layouts when setting this
variable.
(window-sides-reversed): New option.
(window-sides-slots): Rewrite doc-string and help echoes.
(window-sides-shown): New buffer-local variable set when showing
a buffer in a side window.
(window--sides-inhibit-check): New variable.
(window--sides-reverse-on-frame-p, window-toggle-side-windows)
(window--sides-reverse-all, window--sides-reverse-frame)
(window--sides-reverse-side, window--sides-reverse)
(window--sides-verticalize-frame, window--sides-verticalize)
(window--sides-check-failed): New functions.
(window--side-window-p): Remove function.
(window--major-non-side-window): Rename to `window-main-window',
adjust callers, rewrite doc-string.
(window--major-side-window): Rename to
`window--make-major-side-window-next-to', adjust caller, fix
doc-string.
(display-buffer-in-major-side-window): Rename to
`window--make-major-side-window', adjust
caller, rewrite doc-string.  Make `window-side' and
`window-slot' parameters persistent (Bug#23858).  Don't set
`delete-window' parameter.  Add `preserve-size' entry to ALIST.
(delete-side-window): Remove function.
(display-buffer-in-side-window): Fix doc-string.  Don't set
`delete-window' parameter.  Add `preserve-size' entry to ALIST.
(window--side-check): Rename to window--sides-check.  Rewrite
completely.  Adjust caller.
(window-resize-no-error): Don't describe PIXELWISE argument.
(adjust-window-trailing-edge): Fix bug that disallowed
re-enlarging windows that were too small.
(window-deletable-p): Don't tell that a minibuffer window on a
non-minibuffer-only frame can be deleted.  Fix doc-string.
(delete-window): Handle deleting a side window here (the
`delete-window' parameter is no more set for side windows).
(delete-other-windows): Handle ‘no-delete-other-window'
parameter. Don't treat side windows separately (see discussion
of Bug#24368) but keep optimization that makes the main window
the root window of its frame.
(switch-to-prev-buffer, switch-to-next-buffer): Handle side
windows and buffers shown in side windows separately.
(split-window-no-error): New function.
(window--state-get-1): Use right buffer when storing window
point and start positions and WRITABLE is nil (Bug#24368).
(window--state-put-1): Fix handling of `window-combination-limit'.
Use `split-window-no-error'.
(window--state-put-2): Try to restore windows with preserved
size to their original size.  Fix bug where a fixed window's width
was not preserved.
(window-state-put): When reducing an internal window to a live
one, don't choose a side window.
(window-swap-states): New function.
(window-splittable-p): Don't call `window--side-window-p'.
(window--display-buffer): Handle `window-parameters' ALIST entry.
Minor rewrite.
(display-buffer): Mention `window-parameters' entry in
doc-string.
(display-buffer-at-bottom): Call `split-window-no-error'.

* doc/lispref/elisp.texi (Top): New section "Side Windows".
* doc/lispref/windows.texi (Deleting Windows): Fix descriptions
of `delete-window' and `delete-other-windows' wrt window
parameters and side windows.
(Display Action Functions): Mention `window-parameters' ALIST
entry.
(Side Windows): New section (Bug#18170).
(Window Configurations): Describe new function `window-swap-states'.
(Window Parameters): Say that functions may behave specially when
their homonymous window parameter has been set.  Mention new
parameter `no-delete-other-window'.  Add cross reference for
`window-side' and `window-slot' parameters.

8 years ago* src/alloc.c: call only non-null finalizers
Aurelien Aptel [Fri, 30 Sep 2016 12:00:51 +0000 (14:00 +0200)]
* src/alloc.c: call only non-null finalizers

8 years agoAdd documentation note from Alex
John Wiegley [Tue, 4 Oct 2016 21:47:43 +0000 (14:47 -0700)]
Add documentation note from Alex

8 years agoClarify that doc fixes are okay in feature freeze
Karl Fogel [Tue, 4 Oct 2016 21:03:27 +0000 (16:03 -0500)]
Clarify that doc fixes are okay in feature freeze

* CONTRIBUTE (branches): Explain that doc fixes are always safe, even
on a release branch in feature freeze.  Tweak wording of paragraph
after that to avoid a misleading contrast.

8 years agoAvoid crashes when setting the cursor
Eli Zaretskii [Tue, 4 Oct 2016 19:12:08 +0000 (22:12 +0300)]
Avoid crashes when setting the cursor

* src/xdisp.c (display_and_set_cursor): Don't index glyphs of a
glyph row if hpos is out of valid bounds.  This avoids crashes in
some rare cases.  (Bug#24614)

8 years agoRestore 'command-debug-status' functionality
Philippe Vaucher [Tue, 4 Oct 2016 14:34:51 +0000 (17:34 +0300)]
Restore 'command-debug-status' functionality

* src/callint.c (Fcall_interactively): Bind command-debug-status
to nil.  This restores functionality inadvertently removed in
Emacs 25.1.  (Bug#24555)

* lisp/subr.el (command-debug-status): Declare obsolete.

* doc/lispref/debugging.texi (Internals of Debugger): Document
that 'command-debug-status' is obsolete.

8 years agoAvoid dynamic binding on a symbol
Mark Oteiza [Tue, 4 Oct 2016 14:17:53 +0000 (10:17 -0400)]
Avoid dynamic binding on a symbol

Instead, bind history in the default minibuffer-history.
Fixes bug#24580.
* lisp/replace.el (query-replace-read-from): Let-bind
minibuffer-history.  Change read-regexp and read-from-minibuffer's
HISTORY arguments to nil so that they use minibuffer-history.

8 years ago; Minor addition to CONTRIBUTE
Eli Zaretskii [Tue, 4 Oct 2016 05:59:37 +0000 (08:59 +0300)]
; Minor addition to CONTRIBUTE

* CONTRIBUTE (http): Mention that doc fixes should always go to
the release branch.

8 years agoDocument yank behavior in the right place
Karl Fogel [Mon, 3 Oct 2016 00:47:27 +0000 (19:47 -0500)]
Document yank behavior in the right place

* lisp/simple.el (yank): Document the handling of the
`yank-handled-properties' and `yank-excluded-properties' variables,
and the `yank-handler' text property.
(yank-pop): Refer to `yank' now (bug#286)

* lisp/subr.el (insert-for-yank): Refer to `yank' now.
(insert-for-yank-1): Refer to `insert-for-yank' now.

See this thread for discussion:

  https://lists.gnu.org/archive/html/emacs-devel/2016-09/threads.html#00329
  From: Karl Fogel
  To: Emacs Devel
  Subject: Question about intended behavior of 'insert-for-yank-1'.
  Date: Mon, 12 Sep 2016 00:17:14 -0500
  Message-ID: <874m5lr92d.fsf@red-bean.com>

8 years ago* src/fileio.c (Finsert_file_contents): Fix hook handling (bug#24340)
Stefan Monnier [Mon, 3 Oct 2016 13:47:46 +0000 (09:47 -0400)]
* src/fileio.c (Finsert_file_contents): Fix hook handling (bug#24340)

* src/fileio.c (Finsert_file_contents): Run before-change-hooks before
deleting the old buffer content.
* src/lisp.h (del_range_byte):
* src/insdel.c (del_range_byte): Drop the last argument.
* src/fns.c (Fbase64_encode_region): Adjust accordingly.

8 years agoIbuffer: 'w' and 'B' default to buffer at current line
Tino Calancha [Mon, 3 Oct 2016 12:16:00 +0000 (21:16 +0900)]
Ibuffer: 'w' and 'B' default to buffer at current line

See discussion in:
https://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00384.html
* lisp/ibuffer.el (ibuffer--near-buffers): New defun;
return buffers near current line.
* lisp/ibuf-ext.el (ibuffer-copy-buffername-as-kill): Use it.
Add argument ARG; if a non-zero integer, return next ARG buffers.
Otherwise return the marked buffers.
If there are not marked buffers, return buffer at current line
without prompting the user.
Use ibuffer-get-marked-buffers instead of ibuffer-map-marked-lines.
Append to kill ring when last command was a kill-region.
(ibuffer-copy-filename-as-kill): Idem.
Simplify the code.
Use ibuffer-buffer-file-name instead of buffer-file-name to
include buffers in Dired mode.

8 years agodired-mark-extension: Unmark if called with C-u prefix
Tino Calancha [Mon, 3 Oct 2016 11:02:54 +0000 (20:02 +0900)]
dired-mark-extension: Unmark if called with C-u prefix

See discussion in #Bug2518 and:
https://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00711.html
* lisp/dired-x.el (dired-mark-extension):
Update interactive calls: a prefix arg C-u unmark files;
a prefix C-u C-u prompt for MARKER-CHAR and mark files with it.
(dired-mark-sexp):
Show in the prompt that we are unmarking if called with a prefix argument.
* doc/misc/dired-x.texi (Advanced Mark Commands):
Update documentation for 'dired-mark-extension'.

8 years agoDocument nil args of compare-buffer-substrings
Philipp Stephani [Sun, 2 Oct 2016 17:58:39 +0000 (19:58 +0200)]
Document nil args of compare-buffer-substrings

* editfns.c (Fcompare_buffer_substrings): Document behavior when
the arguments are nil.

8 years ago* doc/misc/message.texi (Bcc Warning): Fix markup.
Katsumi Yamaoka [Mon, 3 Oct 2016 03:03:40 +0000 (03:03 +0000)]
* doc/misc/message.texi (Bcc Warning): Fix markup.

8 years ago* doc/misc/message.texi (Bcc Warning):
Katsumi Yamaoka [Mon, 3 Oct 2016 02:43:20 +0000 (02:43 +0000)]
* doc/misc/message.texi (Bcc Warning):
Document mml-secure-safe-bcc-list.

8 years agoDocument yank behavior in the right place
Karl Fogel [Mon, 3 Oct 2016 00:47:27 +0000 (19:47 -0500)]
Document yank behavior in the right place

* lisp/simple.el (yank): Document the handling of the
`yank-handled-properties' and `yank-excluded-properties' variables,
and the `yank-handler' text property.
(yank-pop): Refer to `yank' now (bug#286)

* lisp/subr.el (insert-for-yank): Refer to `yank' now.
(insert-for-yank-1): Refer to `insert-for-yank' now.

See this thread for discussion:

  https://lists.gnu.org/archive/html/emacs-devel/2016-09/threads.html#00329
  From: Karl Fogel
  To: Emacs Devel
  Subject: Question about intended behavior of 'insert-for-yank-1'.
  Date: Mon, 12 Sep 2016 00:17:14 -0500
  Message-ID: <874m5lr92d.fsf@red-bean.com>

8 years ago; Fix build by reordering definitions
Philipp Stephani [Sun, 2 Oct 2016 20:19:08 +0000 (22:19 +0200)]
; Fix build by reordering definitions

8 years agoRestart blink cursor timers on interval changes
Philipp Stephani [Sat, 10 Sep 2016 08:16:32 +0000 (10:16 +0200)]
Restart blink cursor timers on interval changes

This prevents surprising behavior when timer interval customizations are
only applied whenever the timers happen to be restarted (see Bug#24372).

* lisp/frame.el (blink-cursor--start-idle-timer)
(blink-cursor--start-timer): New functions.
(blink-cursor-start, blink-cursor-check, blink-cursor-mode): Use
the new helper functions.
(blink-cursor-delay, blink-cursor-interval): Restart timers when
the value is changed.

8 years agoDon't require isearch-update before isearch-done
Noam Postavsky [Sun, 4 Sep 2016 03:38:35 +0000 (23:38 -0400)]
Don't require isearch-update before isearch-done

It is useful to be able to call `isearch-done' unconditionally to
ensure a non-isearching state.

* lisp/isearch.el (isearch-done): Check that `isearch--current-buffer'
is a live buffer before using it (Bug #21091).
* test/lisp/isearch-tests.el (isearch--test-done): Test it.

(cherry picked from commit 68f4b5292781bc331b040105c4079902b993835c)

8 years agoAvoid error in icalendar--read-element
Peder O. Klingenberg [Tue, 30 Aug 2016 12:44:16 +0000 (14:44 +0200)]
Avoid error in icalendar--read-element

* lisp/calendar/icalendar.el (icalendar--read-element): Avoid a regex
stack overflow by not using regex to extract values from calendar
events. (Bug#24315)

(cherry picked from commit 55dde6c1a21a792d3d75c19e612c74dd054aaf1e)

8 years agoMake a menu less ambiguous
Lars Ingebrigtsen [Thu, 28 Apr 2016 13:53:15 +0000 (15:53 +0200)]
Make a menu less ambiguous

* doc/emacs/custom.texi (Key Bindings): The Modifier Keys node
is about using modifier keys, not binding them (bug#10942).

(cherry picked from commit 214f85a0a68b96a552ca605d601b33f6eef5c4ca)

8 years agoDoc fix for url-http
Devon Sean McCullough [Fri, 25 Dec 2015 21:21:22 +0000 (22:21 +0100)]
Doc fix for url-http

* lisp/url/url-http.el (url-http): Document better return values
  (bug#13187) (tiny change)

(cherry picked from commit 344303c8d9cb03d4778a73940e80e966280aa694)

8 years agoUse a simple keyword for a non-nil argument
Philipp Stephani [Sat, 1 Oct 2016 18:13:53 +0000 (20:13 +0200)]
Use a simple keyword for a non-nil argument

The second argument of `run-with-idle-timer' is Boolean, i.e. only nil
and non-nil values are distinguished.  Passing a number here is
confusing.  Pass a descriptive symbol instead.

* lisp/frame.el (blink-cursor-mode, blink-cursor-check): Use
:repeat symbol instead of number for second argument of
`run-with-idle-timer'

8 years agoMake querying to kill processes customizable
Philipp Stephani [Tue, 27 Sep 2016 18:47:23 +0000 (20:47 +0200)]
Make querying to kill processes customizable

Introduce a new customization option, `confirm-kill-processes', that
users can set to nil if they don't want Emacs to nag them about killing
processes.

* lisp/files.el (confirm-kill-processes): New customization option.
(save-buffers-kill-emacs): Use customization option.

* test/lisp/files-tests.el
(files-test--save-buffers-kill-emacs--confirm-kill-processes): Add
test for new customization option.

* doc/emacs/entering.texi (Exiting): Document new user option.

* doc/lispref/processes.texi (Query Before Exit): Document new
user option.

* etc/NEWS: Document new user option.

8 years ago; Auto-commit of loaddefs files.
Glenn Morris [Sat, 1 Oct 2016 10:22:45 +0000 (06:22 -0400)]
; Auto-commit of loaddefs files.

8 years ago* lisp/frame.el (blink-cursor-delay): Doc fix. (Bug#24372)
Eli Zaretskii [Sat, 1 Oct 2016 08:23:18 +0000 (11:23 +0300)]
* lisp/frame.el (blink-cursor-delay): Doc fix.  (Bug#24372)

8 years agoSet :version of 'debugger-stack-frame-as-list'
Eli Zaretskii [Sat, 1 Oct 2016 08:17:23 +0000 (11:17 +0300)]
Set :version of 'debugger-stack-frame-as-list'

* lisp/cus-start.el (debugger-stack-frame-as-list): Give value to
the ':version' attribute.

8 years agoBump Emacs version to 26.0.50
Eli Zaretskii [Sat, 1 Oct 2016 08:14:05 +0000 (11:14 +0300)]
Bump Emacs version to 26.0.50

* README:
* configure.ac:
* etc/NEWS:
* etc/refcards/ru-refcard.tex:
* msdos/sed2v2.inp:
* src/msdos.c: Increment Emacs version to 26.0.50.
* etc/NEWS.25: New file, copied from etc/NEWS with post-25.1 stuff
moved to etc/NEWS.

8 years agoAvoid compilation warning on MinGW
Eli Zaretskii [Sat, 1 Oct 2016 07:12:53 +0000 (10:12 +0300)]
Avoid compilation warning on MinGW

* src/w32.c: Include string.h, needed for the prototype of
'strerror', shadowed by 'sys_strerror'.  This avoids a compiler
warning about "no previous prototype".  The string.h header
must be included after ms-w32.h, but before "#undef strerror".

8 years agoFix compatibility with macOS 10.12 pmset (bug#24537)
Alan Third [Thu, 29 Sep 2016 19:22:00 +0000 (20:22 +0100)]
Fix compatibility with macOS 10.12 pmset (bug#24537)

* lisp/battery.el (battery-pmset): Recognise and ignore battery id if
present in output.

8 years agoLimit <config.h>’s includes
Paul Eggert [Fri, 30 Sep 2016 19:14:04 +0000 (12:14 -0700)]
Limit <config.h>’s includes

This follows up on recent problems with the fact that config.h
includes stdlib.h etc.; some files need to include stdlib.h later.
config.h generally should limit itself to includes that are
universally safe; outside of MS-Windows, only stdbool.h makes
the cut among the files currently included.  So, move the
other includes to just the files that need them (Bug#24506).
* configure.ac (config_opsysfile): Remove, as this generic hook
is no longer needed.
* lib-src/etags.c, src/unexmacosx.c, src/w32.c, src/w32notify.c:
* src/w32proc.c (_GNU_SOURCE):
Remove, as it’s OK for config.h to do this now.
* src/conf_post.h: Include <ms-w32.h>, instead of the generic
config_opsysfile, for simplicity as this old way of configuring is
now done only for the MS-Windows port.  Do not include <ms-w32.h>
if DEFER_MS_W32_H, for the benefit of the few files that want its
effects later.  Do not include <alloca.h>, <string.h>, or
<stdlib.h>.  Other files modified to include these headers as
needed, or to not include headers that are no longer needed.
* src/lisp.h: Include <alloca.h> and <string.h> here, since
some of the inline functions need them.
* src/regex.c: Include <alloca.h> if not emacs.  (If emacs,
we can rely on SAFE_ALLOCA.)  There is no longer any need to
worry about HAVE_ALLOCA_H.
* src/unexmacosx.c: Rely on config.h not including stdlib.h.
* src/w32.c, src/w32notify.c, src/w32proc.c (DEFER_MS_W32_H):
Define before including <config.h> first, and include <ms-w32.h>
after the troublesome headers.

8 years agoNew user option 'debugger-stack-frame-as-list'
Vasilij Schneidermann [Fri, 30 Sep 2016 13:22:26 +0000 (16:22 +0300)]
New user option 'debugger-stack-frame-as-list'

* src/eval.c (syms_of_eval) <debugger-stack-frame-as-list>: New
variable.
* lisp/cus-start.el (standard): Add debugger-stack-frame-as-list.
* lisp/emacs-lisp/debug.el (debugger-setup-buffer): Adjust
backtrace processing for the value of debugger-stack-frame-as-list.
* lisp/emacs-lisp/edebug.el (edebug-backtrace): Adjust backtrace
processing for the value of debugger-stack-frame-as-list.
* doc/lispref/debugging.texi (Internals of Debugger): Document
debugger-stack-frame-as-list.
* etc/NEWS: Mention 'debugger-stack-frame-as-list'.

8 years ago; src/image.c (imagemagick_load_image): Fix a typo.
Eli Zaretskii [Fri, 30 Sep 2016 12:27:07 +0000 (15:27 +0300)]
; src/image.c (imagemagick_load_image): Fix a typo.

8 years ago* src/alloc.c: call only non-null finalizers
Aurelien Aptel [Fri, 30 Sep 2016 12:00:51 +0000 (14:00 +0200)]
* src/alloc.c: call only non-null finalizers

8 years agoAvoid compiler warnings in image.c on MS-Windows
Eli Zaretskii [Fri, 30 Sep 2016 09:09:10 +0000 (12:09 +0300)]
Avoid compiler warnings in image.c on MS-Windows

* src/image.c (DrawText, g_type_init) [WINDOWSNT]: Avoid compiler
warning about unused macros.

8 years agooutline-invisible-p): Only return `t' for the 'outline property
Paul Rankin [Fri, 30 Sep 2016 08:06:02 +0000 (10:06 +0200)]
outline-invisible-p): Only return `t' for the 'outline property

* lisp/outline.el (outline-invisible-p): Only return `t' for
the 'outline property.

8 years agoFix problems found by static checking --with-ns
Paul Eggert [Fri, 30 Sep 2016 03:09:37 +0000 (20:09 -0700)]
Fix problems found by static checking --with-ns

This is for Fedora 24 when configured with --enable-gcc-warnings.
Although it does not fix all the problems, it fixes many of them.
* src/frame.c (XParseGeometry):
* src/nsterm.m (mouseDown:):
Mark locals with UNINIT to pacify --enable-gcc-warnings.
* src/image.c (PIX_MASK_DRAW, DefaultDepthOfScreen):
Remove unused macros.
(slurp_file xbm_scan, xbm_read_bitmap_data, xbm_load_image)
(xbm_file_p, xbm_load, xpm_scan, xpm_make_color_table_v)
(xpm_put_color_table_v, xpm_get_color_table_v)
(xpm_make_color_table_h, xpm_put_color_table_h)
(xpm_get_color_table_h, xpm_load_image, xpm_load)
(pbm_next_char, pbm_scan_number, pbm_load, svg_load)
(svg_load_image):
* src/nsfns.m (x_get_string_resource):
* src/nsimage.m (ns_image_from_XBM):
Fix pointer signedness problems.
* src/image.c (xpm_load_image, x_build_heuristic_mask, pbm_load)
(imagemagick_load_image): Omit unused locals.
* src/nsfns.m (ns_send_types, ns_return_types, ns_drag_types)
(Fx_open_connection):
* src/nsfont.m (ns_antialias_threshold):
Move extern decl to nsterm.h so it can be checked.
* src/nsmenu.m (svcsMenu, dockMenu):
Move to the only file that uses them, so they can be static.
* src/nsterm.h (find_and_call_menu_selection):
* src/nsterm.m (x_set_frame_alpha):
Omit duplicate decls.
* src/nsterm.h (ns_dump_glyphstring): Mark as EXTERNALLY_VISIBLE.
* src/nsfns.m (ns_tooltip, ns_display_info_for_name)
(ns_set_name_as_filename, x_set_menu_bar_lines)
(x_set_tool_bar_lines, x_set_internal_border_width):
* src/nsterm.m (ns_drag_types, ns_draw_text_decoration):
Now static.
* src/nsfns.m (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp):
* src/nsterm.m (ns_free_indexed_color, ns_color_to_lisp):
Remove; unused.
* src/nsfont.m (ns_dump_glyphstring):
* src/nsterm.m (hide_bell, ns_get_color, ns_color_to_lisp)
(ns_clear_frame, keyDown:):
Fix signedness problem with printf arg.
* src/nsterm.h (ns_input_events, ns_finish_events):
* src/nsterm.m (ns_finish_events, hide_bell):
Prototype the decls.
* src/nsterm.m (NSMenuDidBeginTrackingNotification):
Omit unnecessary decl.
(dockMenu):
(mainMenu) [NS_IMPL_COCOA]: Now static, and in this file.
(ns_dumpglyphs_box_or_relief, changeFont:, initFrameFromEmacs:)
(toggleFullScreen:): Use FACE_FROM_ID instead of
FACE_FROM_ID_OR_NULL in contexts where the caller expects the
result to be non-null.
(applicationShouldTerminate:): Fix misleading indentation.

8 years ago* lisp/gnus/gnus-art.el (gnus-button-handle-library): Fix typo.
Katsumi Yamaoka [Thu, 29 Sep 2016 23:25:42 +0000 (23:25 +0000)]
* lisp/gnus/gnus-art.el (gnus-button-handle-library): Fix typo.

8 years agoTurn on more lexical-binding
Mark Oteiza [Wed, 28 Sep 2016 17:08:12 +0000 (13:08 -0400)]
Turn on more lexical-binding

* lisp/dom.el:
* lisp/faces.el:
* lisp/htmlfontify.el: Turn on lexical-binding.
(htmlfontify-string): Use pushnew instead of add-to-list.
* lisp/info-xref.el:
* lisp/isearch.el:
* lisp/man.el:
* lisp/ps-def.el:
* lisp/ps-print.el:
* lisp/replace.el: Turn on lexical-binding.  Require cl-lib at compile
time.
(multi-occur): Use cl-pushnew instead of add-to-list.
(replace-match-string-symbols): Remove unused lexical variable.
(replace-search, replace-highlight): Fix argument shadowing.
* lisp/sort.el:
* lisp/xml.el: Turn on lexical-binding.
(xml--parse-buffer): Use push instead of add-to-list.
* lisp/xt-mouse.el: Turn on lexical-binding.

8 years ago; Fix previous change
Mark Oteiza [Tue, 27 Sep 2016 17:34:29 +0000 (13:34 -0400)]
; Fix previous change

* lisp/woman.el (woman-parse-man.conf, woman-manpath-add-locales)
(woman-cached-data): Use :test #'equal for instances of cl-pushnew.

8 years ago* admin/notes/bug-triage: Do not mention closed bugs
Michael Albinus [Tue, 27 Sep 2016 08:53:49 +0000 (10:53 +0200)]
* admin/notes/bug-triage: Do not mention closed bugs

* admin/notes/bug-triage: Do not mention closed bugs, they are
suppressed by default in debbugs-{gnu,org}.

8 years ago* etc/PROBLEMS: Remove problem Bug#22814, again.
Michael Albinus [Tue, 27 Sep 2016 08:39:09 +0000 (10:39 +0200)]
* etc/PROBLEMS: Remove problem Bug#22814, again.

8 years agoStick with debbugs-supported tags in triage
Paul Eggert [Tue, 27 Sep 2016 00:28:17 +0000 (17:28 -0700)]
Stick with debbugs-supported tags in triage

* admin/notes/bug-triage: Stick to the tag "unreproducible", which
debbugs supports, rather than suggesting "doneunreproducible" or
"unreproducable".

8 years agoRegexp Functions doc minor fixes
Paul Eggert [Tue, 27 Sep 2016 00:00:03 +0000 (17:00 -0700)]
Regexp Functions doc minor fixes

* doc/lispref/searching.texi (Regexp Functions):
Fix misspelling of “matching”.  Use @table for table.
Reformat code example to fit into info file width (Bug#17862).

8 years ago; Merge from origin/emacs-25
Paul Eggert [Mon, 26 Sep 2016 23:18:08 +0000 (16:18 -0700)]
; Merge from origin/emacs-25

The following commit was skipped:

5b73408 Backport mm-convert-shr-links fix from master (bug#23964)

8 years agoBackport mm-convert-shr-links fix from master (bug#23964)
Katsumi Yamaoka [Mon, 26 Sep 2016 22:34:53 +0000 (22:34 +0000)]
Backport mm-convert-shr-links fix from master (bug#23964)

* lisp/gnus/mm-decode.el (mm-convert-shr-links):
Preserve key bindings that shr adds (bug#23964).

8 years agoMerge from origin/emacs-25
Paul Eggert [Mon, 26 Sep 2016 20:39:17 +0000 (13:39 -0700)]
Merge from origin/emacs-25

9fc9988 Improve documentation of 'expand-abbrev' and wrapper hooks
c14a1d4 Minor copyedits of MS-Windows installation instructions
f281924 Fix display of cursor when 'blink-cursor-delay' has small value

# Conflicts:
# lisp/minibuffer.el

8 years ago; Merge from origin/emacs-25
Paul Eggert [Mon, 26 Sep 2016 20:37:36 +0000 (13:37 -0700)]
; Merge from origin/emacs-25

The following commits were skipped:

7cb120e Improve the doc string of 'format'
3a9866e Improve doc strings in whitespace.el
2e2469b Improve detectability of 'next-logical-line' and 'previous-lo...
16e6207 Fix (next-frame nil t) crash (Bug#24281)
3f539c0 Fix debugging of string-match-p errors
f746a92 Fix region display while dragging mouse
df4f812 Fix 'vertical-motion' and 'posn-at-point' under 'visual-line-...
9135bd7 Improve display of tex-verbatim and Info quoted
e0dd65c Document how to check for ImageMagick support
dc1e0ac Run find-function-after-hook after finding a symbol

8 years agoMerge from origin/emacs-25
Paul Eggert [Mon, 26 Sep 2016 20:37:36 +0000 (13:37 -0700)]
Merge from origin/emacs-25

0ae9a81 Document 'timerp'
2c72c46 Improve documentation of overlay priorities
f6fa160 Fix 'dired-compress-files'
2b8c5f0 Update commentary of STRING_CHAR and FETCH_MULTIBYTE_CHAR

# Conflicts:
# lisp/dired.el
# src/buffer.h
# src/character.h

8 years ago; Merge from origin/emacs-25
Paul Eggert [Mon, 26 Sep 2016 20:35:57 +0000 (13:35 -0700)]
; Merge from origin/emacs-25

The following commit was skipped:

0d016ca Increment Emacs version to 25.1.50

8 years agoMerge from origin/emacs-25
Paul Eggert [Mon, 26 Sep 2016 20:35:56 +0000 (13:35 -0700)]
Merge from origin/emacs-25

cf9e174 Document the optional zlib library in MS-Windows builds
84eb144 ; * admin/notes/unicode: Mention BidiCharacterTest.txt.
73c67dd Fix tagging of DEFUN by etags
ea1960b Avoid resetting track-mouse by mouse clicks
505fef3 Improve nt/README.W32 instructions
1229cc4 Document that desktop file overrides frame parameters
f0eb70d ; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 release

# Conflicts:
# ChangeLog.2
# admin/notes/unicode
# lisp/ldefs-boot.el

8 years ago; Merge from origin/emacs-25
Paul Eggert [Mon, 26 Sep 2016 20:32:28 +0000 (13:32 -0700)]
; Merge from origin/emacs-25

The following commit was skipped:

8d0ff83 * etc/AUTHORS: Regenerate the AUTHORS file

8 years agoMerge from origin/emacs-25
Paul Eggert [Mon, 26 Sep 2016 20:32:28 +0000 (13:32 -0700)]
Merge from origin/emacs-25

0ffc9ce Update admin/authors.el
0ad7410 Update Antinews in ELisp manual
ea0f750 Fix comments on window height macros
0bbdeed Fix 'url-http-create-request' when cookies are used
0045998 Fix cross reference in frames.texi
1392894 ; * etc/DEBUG: Minor copyedits.
304a5c8 ; * etc/DEBUG: Improve documentation of getting control to GDB.
56bf7d7 Fix regexp-opt documentation (bug #17862)
803ad6f ; Fix documentation of seq-subseq
ed4530d * lisp/emacs-lisp/gv.el (gv-ref): Fix example of PLACE in doc...
88ea396 ; Spelling fixes
17197d0 Fix tags-query-replace docstring
80a7f8b Clarify documentation of precision in format specs
88a5052 Improve and clarify documentation of subprocesses
89eb09f * etc/PROBLEMS: Mention gnutls-cli 3.5.3 (Bug#24247).

# Conflicts:
# etc/PROBLEMS
# src/process.c

8 years agoImprove documentation of 'expand-abbrev' and wrapper hooks
Eli Zaretskii [Mon, 26 Sep 2016 16:02:01 +0000 (19:02 +0300)]
Improve documentation of 'expand-abbrev' and wrapper hooks

* lisp/simple.el (filter-buffer-substring-functions)
(buffer-substring--filter): Add a link to 'with-wrapper-hook' as
the place to look for documentation of wrapper hooks.
* lisp/minibuffer.el (completion-in-region-functions)
(completion--in-region): Add a link to 'with-wrapper-hook' as the
place to look for documentation of wrapper hooks.
* lisp/abbrev.el (expand-abbrev, abbrev--default-expand): Clarify
the doc strings.  (Bug#24540)

* doc/lispref/text.texi (Buffer Contents): Mention
'with-wrapper-hook's doc string as the place to learn about that
obsolete facility.

8 years ago* lisp/net/tramp-compat.el (tramp-compat-funcall): Don't use `subrp'.
Michael Albinus [Mon, 26 Sep 2016 07:50:39 +0000 (09:50 +0200)]
* lisp/net/tramp-compat.el (tramp-compat-funcall): Don't use `subrp'.

8 years agoMinor copyedits of MS-Windows installation instructions
Eli Zaretskii [Sun, 25 Sep 2016 15:16:07 +0000 (18:16 +0300)]
Minor copyedits of MS-Windows installation instructions

* nt/INSTALL:
* nt/README.W32: Add URL of Emacs dependencies on alpha.gnu.org.

8 years agoFix 'dired-mark-extension' with prefix argument
Eli Zaretskii [Sat, 24 Sep 2016 15:10:42 +0000 (18:10 +0300)]
Fix 'dired-mark-extension' with prefix argument

* lisp/dired-x.el (dired-mark-extension): Allow to specify
MARKER-CHAR interactively as a string, not as a character's
codepoint.  (Bug#24518)

* doc/misc/dired-x.texi (Advanced Mark Commands): Document the
behavior when invoked with a prefix arg.

8 years agoSupport completion of classes and IDs in CSS mode
Simen Heggestøyl [Sat, 24 Sep 2016 11:55:36 +0000 (13:55 +0200)]
Support completion of classes and IDs in CSS mode

* lisp/textmodes/css-mode.el (css-class-list-function): New variable
holding the function to call for retrieving completions of class
names.
(css-id-list-function): New variable holding the function to call for
retrieving completions of IDs.
(css--foreign-completions): New function for retrieving completions
from other buffers.
(css--complete-selector): Support completing HTML class names and IDs
from other buffers in addition to completing HTML tags.

* lisp/textmodes/sgml-mode.el (html--buffer-classes-cache): New
variable holding a cache for `html-current-buffer-classes'.
(html--buffer-ids-cache): New variable holding a cache for
`html-current-buffer-ids'.
(html-current-buffer-classes): New function returning a list of class
names used in the current buffer.
(html-current-buffer-ids): New function returning a list of IDs used
in the current buffer.
(html-mode): Set `css-class-list-function' and `css-id-list-function'
to `html-current-buffer-classes' and `html-current-buffer-ids'
respectively.

8 years agoUpdate test suite files due to removal of test/lisp/legacy
Eli Zaretskii [Sat, 24 Sep 2016 10:32:44 +0000 (13:32 +0300)]
Update test suite files due to removal of test/lisp/legacy

* test/README: Reference file-organization.org.
* test/file-organization.org: Remove the description of files in
the lisp/legacy/ directory.

8 years ago; * test/src/undo-tests.el: Moved from test/lisp/legacy/.
Eli Zaretskii [Sat, 24 Sep 2016 10:27:57 +0000 (13:27 +0300)]
; * test/src/undo-tests.el: Moved from test/lisp/legacy/.

8 years ago; * test/src/textprop-tests.el: Minor copyedits.
Eli Zaretskii [Sat, 24 Sep 2016 10:25:04 +0000 (13:25 +0300)]
; * test/src/textprop-tests.el: Minor copyedits.

8 years ago; * Move test/lisp/legacy/textprop-tests.el to test/src/.
Eli Zaretskii [Sat, 24 Sep 2016 10:23:20 +0000 (13:23 +0300)]
; * Move test/lisp/legacy/textprop-tests.el to test/src/.

8 years agoIncorporate syntax-tests in lisp-tests.
Eli Zaretskii [Sat, 24 Sep 2016 10:20:19 +0000 (13:20 +0300)]
Incorporate syntax-tests in lisp-tests.

* test/lisp/emacs-lisp/lisp-tests.el: Add tests from
test/lisp/legacy/syntax-tests.el.
* test/lisp/legacy/syntax-tests.el: File deleted.

8 years ago; * test/src/process-tests.el: Renamed from test/lisp/legacy/process-tests.el.
Eli Zaretskii [Sat, 24 Sep 2016 10:12:43 +0000 (13:12 +0300)]
; * test/src/process-tests.el: Renamed from test/lisp/legacy/process-tests.el.

8 years agoIncorporate occur-tests in replace-tests
Eli Zaretskii [Sat, 24 Sep 2016 10:00:40 +0000 (13:00 +0300)]
Incorporate occur-tests in replace-tests

* test/lisp/replace-tests.el: Add tests from
test/lisp/legacy/occur-tests.el.
* test/lisp/legacy/occur-tests.el: File deleted.

8 years agoIncorporate lexbind-tests.el in bytecomp-test.el
Eli Zaretskii [Sat, 24 Sep 2016 09:53:46 +0000 (12:53 +0300)]
Incorporate lexbind-tests.el in bytecomp-test.el

* test/lisp/emacs-lisp/bytecomp-tests.el: Added tests from
test/lisp/legacy/lexbind-tests.el.
* test/lisp/legacy/lexbind-tests.el: File deleted.

8 years ago; * test/src/font-tests.el: Minor copyedits.
Eli Zaretskii [Sat, 24 Sep 2016 09:43:40 +0000 (12:43 +0300)]
; * test/src/font-tests.el: Minor copyedits.

8 years ago; * test/src/font-tests.el: Moved from test/lisp/legacy/font-parse-tests.el.
Eli Zaretskii [Sat, 24 Sep 2016 09:40:10 +0000 (12:40 +0300)]
; * test/src/font-tests.el: Moved from test/lisp/legacy/font-parse-tests.el.

8 years agoMerge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
Eli Zaretskii [Sat, 24 Sep 2016 09:36:43 +0000 (12:36 +0300)]
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs

8 years ago; * test/lisp/files-tests.el: Minor copyedits.
Eli Zaretskii [Sat, 24 Sep 2016 09:35:54 +0000 (12:35 +0300)]
; * test/lisp/files-tests.el: Minor copyedits.

8 years agoImprove integer overflow handling a bit
Paul Eggert [Sat, 24 Sep 2016 09:35:13 +0000 (02:35 -0700)]
Improve integer overflow handling a bit

* src/charset.c (read_hex): Use INT_LEFT_SHIFT_OVERFLOW for clarity.
The machine code is the same on my platform.
* src/doprnt.c (doprnt):
* src/emacs-module.c (module_funcall):
* src/font.c (font_intern_prop):
* src/keyboard.c (Frecursion_depth):
* src/lread.c (read1):
Use WRAPV macros instead of checking overflow by hand.
* src/editfns.c (hi_time, time_arith, decode_time_components):
* src/emacs-module.c (Fmodule_load):
Simplify by using FIXNUM_OVERFLOW_P.
* src/emacs-module.c: Include intprops.h.
* src/xdisp.c (percent99): New function.
(decode_mode_spec): Use it to simplify overflow avoidance and
formatting of %p and %P.

8 years ago; * test/lisp/files-tests.el: Moved from test/lisp/legacy/.
Eli Zaretskii [Sat, 24 Sep 2016 09:34:15 +0000 (12:34 +0300)]
; * test/lisp/files-tests.el: Moved from test/lisp/legacy/.

8 years agoIncorporate core-elisp-tests in lisp-tests
Eli Zaretskii [Sat, 24 Sep 2016 09:30:22 +0000 (12:30 +0300)]
Incorporate core-elisp-tests in lisp-tests

* test/lisp/emacs-lisp/lisp-tests.el: Added tests from
test/lisp/legacy/core-elisp-tests.el.
* test/lisp/legacy/core-elisp-tests.el: File removed.

8 years agoMove coding-tests.el and decoder-test.el to their places
Eli Zaretskii [Sat, 24 Sep 2016 09:18:54 +0000 (12:18 +0300)]
Move coding-tests.el and decoder-test.el to their places

* test/src/coding-tests.el: Added all the tests from
test/lisp/legacy/decoder-tests.el.
* test/lisp/legacy/decoder-tests.el: File deleted.

8 years ago; * test/src/coding-tests.el: Moved from test/lisp/legacy/.
Eli Zaretskii [Sat, 24 Sep 2016 09:04:55 +0000 (12:04 +0300)]
; * test/src/coding-tests.el: Moved from test/lisp/legacy/.

8 years ago; * test/lisp/emacs-lisp/bytecomp-tests.el: Fix header and 'provide'.
Eli Zaretskii [Sat, 24 Sep 2016 09:01:44 +0000 (12:01 +0300)]
; * test/lisp/emacs-lisp/bytecomp-tests.el: Fix header and 'provide'.

8 years ago; * test/lisp/emacs-lisp/bytecomp-tests.el: Moved from test/lisp/.
Eli Zaretskii [Sat, 24 Sep 2016 08:59:42 +0000 (11:59 +0300)]
; * test/lisp/emacs-lisp/bytecomp-tests.el: Moved from test/lisp/.

8 years ago; * test/lisp/bytecomp-tests.el: Moved from test/lisp/legacy/.
Eli Zaretskii [Sat, 24 Sep 2016 08:55:03 +0000 (11:55 +0300)]
; * test/lisp/bytecomp-tests.el: Moved from test/lisp/legacy/.