1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 14:01:43 -08:00
Commit graph

116573 commits

Author SHA1 Message Date
Eli Zaretskii
811aceeaef src/window.c (Fwindow_body_width): Doc fix. (Bug#19395) 2014-12-18 19:15:01 +02:00
Stefan Monnier
78101c2b58 * lisp/subr.el (redisplay-dont-pause): Mark as obsolete.
* doc/lispref/display.texi (Forcing Redisplay): Remove references to
redisplay-dont-pause and redisplay-preemption-period (which doesn't
even exist).
2014-12-18 10:25:54 -05:00
Michael Albinus
c773edcf56 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
wrong debug buffer.
(tramp-gw-open-connection): Set process coding system 'binary.
(tramp-gw-open-network-stream): Handle HTTP error 403.

* net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
wrong debug buffer.
(tramp-maybe-open-connection): Set connection property "gateway".

* net/tramp.el (tramp-error-with-buffer): Call `message' properly.
(tramp-accept-process-output): Use nil as argument for
`accept-process-output', when there is a gateway prepended.
2014-12-17 22:08:30 +01:00
Paul Eggert
8032fc16db * .gitignore: Ignore /conftest*. 2014-12-16 18:43:27 -08:00
Stefan Monnier
fb420e7789 * lisp/subr.el (sit-for): Tweak docstring.
Fixes: debbugs:19381

* src/buffer.c (syms_of_buffer) <Vafter_change_functions>: fix docstring.
* build-aux/git-hooks/commit-msg (at_sign): Bump up line-length limit
to 78.
2014-12-15 15:09:04 -05:00
Dmitry Gutov
061db13989 Fix vc-git-dir-status-files WRT up-to-date vs edited
Fixes: debbugs:19386

* lisp/vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
stage to after `diff-index'.
2014-12-15 16:18:34 +02:00
Joao Tavora
bb57c94d5f Consider electric-pair-mode in tex-mode.
Fixes: debbugs:19356

* lisp/textmodes/tex-mode.el (tex-insert-quote): Consider and respect
`electric-pair-mode'.

* test/automated/electric-tests.el (autowrapping-7): New test for
tex-mode's autowrapping.
(electric-pair-test-for): Call the actual key-binding
interactively.
2014-12-14 11:22:46 +00:00
Glenn Morris
7b945728d3 * test/automated/flymake/warnpred/test.pl: Tweak earlier change. 2014-12-13 13:17:38 -08:00
Glenn Morris
59c218fae7 ChangeLog fix 2014-12-13 13:10:14 -08:00
Glenn Morris
db2a7681dd * test/automated/flymake/warnpred/test.pl: Tweak format
The previous format seems to have stopped giving a warning with perl 5.20.1,
for some reason.
2014-12-13 12:56:22 -08:00
Eli Zaretskii
d9005dd52d src/gnutls.c (gnutls_init): Fix deprecation warning from GCC. 2014-12-13 18:58:08 +02:00
Michael Albinus
bd6c441893 * simple.el (password-word-equivalents): Add "passcode", used for
numeric secrets like PINs or RSA tokens.
2014-12-12 14:09:10 +01:00
Eli Zaretskii
16d4c1cdc8 A better fix for bug#19346
src/gnutls.c (Fgnutls_available_p, syms_of_gnutls): Move
 gnutls-available-p out of the HAVE_GNUTLS conditional, and define
 them only once.
2014-12-12 11:19:59 +02:00
Paul Eggert
82ec808f0a * .gitignore: Add !lib/std*.in.h, so as to not ignore the .in.h files. 2014-12-11 18:25:00 -08:00
Paul Eggert
3cf7629f98 Git ignore lib/std*.h
* .gitignore: Add lib/std*.h, to ignore stdarg.h, stdbool.h, and
stddef.h.  Remove subsumed entries.
2014-12-11 18:12:13 -08:00
Ted Zlatanov
301a4014a7 Always define `gnutls-available-p' even if GnuTLS is not available.
Fixes: debbugs:19346

* gnutls.c (Fgnutls_available_p syms_of_gnutls): Move later for
clarity.  Let the availability check return Qnil when the GnuTLS
integration is not available, instead of erroring out.

* gnutls.h: Always declare syms_of_gnutls.

* emacs.c (main): Always include gnutls.h and run syms_of_gnutls.
2014-12-11 17:55:36 -05:00
Eli Zaretskii
d76b9b2a21 Don't break example string between 2 lines (bug#19257)
doc/lispref/text.texi (Comparing Text): Prevent a text string from being
 broken between 2 lines by using @w{}.
2014-12-11 20:27:00 +02:00
Paul Eggert
75b4857ef0 Port commit-msg to mawk
Problem reported by Ted Zlatanov in:
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg01093.html
* build-aux/git-hooks/commit-msg (space, non_space, non_print):
New vars.  Use them as approximations to POSIX bracket expressions,
on implementations like mawk that do not support POSIX regexps.
2014-12-10 23:17:42 -08:00
Paul Eggert
9ac0332030 Improve commit-msg messages and autosquash
Problem reported by Michal Nazarewicz in Bug#19337.
* build-aux/git-hooks/commit-msg: Add "commit message" to
diagnostics.  Distinguish better between tabs and other
unprintable chars in diagnostics.  Don't complain if a prefix
"fixup! " or "squash! " makes a summary line too long.
2014-12-10 20:45:02 -08:00
Eli Zaretskii
0c2f254bc3 Support overflow-newline-into-fringe together with word-wrap (bug#19300)
src/xdisp.c (move_it_in_display_line_to, display_line): Don't
 disallow overflow-newline-into-fringe when word-wrap is in
 effect.
2014-12-10 19:54:19 +02:00
Michael Albinus
935ee05f07 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
order to determine `tramp-own-remote-path'.
2014-12-10 14:15:51 +01:00
Fabián Ezequiel Gallina
c2db939359 python.el: Support interpreter paths with spaces
Fixes: debbugs:19289

* lisp/progmodes/python.el (python-shell-parse-command): Quote
`python-shell-interpreter`.
2014-12-08 22:32:53 -03:00
Glenn Morris
d83f329909 ChangeLog fix 2014-12-08 08:53:04 -08:00
Paul Eggert
0f9fbb922c Port commit-message checking to FreeBSD 9.
This fixes a bug reported by Jan Djärv in:
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00704.html
along with some other issues I noticed while testing with FreeBSD.
* build-aux/git-hooks/commit-msg: Prefer gawk if available.
Prefer en_US.UTF-8 to en_US.utf8, as it's more portable.
Work around bug in FreeBSD 9 awk, where /[[:cntrl:]]/ matches
ordinary text characters.
Be less tricky about quoting "'" in a shell script.
2014-12-07 16:18:38 -08:00
Eli Zaretskii
3db1adacc6 admin/MAINTAINERS: Update my interests and responsibilities. 2014-12-06 21:52:00 +02:00
Stefan Monnier
6382f2411e * .gitignore: Ignore autosave files. 2014-12-05 15:31:28 -05:00
Lee Duhem
c1c2cee7c5 * src/eval.c (Fsignal): Remove duplicate test.
(Fautoload_do_load): Fix up docstring.
2014-12-04 14:13:13 -05:00
Stefan Monnier
e3c24b171b * lisp/progmodes/sh-script.el: Fix indentation rule of "| while".
Fixes: debbugs:18031

* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
of the whole pipe when indenting an opening keyword after a |.
Generalize this treatment to opening keywords like "while".
2014-12-04 10:09:08 -05:00
Jan Djärv
d9d3831472 More flicker fixes for OSX, related to bug 18757.
* nsfns.m (ns_set_name_as_filename): Don't set represented filename
at once, call ns_set_represented_filename instead.

* nsterm.h: Declare ns_set_represented_filename.

* nsterm.m (represented_filename, represented_frame): New variables.
(ns_set_represented_filename): New function.
(sendEvent:): Set represented filename here to avoid flicker,
related to Bug#18757.
2014-12-02 14:05:27 +01:00
Glenn Morris
02d462b291 * admin/update_autogen (commit): Revert earlier change.
This was based on a misunderstanding due to the mess that had been
made in trunk of this file and its ChangeLog.
2014-12-01 13:40:06 -05:00
Stefan Monnier
b8775f0217 * lisp/simple.el (newline): Place the hook buffer-locally,
to make sure it's first.
2014-12-01 13:10:05 -05:00
Glenn Morris
ec7e07b333 * admin/update_autogen (commit): With git, call "add" before "commit". 2014-12-01 12:58:51 -05:00
Paul Eggert
11b65bc080 * .gitignore: Avoid "**", as it requires Git 1.8.2 or later. 2014-12-01 09:16:56 -08:00
Paul Eggert
d83f0618d4 * .gitignore: Remove redundant pattern (subsumed by _*). 2014-12-01 09:16:56 -08:00
Glenn Morris
f9f250920b Auto-commit of loaddefs files. 2014-12-01 07:23:04 -05:00
Stefan Monnier
e97b6e6f11 * lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol): Refine.
Fix handling of symbols with different syntax at beginning/end or with
symbol rather than word syntax.
2014-11-30 23:07:19 -05:00
Eli Zaretskii
59c4d5f953 Fix bug #19211 with move-end-of-line in non-interactive session.
lisp/simple.el (line-move): If noninteractive, call line-move-1, not
 forward-line, since the former is compatible with line-move-visual
 both in terms of the column to which it moves and the return
 value.
