summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * .gitlab-ci.yml: Add setup for GitLab CI builds.scratch/tzz/gitlabTed Zlatanov2017-04-261-0/+17
|
* ; * lisp/Makefile.in: More comments about loaddefs.Glenn Morris2017-04-261-5/+7
|
* ; * lisp/Makefile.in: Comments about loaddefs.Glenn Morris2017-04-261-19/+36
|
* Make charprop.el provide a featureGlenn Morris2017-04-262-4/+7
| | | | | | * admin/unidata/unidata-gen.el (unidata-gen-charprop): Provide a feature. * lisp/loadup.el: Use the charprop feature.
* ; * lisp/loadup.el: Revert accidental blank line in previous.Glenn Morris2017-04-261-1/+0
|
* * lisp/loadup.el: Get charprop.el into etc/DOC again.Glenn Morris2017-04-261-1/+3
|
* * lisp/ido.el (ido-everywhere): Use add-function.Stefan Monnier2017-04-261-12/+4
|
* Try to fix latest fix of w32_mouse_positionMartin Rudalics2017-04-261-14/+14
| | | | | * src/w32term.c (w32_mouse_position): Fix a bug introduced by latest fix and try to make the affected code more rigorous.
* Avoid segfaults when 'find-font' is invoked for a TTY frameEli Zaretskii2017-04-261-11/+13
| | | | | * src/font.c (font_pixel_size): Don't call GUI functions if F is a text-mode frame. (Bug#26646)
* * lisp/net/tramp.el (tramp-set-connection-local-variables-for-buffer):Michael Albinus2017-04-261-0/+13
| | | | New defun.
* * src/Makefile.in (leimdir): Remove variable, no longer used.Glenn Morris2017-04-251-1/+0
|
* Generate leim-list via lisp/Makefile, not src/MakefileGlenn Morris2017-04-252-5/+5
| | | | | | * src/Makefile.in ($(leimdir)/leim-list.el): Remove rule. (emacs$(EXEEXT)): Don't depend on leim-list. * lisp/Makefile.in ($(lisp)/loaddefs.el): Depend on gen-lisp again.
* Fix define for GNUstep buildsAlan Third2017-04-251-1/+2
| | | | | * src/nsterm.m (initFrameFromEmacs): Fix the ifdef so that GNUstep doesn't see the code.
* Suppress intermittent test failure on hydraGlenn Morris2017-04-251-0/+3
| | | | | * test/lisp/emacs-lisp/eieio-tests/eieio-test-methodinvoke.el (eieio-test-method-order-list-6): Skip on hydra.
* Fix some NS frame handling issuesAlan Third2017-04-251-15/+43
| | | | | | | | | | | * src/nsterm.m (FRAME_DECORATED_FLAGS, FRAME_UNDECORATED_FLAGS): New defines intended to make things tidier. (x_set_undecorated): Use the new defines. (windowWillResize): Don't use new macOS 12+ only feature. (initFrameFromEmacs): Use the new defines, and disable automatic window tabbing feature in macOS 12. (x_set_undecorated, x_set_parent_frame, x_set_no_accept_focus, x_set_z_group): Add NSTRACE notices.
* Avoid parallel race conditionGlenn Morris2017-04-251-1/+1
| | | | * lisp/Makefile.in ($(lisp)/loaddefs.el): Remove gen-lisp for now.
* Generate each unicode lisp file independentlyGlenn Morris2017-04-243-55/+36
| | | | | | | | | | | | | | | | This is better for parallel builds, eg it eliminates race conditions from having one process write multiple files. * admin/unidata/Makefile.in (lparen, unifiles): New variables. Parse unidata-gen.el, not charprop.el, to get the list of uni- files. (all): Explicitly list the output lisp files. (PHONY_EXTRAS): Remove. (${unidir}/charprop.el): Change rule to just be for this file. (${unifiles}): New rule to write each unicode lisp file. (extraclean): Simplify. * admin/unidata/unidata-gen.el (unidata-gen-charprop): Quieten in batch mode. (unidata-gen-files): Remove, no longer used. * lisp/loadup.el: Update command-line parser.
* Further refactoring in unidata-gen.elGlenn Morris2017-04-241-22/+23
| | | | | | * admin/unidata/unidata-gen.el (unidata-gen-charprop): New function, split from unidata-gen-files. (unidata-gen-files): Use unidata-gen-charprop.
* Allow unidata-gen-file to work independentlyGlenn Morris2017-04-241-34/+42
| | | | | | * admin/unidata/unidata-gen.el (unidata-gen-file): Make it work as a stand-alone function in batch mode. (unidata-gen-files): Pass extra arguments to unidata-gen-file.
* Preparatory refactoring in unidata-gen.elGlenn Morris2017-04-241-37/+44
| | | | | | * admin/unidata/unidata-gen.el (unidata-gen-file): New function, split from unidata-gen-files. (unidata-gen-files): Use unidata-gen-file.
* Write each generated character property lisp file only onceGlenn Morris2017-04-241-231/+235
| | | | | | | | | | | | | | | | | | | * admin/unidata/unidata-gen.el (unidata-file-alist): Rename from unidata-prop-alist. All users changed. Use file name rather than property name as the key. (unidata-prop-prop): New function. (unidata-prop-index, unidata-prop-generator, unidata-prop-docstring) (unidata-prop-describer, unidata-prop-default, unidata-prop-val-list): Change to parse the argument rather than unidata-prop-alist. (unidata-gen-table-character, unidata-gen-table) (unidata-gen-table-symbol, unidata-gen-table-integer) (unidata-gen-table-numeric, unidata-gen-table-word-list) (unidata-gen-table-name, unidata-gen-table-decomposition) (unidata-gen-table-special-casing): Pass index as an argument. (unidata-check): Adapt to unidata-file-alist. Pass index to generator functions. (unidata-gen-files): Adapt to unidata-file-alist. Write each output file once only. Overwrite rather than delete.
* Fix requesting sparse articles in gnusAndrew G Cohen2017-04-251-3/+3
| | | | | * lisp/gnus/gnus-art.el (gnus-request-article-this-buffer): Delete the sparse article number from the list, not its id.
* Don't advertise s_client in tls.el docsGlenn Morris2017-04-242-8/+8
| | | | | | * lisp/net/tls.el (tls-end-of-info, tls-success, tls-untrusted): Don't mention s_client in docs. ; * doc/misc/gnus.texi (Direct Functions): Comment.
* Remove s_client usage from tls.elRob Browning2017-04-241-11/+6
| | | | | | | | * lisp/net/tls.el (tls-program, tls-checktrust): Remove s_client. Ref http://bugs.debian.org/766397 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00803.html ; Backport this to Emacs 25.3, if there is one
* Further robustify cedet bootstrap to loaddefs not yet builtGlenn Morris2017-04-241-0/+2
| | | | | | * lisp/cedet/semantic/util.el (semantic-something-to-tag-table): Avoid void-function error when bootstrapping and semantic/loaddefs.el does not yet exist.
* Fix XBM colour rendering in NS port (bug#22060)Alan Third2017-04-241-1/+1
| | | | src/nsimage.m (setXBMColor): Fix calculation of xbm_fg.
* Add support for IRCv3 message tags.Vibhav Pant2017-04-242-6/+29
| | | | | | | | | | | * erc-backend.el: erc-response: Add `tags' element. Add (erc-parse-tags). (erc-parse-server-response): Use (erc-parse-tags) to parse message tags (if any), and store them in `erc-resopnse' struct. * erc.el: (erc-display-message): Expose message tags with text properties of the corresponding message line.
* Add image sizing tests for an image that's narrowLars Ingebrigtsen2017-04-242-17/+45
|
* Needlessly refactor tests for clarityLars Ingebrigtsen2017-04-241-15/+15
|
* Add missing remappings for Ido modePhilipp Stephani2017-04-233-3/+112
| | | | | | | | | | | | | | Among others, add a remapping for C-x 4 d, cf. Bug#26360. * lisp/ido.el (ido-mode): Remap missing commands. (ido-file-internal, ido-visit-buffer): Add support for new methods. (ido-display-buffer-other-frame) (ido-find-alternate-file-other-window, ido-dired-other-window) (ido-dired-other-frame): New commands. * test/lisp/ido-tests.el (ido-tests--other-window-frame): Add unit test for the bindings.
* Let w32_mouse_position pick a child window only if it has a child frameMartin Rudalics2017-04-231-8/+16
| | | | | | * src/w32term.c (w32_mouse_position): When using a frame found by ChildWindowFromPoint make sure it's a child frame (Bug#26615, maybe).
* Don't require bytecomp for running ert testsNoam Postavsky2017-04-222-2/+4
| | | | | | | | | | | | "Fix ert-tests when running compiled" 2016-12-06 accidentally introduced a dependency on `bytecomp' into `ert'. As mentioned in "Avoid ert test failures" 2017-04-18, the accidental dependency of ert on bytecomp was masked by loading other libraries until recently. * lisp/emacs-lisp/ert.el (ert--expand-should-1): Only use `byte-compile-macro-environment' if it's bound. * test/src/eval-tests.el: Add defvar for dynamic variable `byte-compile-debug'.
* Eliminate unneeded warp-to-article in gnus article referralAndrew G Cohen2017-04-231-2/+0
| | | | | * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): (gnus-summary-refer-article): Remove gnus-warp-to article call.
* Allow limiting gnus summary buffers to a threadAndrew G Cohen2017-04-231-5/+15
| | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-limit-include-thread): Include an optional argument to allow limiting the summary buffer to just the thread-related articles. (gnus-refer-thread-limit-to-thread): Introduce customizable variable to control whether thread-referral adds the thread to the summary buffer or limits to just the thread. (gnus-summary-refer-thread): Use the new variable.
* Correct gnus-newsgroup-limits in gnus when including threadAndrew G Cohen2017-04-231-0/+8
| | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-limit-include-thread): Should only add one list of thread-related articles to gnus-newsgroup-limits rather than two.
* Improve gnus thread matching of similar subjectsAndrew G Cohen2017-04-231-1/+1
| | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-limit-include-thread): Use the more liberal gnus-general-simplify-subject regexp to find thread articles with similar subjects.
* ; Merge: improve indent-sexp and lisp-indent-region performanceNoam Postavsky2017-04-222-57/+98
|\
| * Add new `lisp-indent-region' that doesn't reparse the code.Noam Postavsky2017-04-221-4/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both `lisp-indent-region' and `lisp-indent-line' now use `syntax-ppss' to get initial state, so they will no longer indent string literal contents. * lisp/emacs-lisp/lisp-mode.el (lisp-ppss): New function, like `syntax-ppss', but with a more dependable item 2. (lisp-indent-region): New function, like `indent-region-line-by-line' but additionally keep a running parse state to avoid reparsing the code repeatedly. Use `lisp-ppss' to get initial state. (lisp-indent-line): Take optional PARSE-STATE argument, pass it to `calculate-lisp-indent', use `lisp-ppss' if not given. (lisp-mode-variables): Set `indent-region-function' to `lisp-indent-region'.
| * Remove ignored argument from lisp-indent-lineNoam Postavsky2017-04-221-13/+7
| | | | | | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-indent-line): Remove WHOLE-EXP argument, the behavior has long since been handled in `indent-for-tab-command'. Also remove redundant `beg' and `shift-amt' variables and use `indent-line-to'.
| * * lisp/emacs-lisp/lisp-mode.el (indent-sexp): Clean up marker.Noam Postavsky2017-04-221-7/+9
| |
| * Don't reparse the sexp in indent-sexp (Bug#25122)Noam Postavsky2017-04-222-38/+43
|/ | | | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent): Let PARSE-START be a parse state that can be reused. (indent-sexp): Pass the running parse state to calculate-lisp-indent instead of the sexp beginning position. Saving the CONTAINING-SEXP-START returned by `calculate-lisp-indent' is no longer needed. Don't bother stopping if we don't descend below init-depth, since we now alway scan the whole buffer (via syntax-ppss) anyway. * test/lisp/emacs-lisp/lisp-mode-tests.el (indent-sexp): Add blank line to test case.
* Add cond test cases for singleton clauses.Vibhav Pant2017-04-221-1/+7
| | | | | * test/lisp/emacs-lisp/bytecomp-tests.el: Add test cond forms where the default clause is a single non-nil expression.
* b-c--cond-jump-table-info: Use correct body for singleton clausesVibhav Pant2017-04-221-2/+2
| | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-jump-table-info): When a clause's body consists of a single constant expression, use that expression as the body to be compiled. This fixes switch bytecode evaluating to nil to such clauses.
* ffap: Don't switch window unless neededPhilipp Stephani2017-04-222-8/+16
| | | | | | | | | | When using ffap-other-window, don't change the window configuration unless a new buffer has actually been created (Bug#25352). * lisp/ffap.el (ffap-other-frame): Don't change the window configuration if no new buffer has been created. * test/lisp/ffap-tests.el (ffap-other-window--bug-25352): Add unit test.
* Fix fontification of C++ declaration with type FOO::FOO.Alan Mackenzie2017-04-222-3/+7
| | | | | | | | | | | * lisp/progmodes/cc-engine.el (c-find-decl-spots): Initialize cfd-top-level properly. (c-forward-decl-or-cast-1): On finding FOO::FOO, check it is followed by "(" before deciding it is a constructor. * lisp/progmodes/cc-fonts.el (c-font-lock-complex-decl-prepare): Negate the result of the c-bs-at-toplevel-p call passed to c-font-lock-declarators (simple bug fix).
* Fix usage of FRAME_Z_GROUPPhilipp Stephani2017-04-221-1/+1
| | | | | * src/nsterm.m (initFrameFromEmacs:): FRAME_Z_GROUP does not return a Lisp object, cf. Bug#26597.
* Fix GNUstep buildAlan Third2017-04-222-16/+12
| | | | | | * src/nsfns.m (Fns_frame_z_list_order): Rewrite for GNUstep compatibility. * src/nsmenu.m (update_frame_tool_bar): Remove unused variable.
* Add no-accept-focus and frame-list-z-order to NS portAlan Third2017-04-214-5/+86
| | | | | | | | | | | | * lisp/frame.el (frame-list-z-order): Add NS. * src/nsfns.m: Add x_set_no_accept_focus to handler struct. (Fx_create_frame): Handle no-accept-focus parameter. (ns_window_is_ancestor): (Fns_frame_list_z_order): New functions. * src/nsterm.m (x_set_no_accept_focus): New function. (initFrameFromEmacs): Use EmacsWindow instead of EmacsFSWindow for non-fullscreen windows. (EmacsWindow:canBecomeKeyWindow): New function.
* Improve prefix handling for dash.elStefan Monnier2017-04-211-1/+2
| | | | | * lisp/emacs-lisp/autoload.el (autoload--make-defs-autoload): Don't drop dash's "-<letter>" prefixes.
* * lisp/emacs-lisp/cl-macs.el: Fix symbol-macroletStefan Monnier2017-04-212-5/+13
| | | | | | | | | Revert 0d112c00ba0ec14bd3014efcd3430b9ddcfe1fc1 (to fix bug#26325) and use a different fix for bug#26068. (cl--symbol-macro-key): New function. (cl--sm-macroexpand, cl-symbol-macrolet): Use it instead of `symbol-name`. * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-symbol-macrolet): Failure is not expected any more.