1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

123241 commits

Author SHA1 Message Date
Stefan Monnier
54e2ed97bf * lisp/emacs-lisp/eieio-compat.el: Typo caught by tests
(eieio--generic-static-object-generalizer): Fix typo.
* test/automated/eieio-tests.el: Byte-compile it again.
It looks like the underlying cause of bug#17852 was fixed in the mean time.
2015-11-04 09:42:20 -05:00
Artur Malabarba
39355bc045 Revert "* lisp/subr.el (when): Use `macroexp-progn'"
This reverts commit 8e843831ea.
It breaks bootstrapping (duh).
2015-11-04 14:22:27 +00:00
Artur Malabarba
2fef1fc823 * lisp/files.el (report-errors): Obsolete
(normal-mode, hack-local-variables, dir-locals-find-file): Use
`with-demoted-errors' instead.
2015-11-04 13:00:04 +00:00
Artur Malabarba
8e843831ea * lisp/subr.el (when): Use `macroexp-progn'
* test/automated/subr-tests.el (subr-test-when): New test
2015-11-04 12:56:25 +00:00
Juanma Barranquero
587b232837 * lisp/progmodes/xref.el: Doc fixes
(xref-make-file-location, xref-make-buffer-location, xref-make)
(xref-make-bogus-location, xref-make-match): Add cross-references.
(xref--insert-xrefs): Fix typo in docstring.
2015-11-04 10:07:25 +01:00
Anders Lindgren
411b516d65 Render fringe bitmaps correctly on NextStep (bug#21301).
The fringe bitmaps were inverted, the background was not transparent,
the image data was horizontally mirrored, and periodic fringe bitmaps
were not supported.

* nsimage.m ([EmacsImage initFromXBM:width:height:fg:bg:]): When
both background and foreground colors are 0, set the background
alpha channel to 0 (making the background transparent).  When
copying the image data, do this from the most significant bit
(leftmost) to the least (rightmost), to avoid mirroring.
* nsterm.m (ns_draw_fringe_bitmap): Don't invert the image bits. Add
support for periodic images (e.g. the empty line indicator).
2015-11-04 06:50:19 +01:00
Michael Heerdegen
335cb1ee15 * lisp/emacs-lisp/pcase.el (pcase): Tweak docstring. 2015-11-03 23:59:42 +01:00
Nicolas Petton
5d1e2fec21 * admin/MAINTAINERS: Add seq-tests.el, map-tests.el, and thunk-tests.el. 2015-11-03 23:22:39 +01:00
Nicolas Petton
eb7e21bf38 * admin/MAINTAINERS: Add thunk.el. 2015-11-03 23:21:13 +01:00
Jay Belanger
fb711d7275 Change maintainer address.
* lisp/calc/calc (calc-bug-address): Change address.
2015-11-03 16:16:54 -06:00
Michael Albinus
7e9da9f709 ; Shorten TODO list in file-notify-tests.el 2015-11-03 18:33:25 +01:00
Michael Albinus
436ed2399a Fix a stupid error in gfilenotify.c.
* src/gfilenotify.c (dir_monitor_callback): Cancel monitor only,
if we've got a `deleted' signal AND the file name is the watched one.
2015-11-03 18:17:53 +01:00
Stephen Leake
fcfa23911d Fix Bug#21816; case insensitive file system in elisp-mode-tests.el
* test/automated/elisp-mode-tests.el (xref-elisp-test-run): Use
case-insensitive string compare for file names.
(emacs-test-dir): Add 'downcase' to cause case differences (at least on
my system).
2015-11-03 08:48:54 -06:00
Jackson Ray Hamilton
7ad183d890 Fix ChangeLog.2 entry for js-jsx-mode 2015-11-02 21:14:05 -08:00
Juanma Barranquero
1cd0e89ab9 flymake-tests.el (warning-predicate-rx-gcc): Fix check.
* test/automated/flymake-tests.el (warning-predicate-rx-gcc):
Also check that "make" is available, not just "gcc".
2015-11-02 18:16:54 +01:00
Ken Brown
a9cdc4a23c Document behavior of collation on Cygwin
* test/automated/fns-tests.el (fns-tests-collate-sort): Mark as
expected failure on Cygwin.
* doc/lispref/strings.texi (Text Comparison): Document that
punctuation and whitespace are not ignored for sorting on Cygwin.
2015-11-02 11:22:51 -05:00
Dani Moncayo
5401bb8645 * build-aux/msys-to-w32: Prevent double slashes in w32 path list. 2015-11-02 11:54:55 +01:00
Glenn Morris
ff80687aee * lisp/progmodes/f90.el (f90-no-block-limit):
Add associate.  (Bug#21794)
* test/automated/f90.el (f90-test-bug21794): New test.
2015-11-01 18:25:42 -08:00
Juanma Barranquero
3a769e173e Fix incompatibility with TCC in test for bug#18745
* test/automated/process-tests.el (process-test-quoted-batfile):
Remove spaces unrelated to the bug being tested.
2015-11-01 19:14:27 +01:00
Juanma Barranquero
bf9e3e7711 ; ChangeLog.2 fixes 2015-11-01 19:05:30 +01:00
Michael Albinus
df660da45b Improve completion in tramp-gvfs.el
* lisp/net/tramp-gvfs.el (tramp-zeroconf-parse-device-names):
Renamed from `tramp-zeroconf-parse-service-device-names'.
(tramp-zeroconf-parse-webdav-device-names): Removed.  Code merged
with `tramp-zeroconf-parse-device-names'.
(tramp-gvfs-parse-device-names): New defun.
(top): Use it when `tramp-zeroconf-parse-device-names' is not
applicable.

* lisp/net/tramp.el (tramp-set-completion-function): The argument
could also be a zeroconf service type.
2015-11-01 13:43:35 +01:00
Glenn Morris
150066727c ; Auto-commit of ChangeLog files. 2015-11-01 06:34:54 -05:00
Glenn Morris
cb56d4cec8 ; Auto-commit of loaddefs files. 2015-11-01 06:34:43 -05:00
Juanma Barranquero
b692d6aa43 ; Fix ChangeLog.2 typos and style 2015-11-01 05:28:56 +01:00
Thomas Fitzsimmons
0302d5371a ntlm.el: Change version to 2.0.0 2015-10-31 23:11:09 -04:00
Juanma Barranquero
590a820fd9 Fix bug#21762
* lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with
`eql' instead of `=' to accommodate the case that (syntax-after (point))
returns nil.

* test/automated/python-tests.el (python-indent-inside-paren-7):
New test.
2015-11-01 02:55:16 +01:00
Juanma Barranquero
9278095442 * test/automated/python-tests.el: Avoid warnings
(python-tests-with-temp-buffer, python-tests-with-temp-file):
Bind `python-indent-guess-indent-offset' to nil.
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Your branch is up-to-date with 'origin/master'.
#
# Changes to be committed:
#	modified:   test/automated/python-tests.el
#
2015-11-01 01:17:16 +01:00
Juanma Barranquero
312bbfee95 * src/alloc.c: Silence compiler warnings
(pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC.
2015-10-31 22:34:35 +01:00
Jackson Ray Hamilton
4c4c8e74ca * etc/NEWS: Fix js-jsx-mode entry punctuation 2015-10-31 13:38:14 -07:00
Jackson Ray Hamilton
958da7ff63 Add JSX indentation via js-jsx-mode. (Bug#21799)
* progmodes/js.el: Add JSX indentation support.
(js-jsx-indent-line)
(js-jsx-mode): New functions.
2015-10-31 13:02:36 -07:00
Michael Albinus
65a3808fcf Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2015-10-31 14:42:28 +01:00
Michael Albinus
547a23469a Minor fix in filenotify.el
* lisp/filenotify.el (file-notify--event-file-name)
(file-notify--event-file1-name): Normalize result with
`directory-file-name'.
2015-10-31 14:42:16 +01:00
Eli Zaretskii
553d7e9b38 Avoid errors in redisplay--pre-redisplay-functions
* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
use 'bobp', instead compare window-point with 1.  (Bug#21730)
2015-10-31 15:31:17 +02:00
Paul Eggert
b059c6b584 Merge from gnulib.
This incorporates:
2015-10-30 intprops: add WRAPV and const flavors for GCC 5
2015-10-25 stdalign: port to Sun C 5.9
* doc/misc/texinfo.tex, lib/intprops.h, lib/stdalign.in.h:
Copy from gnulib.
2015-10-30 19:21:51 -07:00
Eli Zaretskii
e11aaee266 Fix a typo in a macro name
* src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro.
(w32_compare_strings): Adjust for the correction.
2015-10-30 23:17:48 +02:00
Michael Albinus
9c36df736b Add result messages in vc-tests.el
* test/automated/vc-tests.el (vc-test--state)
(vc-test--working-revision, vc-test--checkout-model): Add result messages.
2015-10-30 18:35:58 +01:00
Artur Malabarba
36ead807e2 * test/automated/faces-tests.el: Add another test 2015-10-30 18:20:42 +00:00
Artur Malabarba
4c060051bf * lisp/faces.el (faces--attribute-at-point): Fix bug
introduced by previous commit.
2015-10-30 18:19:26 +00:00
Artur Malabarba
76033d22a2 * test/automated/faces-tests.el: New file 2015-10-30 18:15:52 +00:00
Artur Malabarba
7ccedcb486 * lisp/faces.el: Refactor common code and fix a bug
(faces--attribute-at-point): New function.  Fix a bug when the
face at point is a list of faces and the desired attribute is not
on the first one.
(foreground-color-at-point, background-color-at-point): Use it.
2015-10-30 18:15:52 +00:00
Przemysław Wojnowski
5260ea68e0 * etc/tutorials/TUTORIAL.translators: Fix PL names 2015-10-30 17:19:11 +01:00
Juanma Barranquero
cadfceab1a * lisp/character-fold.el: Provide `character-fold' 2015-10-30 14:49:52 +01:00
Tassilo Horn
1f67a21149 Add more faces for Gnus and ivy
* etc/themes/tsdh-dark-theme.el (tsdh-dark): add more faces for Gnus and
ivy.
2015-10-30 13:40:28 +01:00
Michael Albinus
36574e0a23 Some minor fixes for tramp-gvfs.el
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
An attribute returned by gvfs-info might be empty.  In case of
undetermined uid or gid, return "UNKNOWN" or -1, respectively.
(tramp-zeroconf-parse-service-device-names): New defun.
Derived from `tramp-zeroconf-parse-workstation-device-names'.
(top): Add completion functions for "afp" and "smb" methods.
2015-10-30 13:11:35 +01:00
Artur Malabarba
3fb3af1d2a * test/automated/character-fold-tests.el: New file 2015-10-30 12:20:07 +00:00
Artur Malabarba
8c443c55d8 * test/automated/sort-tests.el: New file
Tests in this file are randomly generated and then tested with
regular, reverse, and case-fold sorting.
2015-10-30 12:20:07 +00:00
Eli Zaretskii
2d571a83f0 Describe known problems with pinning Emacs to taskbar
* etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar
on Windows 10.  For the details, see the discussion starting at
http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html.
2015-10-30 12:28:00 +02:00
Artur Malabarba
25be5df44a * lisp/isearch.el: Avoid an error that blocks isearch
(isearch-update): Don't error if `isearch--current-buffer' has
been killed.

* test/automated/isearch-tests.el (isearch--test-update): New
file.
2015-10-30 11:08:57 +00:00
Phil Sainty
44470fed6f Fix documentation of 'beginning/end-of-buffer'
* lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify
conditions under which the mark will be pushed at the previous
position.  (Bug#21748)
2015-10-30 12:05:33 +02:00
Tassilo Horn
b313a9d6a8 Add RefTeX feature idea: editing RefTeX TOC buffers 2015-10-30 08:06:31 +01:00