Paul Eggert
a012c7bbca
Fix copyright years by hand
...
These are dates that admin/update-copyright did not update,
or updated incorrectly.
2015-01-01 09:18:59 -08:00
Paul Eggert
732fd4c7e1
Update copyright year to 2015
...
Run admin/update-copyright.
2015-01-01 09:18:06 -08:00
Eli Zaretskii
5a9710f6e6
Make sure tool-bar changes are reflected on display.
...
lisp/tool-bar.el (tool-bar-local-item)
(tool-bar-local-item-from-menu): Call force-mode-line-update to
make sure the tool-bar changes show on display.
2015-01-01 17:29:51 +02:00
Michael Albinus
e792450d4b
Sync with Tramp 2.2.11.
...
* net/tramp-compat.el (top): Require cl-macs for Emacs 22.
Make an alias for `default-toplevel-value' if it doesn't exist.
* net/tramp-smb.el (tramp-smb-handle-copy-directory):
Use `tramp-compat-delete-directory'.
* net/trampver.el: Update release number.
2014-12-29 17:31:15 +01:00
Michael Albinus
2d17e122a1
Fix ChangeLog entry.
2014-12-29 16:27:09 +01:00
Filipp Gunbin
6444482c63
Fix auto-revert-tail-mode for remote files
...
Fixes: debbugs:19449
* autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode for
remote files (bug#19449)
2014-12-29 17:35:51 +03:00
Paul Eggert
b5c9c131ca
Spelling fixes
2014-12-28 15:06:16 -08:00
Eli Zaretskii
39eaef9f8b
lisp/international/mule.el (define-coding-system): Fix typos in the doc string.
...
Add missing ChangeLog entry for the previous commit.
Backported from trunk; do not merge back.
(cherry picked from commit 79e2dade76 )
2014-12-28 17:51:45 +02:00
Kenichi Handa
df932d8591
lisp/international/mule.el (define-coding-system): Improve docstring.
...
Backported from trunk; do not merge back.
(cherry picked from commit 5979af512b )
2014-12-28 17:50:07 +02:00
Fabián Ezequiel Gallina
433af0a060
* lisp/progmodes/python.el (python-shell-buffer-substring): Handle
...
cornercase when region sent starts at point-min.
2014-12-27 17:22:29 -03:00
Fabián Ezequiel Gallina
a5f38fa1cc
Fix ChangeLog typo
2014-12-27 13:10:44 -03:00
Eli Zaretskii
c6400e17e7
Fix composition of characters from Syriac and Arabis scripts.
...
lisp/language/misc-lang.el (composition-function-table): Add Syriac
characters and also ZWJ/ZWNJ. See
http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
for the details.
2014-12-27 14:07:06 +02:00
Fabián Ezequiel Gallina
7e9dfded93
python.el: Fix message when sending region.
...
* lisp/progmodes/python.el (python-shell-send-region): Rename argument
send-name from nomain. Fix message.
(python-shell-send-buffer): Rename argument send-name from arg.
2014-12-27 04:01:32 -03:00
Fabián Ezequiel Gallina
800260c4eb
python.el: Cleanup temp files even with eval errors.
...
* lisp/progmodes/python.el (python-shell-send-file): Make file-name
mandatory. Fix temp file removal in the majority of cases.
2014-12-27 03:38:32 -03:00
Fabián Ezequiel Gallina
ed65b91571
Fix for previous commit
2014-12-27 03:32:01 -03:00
Fabián Ezequiel Gallina
2dd5163d76
python.el: Handle file encoding for shell.
...
* lisp/progmodes/python.el (python-rx-constituents): Add coding-cookie.
(python-shell--save-temp-file): Write file with proper encoding.
(python-shell-buffer-substring): Add coding cookie for detected
encoding to generated content. Fix blank lines when removing
if-name-main block.
(python-shell-send-file): Handle file encoding.
(python-info-encoding-from-cookie)
(python-info-encoding): New functions.
* test/automated/python-tests.el (python-shell-buffer-substring-1)
(python-shell-buffer-substring-2, python-shell-buffer-substring-3)
(python-shell-buffer-substring-4, python-shell-buffer-substring-5)
(python-shell-buffer-substring-6, python-shell-buffer-substring-7)
(python-shell-buffer-substring-8)
(python-info-encoding-from-cookie-1)
(python-info-encoding-from-cookie-2)
(python-info-encoding-from-cookie-3)
(python-info-encoding-from-cookie-4)
(python-info-encoding-from-cookie-5)
(python-info-encoding-from-cookie-6)
(python-info-encoding-from-cookie-7, python-info-encoding-1)
(python-info-encoding-2): New tests.
2014-12-27 01:30:21 -03:00
Paul Eggert
7aa506eed8
Spelling fixes
2014-12-25 18:08:47 -08:00
Michael Albinus
216c6aadf2
* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
...
Use `tramp-rsh-end-of-line', it ought to be more robust.
2014-12-24 09:58:49 +01:00
Stefan Monnier
14c3739040
* lisp/progmodes/js.el (js-syntax-propertize): "return" can't be divided.
...
Fixes: debbugs:19397
2014-12-23 10:50:36 -05:00
Michael Albinus
ea78112b12
* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
...
as end-of-line delimeter for passwords, when running on MS Windows.
* net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
2014-12-23 14:17:00 +01:00
Stefan Monnier
012479a7a6
* lisp/progmodes/sh-script.el: Don't set global indent-line-function
...
Fixes: debbugs:19433
(sh-set-shell): Don't change the global value of indent-line-function.
2014-12-22 23:22:20 -05:00
Fabián Ezequiel Gallina
75e114fa3b
Fix line numbers on Python shell.
...
* lisp/progmodes/python.el (python-shell--save-temp-file): Do not
append coding cookie.
(python-shell-send-string): Generalize for
python-shell-send-region.
(python--use-fake-loc): Delete var.
(python-shell-buffer-substring): Cleanup fake-loc logic.
(python-shell-send-region): Remove fake-loc logic, simplify.
2014-12-23 00:45:22 -03:00
Fabián Ezequiel Gallina
749813e9d4
python.el: Fix electric colon behavior
...
* lisp/progmodes/python.el (python-indent-post-self-insert-function):
Make colon to re-indent only for dedenters, handling
multiline-statements gracefully.
* test/automated/python-tests.el (python-indent-electric-colon-2)
(python-indent-electric-colon-3): New tests.
2014-12-22 02:24:42 -03:00
Michael Albinus
936d5e5bb6
Fix last patch.
2014-12-21 16:19:26 +01:00
Michael Albinus
74d3b20cf5
Fixes: debbugs:18623
...
* net/tramp.el (tramp-handle-insert-file-contents):
Set `find-file-not-found-functions' in case of errors.
2014-12-21 12:10:31 +01:00
Michael Albinus
230c010050
* net/tramp-sh.el (tramp-send-command-and-read): New optional arg MARKER.
...
(tramp-get-remote-path): Use it.
2014-12-19 12:51:42 +01:00
Andreas Schwab
a864bfb57c
Fix content decoding in gnus-read-ephemeral-bug-group
...
* gnus-group.el (gnus-read-ephemeral-bug-group): Bind
coding-system-for-read and coding-system-for-write only around
with-temp-file, and make buffer unibyte. Don't write temp file twice.
2014-12-19 12:18:19 +01: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
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
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
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
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
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
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
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
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
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