aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * * doc/emacs/mini.texi (Yes or No Prompts): 'y-or-n-p' now uses the minibuffer.Juri Linkov2020-03-031-5/+5
| |
| * Don't attempt to cache glyph metrics for FONT_INVALID_CODERobert Pluim2020-03-023-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was causing massive slowdown in redisplay when eg #xfe0f (VARIATION SELECTOR-16) was present, as the cache ended up very large, unused, and being recreated on every call to font_fill_lglyph_metrics (Bug#39133). * src/composite.c (fill_gstring_body): Hoist FONT_OBJECT_P check out of loop. Calculate glyph code and check for FONT_INVALID_CODE before calling font_fill_lglyph_metrics. Pass glyph code to it. * src/font.c (font_fill_lglyph_metrics): Add code parameter, move glyph code calculation up the call stack into fill_gstring_body. * src/font.h: Adjust font_fill_lglyph_metrics prototype.
| * Fix fit-frame-to-buffer for multi-monitor setupSergey Trofimov2020-03-011-6/+7
| | | | | | | | | | | | | | | | | | * lisp/window.el (fit-frame-to-buffer): Call 'frame-monitor-attributes' instead of 'display-monitor-attributes-list'. Fix geometry calculations for multiple monitors. Copyright-paperwork-exempt: yes
| * ; * etc/NEWS: Fix typo.Michael Albinus2020-03-011-1/+1
| |
| * rx: Improve 'or' compositionality (bug#37659)Mattias Engdegård2020-03-014-31/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Perform 'regexp-opt' on nested 'or' forms, and after expansion of user-defined and 'eval' forms. Characters are now turned into strings for wider 'regexp-opt' scope. This preserves the longest-match semantics for string in 'or' forms over composition. * doc/lispref/searching.texi (Rx Constructs): Document. * lisp/emacs-lisp/rx.el (rx--normalise-or-arg) (rx--all-string-or-args): New. (rx--translate-or): Normalise arguments first, and check for strings in subforms. (rx--expand-eval): Extracted from rx--translate-eval. (rx--translate-eval): Call rx--expand-eval. * test/lisp/emacs-lisp/rx-tests.el (rx-or, rx-def-in-or): Add tests. * etc/NEWS: Announce.
| * * lisp/tab-line.el: Fix auto-hscrolling (bug#39649)Juri Linkov2020-02-291-12/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Distinguish offsets between manual-vs-automatic scrolling as integers-vs-floats instead of positive-vs-negative integers. * lisp/tab-line.el (tab-line-format-template): Use 'numberp' instead of 'integerp', and 'truncate' instead of 'abs'. (tab-line-format): When the window-buffer was updated, set window-parameter to float to enable auto-hscroll after it was disabled on manual scrolling. (tab-line-auto-hscroll-buffer): New variable with internal buffer. (tab-line-auto-hscroll): Erase in tab-line-auto-hscroll-buffer. Use 'numberp' instead of 'integerp', 'truncate' instead of 'abs', and 'float' instead of '-'. (tab-line-hscroll): Use 'numberp' instead of 'integerp', and 'truncate' instead of 'abs'.
| * ; Update lisp/ldefs-boot.elemacs-27.0.90Nicolas Petton2020-02-291-7/+8
| |
| * ; * etc/TODO: Fix last change.Eli Zaretskii2020-02-291-6/+7
| |
| * ; Add an entry to TODOEli Zaretskii2020-02-291-0/+70
| | | | | | | | | | * etc/TODO: Expand the ligature support entry. Add a new entry about better support of Emoji.
| * Fix rx charset generationMattias Engdegård2020-02-292-3/+14
| | | | | | | | | | | | * lisp/emacs-lisp/rx.el (rx--charset-p): Don't overquote. (rx--generate-alt): Generate '.' for negated newline. * test/lisp/emacs-lisp/rx-tests.el (rx-any, rx-charset-or): Test.
| * Merge branch 'emacs-27' of git.savannah.gnu.org:/srv/git/emacs into emacs-27Eli Zaretskii2020-02-292-4/+2
| |\
| | * Fix overquoting in mule.elMattias Engdegård2020-02-281-1/+1
| | | | | | | | | | | | | | | * lisp/international/mule.el (sgml-xml-auto-coding-function): Remove accidental quote.
| | * * src/timefns.c (time_arith): Omit incorrect comment.Paul Eggert2020-02-281-3/+1
| | |
| * | Merge branch 'emacs-27' of git.savannah.gnu.org:/srv/git/emacs into emacs-27Eli Zaretskii2020-02-281-10/+11
| |\ \ | | |/
| | * * lisp/vc/vc-cvs.el (vc-cvs-ignore): Copy-edit doc stringMattias Engdegård2020-02-281-10/+11
| | |
| * | ; bug#39779: Fix some typos in documentation.Štěpán Němec2020-02-287-12/+12
| |/
| * checkdoc: Don't mistake "cf." for sentence endŠtěpán Němec2020-02-281-1/+1
| | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine): Recognize "cf." as an abbreviation, not a sentence end.
* | ; Merge from origin/emacs-27Glenn Morris2020-03-040-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: d096bab787 Bump Emacs version to 27.0.90
| * Bump Emacs version to 27.0.90Nicolas Petton2020-02-274-4/+4
| | | | | | | | | | | | | | * README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version.
* | Merge from origin/emacs-27Glenn Morris2020-03-0410-767/+1303
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5b7d226779 * etc/AUTHORS: Update. 4aa758e53d ; ChangeLog.3 update 9261b1ed49 * admin/authors.el (authors-ignored-files): Fix entries. 86e4da6eaf ; ChangeLog.3 update 009c6a1767 ; ChangeLog.3 fixes f9e53947c7 Fix documented slot name of eieio-instance-tracker class 999d75c0c1 Range-check width passed to define-fringe-bitmap 29e415d6b0 ; ChangeLog.3 fixes 4653baa6a5 ; ChangeLog.3 update & fixes. a95ec6e060 * admin/authors.el: Add missing entries af519a6348 Define libgnutls-version properly 9ec6eb1065 vc-dir-ignore: More accurately choose base directory e74fb4688b * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect)... 3bce7ec382 CC Mode: Protect against consecutive calls to before-chang...
| * * etc/AUTHORS: Update.Nicolas Petton2020-02-271-508/+816
| |
| * ; ChangeLog.3 updateNicolas Petton2020-02-271-1/+5
| |
| * * admin/authors.el (authors-ignored-files): Fix entries.Nicolas Petton2020-02-271-5/+6
| |
| * ; ChangeLog.3 updateNicolas Petton2020-02-271-0/+20
| |
| * ; ChangeLog.3 fixesNicolas Petton2020-02-271-10/+10
| |
| * Fix documented slot name of eieio-instance-tracker classEric Abrahamsen2020-02-261-2/+2
| | | | | | | | | | * doc/misc/eieio.texi (eieio-instance-tracker): The code has the slot name as `tracking-symbol', not `tracker-symbol'.
| * Range-check width passed to define-fringe-bitmapRobert Pluim2020-02-261-2/+5
| | | | | | | | | | | | | | This prevents a crash when attempting to create a zero-width bitmap. * src/fringe.c (Fdefine_fringe_bitmap): Check value of width, signal an error if outside documented range (Bug#39662).
| * ; ChangeLog.3 fixesNicolas Petton2020-02-261-13/+13
| |
| * ; ChangeLog.3 update & fixes.Nicolas Petton2020-02-261-143/+310
| |
| * * admin/authors.el: Add missing entriesNicolas Petton2020-02-261-1/+11
| |
| * Define libgnutls-version properlyNoam Postavsky2020-02-251-7/+12
| | | | | | | | | | | | * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: Define with DEFVAR_LISP and add docstring, so that this variable will accessible by help facilities.
| * vc-dir-ignore: More accurately choose base directoryDmitry Gutov2020-02-252-11/+14
| | | | | | | | | | | | | | | | * lisp/vc/vc-dir.el: (vc-dir-ignore): Use it (bug#37189). * lisp/vc/vc.el: (vc--ignore-base-dir): Extract from vc-ignore.
| * * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Change last fixStefan Monnier2020-02-241-55/+57
| | | | | | | | Make sure we always work in the selected-window's buffer.
| * CC Mode: Protect against consecutive calls to before-change-functions ...Alan Mackenzie2020-02-231-17/+30
| | | | | | | | | | | | | | | | | | | | | | without an intervening call to after-change-functions. This would have been a workaround to bug #38691 had the causes of that bug not been removed. * lisp/progmodes/cc-mode.el (c-just-done-before-change): Add an extra value to this variable, 'whole-buffer, this being set by c-before-change as a signal to c-after-change that although c-before-change has run, it has assumed the entire buffer as the change region. (c-before-change, c-after-change): Adapt to the new meaning of the above.
* | Pacify GCC 9.2.1 20190927 -O3Paul Eggert2020-03-046-29/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original problem report by N. Jackson in: https://lists.gnu.org/r/emacs-devel/2020-03/msg00047.html I found some other warnings when I used gcc, and fixed them with this patch. * lib-src/etags.c: Include verify.h. (xnmalloc, xnrealloc): Tell the compiler that NITEMS is nononnegative and ITEM_SIZE is positive. * src/conf_post.h (__has_attribute_returns_nonnull) (ATTRIBUTE_RETURNS_NONNULL): New macros. * src/editfns.c (Fuser_full_name): Don’t assume Fuser_login_name returns non-nil. * src/intervals.c (rotate_right, rotate_left, update_interval): * src/intervals.h (LENGTH, LEFT_TOTAL_LENGTH, RIGHT_TOTAL_LENGTH): Use TOTAL_LENGTH0 or equivalent on intervals that might be null. * src/intervals.h (TOTAL_LENGTH): Assume arg is nonnull. (TOTAL_LENGTH0): New macro, with the old TOTAL_LENGTH meaning. (make_interval, split_interval_right): Add ATTRIBUTE_RETURNS_NONNULL. * src/pdumper.c (dump_check_dump_off): Now returns void, since no caller uses the return value. Redo assert to pacify GCC. (decode_emacs_reloc): Add a seemingly-random eassume to pacify GCC. Ugly, and I suspect due to a bug in GCC.
* | Fix more NS_DRAW_TO_BUFFER #ifdefs (bug#39883)Alan Third2020-03-041-7/+4
| | | | | | | | | | | | | | | | * src/nsterm.m (ns_update_end): Make sure the frame is updated after drawing. (ns_focus): (ns_unfocus): Should be checking on NS_DRAW_TO_BUFFER rather than if it's Cocoa or GNUstep.
* | Declare speedbar-incompatible-version obsoleteStefan Kangas2020-03-041-0/+1
| | | | | | | | | | | | | | This variable refers to a now ancient version of speedbar, and is no longer useful. * lisp/speedbar.el (speedbar-incompatible-version): Declare obsolete.
* | Ignore spurious focus eventsDaniel Colascione2020-03-031-0/+10
| | | | | | | | | | * src/xterm.c (x_detect_focus_change): Ignore FocusIn and FocusOut events from grabs
* | Update default-directory in occur buffer (bug#39608)Stéphane Boucher2020-03-041-1/+5
| | | | | | | | | | | | * lisp/replace.el (occur-1): Update default-directory in occur buffer. Copyright-paperwork-exempt: yes
* | Time division speedupsPaul Eggert2020-03-031-4/+10
| | | | | | | | | | | | * src/timefns.c (frac_to_double) [FASTER_TIMEFNS]: Prefer intmax_t division or double division to mpz division if they also yield the correctly rounded result.
* | Fix rounding errors in time conversionPaul Eggert2020-03-032-44/+38
| | | | | | | | | | | | | | | | | | | | | | | | * src/timefns.c (frac_to_double): Pass FLT_RADIX to mpz_sizeinbase instead of doing the radix calculation ourselves, not always correctly. Fix off-by-one error in scale, which caused double-rounding. (decode_time_components): Use frac_to_double (via decode_ticks_hz) to fix double-rounding error that can occur even though intermediate results are long double. * test/src/timefns-tests.el (float-time-precision): Test the above fixes.
* | * etc/NEWS: Add entry missed in previous commitStefan Monnier2020-03-031-0/+3
| |
* | * lisp/progmodes/elisp-mode.el (elisp-enable-lexical-binding): New commandStefan Monnier2020-03-031-2/+29
| | | | | | | | | | (emacs-lisp-mode): Indicate lex/dyn binding mode in the mode line. (elisp--dynlex-modeline-map): New var.
* | Use help-fns-short-filename in other describe- commandsŠtěpán Němec2020-03-032-112/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commit 2015-01-16T22:52:15-05:00!monnier@iro.umontreal.ca 24b7f77581 (Improve handling of doc-strings and describe-function for cl-generic) added 'help-fns-short-filename', which provides file name shortening smarter than a simple 'file-name-nondirectory' call, but besides the generic/eieio functions ('cl--generic-describe', 'cl--describe-class', 'eieio-help-constructor'), it is currently only used by 'describe-function' (via 'help-fns-function-description-header'). Make the other help commands use it, too. (Other than the obvious consistency/maintenance argument, my immediate motivation for this change is the possibility to customize the file name abbreviation by advising the function.) * lisp/help.el (describe-mode): Move to help-fns.el. The command was already depending on 'find-lisp-object-file-name' defined there. * lisp/help-fns.el (describe-variable) (describe-face) (describe-keymap) (describe-mode): Use 'help-fns-short-filename'.
* | Tweak GMP usage for (HI LO US PS) timestampsPaul Eggert2020-03-021-11/+20
| | | | | | | | | | | | * src/timefns.c (decode_time_components): Cut down on the number of calls to GMP functions when generating old-style (HI LO US PS) timestamps.
* | Fix macOS/GNUstep compilation warningsAlan Third2020-03-023-96/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/nsfns.m (handlePanelKeys): Unused function. * src/nsterm.m (ns_set_appearance): ([EmacsView initFrameFromEmacs:]): Use EmacsWindow type instead of NSWindow. (ns_clip_to_row): Unused function. (ns_dumpglyphs_stretch): Remove unused variable. (ns_term_init): ([EmacsWindow setAppearance]): Only compile on macOS. (ns_mouse_position): Make sure f is initialised on GNUstep. * src/emacs.c (main): Move allocation of autorelease pool to before first use.
* | Fix #defines controlling when NS port draws to offscreen bufferAlan Third2020-03-022-11/+31
| | | | | | | | | | | | | | | | | | | | * src/nsterm.h (NS_DRAW_TO_BUFFER): New definition. * src/nsterm.m (ns_update_begin): (ns_update_end): (ns_focus): ([EmacsView updateFrameSize:]): ([EmacsView initFrameFromEmacs:]): ([EmacsView copyRect:to:]): Use new #define.
* | whitespace: Turn long lines regexp into a function (bug#36837)Štěpán Němec2020-03-011-10/+14
| | | | | | | | | | | | | | * lisp/whitespace.el (whitespace-color-on): Turn long lines regexp into a function to ensure it uses current 'whitespace-line-column' and 'fill-column' values. (Bug#36837) (whitespace-lines-regexp): New function.
* | ; Auto-commit of loaddefs files.Glenn Morris2020-03-011-14/+20
| |
* | * lisp/progmodes/cperl-mode.el: Clarify comment.Stefan Kangas2020-03-011-1/+1
| |