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

122929 commits

Author SHA1 Message Date
Artur Malabarba
8a40c5a67e * test/automated/tabulated-list-test.el: New file
Test bug#21639 and some basic functionality.
2015-10-07 15:13:07 +01:00
Artur Malabarba
e60a1e2717 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort):
Check if column can be sorted before trying.  (Bug#21639)
2015-10-07 15:13:07 +01:00
Nicolas Richard
9ed9b7dc95 Add test for `self-insert-command' (bug#21633)
* test/automated/cmds-tests.el: New file.
2015-10-07 15:09:19 +02:00
Martin Rudalics
391291f4b1 In resize_frame_windows don't set a top position when resizing horizontally.
* src/window.c (resize_frame_windows): Don't set root window's
top position when resizing horizontally.
2015-10-07 11:11:53 +02:00
Artur Malabarba
4d04cee060 * lisp/progmodes/prog-mode.el (prettify-symbols-alist):
Document more possible values.
2015-10-07 09:40:25 +01:00
Glenn Morris
96973dea40 ; * admin/MAINTAINERS: Remove no-longer-active people 2015-10-06 23:31:43 -07:00
Glenn Morris
78769755b9 ; * admin/MAINTAINERS: Copyedits. 2015-10-06 23:30:45 -07:00
Glenn Morris
2ad5109a75 ; * admin/MAINTAINERS: Remove "unmaintained" section; neither correct nor useful 2015-10-06 23:29:13 -07:00
Stefan Monnier
8528f7c9f1 * lisp/textmodes/tex-mode.el: Use lexical-binding 2015-10-06 22:57:53 -04:00
Stefan Monnier
f54e5ccfdb * lisp/indent.el (indent--default-inside-comment): New function
(indent-for-tab-command): Use it for `noindent' indentation.
2015-10-06 22:56:24 -04:00
Paul Eggert
3b4d119c40 Fix bug in GC_CHECK_MARKED_OBJECTS check
* src/alloc.c (mark_object): Fix bug in checking code.
When GC_CHECK_MARKED_OBJECTS is defined, the bug caused
CHECK_ALLOCATED_AND_LIVE_SYMBOL to repeatedly do the
CHECK_ALLOCATED and CHECK_LIVE tests for the first symbol in each
bucket.  The bug did not affect behavior either in the normal case
where GC_CHECK_MARKED_OBJECTS is not defined, or where Emacs does
not have an internal error that a properly-written
CHECK_ALLOCATED_AND_LIVE_SYMBOL would detect.
2015-10-06 13:34:18 -07:00
Tassilo Horn
a4a98a1b25 Add prettified version of \\Bbb{Q}.
* lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Add
prettified version for \\Bbb{Q}.
2015-10-06 21:00:02 +02:00
Artur Malabarba
11f42149b1 * test/automated/package-test.el (package-test-install-single):
Add a test for bug#21625.
2015-10-06 19:40:27 +01:00
Aaron Ecay
81558130c1 lisp/emacs-lisp/package.el (package-install): Fix name error
* lisp/emacs-lisp/package.el (package-install): Fix error when pkg is
  not a package-desc object.  Also clarify documentation.  (Bug#21625)
2015-10-06 19:38:11 +01:00
Eli Zaretskii
e2b1ad428c Fix display of characters adjacent to ZWJ and ZWNJ
* src/bidi.c (bidi_resolve_neutral): Treat all Bn (a.k.a. "control")
characters the same as directional formatting controls.
(bidi_level_of_next_char): Include all Bn characters in rule L1,
as mandated by the UBA.
2015-10-06 19:08:21 +03:00
Andreas Schwab
0befeb0b7f Don't use XFASTINT on a negative number
* src/cmds.c (Fself_insert_command): Don't use XFASTINT on a negative
number.  (Bug#21633)
2015-10-06 11:52:06 +02:00
Xue Fuqiao
25b4572073 * doc/lispref/objects.texi (Window Type): Add a cross reference. 2015-10-06 10:52:28 +08:00
Xue Fuqiao
d62f03393b * src/buffer.c (syms_of_buffer): Typo fix. (Bug#21622) 2015-10-06 06:48:39 +08:00
Eli Zaretskii
7e83f50226 ; Another minor fix in misc-lang.el 2015-10-05 22:24:25 +03:00
Eli Zaretskii
0a74e2b590 Fix composition-function-table for Arabic and Syriac
* lisp/language/misc-lang.el (composition-function-table): Fix
entries for Arabic and Syriac.
2015-10-05 22:19:39 +03:00
K. Handa
47e9556c70 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2015-10-05 22:56:26 +09:00
Damien Cassou
ef171d1d0b Add first unit tests for auth-source.el
* test/automated/auth-source-tests.el: New file.
2015-10-05 13:58:24 +02:00
Eli Zaretskii
76d5122a51 Remove redundant redisplay code
* src/xdisp.c (redisplay_internal, try_cursor_movement)
(try_window_reusing_current_matrix, try_window_id): Remove
redundant restrictions on redisplay optimizations based on the
frame's 'redisplay' flag.  See
http://osdir.com/ml/general/2015-10/msg02110.html for the relevant
discussions.
2015-10-05 10:22:08 +03:00
Stefan Monnier
1fa9f86056 * src/xdisp.c (windows_or_buffers_changed): Improve docstring 2015-10-04 22:30:27 -04:00
Xue Fuqiao
9c4b9a2869 Update tutorials/TUTORIAL.cn
* etc/tutorials/TUTORIAL.cn: Improve translation.
2015-10-05 08:58:28 +08:00
YAMAMOTO Mitsuharu
6cdd3c6b65 * src/macfont.m (macfont_encode_char, syms_of_macfont): Remove unused vars. 2015-10-05 09:16:21 +09:00
Stefan Merten
94e5235007 Pull in version numbers from rst.el upstream release.
* lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev)
	(rst-svn-timestamp, rst-official-version)
	(rst-official-cvs-rev, rst-package-emacs-version-alist):
	Update version numbers.
2015-10-04 22:30:30 +02:00
Eli Zaretskii
cacebbdaec * test/automated/coding-tests.el: New file. 2015-10-04 16:07:23 +03:00
Michael Albinus
acfb5cd035 Improve XEmacs compatibility of Tramp
* lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
Declare if it doesn't exist.
(file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
(redisplay): Make it an alias if it doesn't exist.

* lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
`file-remote-p' (due to XEmacs compatibility).

* lisp/net/trampver.el (locate-dominating-file)
(tramp-compat-replace-regexp-in-string): Autoload.
(tramp-repository-get-version): Do not dupe byte-compiler.
2015-10-04 13:00:33 +02:00
Glenn Morris
b28beb11f3 ; Auto-commit of ChangeLog files. 2015-10-04 06:23:45 -04:00
Eli Zaretskii
2021680e9d ; Restore some of the recent deletions in fileio.c
* src/fileio.c (Finsert_file_contents, choose_write_coding_system):
Restore some of the recently deleted calls to CHECK_CODING_SYSTEM.
2015-10-04 12:23:45 +03:00
Eli Zaretskii
45d0b3dd11 shr: fix too long lines in rendered buffers (Bug#21012)
Co-authored-by: Michael Heerdegen <michael_heerdegen@web.de>
* lisp/net/shr.el (shr-insert-document, shr-fill-text):
Correct calculation of available width.
(shr-find-fill-point): Don't overflow window edge if shr-kinsoku-shorten
is nil.
2015-10-04 09:35:25 +02:00
Xue Fuqiao
fd51234cd3 ; Add some comments 2015-10-04 14:42:45 +08:00
Vincent Belaïche
ddb8f90322 Restore blank line before next section, erroneously erased in my previous commit
* etc/compilation.txt (symbol ant): add an additional trailing blank line to this section, so that there are two of them immediately before the next section
2015-10-04 08:18:15 +02:00
Vincent Belaïche
460c357676 Support MSW filename style for ant compilation error regexp
* etc/compilation.txt (symbol ant):
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Support MSW filename style
2015-10-04 07:57:28 +02:00
Paul Eggert
42d0000cf3 * nt/INSTALL: Minor spelling and quote fixes. 2015-10-03 17:37:59 -07:00
Paul Eggert
99763700e3 * lisp/ibuffer.el: Fix docstring length (Bug#21541). 2015-10-03 17:26:02 -07:00
Simen Heggestøyl
6b66375133 Maintain ordering of JSON object keys by default
* lisp/json.el (json-object-type): Mention order handling in doc-string.
(json--plist-reverse): New utility function.
(json-read-object): Maintain ordering for alists and plists.
(json-pretty-print): Ensure that ordering is maintained.

* test/automated/json-tests.el (test-json-plist-reverse): New test for
`json--plist-reverse'.
(json-read-simple-alist): Update test to accommodate for changes in
`json-read-object'.

* etc/NEWS: Document the new behavior of the pretty printing functions.
2015-10-03 23:52:36 +02:00
Andreas Schwab
9a05f0ac95 * src/coding.c (complement_process_encoding_system): Revert last
change.
2015-10-03 20:15:44 +02:00
Ulf Jasper
829e818d57 Add entry for Ulf Jasper. 2015-10-03 18:21:07 +02:00
Xue Fuqiao
9cca3fe8ba Doc fix for `defmacro'
* doc/lispref/objects.texi (Macro Type): `defmacro' is a macro now.
2015-10-03 21:24:09 +08:00
Andreas Schwab
b235ceaaf6 More validatation of coding systems
* src/fileio.c (Finsert_file_contents): Remove redundant
coding-system check.
(choose_write_coding_system): Likewise.
* src/coding.c (complement_process_encoding_system): Check
argument for valid coding system.
2015-10-03 14:50:50 +02:00
Eli Zaretskii
272ca09635 Avoid crashes in coding_inherit_eol_type
* src/coding.c (coding_inherit_eol_type): Check the validity of
the arguments.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
(Bug#21602)
2015-10-03 15:39:17 +03:00
Eli Zaretskii
265d525a5e More validatation of coding system in 'write-region'
* src/coding.c (choose_write_coding_system): More validation of
coding-system from various sources.  Suggested by Andreas Schwab
<schwab@linux-m68k.org>.  (Bug#21602)
2015-10-03 14:49:16 +03:00
Eli Zaretskii
658f2c450d Avoid crashes due to invalid coding-system
* src/fileio.c (choose_write_coding_system)
(Finsert_file_contents): Check validity of coding-system-for-write
and coding-system-for-read bound by the caller.  (Bug#21602)
2015-10-03 13:44:44 +03:00
Michael Albinus
40892b46f8 ; Tramp: Suppress compiler warnings. 2015-10-03 10:09:41 +02:00
Tassilo Horn
e1605252fd Adapt to new prettify-symbols-unprettify-at-point default
* etc/NEWS: Mention that unprettication of symbol at point is off by
default.
2015-10-03 07:49:08 +02:00
Tassilo Horn
de7fc458e9 Revert my two recent process.c changes
Revert "Improve last commit to process.c" and "Remove callback-handled
channels from Available set" because they did not fix bug#21313.

This reverts commits bfa1aa8e2b and
27f871907c..
2015-10-03 06:02:11 +02:00
Markus Triska
d771ae0d5f * prolog.el: Update and extend operator table
(prolog-smie-grammar): Add multifile, public etc.
2015-10-02 16:47:06 -04:00
Paul Eggert
4cace70436 Allow autogen even when Git is not installed
* autogen.sh: Test ‘git status’ before trying to use Git.
2015-10-02 12:41:31 -07:00