- 06 Jun, 2019 1 commit
-
-
Noam Postavsky authored
Instead of using after-change-functions. Also, stop consulting nxml-prolog-regions during syntax-propertize. It turns out the problems fixed by using prolog information are actually due to using the wrong syntax table during propertizing. This was fixed in 2019-06-04 "* lisp/emacs-lisp/syntax.el: Use syntax-ppss-table for syntax-propertize." so consulting the prolog data is no longer needed. * lisp/nxml/nxml-rap.el (nxml-maybe-rescan-prolog): Remove. * lisp/nxml/nxml-mode.el (nxml-mode): Stop using it. (nxml-syntax-propertize): Don't use nxml-prolog-regions, just call nxml-scan-prolog if needed before delegating to sgml-syntax-propertize. * test/lisp/nxml/nxml-mode-tests.el (nxml-mode-edit-prolog): New test.
-
- 05 Jun, 2019 7 commits
-
-
Alan Third authored
* lisp/image.el (image--get-imagemagick-and-warn): Only fallback to ImageMagick if native transforms aren't available. * src/dispextern.h (INIT_MATRIX, COPY_MATRIX, MULT_MATRICES): New macros for matrix manipulation. (HAVE_NATIVE_SCALING, HAVE_NATIVE_TRANSFORMS): Rename and change all relevant locations. * src/image.c (x_set_image_rotation): (x_set_transform): New functions. (x_set_image_size): Use transform matrix for resizing under X and NS. (x_set_image_crop): New function. (lookup_image): Use the new transform functions. (Fimage_scaling_p, Fimage_transforms_p): Rename and update all callers. * src/nsimage.m (ns_load_image): Remove rotation code. (ns_image_set_transform): New function. ([EmacsImage dealloc]): Release the saved transform. ([EmacsImage rotate:]): Remove unneeded method. ([EmacsImage setTransform:]): New method. * src/nsterm.h (EmacsImage): Add transform property and update method definitions. * src/nsterm.m (ns_dumpglyphs_image): Use the transform to draw the image correctly. * src/xterm.c (x_composite_image): Use PictOpSrc as we don't care about alpha values here. * doc/lispref/display.texi (Image Descriptors): Add :rotation. (ImageMagick Images): Remove :rotation.
-
Phillip Lord authored
* admin/nt/dist-build/build-zips.sh: Remove -g3 from release build and install with install-strip
-
Juri Linkov authored
to display buffer in bottom direction with fit-window-to-buffer. * lisp/proced.el (proced-with-processes-buffer): Idem. (Bug#35592)
-
Michael Albinus authored
(Traces and Profiles): Add `tramp-verbose' to @vindex.
-
Noam Postavsky authored
* test/lisp/nxml/nxml-mode-tests.el (nxml-mode->-after-quote): New test.
-
Dario Gjorgjevski authored
* lisp/emacs-lisp/syntax.el (syntax-propertize): Use (syntax-table) instead of syntax-ppss-table when the latter is nil.
-
Stefan Monnier authored
`syntax-ppss` uses `syntax-ppss-table` while parsing the buffer as well as when it calls `syntax-propertize`, but `syntax-propertize` can also be called directly rather than via `syntax-ppss` so it needs to explicitly use `syntax-ppss-table` as well in order to avoid using sometimes one table and sometimes another. (syntax-ppss-table): Move before new use. (syntax-propertize): Use it.
-
- 04 Jun, 2019 17 commits
-
-
Paul Eggert authored
* lisp/international/quail.el, lisp/language/ind-util.el: * lisp/language/indian.el, lisp/mail/smtpmail.el, lisp/mwheel.el: * lisp/obsolete/longlines.el, lisp/progmodes/idlw-complete-structtag.el: * lisp/progmodes/idlw-help.el, lisp/progmodes/idlw-shell.el: * lisp/progmodes/idlw-toolbar.el, lisp/progmodes/idlwave.el: * lisp/progmodes/simula.el, lisp/ps-print.el, lisp/ps-samp.el: Remove Maintainer: lines for maintainers who have retired.
-
Stefan Monnier authored
Get rid of references to the free variables of `body` once the thunk has been forced (bug#30626).
-
Stefan Monnier authored
-
Jackson Ray Hamilton authored
* lisp/progmodes/js.el (js-jsx--syntax-propertize-tag): Indicate the matching parenthesis character (since JSX’s < and > aren’t typical parenthesis) for the sake of packages like rainbow-delimiters which need that information.
-
Jackson Ray Hamilton authored
This reverts commit 382a508e. We ended up deciding against using this in js2-mode. Instead, js2-mode may eventually use js-mode’s syntax-propertize-function to set syntax-table text properties.
-
Paul Eggert authored
* doc/lispref/spellfile: Omit words no longer in the manual. How is this spellfile used? Does anybody use it any more?
-
Paul Eggert authored
* doc/lispintro/emacs-lisp-intro.texi (Digression into C): Adjust to match current C code. * lisp/emacs-lisp/ert.el (ert--force-message-log-buffer-truncation): Simplify. * src/.gdbinit (Lisp_Object_Printer.to_string): Return a string that says "make_fixnum", not "make_number".
-
Paul Eggert authored
Without this fix, Emacs can get into a tight loop reporting a range error when calculating timestamps. * doc/lispref/numbers.texi (Integer Basics): * src/alloc.c (syms_of_alloc): Document this. * src/bignum.c (make_bignum_bits): Always allow bignums of at least twice the width of (u)intmax_t.
-
Stefan Monnier authored
-
Noam Postavsky authored
The change on 2016-01-16 "lisp/nxml: Use syntax-tables for comments" removed the update of nxml-prolog-end, although it already failed to work correctly after 2013-10-07 "* lisp/nxml/nxml-mode.el: Use lexical-binding and syntax-propertize." * lisp/nxml/nxml-rap.el: New function. * lisp/nxml/nxml-mode.el (nxml-mode): Add it to after-change-functions.
-
Noam Postavsky authored
* lisp/nxml/nxml-mode.el (nxml-syntax-propertize): New function. (nxml-mode): Use it as the syntax-propertize-function. * test/lisp/nxml/nxml-mode-tests.el (nxml-mode-doctype-and-quote-syntax) (nxml-mode-prolog-comment): New tests.
-
Noam Postavsky authored
* lisp/textmodes/sgml-mode.el (sgml-font-lock-syntactic-face): New function. (sgml-mode): * lisp/nxml/nxml-mode.el (nxml-mode): Use it as font-lock-syntactic-face-function value.
-
Noam Postavsky authored
* lisp/textmodes/sgml-mode.el (sgml-syntax-propertize-rules): Handle single and double quotes symmetrically. Don't skip quoted comment enders. * test/lisp/textmodes/sgml-mode-tests.el (sgml-tests--quotes-syntax): Add more test cases. (sgml-mode-quote-in-long-text): New test.
-
Michael Albinus authored
* lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): * lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-maybe-open-connection): Use `tramp-get-connection-name'. * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link): * lisp/net/tramp-smb.el (tramp-smb-handle-make-symbolic-link): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-make-symbolic-link): Don't check remote TARGET. * lisp/net/tramp.el (tramp-dissect-file-name): Check for proper method. (tramp-file-name-for-operation): Take only 2nd argument into account for file name handler. (tramp-file-name-handler): Suppress checks for `file-remote-p'. * test/lisp/net/tramp-archive-tests.el (tramp-archive-test02-file-name-dissect): Suppress check for wrong method. * test/lisp/net/tramp-tests.el (tramp--test-instrument-test-case): Dump *all* Tramp buffers. (tramp-test02-file-name-dissect) (tramp-test02-file-name-dissect-simplified) (tramp-test02-file-name-dissect-separate): Check also wrong method. (tramp-test03-file-name-defaults): Check, that the respective Tramp package is loaded. (tramp-test04-substitute-in-file-name) (tramp-test05-expand-file-name) (tramp-test06-directory-file-name, tramp-test44-auto-load): Suppress check for wrong method. (tramp-test30-make-process): Remove instrumentation code. (tramp-test31-interrupt-process, tramp-test36-vc-registered): Guarantee that connection is established prior starting process.
-
YAMAMOTO Mitsuharu authored
-
YAMAMOTO Mitsuharu authored
-
Noam Postavsky authored
* lisp/subr.el (progress-reporter-update) (progress-reporter-force-update, progress-reporter-do-update): Accept new optional argument, SUFFIX. * doc/lispref/display.texi (Progress): Document it. * etc/NEWS: Announce it. * lisp/tar-mode.el (tar-untar-buffer): Use a progress reporter instead of calling message. Suppress message from write-region. Let-bind write-region-inhibit-fsync to t.
-
- 03 Jun, 2019 5 commits
-
-
Juri Linkov authored
* lisp/simple.el (minibuffer-setup-hook): Add minibuffer-error-initialize. (minibuffer-error-initialize, minibuffer-error-function): New functions. (Bug#34939)
-
Juri Linkov authored
with body extracted from INITVALUE of defconst (bug#35689). Bind search-spaces-regexp to nil (bug#35802). * test/lisp/char-fold-tests.el: Relocate helpers to file beginning. (char-fold--test-bug-35802): New test.
-
Stefan Monnier authored
Remove redundant :group args. (gnus-async-post-fetch-function): Make it always be a function. (gnus-make-async-article-function, gnus-async-prefetch-headers): Use a closure rather than `(lambda ...)
-
Oleh Krehel authored
Using this setting: (setq message-send-mail-function 'message-send-mail-with-sendmail) (setq sendmail-program "msmtp") the message seding is handled by an external program, so no Unicode encoding is performed in Emacs. Thus Emacs must not assert that the Unicode encoding was performed.
-
Juanma Barranquero authored
-
- 02 Jun, 2019 10 commits
-
-
Stefan Monnier authored
* lisp/gnus/gnus-async.el (gnus-async-with-semaphore): Use `declare`. (gnus-async-prefetch-next): Don't assume gnus-data-number == car. * lisp/gnus/gnus-sum.el (gnus-data-find-in): New function. (gnus-data-find, gnus-data-find-list): Use it. (gnus-summary-article-subject): Make it a function. (gnus--dummy-data-list): New const. (gnus-update-summary-mark-positions): Use it.
-
Stefan Monnier authored
* lisp/gnus/gnus-sum.el (gnus-data): Use cl-defstruct. (gnus-data-set-pos, gnus-data-set-header, gnus-data-set-mark) (gnus-data-set-number): Delete macros; use `setf` instead. (gnus-data-unread-p, gnus-data-read-p, gnus-data-pseudo-p, gnus-data-find) (gnus-summary-skip-intangible, gnus-summary-article-number): Redefine as inlinable functions rather than macros. * lisp/gnus/gnus.el: Adjust autoloads for the macros turned functions.
-
Stefan Monnier authored
* lisp/help-fns.el (help-fns--first-release): Return a "button". (help-fns--mention-first-release): Preserve the string's text-properties. * lisp/help-mode.el (help-news): New button type.
-
Alan Mackenzie authored
It's previous default was c-lineup-inexpr-block. This change is mainly to prevent excessive indentation of the innards of C++ lambda functions. * lisp/progmodes/cc-vars.el (c-offsets-alist): Amend the offset for inlambda to 0. * doc/misc/cc-mode.texi (FAQ): Amend the answer to the question about this matter.
-
Glenn Morris authored
* test/lisp/progmodes/flymake-tests.el (perl-backend) (included-c-header-files, recurrent-backend): Skip on hydra.nixos due to frequent intermittent failures. (Bug#32764)
-
Stefan Kangas authored
* lisp/play/morse.el: Use lexical-binding. * lisp/play/studly.el: Use lexical-binding. * test/lisp/play/morse-tests.el: New file. * test/lisp/play/studly-tests.el: New file.
-
Stefan Kangas authored
* lisp/textmodes/paragraphs.el: Use lexical-binding. (repunctuate-sentences): Make it work non-interactively. * test/lisp/textmodes/paragraphs-tests.el: New file.
-
Paul Eggert authored
Problem reported by Mauro Aranda (Bug#35945). * .gitignore: Replace .dir-locals?.el with .dir-locals-2.el.
-
Paul Eggert authored
* lisp/emacs-lisp/cl-seq.el (cl-assoc): Use assq for fixnums.
-
Mattias Engdegård authored
* lisp/emacs-lisp/cl-seq.el (cl-member, cl-assoc): Work with bignums. * test/lisp/emacs-lisp/cl-seq-tests.el (cl-seq-bignum-eql): New.
-