1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00
Commit graph

116557 commits

Author SHA1 Message Date
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
Paul Eggert
f24c8f98ec Fix white-space problems in ChangeLogs. 2014-11-24 17:16:27 -08:00
Paul Eggert
4e7112e8a3 Spelling fix. 2014-11-24 08:39:17 -08:00
Glenn Morris
3e3b940fc1 * src/keyboard.c: Fix comment typo. 2014-11-23 23:49:39 -08:00
Dmitry Gutov
5ceb233b2d Fixes: debbugs:18579
* lisp/vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
2014-11-24 04:11:36 +02:00
Dmitry Gutov
7aac8f171b Fixes: debbugs:18579
* lisp/vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
files.
2014-11-24 03:44:42 +02:00
Michael Albinus
4de28b1a76 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
remote `buffer-file-name'.
2014-11-23 11:49:31 +01:00
Leo Liu
b7b18c73f9 Fix calendar-mark-1
* calendar/diary-lib.el (calendar-mark-1): Fix thinko.
2014-11-23 15:51:24 +08:00
Paul Eggert
00981cbdff Add git commit hooks that do some simple checks on commits.
* autogen.sh: Install Git hooks, if using Git.
* build-aux/git-hooks/commit-msg, build-aux/git-hooks/pre-commit:
New files, which are Git hooks that check for portable file names, and
do some simple checks for commit message format.
2014-11-22 16:41:10 -08:00
Fabián Ezequiel Gallina
238c052fdb Set PYTHONUNBUFFERED on shell startup.
Fixes: debbugs:18595

* lisp/progmodes/python.el (python-shell-unbuffered): New var.
(python-shell-calculate-process-environment): Use it.

* test/automated/python-tests.el
(python-shell-calculate-process-environment-4)
(python-shell-calculate-process-environment-5): New tests.
(python-shell-make-comint-3): Use file-equal-p.
(python-shell-get-or-create-process-1)
(python-shell-get-or-create-process-2)
(python-shell-get-or-create-process-3): Fix interpreter for
Windows.
2014-11-22 20:09:30 -03:00
Michael Albinus
bd3625c432 Fixes: debbugs:19047
* net/tramp.el (tramp-action-password): Clean password on subsequent
attempts even if there was no wrong password indication.
2014-11-22 17:04:47 +01:00
Michael Albinus
176f2077aa * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
fallback.
(tramp-open-connection-setup-interactive-shell): No need to check
for nil as `tramp-get-remote-locale' return value.
2014-11-22 10:30:36 +01:00
Paul Eggert
d24e558f77 Add more of the old .bzrignore to .gitignore.
Plus a few more .gitignore improvements.
* .gitignore: Add copyright notice, since it's big enough.
Put exceptions immediately after the patterns they're exceptions
to, to make them easier to follow.
Give four exceptions for the Makefile pattern.
Ignore /confdefs.h, test/indent/*.new, TAGS, GPATH, GSYMS, GRTAGS,
GTAGS, ID, *.exe, some nextstep-related files,
jisx2131-filter, *.orig, *.rej, etc/emacs.tmpdesktop, *.in-h
_* (except for build-aux/snippet/_Noreturn.h), /bin/, /BIN/,
/data/, etc/icons/, lib/cxxdefs.h, lib/SYS/, /libexec/, /lock/,
/README.W32, /share/, /site-lisp/, src/gdb.ini, /var/.
Ignore /configure.lineno, since POSIX requires
LINENO only with the User Portability Utilities option.
Ignore *cust-load.el and *loaddefs.el only under lisp.
Ignore core files of various flavors.
Do not ignore etc/refcards/gnus-logo.pdf.
2014-11-21 09:18:08 -08:00
Eli Zaretskii
04ed420021 Use "~1" instead of "^" in vc-git.el to specify the parent of a Git commit.
lisp/vc/vc-git.el (vc-git-previous-revision): Use "~1" instead of
 "^", since the latter is a special character for MS-Windows system
 shells.
2014-11-21 12:34:59 +02:00
Eli Zaretskii
f9b9251f8c Use correct encoding to communicate with Git.
lisp/vc/vc-git.el (vc-git-command, vc-git--call): Bind
 coding-system-for-read and coding-system-for-write to
 vc-git-commits-coding-system.
2014-11-21 12:26:35 +02:00
Eli Zaretskii
30c94ebea1 Add src/_gdbinit to .gitignore.
.gitignore: Add back src/_gdbinit, which is a temporary file
 created by the MS-DOS build.
2014-11-21 10:56:15 +02:00
Paul Eggert
54a29f4a7c Add a.out to .gitignore.
Suggested by Lee Duhem in:
http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg01665.html
* .gitignore: Add a.out.
Move *.log next to *.tmp, since it's generic.
Put *.exe before non-generics.
2014-11-20 12:41:10 -08:00