1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 13:40:36 -08:00
Commit graph

116650 commits

Author SHA1 Message Date
Eli Zaretskii
b0af6745d6 Use u+05f4 in TUTORIAL.he.
etc/tutorials/TUTORIAL.he: Use u+05f4 HEBREW PUNCTUATION GERSHAYIM
 instead of u+0022 QUOTATION MARK in Hebrew acronyms.
2015-01-17 15:06:55 +02:00
Samer Masterson
7b8cba98bf Backport: Parse pcomplete arguments regardless of pcomplete-cycle-completions
* pcomplete.el (pcomplete-parse-arguments): Parse arguments regardless
of pcomplete-cycle-completions's value.

Fixes: debbugs:18950
(cherry picked from commit dfa8729c10)
2015-01-16 05:43:39 +03:00
Eli Zaretskii
a3505cb3ef doc/lispref/variables.texi (Creating Buffer-Local): Improve indexing (Bug#19608) 2015-01-15 19:31:49 +02:00
Dima Kogan
d132c7b658 erc-backend.el: Give hook-name a default value of nil and add-to-list unconditionally. Fixes debbugs:19363 2015-01-14 16:55:44 -05:00
Eli Zaretskii
61cc7bf8c4 Fix support of non-ASCII frame titles on MS-Windows (Bug#19590)
src/w32fns.c (w32_set_title_bar_text): New function, including
 support for titles with non-ASCII characters outside of the
 current system codepage.
 (x_set_name, x_set_title): Use it.
2015-01-14 20:14:02 +02:00
Michael Albinus
1e5902ac64 * filenotify.el (file-notify--descriptor): Do not cons for remote files. 2015-01-13 15:58:50 +01:00
Michael Albinus
b1ea160728 Handle watching of several files in the same directory for inotify.
Fixes: debbugs:18880

* filenotify.el (file-notify-descriptors, file-notify-handle-event):
Adapt docstring.
(file-notify--descriptor): New defun.
(file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
Adapt docstring.  Handle multiple values for
`file-notify-descriptors' entries.

* net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
`file-notify-descriptors', the implementation has been changed.
2015-01-13 11:26:39 +01:00
Juri Linkov
67edddfce6 More fixes to support multi-line search in comint
* lisp/comint.el (comint-history-isearch-message): Use field-beginning
instead of comint-line-beginning-position - that's more fixes for
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
(comint-history-isearch-message): Fix args of isearch-message-prefix.

[backport from trunk]
2015-01-13 07:39:23 +00:00
Juri Linkov
18a89a069c Better support for multi-line shell input.
* lisp/comint.el (comint-history-isearch-search)
(comint-history-isearch-wrap): Use field-beginning instead of
comint-line-beginning-position.
(comint-send-input): Go to the end of the field instead of the end
of the line to accept whole multi-line input.
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html

[backport from trunk]
2015-01-13 07:39:15 +00:00
Eli Zaretskii
b544ab561f Fix return value of vertical-motion at ZV (Bug#19553)
src/indent.c (Fvertical_motion): Return zero if we started from ZV
 and there's an overlay after-string there.
2015-01-10 15:03:51 +02:00
Eli Zaretskii
1f179ea1ba Fix encoding of I/O in net-utils.el for MS-Windows. (Bug#19458)
lisp/net/net-utils.el (net-utils-run-program, net-utils-run-simple):
 On MS-Windows, bind coding-system-for-read to the console output
 codepage.
2015-01-09 11:50:21 +02:00
Eli Zaretskii
70f298f88e Fix the description of -nl in --help text. (Bug#19542)
src/emacs.c (usage_message): Fix the description of the -nl switch.
2015-01-09 11:13:33 +02:00
Eli Zaretskii
7c0bfa1d08 Fix line-move-visual's following of column in R2L lines (backport from trunk).
src/simple.el (line-move-visual): When converting X pixel coordinate
 to temporary-goal-column, adjust the value for right-to-left
 screen lines.  This fixes vertical-motion, next/prev-line, etc.

 src/dispnew.c (buffer_posn_from_coords): Fix the value of the column
 returned for right-to-left screen lines.  (Before the change on
 2014-12-30, the incorrectly-computed X pixel coordinate concealed
 this bug.)

(cherry picked from commit 5fbd17e369)

Conflicts:
	lisp/simple.el
2015-01-09 11:06:18 +02:00
Glenn Morris
2a57b7e5b4 Fixes: debbugs:18756
sh-basic-indent-line fix

* lisp/progmodes/sh-script.el (sh-mode): Doc fix.
(sh-basic-indent-line): Handle electric newline.
2015-01-06 13:52:15 -05:00
Steve Purcell
4e86e02951 Backport: Add an extra column for Version in list-packages table
* emacs-lisp/package.el (package-menu-mode): Use an extra column for
the "Version" column, to accomodate date-and-time-based versions.

(cherry picked from commit eaf25ad549)
2015-01-06 21:42:12 +03:00
Eli Zaretskii
d279e66808 Fix assertion violations in try_window_id (Bug#19511)
src/xdisp.c (move_it_to, try_cursor_movement): Don't use the window
 end information if the window_end_valid flag is unset.
 (try_window_id): If the call to display_line invalidated the
 window end information, give up the try_window_id optimization.
2015-01-05 17:42:55 +02:00
Paul Eggert
031eadcbed Fix dired quoting bug with "HitNHide"
Fixes Bug#19498.
* files.el (shell-quote-wildcard-pattern): Also quote "`".
2015-01-04 13:45:44 -08:00
Eli Zaretskii
5981b4b1c0 More doc fixes for bug#19502 -- make documentation less X-specific.
doc/lispref/frames.texi (Display Feature Testing): Make the description of
 x-server-version and x-server-vendor less X-specific.

 Make doc strings on X and w32 identical.
 src/w32fns.c (Fx_server_version, Fx_server_vendor): Doc fix.
 src/xfns.c (Fx_server_version, Fx_server_vendor): Doc fix.
2015-01-04 20:30:16 +02:00
Eli Zaretskii
143516c73d src/emacs.c (syms_of_emacs) <system-configuration>: Doc fix. (Bug#19502) 2015-01-04 17:51:35 +02:00
Dmitry Gutov
d7af65d24a Backport: Unbreak `mouse-action' property in text buttons
* lisp/button.el (push-button): Fix regression from 2012-12-06.

(cherry picked from commit d94007484a)
2015-01-04 14:44:48 +03:00
Glenn Morris
e13e3bd819 * admin/update_autogen (commit): Prepend "# " to commit message. 2015-01-02 17:30:52 -08:00
Glenn Morris
780eb0a732 Auto-commit of loaddefs files. 2015-01-02 07:22:18 -05:00
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
Paul Eggert
a5f90a3762 * .gitattributes: New file. 2015-01-01 09:17:57 -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
Paul Eggert
93796baeee * autogen.sh: Port better to non-GNU 'cp'.
Problem reported by Han Boetes.
2014-12-31 07:15:43 -08:00
Eli Zaretskii
9758516441 Fix a typo in a comment in the previous commit. 2014-12-30 21:51:34 +02:00
Eli Zaretskii
aa472a3771 Fix the pixel coordinates returned by pos-visible-in-window-p. (Bug#19473)
src/xdisp.c (pos_visible_p): Fix up the X coordinate for
 right-to-left screen lines.
2014-12-30 19:29:24 +02:00
Michael Albinus
d2612290f9 * automated/tramp-tests.el (tramp--test-smb-or-windows-nt-p):
New defun.
(tramp-test30-special-characters): Use it.
(tramp--test-check-files): Filter nil file names out.
2014-12-30 12:45:48 +01:00
Paul Eggert
9278f05860 Omit trailing white space
This should simplify switching to automated ChangeLogs.
2014-12-29 22:39:35 -08:00
Michael Albinus
1c93fd3854 Sync with Tramp 2.2.11.
* trampver.texi: Update release number.
2014-12-29 17:37:37 +01:00
Michael Albinus
96ebe180f2 Sync with Tramp 2.2.11.
* automated/tramp-tests.el (tramp-test30-special-characters):
Skip test on MS-Windows.
2014-12-29 17:35:09 +01: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
c5504d1005 src/w32proc.c (Fw32_get_codepage_charset): Doc fix. (Bug#19458) 2014-12-28 20:32:53 +02:00
Paul Eggert
f646cd99e5 * build-aux/git-hooks/commit-msg: Allow tabs.
Treat them as if they were expanded to spaces, with tab stops
every 8 columns.
2014-12-28 10:07:56 -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
Paul Eggert
b54f5721bf Port memory-full checking to GnuTLS 3.3
Instead of using gnutls_global_set_mem_functions, check every call
to a GnuTLS function that might return an indication of memory
exhaustion.  Suggested by Dmitry Antipov in:
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg02056.html
* src/gnutls.c (gnutls_global_set_mem_functions) [WINDOWSNT]: Remove.
(init_gnutls_functions): Do not load gnutls_global_set_mem_functions.
(fn_gnutls_global_set_mem_functions) [!WINDOWSNT]: Remove.
All uses removed.
(check_memory_full): New function.
(emacs_gnutls_handshake, emacs_gnutls_handle_error)
(gnutls_make_error, Fgnutls_boot): Use it.
(emacs_gnutls_global_init): Avoid gnutls_global_set_mem_functions.
2014-12-27 23:45:46 -08: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