aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Compile list member functions in cond to switch (bug#36139)Mattias EngdegÄrd2019-06-192-37/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-jump-table-info): Expand `memq', `memql' and `member' to their corresponding equality tests. (byte-compile-cond-jump-table): Cases now have multiple values. * lisp/emacs-lisp/byte-opt.el (byte-decompile-bytecode-1) (byte-optimize-lapcode): Don't assume switch hash tables to be injective.
* | | Fix oversights of "support X core font driver on cairo" changeYAMAMOTO Mitsuharu2019-06-192-2/+2
| | | | | | | | | | | | | | | * src/Makefile.in (FONT_OBJ): Fix comment for USE_CAIRO. * src/xfns.c (x_create_tip_frame) [USE_CAIRO]: Register xfont_driver.
* | | --with-cairo is no longer experimentalPaul Eggert2019-06-192-1/+5
| | | | | | | | | | | | | | | | | | | | | Suggested by YAMAMOTO Mitsuharu in: https://lists.gnu.org/r/emacs-devel/2019-06/msg00686.html * configure.ac: Do not say --with-cairo is experimental. * etc/NEWS: Say that --with-cairo is no longer experimental.
* | | Disable lexical-binding in ediffGlenn Morris2019-06-1810-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | Since it breaks the thing (bug#36157, bug#36281). * lisp/vc/ediff-diff.el, lisp/vc/ediff-help.el, lisp/vc/ediff-hook.el: * lisp/vc/ediff-init.el, lisp/vc/ediff-merg.el, lisp/vc/ediff-mult.el: * lisp/vc/ediff-ptch.el, lisp/vc/ediff-vers.el, lisp/vc/ediff-wind.el: * lisp/vc/ediff.el: Set lexical-binding to nil.
* | | Fix the handling of font backend supersedence on MS-WindowsEli Zaretskii2019-06-183-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/w32font.c (syms_of_w32font): Don't make the Uniscribe font backend "superceded" here, ... * src/w32uniscribe.c (syms_of_w32uniscribe_for_pdumper): ... make it "superceded" here, only if the HarfBuzz DLL was successfully loaded. This is because Emacs compiled with HarfBuzz support might run on a system without the DLL. * src/w32fns.c (Fx_create_frame, w32_create_tip_frame): Register the HarfBuzz font backend only if it is available.
* | | Revert "Add a mechanism to specify expected shift/reduce .wy conflicts"Lars Ingebrigtsen2019-06-183-20/+8
| | | | | | | | | | | | | | | | | | This reverts commit f21ec24524c705e18674a2e9e4db37b11fa3ebab. *sigh* Revert again because this created a bootstrap problem in a different part of the process.
* | | Add a mechanism to specify expected shift/reduce .wy conflictsLars Ingebrigtsen2019-06-183-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/grammars/python.wy: Set the expected number of shift/reduce conflicts to four. * lisp/cedet/semantic/grammar.el (semantic-grammar-expected-conflicts): New function. * lisp/cedet/semantic/wisent/comp.el (wisent-total-conflicts): Use it to suppress warnings about the expected number of shift/reduce conflicts.
* | | Revert "Add a mechanism to specify expected shift/reduce .wy conflicts"Lars Ingebrigtsen2019-06-183-18/+8
| | | | | | | | | | | | | | | | | | This reverts commit d715ae8788e16b22f7f68cb82b51a40ad95c78c2. This commit led to a build error, so revert for now.
* | | Add a mechanism to specify expected shift/reduce .wy conflictsLars Ingebrigtsen2019-06-183-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/grammars/python.wy: Set the expected number of shift/reduce conflicts to four. * lisp/cedet/semantic/grammar.el (semantic-grammar-expected-conflicts): New function. * lisp/cedet/semantic/wisent/comp.el (wisent-total-conflicts): Use it to suppress warnings about the expected number of shift/reduce conflicts.
* | | Rename symbols in ind-util.el to have indian- prefixesLars Ingebrigtsen2019-06-181-6/+6
| | | | | | | | | | | | | | | | | | * lisp/language/ind-util.el (indian-ucs-to-is13194-regexp) (indian-ucs-to-iscii-region, indian-iscii-to-ucs-region): Rename unprefixed function to indian-*.
* | | Report progress during custom-make-dependencies instead of file countLars Ingebrigtsen2019-06-183-63/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/cus-dep.el (custom-make-dependencies): Rewrite to use reporter to report progress instead of how many files we've processed. * lisp/emacs-lisp/byte-run.el (byte-compile-info-string): New function. (byte-compile-info-message): Use it.
* | | Make quail conversion output quieterLars Ingebrigtsen2019-06-182-8/+1
| | | | | | | | | | | | | | | | | | | | | * lisp/international/quail.el (quail-update-leim-list-file): Ditto. * lisp/international/titdic-cnv.el (tit-process-header) (tit-process-body, miscdic-convert, batch-titdic-convert): Reduce messaging.
* | | Fix compilation warning in bookmark.elLars Ingebrigtsen2019-06-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/bookmark.el (bookmarks-already-loaded): Move obsolete alias definition to before its referent. In toplevel form: bookmark.el:279:1:Warning: Alias for `bookmark-bookmarks-timestamp' should be declared before its referent
* | | Output progress reports when scanning for finder/customLars Ingebrigtsen2019-06-182-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/cus-dep.el (custom-make-dependencies): Ditto. * lisp/finder.el (finder-compile-keywords): Instead of outputting the directories being scanned, output progress reports on the number of files being scanned. This makes the output more similar to the autoload scraping.
* | | Touch up the byte-compilation messaging in skkdic-set-okuri-nasiLars Ingebrigtsen2019-06-181-1/+2
| | | | | | | | | | | | | | | | | | * lisp/international/ja-dic-cnv.el (skkdic-set-okuri-nasi): Use the "INFO" format for these informational messages, and be more explicit in saying what they're doing.
* | | Add types to some no-type tokes in js.wyLars Ingebrigtsen2019-06-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/grammars/js.wy: Add types to the FALSE, TRUE and QUERY tokens. Without the types, you'd get the warning *Warning* default value of <<no-type>> tokens changed to QUERY, was NULL_TOKEN *Warning* default value of <<no-type>> tokens changed to TRUE, was QUERY *Warning* default value of <<no-type>> tokens changed to FALSE, was TRUE I think this should be harmless, and it doesn't seem to break handling .js files.
* | | Comment out useless nonterminals from python.wyLars Ingebrigtsen2019-06-181-10/+11
| | |
* | | Remove nonterminals that semantic claims are uselessLars Ingebrigtsen2019-06-181-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/grammars/js.wy (VariableStatement): Remove useless nonterminals. Debug output from wisent: Useless nonterminals: StatementList BlockExpand
* | | Silence spurious load message in latin-ltx.elLars Ingebrigtsen2019-06-181-1/+1
| | | | | | | | | | | | | | | * lisp/leim/quail/latin-ltx.el (latin-ltx--define-rules): Silence the `load' because it's not very informative.
* | | Tweak implementation of byte-compile-info-messageLars Ingebrigtsen2019-06-181-1/+1
| | | | | | | | | | | | | | | * lisp/emacs-lisp/byte-run.el (byte-compile-info-message): Clean up implementation.
* | | * bookmark.el: Watch bookmark file. Use lexical binding.Roland Winkler2019-06-182-125/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (bookmark-watch-bookmark-file): New user variable. (bookmark-alist): Fix docstring. (bookmark-bookmarks-timestamp): Renamed from bookmarks-already-loaded. (bookmark-maybe-load-default-file, bookmark-save, bookmark-load): Use bookmark-bookmarks-timestamp. (bookmark-bmenu-mode-map): Define menu bar menu. (bookmark-show-annotation, bookmark-show-all-annotations): Make bookmarks buffer read-only. (bookmark-bmenu-save): Use call-interactively.
* | | Support font driver supersessionYAMAMOTO Mitsuharu2019-06-186-82/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/font.c (font_update_drivers): If argument NEW_DRIVERS is t, then don't use superseded drivers. (syms_of_font) <Qfont_driver_superseded_by>: New DEFSYM. * src/ftfont.c (syms_of_ftfont) [HAVE_HARFBUZZ]: * src/ftcrfont.c (syms_of_ftcrfont) [HAVE_HARFBUZZ]: * src/w32font.c (syms_of_w32font) [HAVE_HARFBUZZ]: * src/xftfont.c (syms_of_xftfont) [HAVE_HARFBUZZ]: Make Harfbuzz variants supersede non-Harfbuzz ones. * src/w32fns.c (Fx_create_frame, w32_create_tip_frame): Remove font backend determination code.
* | | Output progress messages when scraping autoloads during bootstrapLars Ingebrigtsen2019-06-182-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/byte-run.el (byte-compile-info-message): New function to outout informational messages during byte compilation. * lisp/emacs-lisp/autoload.el (update-directory-autoloads): Use it to report progress when scraping autoloads during bootstrap (which may take half a minute).
* | | Silence message in latin-ltx about the normal situationLars Ingebrigtsen2019-06-181-4/+5
| | | | | | | | | | | | | | | * lisp/leim/quail/latin-ltx.el (latin-ltx--define-rules): Don't output the summary message unless there are conflicts.
* | | * src/image.c (image_set_rotation): Do negation at compile-time.Paul Eggert2019-06-171-2/+2
| | |
* | | Move defvars of c-doc-line-join-re + two others from cc-fonts.el to cc-mode.elAlan Mackenzie2019-06-172-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is because these variables are needed at runtime even when cc-fonts.el hasn't been loaded, as in XEmacs when font locking hasn't been enabled. * lisp/progmodes/cc-fonts.el (c-doc-line-join-re) (c-doc-bright-comment-start-re, c-doc-line-join-end-ch): Move definitions to cc-mode.el.
* | | Compilation work-around for obsolete eieio-object-set-name-stringLars Ingebrigtsen2019-06-172-8/+8
| | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/eieio-base.el (eieio-object-set-name-string): Move the generic definition of this method to here from eieio.el and place it after the cl-method definition. This avoids a warning about it being obsolete when doing macro expansion.
* | | Work around warning from macroexpanding obsolete methodLars Ingebrigtsen2019-06-171-9/+9
| | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/eieio.el (object-print): Move method definition to before generic definition because the generic definition obsoletes the method, which will then output a warning from when macroexpanding.
* | | Avoid a flyspell error if point is at beginning of bufferAlex Branham2019-06-171-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/flyspell.el (flyspell-generic-progmode-verify): Check if point is at the beginning of the buffer. This prevents an error when e.g. 'flyspell-auto-correct-word' gets called with point at the beginning of the buffer. Bug#35967
* | | Declare unknown slots to silence the compilerLars Ingebrigtsen2019-06-172-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/cedet/ede/config.el (classpath): Declare slot. (ede-java-classpath): Revert previous hack. * lisp/cedet/srecode/srt-mode.el (key): Declare slot. (srecode-macro-help): Revert previous hack. (srecode-parse-this-macro): Ditto.
* | | Change the eieio-declare-slots function into a macroLars Ingebrigtsen2019-06-171-2/+3
| | | | | | | | | | | | | | | * lisp/emacs-lisp/eieio-core.el (eieio-declare-slots): Change into a compile-only macro.
* | | New function eieio-declare-slotsLars Ingebrigtsen2019-06-171-0/+4
| | | | | | | | | | | | | | | * lisp/emacs-lisp/eieio-core.el (eieio-declare-slots): New function to suppress compiler warnings about unknown slots.
* | | Fix use of obsolete constructor in semantic/complete.elLars Ingebrigtsen2019-06-171-2/+2
| | | | | | | | | | | | | | | | | | * lisp/cedet/semantic/complete.el (make-instance): Use make-instance instead of the obsolete constructor method... which didn't work, anyway. The following would bug out
* | | Fix compilation warning by having ede-target inherit from eieio-namedLars Ingebrigtsen2019-06-172-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/cedet/ede/base.el (ede-target): Inherit from eieio-named so that if you're customizing objects via eieio-object-value-get, you can set the name. * lisp/emacs-lisp/eieio-custom.el (eieio-object-value-get): Don't use obsolete function `eieio-object-set-name-string'.
* | | Remove the now unneeded c-font-lock-flush from CC Mode.Alan Mackenzie2019-06-172-10/+1
| | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/cc-defs.el (c-font-lock-flush): Delete this macro. * lisp/progmodes/cc-engine.el (c-propertize-raw-string-opener): Delete the call to the macro.
* | | Make calc-macs.el lexicalLars Ingebrigtsen2019-06-171-1/+1
| | | | | | | | | | | | | | | * lisp/calc/calc-macs.el: Enable lexical binding. This fixes a build warning in calc.el (which is lexical).
* | | Suppress warning in isearchb about iswitchb being obsoleteLars Ingebrigtsen2019-06-171-1/+3
| | | | | | | | | | | | | | | | | | * lisp/isearchb.el (obsolete): Suppress warning about package being obsolete. Instead, this has been reported to the bug tracker, because it requires a rewrite of isearchb.
* | | Make do-after-load-evaluation check whether warnings are enabled.Lars Ingebrigtsen2019-06-171-18/+21
| | | | | | | | | | | | | | | | | | * lisp/subr.el (do-after-load-evaluation): Heed `byte-compile-warning-enabled-p', if defined. This allows suppressing the warning about packages being obsolete.
* | | Suppress compilation warning in srt-modeLars Ingebrigtsen2019-06-171-1/+4
| | | | | | | | | | | | | | | | | | * lisp/cedet/srecode/srt-mode.el (srecode-parse-this-macro): Check for the existence of `key' in the macro before using it, and suppress the warning.
* | | Suppress warning about out-of-tree Java class in cedetLars Ingebrigtsen2019-06-171-1/+5
| | | | | | | | | | | | | | | * lisp/cedet/ede/config.el (ede-java-classpath): Hack to suppress a compilation warning in glue code to out-of-tree code.
* | | Suppress warning about object-print in eieio.elLars Ingebrigtsen2019-06-171-6/+6
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/eieio.el (obsolete): Suppress warning about object-print being obsolete, because there are no in-tree definitions any more.
* | | Add check for enabled warning before issuingLars Ingebrigtsen2019-06-171-1/+2
| | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-function-warn): Check whether we want the `obsolete' warning before issuing it.
* | | Suppress warning about object-print in eieio.elLars Ingebrigtsen2019-06-171-2/+5
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/eieio.el (cl-print-object): Suppress the warning about object-print being obsolete, since there are no in-tree methods like that any more.
* | | Make with-suppressed-warnings work in cl-defmethodLars Ingebrigtsen2019-06-171-1/+1
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-generic.el (cl-defmethod): Pass the symbol name on to `byte-compile-warning-enabled-p' to make with-suppressed-warnings work in cl-defmethods, too.
* | | Rewrite object-print methods in cedet to be cl-print-object methodsLars Ingebrigtsen2019-06-174-38/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/cedet/semantic/db-el.el (object-print): Ditto. (object-print): Ditto. * lisp/cedet/semantic/db-global.el (object-print): Ditto. * lisp/cedet/semantic/db.el (object-print): Remove; unused. * lisp/cedet/semantic/db.el (semanticdb-debug-info): New method. (object-print): Rewritten to be cl-print-object. * lisp/emacs-lisp/eieio.el (eieio-object-name): Allow the EXTRA argument to be a list of strings.
* | | Add doc strings to the -at-point commands in vc-gitLars Ingebrigtsen2019-06-171-0/+4
| | | | | | | | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-stash-delete-at-point) (vc-git-stash-show-at-point, vc-git-stash-apply-at-point) (vc-git-stash-pop-at-point): Add doc strings to these commands.
* | | * find-dired.el (find-dired-refine-function): Fix defcustom.Roland Winkler2019-06-161-1/+2
| | |
* | | Prevent the Gnus registry from being loaded twice at startupEric Abrahamsen2019-06-161-26/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-registry.el (gnus-registry-load): Check if the registry is already loaded, and don't load again unless new optional FORCE argument is non-nil. (gnus-registry-clear): New function to clear the registry, added as a Gnus shutdown. Now that loading doesn't unilaterally reset the registry, we need to make sure it is reloaded when Gnus is.
* | | Avoid rounding error in image rotationYAMAMOTO Mitsuharu2019-06-171-3/+3
| | | | | | | | | | | | * src/image.c (image_set_rotation): Halve translations as double values.
* | | Tweak compilation mode used by byte-recompile-directoryGlenn Morris2019-06-161-3/+3
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (emacs-lisp-compilation-mode): Doc fix. (byte-recompile-directory): Use emacs-lisp-compilation-mode.