]> git.eshelyaron.com Git - emacs.git/log
emacs.git
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

8 years agoPort to glibc 2.24 (pre-release) + ppc64
Paul Eggert [Tue, 19 Jul 2016 13:23:14 +0000 (15:23 +0200)]
Port to glibc 2.24 (pre-release) + ppc64

Backport from master (Bug#24033).
Inspired by a suggestion by Florian Weimer in:
https://sourceware.org/ml/libc-alpha/2016-07/msg00425.html
* src/emacs.c (main) [__PPC64__]:
Special case for __PPC64__, which needs ASLR disabled in
dumped Emacs too.

8 years ago* lisp/net/shr.el (shr-fill-line): Withdraw the last commit (4157159).
Katsumi Yamaoka [Thu, 21 Jul 2016 08:33:41 +0000 (08:33 +0000)]
* lisp/net/shr.el (shr-fill-line): Withdraw the last commit (4157159).

8 years ago* lisp/net/shr.el (shr-fill-line):
Katsumi Yamaoka [Wed, 20 Jul 2016 22:56:42 +0000 (22:56 +0000)]
* lisp/net/shr.el (shr-fill-line):
Preserve text properties in folded lines (bug#24034).

8 years ago; Fix typo
Mark Oteiza [Wed, 20 Jul 2016 22:46:15 +0000 (18:46 -0400)]
; Fix typo

Thanks to Robert Weiner.

8 years agoExpand FIXME near definition of fboundp
Robert Cochran [Fri, 15 Jul 2016 19:45:56 +0000 (12:45 -0700)]
Expand FIXME near definition of fboundp

This expansion of the FIXME is so that future developers are aware of
the potential problems of aliasing fboundp to symbol-function without
taking backwards compatibility into account.

* src/data.c (fboundp): Note potential backwards compatibility issues in
FIXME.

Copyright-paperwork-exempt: yes

8 years agokill-rectangle should mention killed-rectangle
Noam Postavsky [Mon, 4 Jul 2016 01:40:26 +0000 (21:40 -0400)]
kill-rectangle should mention killed-rectangle

* lisp/rect.el (kill-rectangle): Mention `killed-rectangle' in docstring
and warning message, rather than kill ring (Bug#19773).

8 years agoAvoid assertion violations in nhexl-mode
Eli Zaretskii [Sat, 16 Jul 2016 13:42:18 +0000 (16:42 +0300)]
Avoid assertion violations in nhexl-mode

* src/bidi.c (bidi_resolve_neutral): Convert an assertion to real
code executed in all builds.  (Bug#24001)

8 years agoUse memmove instead of memcpy on overlapping regions
Fredrik Bergroth [Tue, 23 Feb 2016 11:41:16 +0000 (22:41 +1100)]
Use memmove instead of memcpy on overlapping regions

* src/editfns.c (Ftranspose_regions): Regions may overlap, so
use memmove instead of memcpy (bug#19213).

Copyright-paperwork-exempt: yes

This is a backport from trunk.
(cherry picked from commit 354f9f0fc6cc05ed98883447f9b2f37943d79160)

8 years agoDocument buffer-swap-text+save-excursion interaction
Noam Postavsky [Mon, 11 Jul 2016 01:52:23 +0000 (21:52 -0400)]
Document buffer-swap-text+save-excursion interaction

* doc/lispref/buffers.texi (Swapping Text):
* src/buffer.c (Fbuffer_swap_text): Add warning about interaction of
`buffer-swap-text' and `save-excursion' (Bug #4655).

8 years agoFix eieio vs cl-generic incompatibilities found in Rudel (bug#23947)
Stefan Monnier [Thu, 14 Jul 2016 19:05:49 +0000 (15:05 -0400)]
Fix eieio vs cl-generic incompatibilities found in Rudel (bug#23947)

* lisp/emacs-lisp/cl-generic.el (cl-generic-apply): New function.
* lisp/emacs-lisp/eieio-compat.el (eieio--defmethod): Fix incorrect
mapping between cl-no-applicable-method and EIEIO's no-applicable-method.
* lisp/emacs-lisp/eieio-core.el (eieio--class-precedence-c3):
`class' is not a symbol but a class object.

8 years agoInclude cl-generic in package--builtin-versions (bug#22817)
Stefan Monnier [Thu, 14 Jul 2016 18:56:38 +0000 (14:56 -0400)]
Include cl-generic in package--builtin-versions (bug#22817)

* lisp/emacs-lisp/cl-generic.el (package--builtin-versions):
Add ourselves manually.  Don't merge since there's a better fix on master.

8 years agoImprove timing in `tramp-test29-environment-variables'
Michael Albinus [Thu, 14 Jul 2016 10:27:41 +0000 (12:27 +0200)]
Improve timing in `tramp-test29-environment-variables'

* test/automated/tramp-tests.el
(tramp-test--shell-command-to-string-asynchronously):
Add additional `accept-process-output' call.
(tramp-test29-environment-variables): Remove additional sleep calls.

8 years agoAdd test for handling environment variables in Tramp
Michael Albinus [Thu, 14 Jul 2016 08:10:53 +0000 (10:10 +0200)]
Add test for handling environment variables in Tramp

* test/automatedtramp-tests.el
(tramp-test--shell-command-to-string-asynchronously): New defun.
(tramp-test29-environment-variables): New test.
(tramp-test30-vc-registered)
(tramp-test31-make-auto-save-file-name)
(tramp-test32-special-characters)
(tramp-test32-special-characters-with-stat)
(tramp-test32-special-characters-with-perl)
(tramp-test32-special-characters-with-ls, tramp-test33-utf8)
(tramp-test33-utf8-with-stat, tramp-test33-utf8-with-perl)
(tramp-test33-utf8-with-ls)
(tramp-test34-asynchronous-requests)
(tramp-test35-recursive-load, tramp-test36-unload): Rename.

8 years ago* lisp/emacs-lisp/package.el (describe-package-1)
Glenn Morris [Wed, 13 Jul 2016 15:54:57 +0000 (08:54 -0700)]
* lisp/emacs-lisp/package.el (describe-package-1)
(package-status-external): Fix face references.  (Bug#23927)

8 years ago; * lisp/net/tramp.el: Fix 2010-10-04 comment typo. (Bug#23913)
Glenn Morris [Wed, 13 Jul 2016 15:48:30 +0000 (08:48 -0700)]
; * lisp/net/tramp.el: Fix 2010-10-04 comment typo.  (Bug#23913)

8 years ago; Spelling fixes
Paul Eggert [Wed, 13 Jul 2016 10:23:22 +0000 (12:23 +0200)]
; Spelling fixes

8 years agoImprove documentation of search functions
Stephen Berman [Tue, 12 Jul 2016 20:11:22 +0000 (22:11 +0200)]
Improve documentation of search functions

Make the documentation of the search functions more accurate,
complete, and uniform; in particular, extend the description of
the effect when the 'count' parameter is a negative number to all
of these functions.

* src/search.c (Fsearch_backward, Fsearch_forward)
(Fre_search_backward, Fre_search_forward)
(Fposix_search_backward, Fposix_search_forward):
* lisp/isearch.el (word-search-backward, word-search-forward)
(word-search-backward-lax, word-search-forward-lax): Improve doc
strings as described above.

* doc/lispref/searching.texi (String Search, Regexp Search)
(POSIX Regexps): Use 'count' instead of 'repeat' as the name of
the fourth parameter of the *-search-{forward,backward} functions
and improve documentation as described above.

8 years agoDelete environment variables in Tramp when needed
Michael Albinus [Tue, 12 Jul 2016 18:02:10 +0000 (20:02 +0200)]
Delete environment variables in Tramp when needed

* lisp/net/tramp-sh.el (tramp-get-env-with-u-option): New defun.
(tramp-sh-handle-start-file-process)
(tramp-sh-handle-process-file, ): Use it.  (Bug#23952)

8 years agoAdd "New in Emacs 25" section to the FAQ
Eli Zaretskii [Tue, 12 Jul 2016 06:30:55 +0000 (09:30 +0300)]
Add "New in Emacs 25" section to the FAQ

* doc/misc/efaq.texi (Latest version of Emacs): Update for later
versions.
(New in Emacs 25): New node.
(Status of Emacs): Add it to the menu.

8 years agoFix 'vertical-motion' in non-interactive sessions
Eli Zaretskii [Sun, 10 Jul 2016 19:06:57 +0000 (22:06 +0300)]
Fix 'vertical-motion' in non-interactive sessions

* src/indent.c (Fvertical_motion): Don't return uninitialized
value in non-interactive session.  This fixes random errors in
batch mode, see
http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00609.html
and
http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00500.html
for the details.

8 years agoFix memory leak in imagemagick-types
Andreas Schwab [Sun, 10 Jul 2016 18:18:44 +0000 (20:18 +0200)]
Fix memory leak in imagemagick-types

* src/image.c (Fimagemagick_types): Use AcquireExceptionInfo to
avoid memory leak.

8 years agoUpdate ELisp manual to match 'string-collate-equalp' doc string
Eli Zaretskii [Sun, 10 Jul 2016 14:34:34 +0000 (17:34 +0300)]
Update ELisp manual to match 'string-collate-equalp' doc string

* doc/lispref/strings.texi (Text Comparison): Remove reference to
sorting from the description of 'string-collate-equalp'.  (Bug#23902)

8 years agoClarify docstring of find-feature-regexp
Noam Postavsky [Sat, 2 Jul 2016 21:17:55 +0000 (17:17 -0400)]
Clarify docstring of find-feature-regexp

* lisp/emacs-lisp/find-func.el (find-feature-regexp): Explain that `%s'
is optional (Bug #23520).

8 years agoAdd details to cl-lib defining macros' docstrings
Noam Postavsky [Sat, 2 Jul 2016 03:53:26 +0000 (23:53 -0400)]
Add details to cl-lib defining macros' docstrings

* lisp/emacs-lisp/cl-macs.el (cl-defun, cl-defmacro): Add terse summary
of supported arglist forms (Bug #22462).

8 years agoClarify doc string of 'save-buffer'
Eli Zaretskii [Sat, 9 Jul 2016 11:17:12 +0000 (14:17 +0300)]
Clarify doc string of 'save-buffer'

* lisp/files.el (save-buffer): Clarify that backups might not be
made even if this command is invoked with 2 or 3 "C-u"s.
(Bug#3702)

8 years agoUn-confuse doc string of 'string-collate-equalp'
Eli Zaretskii [Fri, 8 Jul 2016 10:05:01 +0000 (13:05 +0300)]
Un-confuse doc string of 'string-collate-equalp'

* src/fns.c (Fstring_collate_equalp): Remove confusing text from
doc string.  (Bug#23902)

8 years agoClarify documentation of 'mouse-on-link-p'
Eli Zaretskii [Thu, 7 Jul 2016 16:15:03 +0000 (19:15 +0300)]
Clarify documentation of 'mouse-on-link-p'

* lisp/mouse.el (mouse-on-link-p): Clarify the form of the POS
argument.  (Bug#23899)

8 years agoFix missing undo-boundary on revert-buffer.
Phillip Lord [Tue, 28 Jun 2016 07:02:51 +0000 (08:02 +0100)]
Fix missing undo-boundary on revert-buffer.

* lisp/simple.el (undo-auto--undoable-change-no-timer): New function.
* src/fileio.c (insert-buffer-contents): Call
  undo-auto--undoably-changed-buffers before changes.

Addresses Bug#23785.

Do not merge to master as c98bc98 also addresses the same bug.

8 years agoAmend last addition to etc/PROBLEMS
Martin Rudalics [Wed, 6 Jul 2016 08:39:11 +0000 (10:39 +0200)]
Amend last addition to etc/PROBLEMS

8 years ago* etc/PROBLEMS: Mention GTK+ problem with unexpected frame widenings
Martin Rudalics [Wed, 6 Jul 2016 07:55:46 +0000 (09:55 +0200)]
* etc/PROBLEMS: Mention GTK+ problem with unexpected frame widenings

8 years agoFix open-network-stream responsiveness
Paul Eggert [Tue, 5 Jul 2016 18:40:40 +0000 (20:40 +0200)]
Fix open-network-stream responsiveness

Problem reported by Christer Ekholm (Bug#23864).
Backport from master.
* src/process.c (wait_reading_process_output):
Fix typo introduced in 2015-07-06T02:19:13Z!eggert@cs.ucla.edu
when wait == INFINITY and got_output_end_time is invalid.
In this case the code should break, not continue.

8 years agoFix missing point information in undo
Phillip Lord [Thu, 30 Jun 2016 21:06:00 +0000 (22:06 +0100)]
Fix missing point information in undo

* src/undo.c (record_insert): Use record_point instead of
  prepare_record, and do so unconditionally.
  (prepare_record): Do not record first change.
  (record_point): Now conditional on state before the last command.
  (record_delete): Call record_point unconditionally.
  (record_property_change): Use prepare_record.
  (record_marker_adjustments): Use prepare_record.

Addresses Bug# 21722

8 years agoAvoid crashes when buffer modification hooks clobber match data
Eli Zaretskii [Mon, 4 Jul 2016 15:34:40 +0000 (18:34 +0300)]
Avoid crashes when buffer modification hooks clobber match data

* src/search.c (Freplace_match): Error out if buffer modification
hooks triggered by buffer changes in replace_range, upcase-region,
and upcase-initials-region clobber the match data needed to be
adjusted for the replacement.  (Bug#23869)

8 years agoNote combine-and-quote-strings doesn't shell quote
Noam Postavsky [Sun, 3 Jul 2016 13:56:36 +0000 (09:56 -0400)]
Note combine-and-quote-strings doesn't shell quote

* doc/lispref/processes.texi (Shell Arguments):
* lisp/subr.el (combine-and-quote-strings): Add a note that
combine-and-quote-strings doesn't protect arguments against shell
evaluation (Bug #20333).

8 years agoExplain when package-initialize isn't called
Noam Postavsky [Sat, 2 Jul 2016 01:15:28 +0000 (21:15 -0400)]
Explain when package-initialize isn't called

* doc/lispref/os.texi (Startup Summary): Explain that package-initialize
is not called when options -q, -Q, or --batch were passed (Bug #19151).

8 years agoFix escaping in sh-indent-after-continuation docstr
Noam Postavsky [Sat, 2 Jul 2016 23:47:32 +0000 (19:47 -0400)]
Fix escaping in sh-indent-after-continuation docstr

* lisp/progmodes/sh-script.el (sh-indent-after-continuation): Properly
escape backslashes in docstring (Bug#23046).

8 years ago; * etc/NEWS: Improve previous change.
Eli Zaretskii [Sat, 2 Jul 2016 18:50:14 +0000 (21:50 +0300)]
; * etc/NEWS: Improve previous change.

8 years ago; * etc/NEWS: Document how to avoid horizontal scroll bars.
Eli Zaretskii [Sat, 2 Jul 2016 16:30:01 +0000 (19:30 +0300)]
; * etc/NEWS: Document how to avoid horizontal scroll bars.

8 years agoClarify the documentation of back-references in replacements
Eli Zaretskii [Sat, 2 Jul 2016 15:03:09 +0000 (18:03 +0300)]
Clarify the documentation of back-references in replacements

* doc/emacs/search.texi (Regexp Replace): Clarify that \D starts
with \1, not \0.

* lisp/replace.el (query-replace-regexp)
(query-replace-regexp-eval, replace-regexp): Doc fix (Bug#23884)

8 years ago; Auto-commit of loaddefs files.
Glenn Morris [Fri, 1 Jul 2016 11:17:52 +0000 (07:17 -0400)]
; Auto-commit of loaddefs files.

8 years agoClarify lexical binding with symbol args behavior
Noam Postavsky [Sat, 25 Jun 2016 00:39:24 +0000 (20:39 -0400)]
Clarify lexical binding with symbol args behavior

* doc/lispref/variables.texi (Lexical Binding): Clarify that symbol
arguments always refer to dynamic values (Bug #23781).  Remove mention
of obsolete restriction regarding lexical binding for defun and
defmacro, this no longer applies since 61b108cc 2012-05-29 "*
lisp/emacs-lisp/byte-run.el (defmacro, defun): Move from C...".

8 years ago* lisp/net/tramp-sh.el (tramp-remote-path): Doc fix.
Michael Albinus [Thu, 30 Jun 2016 13:39:21 +0000 (15:39 +0200)]
* lisp/net/tramp-sh.el (tramp-remote-path): Doc fix.

8 years ago* lisp/net/tramp-sh.el (tramp-remote-path): Doc fix. (Bug#23865)
Eli Zaretskii [Wed, 29 Jun 2016 16:35:57 +0000 (19:35 +0300)]
* lisp/net/tramp-sh.el (tramp-remote-path): Doc fix.  (Bug#23865)

8 years agoAvoid assertion violations when rendering some fonts
Eli Zaretskii [Wed, 29 Jun 2016 16:14:58 +0000 (19:14 +0300)]
Avoid assertion violations when rendering some fonts

* src/dispextern.h (FONT_TOO_HIGH): Don't consider a font "too
high" if its pixel_size value is zero.  This avoids assertion
violations at the end of x_produce_glyphs.

8 years agoDocument more details of package activation
Noam Postavsky [Mon, 27 Jun 2016 04:26:16 +0000 (00:26 -0400)]
Document more details of package activation

* doc/emacs/package.texi (Package Installation): Explain that package
activation adds to load-path (Bug #21704).

8 years agoFixup warning message regarding HOME a bit more
Noam Postavsky [Mon, 27 Jun 2016 22:28:51 +0000 (18:28 -0400)]
Fixup warning message regarding HOME a bit more

* src/w32.c (init_environment): The manual section title is "Windows
HOME" (Bug #11612).  Move newline so warning fits in 80 character lines.

8 years ago* lisp/leim/quail/indian.el ("bengali-probhat"): Change indicator to BngPB.
Eli Zaretskii [Mon, 27 Jun 2016 19:39:14 +0000 (22:39 +0300)]
* lisp/leim/quail/indian.el ("bengali-probhat"): Change indicator to BngPB.

8 years agoFix input method "probhat" for Bengali
Michael Albinus [Mon, 27 Jun 2016 15:42:04 +0000 (17:42 +0200)]
Fix input method "probhat" for Bengali

Author: উৎসব রায় <uroybd@gmail.com>

* lisp/leim/quail/indian.el ("bengali-probhat"): Fix entry.

8 years ago; Fix typo in commit before last
Noam Postavsky [Mon, 27 Jun 2016 11:56:56 +0000 (07:56 -0400)]
; Fix typo in commit before last

8 years agoAdd to elisp-completion-at-point's docstring
Noam Postavsky [Sat, 25 Jun 2016 20:23:04 +0000 (16:23 -0400)]
Add to elisp-completion-at-point's docstring

* lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Document
position dependent behavior (Bug #19854).

8 years agoGive more helpful warning about setting HOME
Noam Postavsky [Sat, 25 Jun 2016 16:24:06 +0000 (12:24 -0400)]
Give more helpful warning about setting HOME

* src/w32.c (init_environment): Improve warning message that pops when
Emacs sets HOME according to existence of C:\.emacs (Bug #11612).

Co-authored-by: Eli Zaretskii <eliz@gnu.org>
8 years ago; * lisp/term.el (term-mode): FIXME comment about bidi reordering.
Eli Zaretskii [Sun, 26 Jun 2016 16:42:53 +0000 (19:42 +0300)]
; * lisp/term.el (term-mode): FIXME comment about bidi reordering.

8 years agoFix slow redisplay in term-mode
Eli Zaretskii [Sun, 26 Jun 2016 16:40:12 +0000 (19:40 +0300)]
Fix slow redisplay in term-mode

* lisp/term.el (term-mode): Move the setting of
bidi-paragraph-direction from 'ansi-term' to here, since term-mode
is also affected.  Do not merge to master, since there the problem
is solved in bidi.c by changing the regexps that delimit a
paragraph.  (Bug#23801)

8 years agoNew input method "probhat" for Bengali
উৎসব রায় [Sun, 26 Jun 2016 16:26:33 +0000 (19:26 +0300)]
New input method "probhat" for Bengali

* lisp/leim/quail/indian.el ("probhat"): New input method.
(Bug#23822)

* etc/NEWS: Mention the new input method.

8 years ago; Spelling fix
Paul Eggert [Sun, 26 Jun 2016 11:30:17 +0000 (13:30 +0200)]
; Spelling fix

8 years ago; Fix typo
Michael Albinus [Sun, 26 Jun 2016 10:14:36 +0000 (12:14 +0200)]
; Fix typo

8 years ago; Spelling fixes
Paul Eggert [Sat, 25 Jun 2016 22:06:27 +0000 (00:06 +0200)]
; Spelling fixes

8 years agoUpdate docs for `customize-mode'
Noam Postavsky [Sat, 25 Jun 2016 17:12:11 +0000 (13:12 -0400)]
Update docs for `customize-mode'

* lisp/cus-edit.el (customize-mode): This function works with both major
and minor modes, make docstring and prompt reflect that (Bug #23649).

* doc/lispref/modes.texi (Derived Modes): Remove note about
customize-mode being experimental; it has been around since Emacs
22 (Bug #11299).

Co-authored-by: Drew Adams <drew.adams@oracle.com>
8 years agoFix documentation of 'assoc-string' and 'compare-strings'
Eli Zaretskii [Thu, 23 Jun 2016 15:09:14 +0000 (18:09 +0300)]
Fix documentation of 'assoc-string' and 'compare-strings'

* src/minibuf.c (Fassoc_string): Clarify how CASE-FOLD affects the
string comparison.  (Bug#23833)
* src/fns.c (Fcompare_strings): Fix the description of how
IGNORE-CASE affects the comparison.

* doc/lispref/strings.texi (Text Comparison): Clarify how
CASE-FOLD affects the string comparison in 'assoc-string'.  Fix
the description of how IGNORE-CASE affects the comparison in
'compare-strings'.

8 years ago; Only load .elc file in tests.
Phillip Lord [Wed, 22 Jun 2016 20:59:51 +0000 (21:59 +0100)]
; Only load .elc file in tests.

* test/automated/viper-tests.el (viper-test-undo-kmacro): Ensure that
  empty load file ends with .elc extension.

8 years agoError on multibyte characters in HTTP request
Dmitry Gutov [Wed, 22 Jun 2016 18:20:06 +0000 (21:20 +0300)]
Error on multibyte characters in HTTP request

* lisp/url/url-http.el (url-http-create-request): Check the
constructed request in the end to verify that it does not contain
multibyte characters (bug#23750).

8 years ago* lisp/gnus/mm-decode.el (mm-convert-shr-links):
Katsumi Yamaoka [Wed, 22 Jun 2016 10:32:56 +0000 (10:32 +0000)]
* lisp/gnus/mm-decode.el (mm-convert-shr-links):
Mask keys that launch `widget-button-click' (bug#22157).

8 years ago; Revert "Ensure undo-boundary after insert-file-contents."
Phillip Lord [Wed, 22 Jun 2016 08:42:49 +0000 (09:42 +0100)]
; Revert "Ensure undo-boundary after insert-file-contents."

This reverts commit 6cdd8f7153b553c6dc02be47e04a2e75117b6fe4.

The original commit did not address the problem it was claiming to.

8 years agoUnset GIT_DIR when calling Git commands
Dmitry Gutov [Tue, 21 Jun 2016 23:04:33 +0000 (02:04 +0300)]
Unset GIT_DIR when calling Git commands

* lisp/vc/vc-git.el (vc-git--call, vc-git-command):
Unset GIT_DIR (bug#23769).

8 years agoEnsure undo-boundary after insert-file-contents.
Phillip Lord [Mon, 20 Jun 2016 13:26:02 +0000 (14:26 +0100)]
Ensure undo-boundary after insert-file-contents.

* src/fileio.c: Record undoable change during insert-file-contents.

Addresses Bug #23785.

8 years agoClarify documentation of 'line-spacing' and 'line-height'
Eli Zaretskii [Tue, 21 Jun 2016 14:20:09 +0000 (17:20 +0300)]
Clarify documentation of 'line-spacing' and 'line-height'

* doc/lispref/display.texi (Line Height): Clarify how the line
height is determined via variables and text properties.  (Bug#23806)

8 years agoFix removal of variables from process-environment
Eli Zaretskii [Mon, 20 Jun 2016 14:19:25 +0000 (17:19 +0300)]
Fix removal of variables from process-environment

* src/callproc.c (add_env): Fix comparison of a variable with a
value against the same variable without a value.  (Bug#23779)

8 years ago* admin/authors.el (authors-ignored-files, authors-valid-file-names)
Glenn Morris [Mon, 20 Jun 2016 01:25:19 +0000 (18:25 -0700)]
* admin/authors.el (authors-ignored-files, authors-valid-file-names)
(authors-renamed-files-alist): Additions.

8 years ago* admin/authors.el (authors-aliases, authors-fixed-case): Additions.
Glenn Morris [Mon, 20 Jun 2016 01:05:55 +0000 (18:05 -0700)]
* admin/authors.el (authors-aliases, authors-fixed-case): Additions.

8 years agoFix documentation of completion functions
Noam Postavsky [Wed, 8 Jun 2016 03:37:05 +0000 (23:37 -0400)]
Fix documentation of completion functions

So that the described behavior matches the code (and docstrings).

* doc/lispref/minibuf.texi (Basic Completion): Symbol keys of hash table
collections are used like string keys, not ignored (Bug #10416).

8 years agoClarify documentation of 'font-lock-maximum-decoration'
Eli Zaretskii [Sat, 18 Jun 2016 09:50:57 +0000 (12:50 +0300)]
Clarify documentation of 'font-lock-maximum-decoration'

* doc/emacs/display.texi (Font Lock): Explain how to make the
customization of 'font-lock-maximum-decoration' effective for an
existing buffer.  (Bug#23783)

8 years ago* doc/misc/cl.texi (Usage): Add some more details.
Glenn Morris [Fri, 17 Jun 2016 16:55:06 +0000 (12:55 -0400)]
* doc/misc/cl.texi (Usage): Add some more details.

8 years agoFbackward_prefix_chars: stay within buffer bounds
Noam Postavsky [Sat, 4 Jun 2016 13:02:20 +0000 (09:02 -0400)]
Fbackward_prefix_chars: stay within buffer bounds

The commit 1fd3172d "(Fbackward_prefix_chars): Set point properly while
scanning" (1998-03-18), moved the check against of the position against the
buffer beginning out the loop condition so that we might end up checking
the syntax of characters before the beginning of the buffer.  This can
cause segfaults or trigger a "Point before start of properties" error in
`update_interval' (called indirectly from `char_quoted').

* src/syntax.c (Fbackward_prefix_chars): Stop the loop when beginning of
buffer is reached (Bug #3552, Bug #17132, Bug #19379).

8 years agoFix ifdef-vs-if typo with RANDR13_LIBRARY
Paul Eggert [Wed, 15 Jun 2016 05:40:18 +0000 (22:40 -0700)]
Fix ifdef-vs-if typo with RANDR13_LIBRARY

* src/xfns.c (x_get_monitor_attributes_xrandr): Use #if, not #ifdef.
This ports to systems that predate xrandr 1.3. See Christian Lynbech in:
http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00198.html

(cherry picked from commit dce99f222f1ca33265cd56ddb157817be1dc078e)

8 years agoFix last todo-mode change
Stephen Berman [Thu, 16 Jun 2016 09:05:36 +0000 (11:05 +0200)]
Fix last todo-mode change

* lisp/calendar/todo-mode.el (todo-read-category): Return the
keymap in order to use its defined key bindings.

8 years agoImprove last todo-mode fix
Stephen Berman [Wed, 15 Jun 2016 18:08:16 +0000 (20:08 +0200)]
Improve last todo-mode fix

* lisp/calendar/todo-mode.el (todo-read-category): Use
set-keymap-parent instead of copy-keymap, and default (as
previously) to the global binding (for rationale, see
http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00217.html).

8 years agoFix todo-mode use of minibuffer completion keymap (bug#23695).
Stephen Berman [Tue, 14 Jun 2016 21:43:20 +0000 (23:43 +0200)]
Fix todo-mode use of minibuffer completion keymap (bug#23695).

* lisp/calendar/todo-mode.el (todo-read-category): Don't
override minibuffer-local-completion-map globally (bug#23695).
Bind <SPC> key to self-insert-command.

8 years ago* src/alloc.c (ALIGN): Avoid error on DragonFly BSD. (Bug#23764)
Glenn Morris [Tue, 14 Jun 2016 17:39:30 +0000 (13:39 -0400)]
* src/alloc.c (ALIGN): Avoid error on DragonFly BSD.  (Bug#23764)

8 years ago* lisp/emacs-lisp/nadvice.el (advice--make-docstring):
Glenn Morris [Mon, 13 Jun 2016 22:18:34 +0000 (18:18 -0400)]
* lisp/emacs-lisp/nadvice.el (advice--make-docstring):
Avoid mangling autoloads with unspecified arguments.  (Bug#21299)

8 years ago* lisp/help-fns.el (describe-function-1): Avoid reporting advised
Glenn Morris [Mon, 13 Jun 2016 17:14:35 +0000 (13:14 -0400)]
* lisp/help-fns.el (describe-function-1): Avoid reporting advised
autoloads as aliases.  (Bug#21299)

8 years agoMinor grammar fix (bug#23746)
Stephen Berman [Mon, 13 Jun 2016 16:20:43 +0000 (18:20 +0200)]
Minor grammar fix (bug#23746)

* doc/lispref/processes.texi (Synchronous Processes):
Another minor grammar fix (bug#23746).