Lars Ingebrigtsen [Fri, 29 Apr 2016 22:37:31 +0000 (00:37 +0200)]
delsel doc touch ups
* lisp/delsel.el (delete-selection-helper): Use non-nil
instead of t and clarify function return values (bug#18089).
(cherry picked from commit
d7a5b5be9a5869bcd233434ec3103dd1976d7df7)
Lars Ingebrigtsen [Fri, 29 Apr 2016 22:11:15 +0000 (00:11 +0200)]
Doc fixes for menu-bar.el
* lisp/menu-bar.el (clipboard-kill-ring-save): Describe the
REGION parameter (bug#18028).
(clipboard-kill-region): Ditto.
(cherry picked from commit
33d2c67bff0992ecbc0fe38556683242b9d1a4ae)
Lars Ingebrigtsen [Fri, 29 Apr 2016 22:08:07 +0000 (00:08 +0200)]
Doc fix
* lisp/rect.el (delete-whitespace-rectangle): Doc fix (bug#18026).
(cherry picked from commit
6baca4911ec901579749dbf7596011d90fea3781)
Lars Ingebrigtsen [Fri, 29 Apr 2016 22:02:46 +0000 (00:02 +0200)]
Minor doc clarification
* lisp/subr.el (y-or-n-p): Document the return value from "n"
(bug#18024).
(cherry picked from commit
5d1f3192d484edee92caa46cd7d699da3e920259)
Lars Ingebrigtsen [Fri, 29 Apr 2016 21:53:12 +0000 (23:53 +0200)]
Fill font-lock-mode doc string
* lisp/font-core.el (font-lock-mode): Fill the text to make it
narrower (bug#18008).
(cherry picked from commit
27abf372836532c57be2e9e3ed23413729cc07fc)
Lars Ingebrigtsen [Fri, 29 Apr 2016 21:25:07 +0000 (23:25 +0200)]
Wrap the auto-generated doc string
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Wrap a
string to make it less likely that we get overlong lines
(bug#17999).
(cherry picked from commit
323b69664914d687fd4b48593479cea223dfbcb4)
Lars Ingebrigtsen [Fri, 29 Apr 2016 20:53:42 +0000 (22:53 +0200)]
Clarify hi-lock-find-patterns
* lisp/hi-lock.el (hi-lock-find-patterns): Doc clarification
(bug#17989).
(cherry picked from commit
552e90ce7dff3a7107243fdf71c4de3af443e13a)
Lars Ingebrigtsen [Fri, 29 Apr 2016 20:28:02 +0000 (22:28 +0200)]
Add a doc string to `winner-mode'
* lisp/winner.el (winner-mode): Add a doc string based on the
comments in the file (bug#17716).
(cherry picked from commit
2c3ab9b6e39a3d600e7d82deacc24effaec051bb)
Lars Ingebrigtsen [Fri, 29 Apr 2016 20:14:05 +0000 (22:14 +0200)]
Doc fix for align-newline-and-indent
* lisp/align.el (align-newline-and-indent): Mention that
alignment is done by `align' (bug#17707).
(cherry picked from commit
340a224ec3e01706112a07164da9a9f3f369a5aa)
Lars Ingebrigtsen [Fri, 29 Apr 2016 18:27:22 +0000 (20:27 +0200)]
Doc fix for `kbd'
* lisp/subr.el (kbd): Describe more fully the format of the
parameter (bug#17039).
(cherry picked from commit
3a33afe25d8518f194fa4706eaccdb2a786a0348)
Lars Ingebrigtsen [Fri, 29 Apr 2016 15:54:55 +0000 (17:54 +0200)]
Doc tweak
* lisp/simple.el (use-empty-active-region): Doc tweak.
There's only one region (bug#16513).
(cherry picked from commit
35fb7897f161d5e5a87e039dc1e427094640b0c8)
Lars Ingebrigtsen [Fri, 29 Apr 2016 13:52:18 +0000 (15:52 +0200)]
Link from (emacs)Exiting to (lisp)Killing Emacs
* doc/emacs/entering.texi (Exiting): Link to the lispref
manual for further customisations (bug#15445).
(cherry picked from commit
bc5f27aa099cdde02ca66e71501b89300685ab28)
Lars Ingebrigtsen [Fri, 29 Apr 2016 13:37:08 +0000 (15:37 +0200)]
find-lisp doc touchups
* lisp/find-lisp.el (find-lisp-format): Copy over the doc
string (bug#15047).
(find-lisp-find-files): Clarify doc.
(cherry picked from commit
e4c7657b0d1a31d64ca24bc64b5480cd7687e332)
Lars Ingebrigtsen [Fri, 29 Apr 2016 13:26:25 +0000 (15:26 +0200)]
Don't have the manual claim that it lists all CL incompatibilities
* doc/misc/cl.texi (Common Lisp Compatibility): The list of
incompatibilities isn't exhaustive, so don't say that it is
(bug#15171).
(cherry picked from commit
fb685bc91a72508c97ce7e30f970d4157677f371)
Lars Ingebrigtsen [Fri, 29 Apr 2016 12:36:23 +0000 (14:36 +0200)]
Change all occurrences of "Mouse-[0-9]" to "mouse-[0-9]"
* doc/emacs/*.texi: Change all occurrences of "Mouse-[0-9]" to
"mouse-[0-9]". These are case sensitive, and the keys are lower case
(bug#14554).
(cherry picked from commit
e4c26271f2c2fe08f8490e25c63a436ab2a804ca)
Lars Ingebrigtsen [Thu, 28 Apr 2016 23:19:49 +0000 (01:19 +0200)]
Doc string change to enable-recursive-minibuffers
* src/minibuf.c (syms_of_minibuf): Mention
minibuffer-depth-indicator-mode in the doc string to
enable-recursive-minibuffers (bug#14147).
(cherry picked from commit
23ba488a5e8290c4de91e0ff4161641efa364c0d)
Lars Ingebrigtsen [Thu, 28 Apr 2016 22:17:50 +0000 (00:17 +0200)]
Clarify the `interactive' doc string slightly
* src/callint.c (Finteractive): Clarify the doc string slightly
(bug#14577).
(cherry picked from commit
cd993be60da2d12db0d390001373d486c1091c47)
Lars Ingebrigtsen [Thu, 28 Apr 2016 11:00:11 +0000 (13:00 +0200)]
Clarify some doc strings
* lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
Clarify doc string (bug#8693).
(syntax-propertize): Clarify doc string.
(cherry picked from commit
ad3ef417f3c40f086de9c547d6272e5685595e42)
Lars Ingebrigtsen [Wed, 27 Apr 2016 22:53:04 +0000 (00:53 +0200)]
Add some concept index entries for custom types
* doc/lispref/customize.texi (Composite Types): Add concept
index entries for restricted-sexp, radio and choice (bug#7385).
(cherry picked from commit
388bb723fa078158d3148de05e942f9c01e95dd8)
Lars Ingebrigtsen [Wed, 27 Apr 2016 18:48:30 +0000 (20:48 +0200)]
Mention `lisp-indent-function' in the lispref manual
* doc/lispref/macros.texi (Indenting Macros): Mention
`lisp-indent-function' (bug#3393).
(cherry picked from commit
a1627691a896b2afaa264f93534178bc763564c9)
Lars Ingebrigtsen [Wed, 27 Apr 2016 18:40:59 +0000 (20:40 +0200)]
Clarify doc string of internal compilation function
* lisp/progmodes/compile.el (compilation-get-file-structure):
Clarify doc string (bug#3137).
(cherry picked from commit
123191decb7428db3b32a6c01631fa755088393a)
Paul Eggert [Sun, 1 May 2016 16:00:08 +0000 (09:00 -0700)]
Use ‘T *restrict’ proto, not ‘T[restrict]’
* src/fns.c (sort_vector_copy): Use a different way to attempt to
work around GCC 3.0-and-earlier incompatibility with C99, one that
does not have problems with modern non-GCC compilers.
Eli Zaretskii [Sun, 1 May 2016 15:28:48 +0000 (18:28 +0300)]
Fix documentation of 'url-retrieve-synchronously'
* doc/misc/url.texi (Retrieving URLs): Update argument list of
'url-retrieve-synchronously'. (Bug#23411)
Eli Zaretskii [Sun, 1 May 2016 15:24:51 +0000 (18:24 +0300)]
* lisp/url/url.el (url-retrieve-synchronously): Doc fix. (Bug#23411)
Glenn Morris [Sun, 1 May 2016 11:29:19 +0000 (07:29 -0400)]
; Auto-commit of loaddefs files.
Leo Liu [Sun, 1 May 2016 03:03:59 +0000 (11:03 +0800)]
Fix last change to isearch-update (bug#23406)
* lisp/isearch.el (isearch-update): Remove (setq cursor-sensor-inhibit
nil) ie remove the original (unless (boundp 'cursor-sensor-inhibit)
...) form.
Leo Liu [Sat, 30 Apr 2016 15:35:27 +0000 (23:35 +0800)]
Autoload cursor-sensor-inhibit (bug#23406)
* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-inhibit): Autoload.
* lisp/isearch.el (isearch-update): Remove boundp check.
Phillip Lord [Sat, 30 Apr 2016 07:43:39 +0000 (08:43 +0100)]
org-map-entries: Fix org-agenda-prepare-buffers call
* lisp/org.el (org-map-entries): Check that buffer-file-name is non-nil
before passing to org-agenda-prepare-buffers.
This is a backport of commit
44c8cd7136e3fcd1e6bfa08895cac437b7a691fa
from upstream org-mode. Addresses bug #23365.
Eli Zaretskii [Sat, 30 Apr 2016 11:18:43 +0000 (14:18 +0300)]
Followup for last commit in the user manual
* doc/emacs/basic.texi (Moving Point): Clarify that
set-goal-column has buffer-local effect. (Bug#23405)
Eli Zaretskii [Sat, 30 Apr 2016 11:14:57 +0000 (14:14 +0300)]
Improve doc string of 'set-goal-column'
* lisp/simple.el (set-goal-column): Doc fix. (Bug#23405)
Eli Zaretskii [Sat, 30 Apr 2016 10:45:33 +0000 (13:45 +0300)]
Fix the MSDOS build
* config.bat:
* msdos/sedlisp.inp:
* msdos/sedlibmk.inp:
* msdos/sedleim.inp:
* msdos/sedadmin.inp:
* msdos/sed6.inp:
* msdos/sed3v2.inp:
* msdos/sed2v2.inp:
* msdos/sed1v2.inp: Adapt to Emacs 25.
* src/process.c (remove_slash_colon): Move out of "#ifdef
subprocesses" block, as it its called unconditionally. Move
ADD_SUBFEATURE calls into "#ifdef subprocesses" block, as they
reference variables only defined in that block.
* src/msdos.h: Provide prototypes for IT_set_frame_parameters,
faccessat, msdos_fatal_signal, syms_of_msdos, pthread_sigmask,
dos_keysns, dos_keyread, run_msdos_command, and
syms_of_win16select, to avoid compiler warnings.
* src/msdos.c (SYS_ENVIRON): Define to either '_environ' or
'environ', depending on the DJGPP version.
Remove declarations of externally-visible Lisp objects, like
Qbackground_color and Qreverse.
(run_msdos_command): First argument is not signed, not unsigned.
Use SYS_ENVIRON.
(sys_select): Use 'timespec_cmp' instead of 'timespec_sign', as
the latter doesn't work when 'time_t' is an unsigned data type.
This caused idle timers to behave incorrectly: they only fired
after a keyboard input event.
* src/frame.c (adjust_frame_size) [MSDOS]: Account for
FRAME_TOP_MARGIN that isn't counted in the frame's number of
lines, but dos_set_window_size needs it to be added.
* src/lread.c (INFINITY, NAN) [DJGPP < 2.05]: Provide definitions.
* src/fns.c (sort_vector_copy) [__GNUC__ < 4]: Provide a prototype
that works around compilation errors with older GCC versions.
* src/w16select.c: Don't declare QCLIPBOARD and QPRIMARY as Lisp
Objects.
* src/filelock.c [MSDOS]: Ifdef away most of the code. Provide
no-op implementations for 'lock_file' and 'unlock_file'.
(Ffile_locked_p) [MSDOS]: Always return nil. This avoids multiple
ifdefs in all users of filelock.c functionality.
* src/conf_post.h (EOVERFLOW, SIZE_MAX) [DJGPP < 2.04]: Define.
* src/emacs.c [MSDOS]: Include dosfns.h, to avoid compiler
warnings.
* src/dosfns.h: Provide prototypes for dos_cleanup,
syms_of_dosfns, and init_dosfns.
* src/deps.mk (atimer.o): Depend on msdos.h.
(emacs.o): Depend on dosfns.h.
* src/atimer.c [MSDOS]: Include msdos.h, to avoid compiler
warnings.
* lisp/window.el (window--adjust-process-windows): Skip the body
if 'process-list' is not available. This avoids failure to start
up on MS-DOS.
* lisp/vc/diff.el (diff-no-select): Test 'make-process', not
'start-process', as the latter is now available on all platforms.
* lisp/textmodes/ispell.el (ispell-async-processp): Replace
'start-process' with 'make-process' in a comment.
* lisp/term/internal.el (IT-unicode-translations): Modify and add
a few translations to display Info files with Unicode markup. Fix
an ancient off-by-one mismatch error with Unicode codepoints.
* lisp/progmodes/compile.el (compilation-start): Test
'make-process', not 'start-process', as the latter is now
available on all platforms.
* lisp/man.el (Man-build-man-command, Man-getpage-in-background):
Test 'make-process', not 'start-process', as the latter is now
available on all platforms.
* lisp/international/mule-cmds.el (set-coding-system-map): Test
'make-process', not 'start-process', as the latter is now
available on all platforms.
* lisp/eshell/esh-cmd.el (eshell-do-pipelines-synchronously): Doc
fix.
(eshell-execute-pipeline): Test 'make-process', not
'start-process', as the latter is now available on all platforms.
Andreas Schwab [Sat, 30 Apr 2016 10:16:55 +0000 (12:16 +0200)]
Remove \= from format string (bug#18190)
* lisp/emacs-lisp/eieio.el (defclass): Remove \= from format
string.
Eli Zaretskii [Sat, 30 Apr 2016 09:56:03 +0000 (12:56 +0300)]
Fix variable-pitch font on MS-Windows
* lisp/faces.el (variable-pitch) [w32]: Name a variable-pitch font
explicitly, to avoid Emacs picking up a bold-italic variant on
some MS-Windows systems. See this thread for details:
http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00746.html.
Alan Mackenzie [Fri, 29 Apr 2016 14:58:21 +0000 (14:58 +0000)]
Restore follow-scroll-up/down to scrolling by the combined size of all windows
Also rename the current follow-scroll-up/down functions to
follow-scroll-up-window and follow-scroll-down-window. These scroll by the
height of the current window.
This fixes bug #23347.
* lisp/follow.el (follow-mode): Tweak the doc string.
(follow-scroll-up-arg, follow-scroll-down-arg): new functions, extracted from
follow-scroll-up/down.
(follow-scroll-up-window, follow-scroll-down-window): Functions renamed from
follow-scroll-up/down.
(follow-scroll-up, follow-scroll-down): Restore the historic functionality.
Alan Mackenzie [Fri, 29 Apr 2016 14:36:33 +0000 (14:36 +0000)]
Revert unneeded change which harms syntactic parsing. This fixes bug #23308.
* lisp/progmodes/cc-engine.el (c-invalidate-state-cache): User
c-state-old-cpp-end as an argument to c-with-all-but-one-cpps-commented-out
regardless of the value of `here'.
Alan Mackenzie [Fri, 29 Apr 2016 13:35:01 +0000 (13:35 +0000)]
Correct indentation of ids in a C++ enum after a protection keyword.
Also correct the misfontification of the last enum identifier.
* lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id): setq
c-last-identifier-range to nil to ensure that only types recognized by this
macro are set for fontification as types.
(c-backward-typed-enum-colon): Function renamed from
c-backward-colon-prefixed-type. On finding a colon in the backward search,
check it is preceded by an identifier rather than a keyword.
Glenn Morris [Wed, 27 Apr 2016 23:21:41 +0000 (19:21 -0400)]
* lisp/window.el (window--process-window-list): No-op if no processes.
This avoids an issue with save-selected-window (from walk-windows)
failing if frame.el is not loaded, eg if the terminal is resized
during startup of a -nw CANNOT_DUMP build. (Bug#23369).
Paul Eggert [Wed, 27 Apr 2016 22:52:53 +0000 (15:52 -0700)]
Port dumping to NetBSD with PaX
Problem reported by Thomas Klausner (Bug#23371).
* configure.ac (PAXCTL_dumped, PAXCTL_notdumped): New vars.
Set them to setfattr and/or paxctl commands appropriate for
GNU/Linux and/or NetBSD; the latter prefers paxctl +a. Search
for paxctl only if setfattr is not found.
* src/Makefile.in (PAXCTL_dumped, PAXCTL_notdumped):
New vars, replacing PAXCTL_if_present and SETFATTR_if_present.
All uses changed.
Dmitry Gutov [Wed, 27 Apr 2016 23:00:23 +0000 (02:00 +0300)]
Don't mistake `for' inside a function for a part of array comprehension
* lisp/progmodes/js.el (js--indent-in-array-comp): Also check the
depth in parens between the bracket and `for' (bug#23391).
* test/indent/js.js: Add a corresponding example.
Anders Lindgren [Tue, 26 Apr 2016 18:58:52 +0000 (20:58 +0200)]
Fix bug#22891: wrong terminal width when a fringe width is zero.
When either fringe width is zero, Emacs reserved one column for a
continuation glyph. Terminal windows does not take this into
account when the frame is resized.
* lisp/window.el (window-adjust-process-window-size): Use
`window-max-chars-per-line' instead of `window-body-width'.
* lisp/term.el (term-window-width): Remove function. (It does the
same as `window-max-chars-per-line' but without recent bug fixes.)
(term-mode): Use `window-max-chars-per-line' instead of
`term-window-width'.
Backport
(cherry picked from commit
5b5403289888efe8783ae6a405845b925f544ec1)
Leo Liu [Wed, 27 Apr 2016 14:12:12 +0000 (22:12 +0800)]
Improve last change to vc-git-mode-line-string
* lisp/vc/vc-git.el (vc-git-mode-line-string): Better fix that caches
the result.
Stephen Berman [Wed, 27 Apr 2016 08:18:02 +0000 (10:18 +0200)]
Todo mode doc bug fix
* lisp/calendar/todo-mode.el (todo-show): Correct obsolete and no
longer correct information in doc string.
Leo Liu [Wed, 27 Apr 2016 05:18:04 +0000 (13:18 +0800)]
Fix revision calculation in vc-git-mode-line-string
* lisp/vc/vc-git.el (vc-git-mode-line-string): Use
vc-git-working-revision because vc-working-revision needs to decide
the backend and may return nil.
Mark Oteiza [Wed, 27 Apr 2016 00:05:57 +0000 (20:05 -0400)]
; Fix errant revert
ccb75d7
* lisp/rect.el (rectangle--highlight-for-redisplay): Use region face.
Jorgen Schaefer [Thu, 21 Apr 2016 08:00:39 +0000 (10:00 +0200)]
Add Python 3.5 keyword "await"
* lisp/progmodes/python.el (python-font-lock-keywords): Add await as
keyword.
Lele Gaifax [Wed, 6 Apr 2016 08:38:23 +0000 (10:38 +0200)]
Add new keywords of Python 3.5
Python 3.5, released in mid September 2015, introduced a few new
keywords to better support asynchronous code, "async" and "await"
in particular. See https://www.python.org/dev/peps/pep-0492/ for
details. (Bug#21783)
* lisp/progmodes/python.el (python-rx-constituents): Add async
def/for/with as block-start and async def as defun.
* lisp/progmodes/python.el (python-font-lock-keywords): Add async
def/for/with as keyword.
* test/automated/python-tests.el (python-indent-after-async-block-1,
python-indent-after-async-block-2, python-indent-after-async-block-3,
python-nav-beginning-of-defun-3): New tests to test indentation and
navigation for the async keyword.
Mark Oteiza [Tue, 26 Apr 2016 15:42:53 +0000 (11:42 -0400)]
Partially revert previous change.
This commit partially reverts
0f332848cdb2ed6d46771914a911cbca194cd51a.
* lisp/rect.el (rectangle--highlight-for-redisplay): Use region face.
This function is for rectangle-mark-mode, not string-rectangle.
Eli Zaretskii [Tue, 26 Apr 2016 05:49:29 +0000 (08:49 +0300)]
; * etc/NEWS: Update entry about color fonts on OS X with a workaround.
Paul Eggert [Mon, 25 Apr 2016 22:19:55 +0000 (15:19 -0700)]
Say why text-quoting-style is not a user option
* doc/lispref/help.texi (Keys in Documentation):
* etc/NEWS: Document why text-quoting-style is not a
customizable variable (Bug#23372).
Glenn Morris [Mon, 25 Apr 2016 21:28:00 +0000 (17:28 -0400)]
* lisp/emacs-lisp/autoload.el (update-directory-autoloads):
Future-proof against non-time-values.
; Do not merge to master.
Glenn Morris [Mon, 25 Apr 2016 11:22:14 +0000 (07:22 -0400)]
; Auto-commit of loaddefs files.
Eli Zaretskii [Mon, 25 Apr 2016 08:28:17 +0000 (11:28 +0300)]
Don't mention ~/.emacs.bmk literally in doc strings
* lisp/bookmark.el (bookmark-save-flag, bookmark-load): Don't
mention "~/.emacs.bmk" explicitly as the default bookmark file in
the doc strings. (Bug#23350)
YAMAMOTO Mitsuharu [Mon, 25 Apr 2016 08:23:15 +0000 (17:23 +0900)]
* etc/NEWS: Explain why multicolor font display is disabled on OS X Cocoa.
Paul Eggert [Sun, 24 Apr 2016 20:38:38 +0000 (13:38 -0700)]
Port to Ubuntu 16.04 --enable-gcc-warnings
* src/image.c (gif_load) [HAVE_GIF]: Fix pointer signedness problem.
Paul Eggert [Sun, 24 Apr 2016 19:42:02 +0000 (12:42 -0700)]
* etc/NEWS: Improve wording of vc-git-log-output-coding-system etc.
Tino Calancha [Sun, 24 Apr 2016 15:05:33 +0000 (17:05 +0200)]
Don't kill ~/ if it's the top level directory
* lisp/dired-aux.el (dired-kill-subdir): Don't kill ~/ if it's
the top level directory (bug#23017).
Tino Calancha [Sat, 23 Apr 2016 19:41:28 +0000 (12:41 -0700)]
describe-char: fix insert char documentation
* lisp/descr-text.el (describe-char):
Only 'ucs-names' entries can be inserted by unicode name (Bug#23325).
Copyright-paperwork-exempt: yes
Dmitry Gutov [Sat, 23 Apr 2016 19:16:27 +0000 (22:16 +0300)]
(vc-git-mode-line-string): Don't use `replace-regexp-in-string'
* lisp/vc/vc-git.el (vc-git-mode-line-string): Use `substring'
instead of `replace-regexp-in-string', because REV can be nil
(e.g. when FILE is a directory, bug#23344), and we actually know
we only need the first 4 characters.
Nicolas Petton [Fri, 22 Apr 2016 17:00:05 +0000 (19:00 +0200)]
Bump version to 25.0.93
* README:
* configure.ac:
* msdos/sed2v2.inp: Bump Emacs version to 25.0.93.
Nicolas Petton [Fri, 22 Apr 2016 16:59:44 +0000 (18:59 +0200)]
* etc/AUTHORS: Update the AUTHORS file
Nicolas Petton [Fri, 22 Apr 2016 16:58:57 +0000 (18:58 +0200)]
* admin/update_autogen: Use #!/usr/bin/env bash
Nicolas Petton [Fri, 22 Apr 2016 16:57:36 +0000 (18:57 +0200)]
; Auto-commit of loaddefs files.
Nicolas Petton [Fri, 22 Apr 2016 16:54:52 +0000 (18:54 +0200)]
; ChangeLog fixes
* ChangeLog.2:
* lisp/ChangeLog.17: Fix ChangeLog entries
Nicolas Petton [Fri, 22 Apr 2016 16:50:26 +0000 (18:50 +0200)]
* admin/authors.el (authors-ignored-files): Additions.
Martin Rudalics [Fri, 22 Apr 2016 09:56:03 +0000 (11:56 +0200)]
In x_set_window_size restore do_pending_window_change calls
* src/xterm.c (x_set_window_size):
* src/w32term.c (x_set_window_size): Restore
do_pending_window_change calls after their stupid removal on
2015-08-31.
Ilya Zakharevich [Thu, 21 Apr 2016 16:08:16 +0000 (19:08 +0300)]
Fix Alt-modified keys on some European MS-Windows keyboards
* src/w32fns.c (deliver_wm_chars): If the reported character is
ASCII, AND Meta modifier is a candidate, behave as if Meta is
present, i.e. fall back to the legacy code. (Bug#23251)
Eli Zaretskii [Thu, 21 Apr 2016 02:27:58 +0000 (05:27 +0300)]
Document 'help-go-forward'
* doc/emacs/help.texi (Help Mode): Document and index
'help-go-forward'. (Bug#23323)
Eli Zaretskii [Thu, 21 Apr 2016 02:08:29 +0000 (05:08 +0300)]
Revert "Allow to customize names of executables used by grep.el"
This reverts commit
c93ae7a1e5a94541189a8f36984014344d561ffc.
Eli Zaretskii [Thu, 21 Apr 2016 02:07:27 +0000 (05:07 +0300)]
Revert "Don't use 'find-program'"
This reverts commit
10597c977d55cbf9304b51c3b364ce58199384a0.
Eli Zaretskii [Thu, 21 Apr 2016 02:06:26 +0000 (05:06 +0300)]
Revert "Use 'grep-find-program' in check-declare.el"
This reverts commit
33bef6e90bfd20609d044b8a076c1570c627684a.
Eli Zaretskii [Wed, 20 Apr 2016 14:52:25 +0000 (17:52 +0300)]
Clarify documentation of 'dired-mark-files-containing-regexp'
* doc/emacs/dired.texi (Marks vs Flags): Clarify that for files
visited in buffers, 'dired-mark-files-containing-regexp' searches
the buffer rather than the file on disk. (Bug#22694)
* lisp/dired.el (dired-mark-files-containing-regexp): Clarify that
for files visited in buffers, 'dired-mark-files-containing-regexp'
searches the buffer rather than the file on disk. (Bug#22694)
Eli Zaretskii [Tue, 19 Apr 2016 15:06:52 +0000 (18:06 +0300)]
Make tmm-menubar work in correct order again
* lisp/tmm.el (tmm-prompt): Don't reverse 'tmm-km-list' right at the
beginning; instead, pass a reversed copy to 'tmm--completion-table'.
(Bug#23309)
(tmm-menubar): Fix an off-by-one error in determining the menu
item when the function is called with a non-nil 'x-position'
argument.
Dmitry Gutov [Mon, 18 Apr 2016 22:20:59 +0000 (01:20 +0300)]
Remove the Meta-CVS VC backend
* lisp/obsolete/vc-mcvs.el: Remove the file (bug#20475).
* lisp/vc/log-view.el (log-view-extract-comment): Remove the MCVS
reference.
* doc/misc/efaq-w32.texi (Version control): Same.
Michael Albinus [Mon, 18 Apr 2016 08:11:44 +0000 (10:11 +0200)]
Fix Bug#23276
* lisp/autorevert.el (auto-revert-handler): Ignore errors
coming from `revert-buffer'. (Bug#23276)
Reto Zimmermann [Sun, 17 Apr 2016 23:15:29 +0000 (16:15 -0700)]
Sync with upstream vhdl mode v3.38.1.
* lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
(vhdl-mode): No longer set comment-padding.
(vhdl-begin-p): Handle missing space between keyword and parenthesis.
(vhdl-beginning-of-statement-1): Fix indentation for "else generate".
(vhdl-template-else, vhdl-template-elsif): Support generate statement.
(vhdl-re-search-forward, vhdl-re-search-backward): Save match data.
Paul Eggert [Sun, 17 Apr 2016 02:49:15 +0000 (19:49 -0700)]
Tweak configure.ac syntax in recent module patch
* configure.ac: Use proper Autoconf parenthesization in
recent HAVE_MODULES patch. Although this doesn’t fix any bugs,
the previous syntax was confusing.
Paul Eggert [Sun, 17 Apr 2016 02:47:33 +0000 (19:47 -0700)]
Port to GCC 5.3.1
20160406 (Red Hat 5.3.1-6)
* src/indent.c (Fvertical_motion): Pacify --enable-gcc-warnings
when using the April 6 Fedora patch to GCC.
Mark Oteiza [Sat, 16 Apr 2016 18:40:17 +0000 (14:40 -0400)]
Make sh-electric-here-document-mode accessible in sh-mode-hook. (Bug#3226)
* lisp/progmodes/sh-script.el (sh-mode-hook): Add
sh-electric-here-document-mode as an option and the default value.
(sh-mode): Mention sh-mode-hook in docstring.
(sh-mode): Remove sh-electric-here-document-mode invocation.
Michael Albinus [Sat, 16 Apr 2016 18:46:06 +0000 (20:46 +0200)]
; Add entry to MAINTAINERS
Glenn Morris [Sat, 16 Apr 2016 17:24:57 +0000 (10:24 -0700)]
* configure.ac (HAVE_MODULES): Exclude gnu-kfreebsd from previous.
Mark Oteiza [Sat, 16 Apr 2016 16:02:49 +0000 (12:02 -0400)]
Make use of rectangle-preview custom variable.
lisp/rect.el (rectangle--string-preview): Only create a preview if
rectangle-preview is non-nil (Bug#23248).
Mark Oteiza [Sat, 16 Apr 2016 15:55:59 +0000 (11:55 -0400)]
Make use of rectangle-preview face.
* lisp/rect.el (rectangle--string-preview):
(rectangle--highlight-for-redisplay): Replace 'region with
'rectangle-preview (Bug#23248).
Eli Zaretskii [Sat, 16 Apr 2016 11:54:03 +0000 (14:54 +0300)]
Use 'grep-find-program' in check-declare.el
* lisp/emacs-lisp/check-declare.el (check-declare-directory): Use
'grep-find-program', not 'find-program'.
Eli Zaretskii [Sat, 16 Apr 2016 11:20:34 +0000 (14:20 +0300)]
Improve "C-h S" for cl-lib symbols
* lisp/info-look.el: Add cl.info lookup to emacs-lisp-mode related
manuals. (Bug#23289)
Eli Zaretskii [Sat, 16 Apr 2016 10:53:17 +0000 (13:53 +0300)]
Fix minor issues with removing left or right fringes
* lisp/window.el (window-max-chars-per-line): Account for
'left-fringe-width' and 'right-fringe-width' variables.
* doc/lispref/windows.texi (Window Sizes): Document the effect on
window text width when setting the width of one or both fringes to
zero.
* doc/emacs/display.texi (Fringes): Document the effect on window
text width when setting the width of one or both fringes to zero.
(Bug#22891)
Eli Zaretskii [Sat, 16 Apr 2016 10:08:30 +0000 (13:08 +0300)]
Speed up redisplay in ansi-term mode
* lisp/term.el (ansi-term): Force L2R 'bidi-paragraph-direction'.
(Bug#20611)
Philipp Stephani [Sat, 16 Apr 2016 09:55:17 +0000 (12:55 +0300)]
Simplify 8-bit character handling by terminal for 'raw-text'
* lisp/international/mule.el (set-keyboard-coding-system): Treat
'raw-text' as another coding type that requires 8-bit characters.
* lisp/xt-mouse.el (xterm-mouse--read-coordinate): Use 'no-conversion'
instead of 'latin-1'.
Glenn Morris [Fri, 15 Apr 2016 23:19:47 +0000 (19:19 -0400)]
* configure.ac (HAVE_MODULES): Treat gnu like gnu-linux. (Bug#22722)
Eli Zaretskii [Fri, 15 Apr 2016 14:26:37 +0000 (17:26 +0300)]
Fix w32 memory-management problem when extending buffer text
* src/w32heap.c (mmap_realloc): Only attempt extending a region if
the following region has the same allocation base. Also, use the
original allocation base and enlarged size to commit reserved
memory, to ensure that the allocation base stays at its original
value. This fixes several hard-to-debug problems whereby part of
buffer text was overwritten with binary nulls, because
mmap_realloc copied only part of buffer text when extending it.
See
http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00325.html
and http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23223#55 for two
examples of the related problems.
Michael Albinus [Thu, 14 Apr 2016 18:28:18 +0000 (20:28 +0200)]
Fix Bug#20637. Do not merge to master
* lisp/vc/vc-hooks.el (vc-state, vc-working-revision):
Use `vc-backend' instead of `vc-responsible-backend'. (Bug#20637)
* test/automated/vc-tests.el (vc-test--state)
(vc-test--working-revision): Deactivate now failing checks.
Paul Eggert [Thu, 14 Apr 2016 15:21:34 +0000 (08:21 -0700)]
substitute-command-keys keeps quotes’ text props
Problem reported by Clément Pit--Claudel (Bug#23254).
* src/doc.c: Include intervals.h.
(Fsubstitute_command_keys): If the only substitutions are for
quotes, copy the source string’s text properties too, since no
substring lengths have changed.
YAMAMOTO Mitsuharu [Wed, 13 Apr 2016 22:47:55 +0000 (07:47 +0900)]
* src/xwidget.c (x_draw_xwidget_glyph_string): More clipping fixes.
Dmitry Gutov [Tue, 12 Apr 2016 18:46:22 +0000 (21:46 +0300)]
Add semantic-symref-filepattern-alist entry for lisp-interaction-mode
* lisp/cedet/semantic/symref/grep.el
(semantic-symref-filepattern-alist):
Add entry for lisp-interaction-mode
(http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23223#47)
Dmitry Gutov [Tue, 12 Apr 2016 18:08:22 +0000 (21:08 +0300)]
Perform xref searches without visiting unopened files
* lisp/progmodes/xref.el (xref-collect-references): Instead of
calling `semantic-symref-find-references-by-name', use
`semantic-symref-instantiate' and `semantic-symref-perform-search'
directly. Ask for `line-and-text' results (bug#23223).
(xref-collect-matches): Include the line text in the "hit"
structure.
(xref--convert-hits): New function, split off from
`xref-collect-references' and `xref-collect-matches', to convert
"hits" to xref instance list. Create a temporary buffer here, to
use it for post-processing all hit lines.
(xref--collect-matches): Use a different approach for non-visited
files. Insert the line text into the temp buffer, apply the
file's major mode the best we can without reading its whole
contents, syntax-propertize, and search in the result.
(xref--collect-matches-1): Extract, to handle the common logic
between two cases.
(xref--find-buffer-visiting): New function, a wrapper around
`find-buffer-visiting' to amortize its cost.
* lisp/cedet/semantic/symref/idutils.el
(semantic-symref-idutils--line-re): New constant.
(semantic-symref-parse-tool-output-one-line): Support result type
`line-and-text'.
* lisp/cedet/semantic/symref/grep.el
(semantic-symref-grep--line-re)
(semantic-symref-parse-tool-output-one-line): Same.
* lisp/cedet/semantic/symref/cscope.el
(semantic-symref-cscope--line-re)
(semantic-symref-parse-tool-output-one-line): Same.
* lisp/cedet/semantic/symref/global.el
(semantic-symref-global--line-re)
(semantic-symref-parse-tool-output-one-line): Same.
Phillip Lord [Tue, 12 Apr 2016 17:00:50 +0000 (18:00 +0100)]
Revert "Prevent bootstrap autoload backup files"
This reverts commit
c23c965bb9d0a4bcc1b6158833ff99aa20fd53e9.
Paul Eggert [Tue, 12 Apr 2016 15:47:15 +0000 (08:47 -0700)]
Improve time zone documentation
* doc/lispref/os.texi (Time Zone Rules):
New section, mostly with material moved here from other sections.
* doc/emacs/cmdargs.texi (General Variables):
* doc/lispref/os.texi (Time Conversion, Time Parsing):
Xref new section.
* etc/NEWS, etc/PROBLEMS:
* lisp/org/org.el (org-timestamp-format):
* src/editfns.c (Fformat_time_string, Fdecode_time)
(Fencode_time, Fcurrent_time_string, Fcurrent_time_zone)
(Fset_time_zone_rule):
When documenting time zone rule strings, mention the TZ
environment variable in preference to mentioning the
sort-of-internal function set-time-zone-rule.
Phillip Lord [Fri, 8 Apr 2016 15:22:44 +0000 (16:22 +0100)]
Prevent bootstrap autoload backup files
* lisp/emacs-lisp/autoload (autoload-find-generated-file): Suppress
backups in newly created file.
(autoload-ensure-default-file): Function split into two.
(autoload-ensure-file-writeable): New function from split.
(Bug#23203)
YAMAMOTO Mitsuharu [Mon, 11 Apr 2016 23:26:51 +0000 (08:26 +0900)]
Disable multicolor fonts on OS X since they are not supported on free systems
* src/macfont.m (macfont_list): Don't use color bitmap fonts.
Paul Eggert [Mon, 11 Apr 2016 22:15:23 +0000 (15:15 -0700)]
Capitalize “Universal Time” in documentation
It’s a proper noun.
* lisp/vc/add-log.el (add-log-time-zone-rule): Also, fix typo by
mentioning ‘format-time-string’ instead of ‘set-time-zone-rule’.
Eli Zaretskii [Mon, 11 Apr 2016 16:41:48 +0000 (19:41 +0300)]
Don't use 'find-program'
* lisp/progmodes/project.el (project-file-completion-table): Use
'grep-find-program', rather than the obsolete 'find-program'.