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

123276 commits

Author SHA1 Message Date
Eli Zaretskii
ea88d874a4 Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs 2015-11-07 20:05:43 +02:00
Noam Postavsky
76be8f28eb Add test for bug #21824
* test/automated/buffer-tests.el: New file.
(overlay-modification-hooks-message-other-buf): New test.
2015-11-07 20:04:00 +02:00
Kelvin White
044991f6c6 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2015-11-07 13:03:03 -05:00
Kelvin White
ae24d821fa erc-pcomplete.el (pcomplete-erc-nicks): Fix bug#18771 2015-11-07 13:02:26 -05:00
l3thal
7a187017d0 erc-pcomplete.el (pcomplete-erc-nicks): Fix bug#18771 2015-11-07 12:54:58 -05:00
Thomas Fitzsimmons
88733e67df ; ChangeLog.2: Fix formatting of ntlm.el 2.0.0 entry 2015-11-07 09:10:20 -05:00
Thomas Fitzsimmons
2dc91e65b4 ; ChangeLog.2: Fix entry for soap-client 3.0.0 sync 2015-11-07 08:59:20 -05:00
Eli Zaretskii
0ea647d80d ; * lisp/abbrev.el (copy-abbrev-table): Remove forgotten debug code. 2015-11-07 15:50:40 +02:00
David Reitter
53def55b43 Ignore fullscreen exit notifications on NS when frame is dead
* nsterm.m (windowDidResize:,windowWillExitFullScreen:)
  (windowDidExitFullScreen:): Return if frame is dead.
  These functions may be called when a fullscreen frame
  is closed; they are called before, not after.

May address Bug#21428.
2015-11-07 08:40:13 -05:00
Eli Zaretskii
fc61ea4fd7 Speed up lookup in redisplay--variables
* lisp/frame.el (redisplay--variables): Make it a hash-table.

* src/xdisp.c (maybe_set_redisplay): Access redisplay--variables
as a hash-table.  This speeds up this function by an order of
magnitude: where previously a setq was slowed down by 100% by
introducing the maybe_set_redisplay test, it is now only 5%
slower.
(syms_of_xdisp) <redisplay--variables>: Doc fix.
2015-11-07 15:32:45 +02:00
Artur Malabarba
b74c8847e8 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a bug
The defsubst was being created as:
    (cl-defsubst name (args) ("DOC") ...)

