summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* More path fixesfeature/smaller-windowsPhillip Lord2019-09-181-2/+2
|
* Path fixesPhillip Lord2019-09-181-3/+4
|
* Load src files from local if availablePhillip Lord2019-09-181-7/+13
| | | | * admin/nt/dist-build/build-dep-zips.py
* Remove debugPhillip Lord2019-09-181-8/+3
| | | | * admin/nt/dist-build/build-dep-zips.py:
* Improve logic for dependencies checkingPhillip Lord2019-06-052-21/+67
| | | | * admin/nt/dist-build/build-dep-zips.py:
* User-friendly display of error messages at the end of minibufferJuri Linkov2019-06-032-0/+28
| | | | | | * lisp/simple.el (minibuffer-setup-hook): Add minibuffer-error-initialize. (minibuffer-error-initialize, minibuffer-error-function): New functions. (Bug#34939)
* * lisp/char-fold.el (char-fold-make-table): New functionJuri Linkov2019-06-032-31/+42
| | | | | | | | 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.
* * lisp/gnus/gnus-async.el: Use lexical-bindingStefan Monnier2019-06-031-15/+9
| | | | | | | 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 ...)
* lisp/gnus/message.el (message-send-mail): Don't wrongly assert on Unicode msgOleh Krehel2019-06-031-4/+6
| | | | | | | | | | | 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.
* * help-fns.el (help-fns--first-release): Do not fail if no release is found.Juanma Barranquero2019-06-031-2/+3
|
* * gnus-(sum|async).el: Eliminate assumptions about gnus-data formatStefan Monnier2019-06-022-18/+26
| | | | | | | | | | | * 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.
* * gnus.el: Fix cycle in eager macroexpansionStefan Monnier2019-06-022-54/+31
| | | | | | | | | | | * 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.
* * lisp/help-fns.el: Make hyperlink for the "first release" infoStefan Monnier2019-06-022-16/+27
| | | | | | | * 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.
* Change default offset of CC Mode syntactic symbol inlambda to 0Alan Mackenzie2019-06-022-6/+8
| | | | | | | | | | | 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.
* Skip some flymake tests on hydra.nixos.orgGlenn Morris2019-06-011-0/+3
| | | | | | * 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)
* Use lexical-binding in morse.el and studly.el and add testsStefan Kangas2019-06-014-2/+114
| | | | | | | * 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.
* Use lexical-binding in paragraphs.el and add testsStefan Kangas2019-06-012-17/+193
| | | | | | * lisp/textmodes/paragraphs.el: Use lexical-binding. (repunctuate-sentences): Make it work non-interactively. * test/lisp/textmodes/paragraphs-tests.el: New file.
* Fix .gitignore spec for personal customizationsPaul Eggert2019-06-011-1/+3
| | | | | Problem reported by Mauro Aranda (Bug#35945). * .gitignore: Replace .dir-locals?.el with .dir-locals-2.el.
* Tune cl-assocPaul Eggert2019-06-011-1/+1
| | | | * lisp/emacs-lisp/cl-seq.el (cl-assoc): Use assq for fixnums.
* Fix `cl-member' and `cl-assoc' for bignumsMattias Engdegård2019-06-012-4/+10
| | | | | * 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.
* ; Add NEWS entry for previous changeNoam Postavsky2019-06-011-0/+5
|
* Make rcirc PART and QUIT reasons customizable (Bug#12857)Daniel Ralston2019-06-011-4/+15
| | | | | | | | * rcirc.el: (rcirc-default-part-reason, rcirc-default-quit-reason): New customizable vars. (rcirc-cmd-quit, rcirc-cmd-part): Consult them. Copyright-paperwork-exempt: yes
* Handle argument to rcirc /part properly (Bug#11157)Noam Postavsky2019-06-012-7/+17
| | | | | | * lisp/net/rcirc.el (part): Split out channel name and part reason. * doc/misc/rcirc.texi (rcirc commands): Clarify that channel name may be provided to /part.
* * lisp/net/rcirc.el: Remove redundant :group usageNoam Postavsky2019-06-011-106/+50
| | | | ... and empty Todo comment section.
* ; Fix stray merge conflictGlenn Morris2019-06-011-6/+1
|
* Debug and disentangle the literal cacheing in CC ModeAlan Mackenzie2019-06-012-33/+24
| | | | | | | | | | | | | | (Final Commit) * lisp/progmodes/cc-engine.el (c-semi-trim-near-cache): Correct a comparison with the wrong ...-limit variable. (c-semi-pp-to-literal): Remove a wrong setting of c-lit-pos-cache-limit. (c-full-get-near-cache-entry): Eliminate extravagant and unneeded coding. (c-state-cache-init, c-record-parse-state-state): No longer manipulate c-lit-pos-cache, which is no longer regarded as part of c-parse-state. * lisp/progmodes/cc-mode.el (c-basic-common-init): Call c-truncate-lit-pos-cache to initialize the literal cache.
* * lisp/progmodes/cc-engine.el: Permute certain literal cacheing functionsAlan Mackenzie2019-06-011-271/+276
|
* Tidy up the literal cacheing in CC Mode, optimizing c-full-pp-to-literalAlan Mackenzie2019-06-013-120/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (Intermediate commit) * lisp/progmodes/cc-engine.el, lisp/progmodes/cc-fonts.el * lisp/progmodes/cc-mode.el : Rename: c-state-semi-nonlit-pos-cache -> c-lit-pos-cache, c-state-semi-nonlit-pos-cache-limit -> c-lit-pos-cache-limit, c-state-semi-nonlit-near-cache -> c-semi-lit-near-cache, c-truncate-semi-nonlit-pos-cache -> c-truncate-lit-pos-cache, c-state-semi-trim-near-cache -> c-semi-trim-near-cache, c-state-semi-get-near-cache-entry -> c-semi-get-near-cache-entry, c-state-semi-put-near-cache-entry -> c-semi-put-near-cache-entry, c-state-semi-pp-to-literal -> c-semi-pp-to-literal, c-state-full-pp-to-literal -> c-full-pp-to-literal, c-state-semi-trim-cache -> c-trim-lit-pos-cache. * lisp/progmodes/cc-engine.el (c-semi-near-cache-limit): New variable. (c-truncate-lit-pos-cache): This now truncates the cache variables for all three lit- sub-caches. (c-semi-put-near-cache-entry): Increase c-semi-near-cache-limit to the position of the new entry. (c-full-near-cache-limit, c-full-lit-near-cache): New variables. (c-full-trim-near-cache, c-full-get-near-cache-entry) (c-full-put-near-cache-entry): New functions. (c-full-pp-to-literal): Amend to use the new functions, and to optimize the use of the available caches, similarly to c-semi-pp-to-literal.
* ; UnmaintainGlenn Morris2019-06-0120-20/+20
|
* Merge from origin/emacs-26Glenn Morris2019-06-014-5/+17
|\ | | | | | | | | | | | | | | | | 008b263 (origin/emacs-26, emacs-26) * lisp/gnus/gnus.el: Mark autoloa... daf32f1 Speed up redisplay of HELLO d8a6d82 Improve documentation of 'safe-local-variable' property # Conflicts: # etc/HELLO
| * * lisp/gnus/gnus.el: Mark autoloaded macros as such.Glenn Morris2019-06-011-5/+5
| | | | | | | | This avoids a build failure.
| * Speed up redisplay of HELLOEli Zaretskii2019-06-012-0/+2
| | | | | | | | | | | | | | | | | | * etc/HELLO: Set 'inhibit-compacting-font-caches' non-nil locally. (Bug#36032) * lisp/files.el: Add 'inhibit-compacting-font-caches' to the list of built-in variables for which we set up 'safe-local-variable' properties.
| * Improve documentation of 'safe-local-variable' propertyEli Zaretskii2019-06-011-0/+5
| | | | | | | | | | | | * doc/lispref/variables.texi (File Local Variables): Document how to define 'safe-local-variable' properties for built-in variables.
* | ; Merge from origin/emacs-26Glenn Morris2019-06-010-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: b3df372 * lisp/emacs-lisp/package.el: Obey buffer-file-coding-system ...
| * * lisp/emacs-lisp/package.el: Obey buffer-file-coding-system (bug#35739)Stefan Monnier2019-05-311-9/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `url-insert-file-contents` saves in buffer-file-coding-system the coding-system used to decode the contents. Preserve this as the contents is moved from buffer to string to buffer, and use it when saving the contents to file, so as to try and better preserve the original byte sequence. (package--buffer-string, package--cs): New functions. (package--check-signature): Encode `string` if a coding-system was specified in buffer-file-coding-system. (package--download-one-archive, package-install-from-archive): Obey and preserve the buffer-file-coding-system if specified. Do not merge.
* | Merge from origin/emacs-26Glenn Morris2019-06-016-19/+48
|\ \ | |/ | | | | | | | | 134edc1 Warn about wrong number of args for subrs (Bug#35767) 5f01af6 Use plain symbols for eieio type descriptors (Bug#29220) 4b24b01 Pacify GCC 9 -Wredundant-decls
| * Warn about wrong number of args for subrs (Bug#35767)Noam Postavsky2019-05-302-1/+15
| | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Don't assume byte-compile-fdefinition will return non-nil. * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-warn-wrong-args) (bytecomp-warn-wrong-args-subr): New tests.
| * Use plain symbols for eieio type descriptors (Bug#29220)Noam Postavsky2019-05-303-10/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Emacs 26, eieio objects use a class record (with circular references) as the type descriptor of the object record. This causes problems when reading back an object from a string, because the class record is not `eq' to the canonical one (which means that read objects don't satisfy the foo-p predicate). * lisp/emacs-lisp/eieio.el (make-instance): As a (partial) fix, set the record's type descriptor to a plain symbol for the type descriptor when eieio-backward-compatibility is non-nil (the default). * lisp/emacs-lisp/eieio-core.el (eieio--object-class): Call eieio--class-object on the type tag when eieio-backward-compatibility is non-nil. (eieio-object-p): Use eieio--object-class instead of eieio--object-class-tag. * test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el (eieio-test-persist-hash-and-vector) (eieio-test-persist-interior-lists): Make into functions. (eieio-persist-hash-and-vector-backward-compatibility) (eieio-persist-hash-and-vector-no-backward-compatibility) (eieio-test-persist-interior-lists-backward-compatibility) (eieio-test-persist-interior-lists-no-backward-compatibility): New tests which call them, eieio-backward-compatibility let-bound.
| * Pacify GCC 9 -Wredundant-declsPaul Eggert2019-05-301-8/+1
| | | | | | | | | | | | | | | | * src/gmalloc.c (_fraghead) [!HYBRID_MALLOC]: Make it static in this case, too. This avoids having both ‘extern struct list _fraghead[];’ and ‘static struct list _fraghead[BLOCKLOG];’, which GCC 9 complains about.
* | ; Merge from origin/emacs-26Glenn Morris2019-06-010-0/+0
|\ \ | |/ | | | | | | | | | | The following commits were skipped: 7871c3d Pacify librsvg 2.45.1 and later d93f4bd Simplify xd_signature to pacify GCC 9
| * Pacify librsvg 2.45.1 and laterPaul Eggert2019-05-301-0/+15
| | | | | | | | | | | | * src/image.c (svg_load_image): Pacify librsvg 2.45.1 and later, and add a FIXME comment about the deprecated librsvg functions. Backport from master.
| * Simplify xd_signature to pacify GCC 9Paul Eggert2019-05-301-5/+3
| | | | | | | | | | | | * src/dbusbind.c (xd_signature): Use simpler way to set up the subsignature. This also pacifies GCC 9 on Fedora 30 x86-64. Backport from master.
* | Merge from origin/emacs-26Glenn Morris2019-06-011-0/+1
|\ \ | |/ | | | | b2e44b4 Pacify GCC when compiling unexelf.c on Fedora 30
| * Pacify GCC when compiling unexelf.c on Fedora 30Paul Eggert2019-05-301-0/+1
| | | | | | | | * src/unexelf.c (unexec): Pacify GCC 9.
* | ; Merge from origin/emacs-26Glenn Morris2019-06-010-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: fa9e575 Suppress GCC 9 “no longer supported” messages
| * Suppress GCC 9 “no longer supported” messagesPaul Eggert2019-05-301-2/+1
| | | | | | | | | | | | | | * m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Remove -Wchkp. This suppresses a boatload of warnings of the form “gcc: warning: switch ‘-Wchkp’ is no longer supported”. when using GCC 9. Do not merge to master.
* | Merge from origin/emacs-26Glenn Morris2019-06-011-2/+3
|\ \ | |/ | | | | 1b2f83b Fix docstring of bookmark-get-bookmark
| * Fix docstring of bookmark-get-bookmarkStefan Kangas2019-05-301-2/+3
| | | | | | | | | | * lisp/bookmark.el (bookmark-get-bookmark): Document optional argument NOERROR. (bug#20148)
* | ; Merge from origin/emacs-26Glenn Morris2019-06-010-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: c4d4dcf Avoid infloop in read-multiple-choice (Bug#32257)
| * Avoid infloop in read-multiple-choice (Bug#32257)Noam Postavsky2019-05-261-2/+7
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/rmc.el (read-multiple-choice): When `read-char' signals an error "Non-character input-event", call `read-event' to take the non-character event out of the queue. Don't merge to master, we just use `read-event' directly there, rather than this solution which relies a particular error message.