2014-11-30 18:06:19 +02:00
Glenn Morris
babb0ca80b ChangeLog fix (do not merge to master) 2014-11-29 13:28:25 -08:00
Rasmus
bb19b229f9 Python.el: Update commentary on RET-behavior
Commentary reflect that `electric-indent-mode' in enabled by default.
2014-11-29 13:58:20 -03:00
Eli Zaretskii
6b765b8fac Fix bug #19201 with after-strings not being displayed.
src/xdisp.c (handle_single_display_spec): When ignoring a fringe
 bitmap display, reset the ignore_overlay_strings_at_pos_p flag.
 (next_element_from_buffer): When done with overlays, reset the
 ignore_overlay_strings_at_pos_p flag.
2014-11-27 18:35:27 +02:00
Stephen Berman
b3910f6539 outline.el: Fix subtree movement.
Fixes: debbugs:19102

Co-authored-by: Stefan Monnier <monnier@iro.umontreal.ca>
* outline.el (outline-move-subtree-down): Make sure we can move
forward to find the end of the subtree and the insertion point.
2014-11-27 11:03:58 +01:00
Leonard Randall
b66511f768 Backport regexp stack overflow fix from emacs-24.
* textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
for comment lines non-greedy and stopping at newlines to fix stack
overflows with large files. [Backport]

Signed-off-by: Tassilo Horn <tsdh@gnu.org>
2014-11-27 09:38:21 +01:00
Fabián Ezequiel Gallina
7bf7edf53f * lisp/progmodes/python.el (python-shell-completion-setup-code): Use
__builtin__ module (or builtins in Python 3) and catch all errors
when importing readline and rlcompleter.
2014-11-26 23:45:24 -03:00
Stephen Berman
47f573a4bf todo-mode.el: Handle calling revert-buffer.
Fixes: debbugs:19187

* calendar/todo-mode.el: (todo-revert-buffer): New function.
(todo-modes-set-1): Use it as the buffer-local value of
revert-buffer-function.
2014-11-26 23:17:41 +01:00
Stephen Berman
ebf026bdd0 todo-mode.el: Handle calling todo-mode interactively.
Fixes: debbugs:19112

* calendar/todo-mode.el (todo-mode): If called interactively, just
display a message saying to call todo-show to enter Todo mode.
2014-11-26 23:00:42 +01:00
Eli Zaretskii
d9ad26a6df Mention zlib1.dll as a potential reason for libgcc-induced crashes. 2014-11-26 17:54:24 +02:00
John Mastro
a10e36a5d7 auth-source: Fix Mac OS X keychain lookups.
* auth-source.el (auth-source-macos-keychain-search-items): Return
result of `auth-source-macos-keychain-result-append' (bug#19074).
2014-11-26 09:15:08 -05:00
Eli Zaretskii
73cad916c8 Fix bug #19141 with UNCs in w32-shell-execute.
src/w32fns.c (Fw32_shell_execute): Convert forward slashes in
 DOCUMENT to backslashes, if DOCUMENT is a file.
2014-11-25 19:04:14 +02:00
Ulrich Müller
ed54567c7c Use consistent paxctl and setfattr flags for temacs.
* Makefile.in (temacs$(EXEEXT)): Use consistent flag settings
for paxctl and setfattr. Fixes temacs startup failure with
grsecurity/PaX enabled Linux kernel (bug#19067).
2014-11-25 07:47:11 +01:00
Paul Eggert
5da3f6c2fe Adjust copyright notice and obviously-wrong dates. 2014-11-24 17:47:59 -08:00