* test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Add test
2015-11-07 13:55:16 +00:00
Mihai Olteanu
e21e3b6ba9 Update doc string of hexl-mode
* lisp/hexl.el (hexl-mode): Doc fix.  (Bug#21800)

Copyright-paperwork-exempt: yes
2015-11-07 14:35:10 +02:00
Eli Zaretskii
bede518c38 Fix error in copy-abbrev-table
* lisp/abbrev.el (define-abbrev): Don't erase the :abbrev-table-modiff
property of the abbrev-table.  (Bug#21828)

* test/automated/abbrev-tests.el: New file.
2015-11-07 13:32:33 +02:00
Michael Albinus
b29be62888 Add test to auto-revert-tests.el for Bug#21841
* test/automated/auto-revert-tests.el
(auto-revert-test01-auto-revert-several-files): New test.
(auto-revert-test02-auto-revert-tail-mode)
(auto-revert-test03-auto-revert-mode-dired): Rename them.
2015-11-07 11:05:03 +01:00
Martin Rudalics
07178f43e1 * doc/lispref/windows.texi (Coordinates and Windows): Fix typo. 2015-11-07 09:19:03 +01:00
Martin Rudalics
e5a98644f8 In x_consider_frame_title don't set title of tooltip frames
* src/xdisp.c (x_consider_frame_title): Return immediately for
tooltip frames to avoid displaying empty tooltips.
2015-11-07 08:51:28 +01:00
Anders Lindgren
60959975b1 Fixed NextStep fullscreen problem (bug#21770).
* nsterm.m (ns_constrain_all_frames): Don't constrain fullscreen
frames.
2015-11-06 22:39:02 +01:00
Eli Zaretskii
19e09cfab6 Ensure redisplay after evaluation
* lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Revert
last change.
* lisp/frame.el (redisplay--variables): Populate the
redisplay--variables list.
* src/xdisp.c (maybe_set_redisplay): New function.
(syms_of_xdisp) <redisplay--variables>: New variable.
* src/window.h (maybe_set_redisplay): Declare prototype.
* src/data.c (set_internal): Call maybe_set_redisplay.  (Bug#21835)
2015-11-06 21:21:52 +02:00
Artur Malabarba
8025fdbbea * test/automated/subr-tests.el (subr-test-when): Fix again 2015-11-06 16:18:32 +00:00
Eli Zaretskii
564d811725 Don't invoke overlay modification hooks in wrong buffer
* src/buffer.c (report_overlay_modification): When called with
AFTER non-zero, don't invoke overlay modification hooks if the
buffer recorded in last_overlay_modification_hooks is different
from the current buffer.  (Bug#21824)
2015-11-06 17:19:39 +02:00
Juanma Barranquero
3172a6ac39 * admin/notes/repo: Fix a few obsolete references to Bazaar 2015-11-06 14:08:12 +01:00
Artur Malabarba
9b912623ad * test/automated/subr-tests.el (subr-test-when): Fix test 2015-11-06 11:18:23 +00:00
Martin Rudalics
40014fe9fd Avoid division by zero crash observed by Yuan MEI.
See http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html.

* src/dispnew.c (required_matrix_height, required_matrix_width):
Avoid division by zero.
* src/xterm.c (x_term_init): Init dpyinfo->smallest_font_height and
dpyinfo->smallest_char_width to 1.
2015-11-06 12:15:18 +01:00
Eli Zaretskii
29c360ee1c Ensure redisplay after "C-x C-e"
* lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Make sure
redisplay happens to account for any side effects of the evaluated
sexp.  (Bug#21835)
2015-11-06 11:28:46 +02:00
Eli Zaretskii
2b316c0581 ; * CONTRIBUTE: Add section about the bug tracker
* CONTRIBUTE: Move less important sections after the more
important ones.  Add section about the bug tracker.
2015-11-06 10:56:59 +02:00
Michael Albinus
f353f53b64 Skip some file notification tests for cygwin
* test/automated/file-notify-tests.el (file-notify--test-with-events):
Remove argument TIMEOUT.  Adapt all callees.
(file-notify-test02-events, file-notify-test04-file-validity):
Skip for cygwin.  (Bug#21804)
2015-11-06 07:33:50 +01:00
Stephen Leake
267e0e80e1 * lisp/progmodes/xref.el: require semantic/symref during compilation. 2015-11-06 05:15:56 +02:00
Daiki Ueno
ddd0eada66 Suppress redundant Pinentry startup messages
* lisp/net/pinentry.el (pinentry-start): Add optional QUIET
argument.
* lisp/epg.el: Declare `pinentry-start'.
(epg--start): Call `pinentry-start' with QUIET argument set.
2015-11-06 10:56:49 +09:00
Xue Fuqiao
8311d3929a * doc/emacs/ack.texi (Acknowledgments): Updates. 2015-11-06 07:30:32 +08:00
Juanma Barranquero
7afaf0c0de * test/automated/elisp-mode-test.el: Silence some run-time warnings
(xref-elisp-deftest): Bind `find-file-suppress-same-file-warnings' to t.
2015-11-05 22:47:52 +01:00
Tassilo Horn
ddb8069d9b Add prettify symbol for \times
* lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Add
prettification support for \times.
2015-11-05 21:12:37 +01:00
Juanma Barranquero
0880d5f6e1 * test/automated/process-tests.el: Skip tests when bash is not available
(process-test-sentinel-accept-process-output)
(process-test-sentinel-sit-for): skip-unless bash executable found.
2015-11-05 19:42:47 +01:00
Eli Zaretskii
3be53aaed1 Add test for bug #21831
* test/automated/process-tests.el
(start-process-should-not-modify-arguments): New test.  (Bug#21831)
Suggested by Nicolas Richard <youngfrog@members.fsf.org>
2015-11-05 20:12:19 +02:00
Glenn Morris
6540f6c586 ; Auto-commit of loaddefs files. 2015-11-05 06:17:56 -05:00
Juanma Barranquero
c9def83b49 ; * test/automated/elisp-mode-tests.el: Fix typo. 2015-11-05 12:01:25 +01:00
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