1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-23 18:47:57 +00:00
Commit Graph

125093 Commits

Author SHA1 Message Date
Andreas Schwab
686b520ff9 Fix memory leak in imagemagick-types
* src/image.c (Fimagemagick_types): Use AcquireExceptionInfo to
avoid memory leak.
2016-07-10 20:24:08 +02:00
Eli Zaretskii
4069b716ad 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)
2016-07-10 17:34:34 +03:00
Noam Postavsky
1b2d6a6f68 Clarify docstring of find-feature-regexp
* lisp/emacs-lisp/find-func.el (find-feature-regexp): Explain that `%s'
is optional (Bug #23520).
2016-07-09 17:45:48 -04:00
Noam Postavsky
aac62a67dd 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).
2016-07-09 10:58:55 -04:00
Eli Zaretskii
d6aa4da832 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)
2016-07-09 14:17:12 +03:00
Eli Zaretskii
03bcf116fb Un-confuse doc string of 'string-collate-equalp'
* src/fns.c (Fstring_collate_equalp): Remove confusing text from
doc string.  (Bug#23902)
2016-07-08 13:05:01 +03:00
Eli Zaretskii
c53135b6b6 Clarify documentation of 'mouse-on-link-p'
* lisp/mouse.el (mouse-on-link-p): Clarify the form of the POS
argument.  (Bug#23899)
2016-07-07 19:15:03 +03:00
Phillip Lord
8f9c1eda93 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.
2016-07-06 10:16:10 +01:00
Martin Rudalics
6f285d963d Amend last addition to etc/PROBLEMS 2016-07-06 10:39:11 +02:00
Martin Rudalics
7067890669 * etc/PROBLEMS: Mention GTK+ problem with unexpected frame widenings 2016-07-06 09:55:46 +02:00
Paul Eggert
a5dcc97bab 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.
2016-07-06 01:04:22 +02:00
Phillip Lord
d4c6774f40 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
2016-07-05 09:27:59 +01:00
Eli Zaretskii
3a9d6296b3 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)
2016-07-04 18:34:40 +03:00
Noam Postavsky
178b2f5909 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).
2016-07-03 15:05:20 -04:00
Noam Postavsky
dec7567560 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).
2016-07-03 09:19:23 -04:00
Noam Postavsky
113d1e2bef Fix escaping in sh-indent-after-continuation docstr
* lisp/progmodes/sh-script.el (sh-indent-after-continuation): Properly
escape backslashes in docstring (Bug#23046).
2016-07-02 19:59:10 -04:00
Eli Zaretskii
80e2044a7f ; * etc/NEWS: Improve previous change. 2016-07-02 21:50:14 +03:00
Eli Zaretskii
5bb9e6ce6f ; * etc/NEWS: Document how to avoid horizontal scroll bars. 2016-07-02 19:30:01 +03:00
Eli Zaretskii
38f4b8ea61 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)
2016-07-02 18:03:09 +03:00
Glenn Morris
d039fc4ff6 ; Auto-commit of loaddefs files. 2016-07-01 07:17:52 -04:00
Noam Postavsky
850ba444a7 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...".
2016-07-01 00:02:48 -04:00
Michael Albinus
f981b31367 * lisp/net/tramp-sh.el (tramp-remote-path): Doc fix. 2016-06-30 15:39:21 +02:00
Eli Zaretskii
68fc964370 * lisp/net/tramp-sh.el (tramp-remote-path): Doc fix. (Bug#23865) 2016-06-29 19:35:57 +03:00
Eli Zaretskii
21110afa2c 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.
2016-06-29 19:14:58 +03:00
Noam Postavsky
6192b6c3a4 Document more details of package activation
* doc/emacs/package.texi (Package Installation): Explain that package
activation adds to load-path (Bug #21704).
2016-06-27 23:02:52 -04:00
Noam Postavsky
272ddc6793 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.
2016-06-27 18:37:56 -04:00
Eli Zaretskii
43206d6fca * lisp/leim/quail/indian.el ("bengali-probhat"): Change indicator to BngPB. 2016-06-27 22:39:14 +03:00
Michael Albinus
d41f7ff326 Fix input method "probhat" for Bengali
Author: উৎসব রায় <uroybd@gmail.com>

* lisp/leim/quail/indian.el ("bengali-probhat"): Fix entry.
2016-06-27 17:42:04 +02:00
Noam Postavsky
c150a6461b ; Fix typo in commit before last 2016-06-27 07:59:04 -04:00
Noam Postavsky
ebf047254b Add to elisp-completion-at-point's docstring
* lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Document
position dependent behavior (Bug #19854).
2016-06-27 00:32:51 -04:00
Noam Postavsky
fd9fad062f 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>
2016-06-26 20:44:23 -04:00
Eli Zaretskii
ea6b01d4d4 ; * lisp/term.el (term-mode): FIXME comment about bidi reordering. 2016-06-26 19:42:53 +03:00
Eli Zaretskii
7f83e7e536 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)
2016-06-26 19:40:12 +03:00
উৎসব রায়
26d4da070f New input method "probhat" for Bengali
* lisp/leim/quail/indian.el ("probhat"): New input method.
(Bug#23822)

* etc/NEWS: Mention the new input method.
2016-06-26 19:26:33 +03:00
Paul Eggert
4f445bf30c ; Spelling fix 2016-06-26 13:30:17 +02:00
Michael Albinus
f403f03a1d ; Fix typo 2016-06-26 12:14:36 +02:00
Paul Eggert
0377fe2b81 ; Spelling fixes 2016-06-26 00:06:56 +02:00
Noam Postavsky
f2536958ec 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>
2016-06-25 13:12:11 -04:00
Eli Zaretskii
4395aaacd4 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'.
2016-06-23 18:09:14 +03:00
Phillip Lord
ab0ebb93a9 ; Only load .elc file in tests.
* test/automated/viper-tests.el (viper-test-undo-kmacro): Ensure that
  empty load file ends with .elc extension.
2016-06-22 21:59:51 +01:00
Dmitry Gutov
a98aa02a5d 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).
2016-06-22 21:20:23 +03:00
Katsumi Yamaoka
ea512a7c2c * lisp/gnus/mm-decode.el (mm-convert-shr-links):
Mask keys that launch `widget-button-click' (bug#22157).
2016-06-22 10:32:56 +00:00
Phillip Lord
829733104d ; Revert "Ensure undo-boundary after insert-file-contents."
This reverts commit 6cdd8f7153.

The original commit did not address the problem it was claiming to.
2016-06-22 09:42:49 +01:00
Dmitry Gutov
dc5e65b5de Unset GIT_DIR when calling Git commands
* lisp/vc/vc-git.el (vc-git--call, vc-git-command):
Unset GIT_DIR (bug#23769).
2016-06-22 02:04:33 +03:00
Phillip Lord
6cdd8f7153 Ensure undo-boundary after insert-file-contents.
* src/fileio.c: Record undoable change during insert-file-contents.

Addresses Bug #23785.
2016-06-21 21:34:08 +01:00
Eli Zaretskii
4793f5fc41 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)
2016-06-21 17:20:09 +03:00
Eli Zaretskii
5f37572321 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)
2016-06-20 17:19:25 +03:00
Glenn Morris
e5e886d12f * admin/authors.el (authors-ignored-files, authors-valid-file-names)
(authors-renamed-files-alist): Additions.
2016-06-19 18:25:19 -07:00
Glenn Morris
db0777b7bd * admin/authors.el (authors-aliases, authors-fixed-case): Additions. 2016-06-19 18:05:55 -07:00
Noam Postavsky
d1efbafdf2 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).
2016-06-18 14:59:23 -04:00