]> git.eshelyaron.com Git - emacs.git/log
emacs.git
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 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 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 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 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 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 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 display of cursor when 'blink-cursor-delay' has small value
Eli Zaretskii [Fri, 23 Sep 2016 14:25:55 +0000 (17:25 +0300)]
Fix display of cursor when 'blink-cursor-delay' has small value

* lisp/frame.el (blink-cursor-check, blink-cursor-mode):
Protect ourselves against too small values of blink-cursor-delay.
This avoids erratic display of the cursor, or even failure to
display it, when user types text at high speed or leans on a key
to invoke the keyboard auto-repeat feature.  (Bug#24372)

8 years agoImprove the doc string of 'format'
Eli Zaretskii [Fri, 16 Sep 2016 09:55:15 +0000 (12:55 +0300)]
Improve the doc string of 'format'

* src/editfns.c (Fformat): Fix ambiguity in the doc string's usage
of a literal period.  (Bug#24407)

This was backported from master
(cherry picked from commit 7123896626b06c26c4e37839ab41e41980c8f433)

8 years agoImprove doc strings in whitespace.el
Eli Zaretskii [Fri, 16 Sep 2016 09:46:15 +0000 (12:46 +0300)]
Improve doc strings in whitespace.el

* lisp/whitespace.el (whitespace-mode, whitespace-newline-mode)
(global-whitespace-mode, global-whitespace-newline-mode): Improve
the doc strings.  (Bug#24413)

This was backported from master
(cherry picked from commit 3462fe73351f3da5bc3ebf8296ee44dd2e6b1dbc)

8 years agoImprove detectability of 'next-logical-line' and 'previous-logical-line'
Eli Zaretskii [Fri, 16 Sep 2016 09:31:41 +0000 (12:31 +0300)]
Improve detectability of 'next-logical-line' and 'previous-logical-line'

* lisp/simple.el (next-line, previous-line): Mention
'next-logical-line' and 'previous-logical-line' in the doc
strings.  (Bug#24443)

This was backported from master
(cherry picked from commit e95d0d15bb1534803b0adb3c3a927c8beb7d4e79)

8 years agoFix (next-frame nil t) crash (Bug#24281)
Martin Rudalics [Mon, 22 Aug 2016 06:33:48 +0000 (08:33 +0200)]
Fix (next-frame nil t) crash (Bug#24281)

* src/frame.c (candidate_frame): Check minibuf argument before
comparing it to zero (Bug#24281).

This was backported from master
(cherry picked from commit dc491c3df305a73908fe8de20b7c428a5b38c846)

8 years agoFix debugging of string-match-p errors
Noam Postavsky [Sat, 6 Aug 2016 02:11:00 +0000 (22:11 -0400)]
Fix debugging of string-match-p errors

* src/eval.c (call_debugger): Bind inhibit-changing-match-data to nil so
that debugger code that needs to do regexp match won't break
(Bug #23949, Bug #24166, Bug#16294).

This was backported from master
(cherry picked from commit 7fb75680b38fe0805c2ff7e9cca3bec8121ba984)

8 years agoFix region display while dragging mouse
Eli Zaretskii [Sat, 30 Jul 2016 08:32:02 +0000 (11:32 +0300)]
Fix region display while dragging mouse

* lisp/mouse.el (mouse-drag-track): Reset deactivate-mark in the
buffer of the drag event, to allow mark to be set and the region
be shown as we drag the mouse.  (Bug#24030)

This was backported from master
(cherry picked from commit 7d58b02f363ab02961faa950d1ba727df96f2f19)

8 years agoFix 'vertical-motion' and 'posn-at-point' under 'visual-line-mode'
Eli Zaretskii [Sat, 21 May 2016 09:35:08 +0000 (12:35 +0300)]
Fix 'vertical-motion' and 'posn-at-point' under 'visual-line-mode'

* src/xdisp.c (move_it_in_display_line_to): Don't assume we can
wrap on a whitespace character if it's followed by another
whitespace character.  When returning under WORD_WRAP for a screen
line that is continued, restore to wrap point when atpos/atx
position would be displayed on the next screen line due to
line-wrap.  (Bug#23570)

This is backported from master
(cherry picked from commit 99848b37d2c3e14c0af45fc6da437a806aa58a80)

8 years agoImprove display of tex-verbatim and Info quoted
Paul Eggert [Fri, 13 May 2016 20:30:33 +0000 (13:30 -0700)]
Improve display of tex-verbatim and Info quoted

Problem reported by Glenn Morris (Bug#19889).
* doc/emacs/display.texi (Standard Faces):
* doc/lispref/display.texi (Basic Faces):
* etc/NEWS: Mention fixed-pitch-serif.
* lisp/faces.el (face-font-family-alternatives):
New family alias Monospace Serif.
(fixed-pitch-serif): New face, which uses the new family.
* lisp/info.el (Info-quoted):
* lisp/textmodes/tex-mode.el (tex-verbatim): Use the new face.
* test/lisp/legacy/font-parse-tests.el (font-parse-tests--data):
Add test case for Monospace Serif.

This is backport from master
(cherry picked from commit 36906806ccfc0e53f1d8c365ab0d7151288b7833)

8 years agoDocument how to check for ImageMagick support
Lars Ingebrigtsen [Sat, 30 Apr 2016 19:39:21 +0000 (21:39 +0200)]
Document how to check for ImageMagick support

* doc/lispref/display.texi (ImageMagick Images): Say how to
check for ImageMagick support, which isn't quite obvious
(bug#20702).

This is backport from master
(cherry picked from commit faf07d646575c78d6d956ce91820ebbf38308553)

8 years agoRun find-function-after-hook after finding a symbol
Tino Calancha [Mon, 25 Apr 2016 17:27:06 +0000 (19:27 +0200)]
Run find-function-after-hook after finding a symbol

* lisp/emacs-lisp/find-func.el (find-library):
* lisp/help-mode.el (help-function-def, help-variable-def):
Run `find-function-after-hook' inside the help-function of the
buttons (bug#22583).
* etc/NEWS: Mention the change.

This is a backport from master.
(cherry picked from commit f069d854508946bcc03e4c77ceb430748e3ab6d7)

8 years agoDocument 'timerp'
Eli Zaretskii [Fri, 23 Sep 2016 08:43:25 +0000 (11:43 +0300)]
Document 'timerp'

* doc/lispref/os.texi (Timers): Document 'timerp'.  (Bug#24511)
Improve indexing.

8 years agoImprove documentation of overlay priorities
Eli Zaretskii [Fri, 23 Sep 2016 08:27:18 +0000 (11:27 +0300)]
Improve documentation of overlay priorities

* doc/lispref/display.texi (Overlay Properties): Minor copyedits.
By popular demand, mention the '(PRIMNARY . SECONDARY)' form of
overlay properties used for the region.  (Bug#20253)

8 years agoFix 'dired-compress-files'
Eli Zaretskii [Fri, 23 Sep 2016 08:08:34 +0000 (11:08 +0300)]
Fix 'dired-compress-files'

* lisp/dired-aux.el (dired-do-compress-to): Make sure the archive
file name is fully expanded by running it through
'expand-file-name'.  Suggested by Drew Adams <drew.adams@oracle.com>.
(Bug#24486)  Doc fix.
* lisp/dired.el: Regenerated changes in autoloads.

8 years agoUpdate commentary of STRING_CHAR and FETCH_MULTIBYTE_CHAR
Eli Zaretskii [Fri, 23 Sep 2016 07:52:07 +0000 (10:52 +0300)]
Update commentary of STRING_CHAR and FETCH_MULTIBYTE_CHAR

* src/character.h (STRING_CHAR):
* src/buffer.h (FETCH_MULTIBYTE_CHAR): Update commentary: these
two macros no longer do any character unification, so the caveats
in those comments are no longer pertinent.

8 years agoIncrement Emacs version to 25.1.50
Eli Zaretskii [Fri, 23 Sep 2016 07:46:26 +0000 (10:46 +0300)]
Increment Emacs version to 25.1.50

* README:
* configure.ac:
* etc/NEWS:
* msdos/sed2v2.inp: Bump the version to 25.1.50.

8 years agoDocument the optional zlib library in MS-Windows builds
Eli Zaretskii [Wed, 21 Sep 2016 15:28:30 +0000 (18:28 +0300)]
Document the optional zlib library in MS-Windows builds

* nt/README.W32:
* nt/INSTALL.W64:
* nt/INSTALL: Mention the optional text decompression support and
the zlib library.

8 years ago; * admin/notes/unicode: Mention BidiCharacterTest.txt.
Eli Zaretskii [Wed, 21 Sep 2016 15:14:50 +0000 (18:14 +0300)]
; * admin/notes/unicode: Mention BidiCharacterTest.txt.

8 years agoFix tagging of DEFUN by etags
Eli Zaretskii [Wed, 21 Sep 2016 15:10:29 +0000 (18:10 +0300)]
Fix tagging of DEFUN by etags

* lib-src/etags.c (C_entries): Tag DEFUN twice: once with its C
name, and then again with its Lisp name.  This restores the
ability to find Lisp primitives by their C name, which was lost
when the etags back-end was switched to a more strict search
criteria.

* test/etags/ETAGS.good_1:
* test/etags/ETAGS.good_2:
* test/etags/ETAGS.good_3:
* test/etags/ETAGS.good_4:
* test/etags/ETAGS.good_5:
* test/etags/ETAGS.good_6:
* test/etags/CTAGS.good: Adapt to the changes in etags.c wrt
tagging DEFUN.

8 years agoAvoid resetting track-mouse by mouse clicks
Eli Zaretskii [Wed, 21 Sep 2016 15:00:18 +0000 (18:00 +0300)]
Avoid resetting track-mouse by mouse clicks

* lisp/mouse.el (mouse-drag-line, mouse-drag-track): Don't assume
the previous value of track-mouse is nil; instead, save and
restore the previous value.  (Bug#24480)

8 years agoImprove nt/README.W32 instructions
Eli Zaretskii [Tue, 20 Sep 2016 15:25:41 +0000 (18:25 +0300)]
Improve nt/README.W32 instructions

* nt/README.W32: Add instructions for installing 64-bit builds of
optional libraries.  (Bug#24470)

8 years agoDocument that desktop file overrides frame parameters
Eli Zaretskii [Sat, 17 Sep 2016 09:20:09 +0000 (12:20 +0300)]
Document that desktop file overrides frame parameters

* doc/emacs/misc.texi (Saving Emacs Sessions):
* doc/emacs/frames.texi (Frame Parameters): Document that frame
parameters restored by desktop.el take precedence over the
customizations in the init file, and explain how to countermand
that.  For the details of the issue, see
http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00318.html.

8 years ago; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 release emacs-25.1
Nicolas Petton [Thu, 15 Sep 2016 21:30:09 +0000 (23:30 +0200)]
; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 release

8 years ago* etc/AUTHORS: Regenerate the AUTHORS file
Nicolas Petton [Thu, 15 Sep 2016 21:08:14 +0000 (23:08 +0200)]
* etc/AUTHORS: Regenerate the AUTHORS file

8 years agoUpdate admin/authors.el
Eli Zaretskii [Thu, 15 Sep 2016 19:21:19 +0000 (22:21 +0300)]
Update admin/authors.el

* admin/authors.el (authors-fixed-entries): Add an entry for Bob
Weiner.

8 years agoUpdate Antinews in ELisp manual
Eli Zaretskii [Wed, 14 Sep 2016 14:20:24 +0000 (17:20 +0300)]
Update Antinews in ELisp manual

* doc/lispref/anti.texi (Antinews): Update for Emacs 25.1.
* doc/lispref/elisp.texi (Top): Update the main menu entry for
Antinews.

8 years agoFix comments on window height macros
Noam Postavsky [Sun, 11 Sep 2016 20:25:13 +0000 (16:25 -0400)]
Fix comments on window height macros

* src/window.h (WINDOW_MODE_LINE_HEIGHT, WINDOW_HEADER_LINE_HEIGHT): Fix
confusing claim that "height is in pixels and in lines"; in fact it's in
pixels.

8 years agoFix 'url-http-create-request' when cookies are used
Toke Høiland-Jørgensen [Sat, 10 Sep 2016 19:09:33 +0000 (22:09 +0300)]
Fix 'url-http-create-request' when cookies are used

* lisp/url/url-http.el (url-http-create-request): Make sure the
cookie headers are a unibyte string.  For the details, see
http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00202.html.

Copyright-paperwork-exempt: yes

8 years agoFix cross reference in frames.texi
Martin Rudalics [Thu, 8 Sep 2016 08:56:17 +0000 (10:56 +0200)]
Fix cross reference in frames.texi

* doc/lispref/frames.texi (Minibuffers and Frames): Fix cross
reference.

8 years ago; * etc/DEBUG: Minor copyedits.
Eli Zaretskii [Wed, 7 Sep 2016 17:37:31 +0000 (20:37 +0300)]
; * etc/DEBUG: Minor copyedits.

8 years ago; * etc/DEBUG: Improve documentation of getting control to GDB.
Eli Zaretskii [Mon, 5 Sep 2016 16:32:21 +0000 (19:32 +0300)]
; * etc/DEBUG: Improve documentation of getting control to GDB.

Suggested by Alain Schneble <a.s@realize.ch>.

8 years agoFix regexp-opt documentation (bug #17862)
immerrr [Sun, 7 Feb 2016 09:46:37 +0000 (12:46 +0300)]
Fix regexp-opt documentation (bug #17862)

* lisp/emacs-lisp/regexp-opt.el (regexp-opt):
* doc/lispref/searching.texi (Regexp Functions): Update PAREN doc.

8 years ago; Fix documentation of seq-subseq
Clément Pit--Claudel [Thu, 1 Sep 2016 14:46:14 +0000 (10:46 -0400)]
; Fix documentation of seq-subseq

8 years ago* lisp/emacs-lisp/gv.el (gv-ref): Fix example of PLACE in docstring.
Nicolas Richard [Tue, 23 Aug 2016 09:50:52 +0000 (11:50 +0200)]
* lisp/emacs-lisp/gv.el (gv-ref): Fix example of PLACE in docstring.

8 years ago; Spelling fixes
Paul Eggert [Wed, 31 Aug 2016 03:32:30 +0000 (20:32 -0700)]
; Spelling fixes

8 years agoFix tags-query-replace docstring
Noam Postavsky [Sat, 27 Aug 2016 02:32:43 +0000 (22:32 -0400)]
Fix tags-query-replace docstring

* lisp/progmodes/etags.el (tags-query-replace): Remove incorrect info
regarding non-existent parameters.

8 years agoClarify documentation of precision in format specs
Eli Zaretskii [Fri, 26 Aug 2016 19:13:34 +0000 (22:13 +0300)]
Clarify documentation of precision in format specs

* doc/lispref/strings.texi (Formatting Strings): Be less
definitive wrt what precision means in format specs other than
floating-point, %s and %S.  (Bug#24314)

8 years agoImprove and clarify documentation of subprocesses
Eli Zaretskii [Wed, 24 Aug 2016 14:36:28 +0000 (17:36 +0300)]
Improve and clarify documentation of subprocesses

* doc/lispref/processes.texi (Subprocess Creation, Shell Arguments):
Mention 'make-process' rather than 'start-process'.  Update wrt
standard destinations of standard output/error streams and due to
different formats of arguments accepted by 'make-process'.
(Processes): Mention process objects that represent connections.
(Synchronous Processes): Minor clarifications.
(Asynchronous Processes): Describe 'make-process' and
'make-pipe-process' before 'start-process'.  Update and expand the
documentation.
(Deleting Processes, Process Information, Input to Processes)
(Signals to Processes, Query Before Exit, Network): Update and
expand the documentation, especially wrt process objects that
represent connections.
(Output from Processes): Mention the possibility of separating
stderr via 'make-process'.
(Filter Functions): Mention that stderr by default arrives at the
filter function together with stdout.  (Bug#24287)

* src/process.c (Fprocess_id, Fprocess_command)
(Fprocess_contact, Fprocess_type, Fstop_process): Doc fixes for
process objects that represent connections.

8 years ago* etc/PROBLEMS: Mention gnutls-cli 3.5.3 (Bug#24247).
Paul Eggert [Tue, 23 Aug 2016 19:27:54 +0000 (12:27 -0700)]
* etc/PROBLEMS: Mention gnutls-cli 3.5.3 (Bug#24247).

8 years ago; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 RC2 emacs-25.1-rc2
Nicolas Petton [Sun, 21 Aug 2016 21:24:55 +0000 (23:24 +0200)]
; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 RC2

8 years ago* etc/AUTHORS: Update the AUTHORS file
Nicolas Petton [Sun, 21 Aug 2016 21:24:15 +0000 (23:24 +0200)]
* etc/AUTHORS: Update the AUTHORS file

8 years ago; ChangeLog spelling fixes
Paul Eggert [Sun, 21 Aug 2016 11:15:15 +0000 (04:15 -0700)]
; ChangeLog spelling fixes

8 years agoSome assorted documentation clarifications
Philipp Stephani [Fri, 19 Aug 2016 19:23:24 +0000 (21:23 +0200)]
Some assorted documentation clarifications

* src/fileio.c (Fwrite_region): Clarify that END is ignored if
START is nil.
* src/editfns.c (Fbuffer_size): Add short discussion about
narrowing.
* src/callproc.c (Fcall_process_region): Discuss behavior when
START and END are not buffer positions.

8 years agoImprove commentary in src/character.h
Eli Zaretskii [Thu, 18 Aug 2016 14:23:22 +0000 (17:23 +0300)]
Improve commentary in src/character.h

* src/character.h (BYTES_BY_CHAR_HEAD, MULTIBYTE_LENGTH)
(MULTIBYTE_LENGTH_NO_CHECK, STRING_CHAR_AND_LENGTH): Remove stale
info from commentary and improve it.

8 years ago; Fix typo in /etc/NEWS
Michael Albinus [Wed, 17 Aug 2016 07:39:04 +0000 (09:39 +0200)]
; Fix typo in /etc/NEWS

8 years ago* etc/NEWS: Mention the change in json-encode-string.
Dmitry Gutov [Wed, 17 Aug 2016 04:09:01 +0000 (07:09 +0300)]
* etc/NEWS: Mention the change in json-encode-string.

The change was made to fix bug#20154, and came up again in bug#24239.

8 years ago; * etc/NEWS: Mention incompatible change in url-http-create-request.
Eli Zaretskii [Wed, 17 Aug 2016 02:41:00 +0000 (05:41 +0300)]
; * etc/NEWS: Mention incompatible change in url-http-create-request.

8 years agoMerge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
Eli Zaretskii [Tue, 16 Aug 2016 18:35:17 +0000 (21:35 +0300)]
Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25

8 years ago* src/doc.c (Fsubstitute_command_keys): Another fix for smart quotes.
Eli Zaretskii [Tue, 16 Aug 2016 18:33:09 +0000 (21:33 +0300)]
* src/doc.c (Fsubstitute_command_keys): Another fix for smart quotes.

(Bug#24206)

8 years ago; * doc/lispref/windows.texi (Window Parameters): Grammar tweaks.
Glenn Morris [Tue, 16 Aug 2016 15:40:02 +0000 (08:40 -0700)]
; * doc/lispref/windows.texi (Window Parameters): Grammar tweaks.
* etc/NEWS: Likewise.

8 years agoAvoid segfaults due to quoting in 'substitute-command-keys'
Eli Zaretskii [Tue, 16 Aug 2016 14:36:27 +0000 (17:36 +0300)]
Avoid segfaults due to quoting in 'substitute-command-keys'

* src/doc.c (Fsubstitute_command_keys): Correct character counts
when the input string is unibyte.  (Bug#24206)

8 years agoIn NEWS describe new handling of window margins (Bug#24193)
Martin Rudalics [Tue, 16 Aug 2016 10:40:12 +0000 (12:40 +0200)]
In NEWS describe new handling of window margins (Bug#24193)

* etc/NEWS: Describe new handling of margins when splitting or
resizing windows (Bug#24193).

8 years agoFacultatively ignore margins when splitting and resizing windows (Bug#24193)
Martin Rudalics [Tue, 16 Aug 2016 07:19:18 +0000 (09:19 +0200)]
Facultatively ignore margins when splitting and resizing windows (Bug#24193)

Provide a new window parameter 'min-margins' which allows to
ignore the actual widths of a window's margins when splitting or
resizing that window horizontally.  This should serve as a
workaround for handling the problems raised by Bug#24193.

* lisp/window.el (window--min-size-1): Handle new window
parameter 'min-margins'.
(split-window): Fix text of error messages.
* doc/lispref/windows.texi (Window Parameters): Describe new
parameter 'min-margins'.

8 years agoDocument CATEGORY arg to modify-category-entry
Noam Postavsky [Sun, 14 Aug 2016 02:54:53 +0000 (22:54 -0400)]
Document CATEGORY arg to modify-category-entry

* src/category.c (Fmodify_category_entry): Document CATEGORY argument.

8 years agoDocument char-script-table's effect on word motion
Noam Postavsky [Fri, 12 Aug 2016 22:33:17 +0000 (18:33 -0400)]
Document char-script-table's effect on word motion

* doc/lispref/positions.texi (Word Motion): Talk about
char-script-table (Bug #10494).

8 years agoFurther fix for 'url-http-create-request' and multibyte strings
Eli Zaretskii [Sat, 13 Aug 2016 08:28:53 +0000 (11:28 +0300)]
Further fix for 'url-http-create-request' and multibyte strings

* lisp/url/url-http.el (url-http-create-request): Run
url-mime-charset-string through url-http--encode-string.
(Bug#24117)

8 years agoFix docstring of eval-expression
Noam Postavsky [Fri, 12 Aug 2016 23:29:16 +0000 (19:29 -0400)]
Fix docstring of eval-expression

* lisp/simple.el (eval-expression): Fix the docstring to reflect the
fact that the prefix argument does not affect formatting for
integers (Bug #20691).

8 years agoClarify when 'cursor' property is in effect
Eli Zaretskii [Thu, 11 Aug 2016 20:01:53 +0000 (23:01 +0300)]
Clarify when 'cursor' property is in effect

* doc/lispref/text.texi (Special Properties): Minor copyedits.
(Bug#24179)

8 years agoConvert the remaining strings to unibyte before concatenating
Dmitry Gutov [Thu, 11 Aug 2016 18:06:49 +0000 (21:06 +0300)]
Convert the remaining strings to unibyte before concatenating

* lisp/url/url-http.el (url-http--encode-string): New function.
(url-http-create-request): Use it to convert ASCII to unibyte.
(Bug#24117)

8 years agoFix bug with handling the bidi cache
Eli Zaretskii [Thu, 11 Aug 2016 15:11:26 +0000 (18:11 +0300)]
Fix bug with handling the bidi cache

* src/xdisp.c (redisplay_window): Save and restore the state of
the bidi cache before reusing the iterator after calls to
try_window and try_window_reusing_current_matrix.

8 years ago* doc/lispref/text.texi (Change Hooks): Minor copyedits.
Eli Zaretskii [Wed, 10 Aug 2016 17:12:55 +0000 (20:12 +0300)]
* doc/lispref/text.texi (Change Hooks): Minor copyedits.

8 years agoClarify documentation of before/after-change-functions
Eli Zaretskii [Tue, 9 Aug 2016 16:52:50 +0000 (19:52 +0300)]
Clarify documentation of before/after-change-functions

* doc/lispref/text.texi (Change Hooks): Clarify that the hooks are
not called in balanced pairs.

8 years agoDocument use of vectors in keymaps
Noam Postavsky [Sat, 6 Aug 2016 13:05:05 +0000 (09:05 -0400)]
Document use of vectors in keymaps

* doc/lispref/keymaps.texi (Format of Keymaps): Mention vector
format (Bug #14797).

8 years ago; Spelling fix
Paul Eggert [Wed, 3 Aug 2016 21:58:30 +0000 (14:58 -0700)]
; Spelling fix

8 years agoPost AppDefined events from the main thread ONLY (bug#23934)
Alan Third [Wed, 20 Jul 2016 20:59:17 +0000 (21:59 +0100)]
Post AppDefined events from the main thread ONLY (bug#23934)

* src/nsterm.h: Make nextappdefined var not just GNUStep.
* src/nsterm.c (ns_send_appdefined, sendFromMainThread): Remove GNUStep

8 years agoUpdate to the AUTHORS file for Bob Weiner
John Wiegley [Tue, 2 Aug 2016 23:55:16 +0000 (16:55 -0700)]
Update to the AUTHORS file for Bob Weiner

* etc/AUTHORS: Update the packages attributed to Bob Weiner

8 years agoRevert "Fix local printer set to left aligned string formatter."
John Wiegley [Tue, 2 Aug 2016 18:43:08 +0000 (11:43 -0700)]
Revert "Fix local printer set to left aligned string formatter."

This reverts commit 8a38e948b039516e70176ebe20c5349e2ade6ac5.

8 years agoRevert "Fix ses-delete-blanks to delete only blanks + documentation."
John Wiegley [Tue, 2 Aug 2016 18:43:07 +0000 (11:43 -0700)]
Revert "Fix ses-delete-blanks to delete only blanks + documentation."

This reverts commit 3c97b0f7589e06aeb1ab0147f0ee32974c32926d.

8 years agoRevert "Fix English."
John Wiegley [Tue, 2 Aug 2016 18:43:05 +0000 (11:43 -0700)]
Revert "Fix English."

This reverts commit b275cc76f0c5ab49e81445fcc3420c8772aefd42.

8 years agoImprove doc strings of 'gud-gdb' and 'gdb'
Eli Zaretskii [Mon, 1 Aug 2016 19:58:37 +0000 (22:58 +0300)]
Improve doc strings of 'gud-gdb' and 'gdb'

* lisp/progmodes/gdb-mi.el (gdb):
* lisp/progmodes/gud.el (gud-gdb): Doc fix.  (Bug#24125)

8 years agoFix doc string of 'minibuffer-message-timeout'
Eli Zaretskii [Mon, 1 Aug 2016 13:29:20 +0000 (16:29 +0300)]
Fix doc string of 'minibuffer-message-timeout'

* src/keyboard.c (syms_of_keyboard) <minibuffer-message-timeout>:
Doc fix.  (Bug#24123)

8 years agoFix English.
Vincent Belaïche [Fri, 29 Jul 2016 11:47:57 +0000 (13:47 +0200)]
Fix English.

* doc/misc/ses.texi (Nonrelocatable references): Fix grammatically
  incorrect English.

8 years agoFix ses-delete-blanks to delete only blanks + documentation.
Vincent Belaïche [Fri, 29 Jul 2016 11:44:14 +0000 (13:44 +0200)]
Fix ses-delete-blanks to delete only blanks + documentation.

* doc/misc/ses.texi (Quick Tutorial): Mention the '!'
'ses-range' modifier as an alternative to 'ses+'.
(Advanced Features): Add a refernce to node 'Nonrelocatable
references' concerning function 'ses-rename-cell'.
(Standard formula functions): Mention the '!' 'ses-range'
modifier as an alternative to 'ses-delete-blanks'.
(More on cell printing): Fix fallback printer
definition.  Minor editorial formatting changes.
(Nonrelocatable references): Document the use of
'ses-rename-cell' as a better way to make cell reference
non-relocatable.
(The data area): Document the presence of local printer
definitions in the data area.

* lisp/ses.el (ses-delete-blanks): Do not remove
*error*.  Any error in an argument should propagate into the
using formula rather than being silently hidden !

8 years agoprofiler: document prefix arg for tree expansion
Noam Postavsky [Sun, 17 Jul 2016 04:21:42 +0000 (00:21 -0400)]
profiler: document prefix arg for tree expansion

* doc/lispref/debugging.texi (Profiling):
* lisp/profiler.el (profiler-report-toggle-entry): Document use of
prefix argument to expand whole call trees.

8 years agoClarify usage of eshell-visual-options
Noam Postavsky [Mon, 4 Jul 2016 02:41:48 +0000 (22:41 -0400)]
Clarify usage of eshell-visual-options

* lisp/eshell/em-term.el (eshell-visual-options): Add second option to
example usage (Bug #19627).

8 years agoFix comment in files-in-below-directory
Noam Postavsky [Mon, 27 Jun 2016 03:29:51 +0000 (23:29 -0400)]
Fix comment in files-in-below-directory

* doc/lispintro/emacs-lisp-intro.texi (Files List): Comment should not
say append, since the code is adding to front of list (Bug #21589).

8 years agoFix local printer set to left aligned string formatter.
Vincent Belaïche [Thu, 28 Jul 2016 17:49:37 +0000 (19:49 +0200)]
Fix local printer set to left aligned string formatter.

* lisp/ses.el (ses-local-printer-compile): Add missing case
for left-aligned string formatter.

8 years ago; Fix typos in NEWS
Michael Albinus [Mon, 25 Jul 2016 08:43:14 +0000 (10:43 +0200)]
; Fix typos in NEWS

8 years ago; * etc/NEWS: Remove temporary marks
Nicolas Petton [Sun, 24 Jul 2016 19:26:11 +0000 (21:26 +0200)]
; * etc/NEWS: Remove temporary marks

8 years agoBump Emacs version to 25.1 for the first RC emacs-25.1-rc1
Nicolas Petton [Sun, 24 Jul 2016 15:33:29 +0000 (17:33 +0200)]
Bump Emacs version to 25.1 for the first RC

* README:
* configure.ac:
* lisp/ldefs-boot.el:
* msdos/sed2v2.inp: Bump Emacs version to 25.1.

8 years ago* etc/AUTHORS: Update the AUTHORS file
Nicolas Petton [Sun, 24 Jul 2016 15:00:39 +0000 (17:00 +0200)]
* etc/AUTHORS: Update the AUTHORS file

8 years ago;; * ChangeLog.2: ChangeLog update.
Nicolas Petton [Sun, 24 Jul 2016 14:56:01 +0000 (16:56 +0200)]
;; * ChangeLog.2: ChangeLog update.

8 years ago; ChangeLog fixes
Nicolas Petton [Sun, 24 Jul 2016 14:41:47 +0000 (16:41 +0200)]
; ChangeLog fixes

8 years ago* admin/authors.el (authors-valid-file-names): Addition.
Nicolas Petton [Sun, 24 Jul 2016 14:20:43 +0000 (16:20 +0200)]
* admin/authors.el (authors-valid-file-names): Addition.

8 years ago* admin/authors.el: Additions.
Nicolas Petton [Sun, 24 Jul 2016 13:58:58 +0000 (15:58 +0200)]
* admin/authors.el: Additions.

8 years agoWarn about Cairo-related problems
Eli Zaretskii [Sat, 23 Jul 2016 17:43:29 +0000 (20:43 +0300)]
Warn about Cairo-related problems

* etc/NEWS: Warn about known problems in the Cairo build.
(Bug#23925)

8 years agoDon't let completion break `declare' handling
Paul Pogonyshev [Sat, 23 Jul 2016 14:12:56 +0000 (10:12 -0400)]
Don't let completion break `declare' handling

* elisp-mode.el (elisp-completion-at-point): Fix to not alter
`defun-declarations-alist' by side effect (Bug #23648).

8 years agoAdjust match data before calling after-change-funs
Noam Postavsky [Thu, 21 Jul 2016 00:15:14 +0000 (20:15 -0400)]
Adjust match data before calling after-change-funs

It's important to adjust the match data in between calling
before-change-functions and after-change-functions, so that buffer
change hooks will always see match-data consistent with buffer content.
(Bug #23917)

* src/insdel.c (replace_range): Add new parameter ADJUST_MATCH_DATA, if
true call update_search_regs.  Update all callers (except
Freplace_match) to pass 0 for the new parameter.
* src/search.c (update_search_regs): New function, extracted from
Freplace_match.
(Freplace_match): Remove match data adjustment code, pass 1 for
ADJUST_MATCH_DATA to replace_range instead.

8 years agoDo not show string-rectangle preview if minibuffer is empty
Mark Oteiza [Thu, 21 Jul 2016 20:54:03 +0000 (16:54 -0400)]
Do not show string-rectangle preview if minibuffer is empty

* lisp/rect.el (rectangle--string-preview): Remove condition that sets
preview string to the default replacement string.

8 years ago* etc/PROBLEMS: Add entry about selection problems under Plasma 5.
Achim Gratz [Thu, 21 Jul 2016 15:07:48 +0000 (18:07 +0300)]
* etc/PROBLEMS: Add entry about selection problems under Plasma 5.

Bug#24013