1. 17 Sep, 2019 2 commits
    • Eli Zaretskii's avatar
      Improve font lookup on MS-Windows · 8054935c
      Eli Zaretskii authored
      * src/w32font.c (struct font_callback_data): New member
      (w32font_list_internal, w32font_match_internal): Set up
      match_data.known_fonts if the font spec includes :script that
      names one of the non-USB scripts.
      (add_font_entity_to_list): If font_matches_spec returns zero
      for a font, and we have some fonts in match_data->known_fonts,
      consider the font to be a match if it is named in known_fonts.
      (font_supported_scripts): Update the Unicode Subranges.  In
      particular, map bit 74 to 'burmese', as this is the name Emacs
      uses, not 'myanmar'.  Add a list of scripts that have no USBs
      defined for them.
      (syms_of_w32font) <Qburmese, Qcuneiform_numbers_and_punctuation>
      <Qaegean_number, Qw32_non_USB_fonts>: New symbols.
      * lisp/term/w32-win.el (w32-no-usb-subranges): New defconst.
      (w32--filter-USB-scripts, w32-find-non-USB-fonts): New functions.
      (w32-non-USB-fonts): New defvar.
      * lisp/international/fontset.el (setup-default-fontset): Add
      more scripts to automatic setup by representative characters.
      * doc/emacs/msdos.texi (Windows Fonts): Document
      'w32-find-non-USB-fonts' and 'w32-non-USB-fonts'.
      * etc/NEWS: Mention 'w32-find-non-USB-fonts' and
    • Mattias Engdegård's avatar
  2. 16 Sep, 2019 4 commits
  3. 14 Sep, 2019 2 commits
  4. 13 Sep, 2019 2 commits
    • Gemini Lasswell's avatar
      Improve print output options commands in backtrace-mode (bug#36566) · 2093395d
      Gemini Lasswell authored
      * lisp/emacs-lisp/backtrace.el (backtrace-view): Mention
      :print-gensym in docstring.
      (backtrace-mode-map): Add keyboard binding for
      backtrace-toggle-print-gensym.  Add menu entries for
      backtrace-toggle-print-circle and backtrace-toggle-print-gensym.
      (backtrace--with-output-variables): Bind print-gensym with value
      of :print-gensym found in view plist.
      (backtrace-toggle-print-circle): Remove description of
      implementation details from docstring.
      (backtrace-toggle-print-gensym): New command.
      (backtrace--toggle-feature): Add echo area message describing result
      of command.
      * test/lisp/emacs-lisp/backtrace-tests.el
      (backtrace-tests--print-circle): New test.
      * doc/lispref/debugging.texi (Backtraces): Document keyboard
      binding for backtrace-toggle-print-gensym.
    • Stefan Kangas's avatar
  5. 12 Sep, 2019 1 commit
    • Karl Fogel's avatar
      Add `isearch-yank-until-char' · bbadc6e0
      Karl Fogel authored
      * lisp/isearch.el (isearch-yank-until-char): New function.
        (isearch-mode-map, isearch-menu-bar-yank-map): Add it.
        (isearch-forward): Document the new binding.
      * doc/emacs/search.texi (Isearch Yanking): Document the feature.
      * etc/NEWS: Mention the above.
  6. 07 Sep, 2019 1 commit
  7. 04 Sep, 2019 1 commit
  8. 02 Sep, 2019 2 commits
    • Paul Eggert's avatar
      Update from Gnulib · fda015e7
      Paul Eggert authored
      This incorporates:
      2019-08-25 intprops.h, verify.h: port better to clang
      2019-08-21 New strip-trailing-space option for srclist-update
      * .gitattributes: Remove doc/misc/texinfo.tex special case,
      which is no longer needed now that Gnulib trims blank-at-eol.
      * build-aux/install-sh, doc/misc/texinfo.tex, lib/intprops.h:
      * lib/regex_internal.c, lib/verify.h: Copy from Gnulib.
    • Paul Eggert's avatar
  9. 01 Sep, 2019 1 commit
  10. 31 Aug, 2019 2 commits
  11. 30 Aug, 2019 1 commit
    • Nick Drozd's avatar
      Minor copyedits in ido.texi · 462be72f
      Nick Drozd authored
      * doc/misc/ido.texi (Overview)
      (Interactive Substring Matching, Prefix Matching)
      (Regexp Matching, Hidden Buffers and Files)
      (Changing List Order, Find File At Point, Misc)
      (All Matching, Replacement): Fix wording, markup and punctuation.
  12. 27 Aug, 2019 3 commits
    • Paul Eggert's avatar
      Use XDG conventions more consistently · 4118297a
      Paul Eggert authored
      Fit in better with the XDG conventions.
      Something like this was suggested in 2008 (Bug#583)
      and the XDG conventions seem to have settled down by now.
      * doc/emacs/custom.texi (Init File, Init Syntax, Find Init):
      * doc/lispref/files.texi (Standard File Names):
      * doc/lispref/os.texi (Init File):
      * doc/misc/url.texi (Customization):
      * etc/NEWS:
      Adjust accordingly.
      * lisp/startup.el (startup--load-user-init-file):
      If init-file-name is nil, do not load from it; instead
      just use the alt-file.
      (find-init-path): Remove; no longer used.
      (command-line): Don't check twice for XDG.
      Look at XDG_CONFIG_HOME instead of assuming it's ~/.config.
      Prefer XDG configuration if it exists; the user can disable
      this by setting XDG_CONFIG_HOME to some other place.
      * lisp/subr.el (user-emacs-directory):
      Prefer XDG configuration if it exists.
    • Juri Linkov's avatar
      Browser-like Info-history button menu (bug#37184) · ba5d9795
      Juri Linkov authored
      * doc/misc/info.texi (Help-Int): Using tool-bar to navigate history.
      * lisp/info.el (Info-history-menu): New function.
      (Info-history-back-menu, Info-history-forward-menu): New commands.
      (Info-mode-map): Bind Info-history-back-menu and
      Info-history-forward-menu to tool-bar on C-key.
    • Stefan Kangas's avatar
      Prefer display-line-numbers over linum in docs and one defcustom · 3ef6849b
      Stefan Kangas authored
      * doc/misc/efaq.texi: Replace linum with display-line-numbers.
      * lisp/progmodes/prog-mode.el (prog-mode-hook): Replace linum-mode
      with display-line-numbers-mode in :options.  (Bug#37120)
  13. 25 Aug, 2019 1 commit
    • Alan Mackenzie's avatar
      Introduce new value t for compilation-context-lines to eliminate scrolling · 29d1c72d
      Alan Mackenzie authored
      In particular, to prevent scrolling in a window lacking a left fringe.
      Instead, a visible arrow "=>" is inserted before column zero.  This fixes
      bug #36832.
      * lisp/progmodes/compile.el (compilation-context-lines): Add the new value t.
      (compilation-set-window): Amend to handle compilation-context-lines being t.
      (overlay-arrow-overlay): New variable holding an overlay with before-string
      property "=>".
      (compilation-set-overlay-arrow): New function which manipulates
      (compilation-goto-locus, compilation-find-file): In addition to calling
      compilation-set-window, also call compilation-set-overlay-arrow.
      * doc/emacs/building.texi (Compilation Mode): Document the new value t which
      compilation-context-lines can take.
      * etc/NEWS: Add an entry for this change.
  14. 23 Aug, 2019 4 commits
  15. 22 Aug, 2019 2 commits
  16. 21 Aug, 2019 5 commits
    • Lars Ingebrigtsen's avatar
      Use `quit-window-hook' in Info instead of having its own command · 08dd4b9f
      Lars Ingebrigtsen authored
      * doc/misc/info.texi (Help-Q): Info now uses `quit-window'.
      * lisp/info.el (info-standalone): Adjust doc string.
      (Info-exit): Made into obsolete alias.
      (Info-mode-map): Bind "q" to `quit-window'.
      (Info-mode-menu): Adjust.
      (info-tool-bar-map): Ditto.
      (Info-mode): Adjust doc string.
      (Info-mode): If Info is standalone, kill Emacs on "q".
    • Lars Ingebrigtsen's avatar
      Adjust quit-window-hook documentation · b60bdfcd
      Lars Ingebrigtsen authored
      * doc/lispref/windows.texi (Quitting Windows): Adjust
      documentation of quit-window-hook (bug#9867).
    • Lars Ingebrigtsen's avatar
      Mention quit-window-hook in "Standard Hooks" · ab9cb08e
      Lars Ingebrigtsen authored
      * doc/lispref/hooks.texi (Standard Hooks): Mention
      quit-window-hook (bug#9867).
    • Paul Eggert's avatar
      Avoid some excess precision in time arithmetic · 396ed88a
      Paul Eggert authored
      * doc/misc/emacs-mime.texi (time-date):
      Adjust example to match new behavior.
      * etc/NEWS: Mention this.
      * lisp/calendar/time-date.el (decoded-time-add)
      Don’t lose underestimate precision of seconds component.
      * src/bignum.c (mpz): Grow by 1.
      * src/timefns.c (trillion_factor): New function.
      (timeform_sub_ps_p): Remove.
      (time_arith): Avoid unnecessarily-large hz, by reducing the hz
      to a value no worse than the worse hz of the two arguments.
      The result is always exact unless an error is signaled.
      * test/src/timefns-tests.el (timefns-tests--decode-time):
      New function.
      (format-time-string-with-zone): Test (decode-time LOOK ZONE t)
      resolution as well as its numeric value.
    • Noam Postavsky's avatar
      Respect global-eldoc-mode in minibuffers (Bug#36886) · 7e2090ee
      Noam Postavsky authored
      * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Accept
      a BODY parameter.
      * doc/lispref/modes.texi (Defining Minor Modes): Document new
      * etc/NEWS: Announce it.
      * lisp/simple.el (read--expression): Move eldoc-mode setup to...
      * lisp/emacs-lisp/eldoc.el (eldoc--eval-expression-setup): ... here,
      new function.
      (global-eldoc-mode): Add or remove it to
      eval-expression-minibuffer-setup-hook when enabling or disabling
      global-eldoc-mode.  This enables eldoc in the minibuffer (solving
      Bug#27202), only when global-eldoc-mode is enabled.
  17. 20 Aug, 2019 3 commits
    • Paul Eggert's avatar
      Support larger TIMEs in (time-convert TIME t) · 5a955212
      Paul Eggert authored
      Also, improve the doc to match current behavior.
      * doc/lispref/os.texi (Time Conversion): Document that
      time-convert signals an error for infinite or NaN args,
      and that (time-convert TIME t) is exact otherwise.
      Mention float-time as an alternative to time-convert.
      (Time Calculations): Document that time-add and time-subtract
      are exact and do not decrease HZ below the minimum of their args.
      * src/timefns.c (decode_float_time): Don’t signal an error for
      floating-point arguments whose base-FLT_RADIX exponent is not less
      than DBL_MANT_DIG.  Instead, convert them to (TICKS . 1) values.
      Use two (instead of three) integer exponent comparisons in the
      typical case.
      * test/src/timefns-tests.el (time-arith-tests):
      Add more floating-point tests, including some tests
      that the old code fails.
    • Stephen Leake's avatar
      Delete built-in ada-mode; Gnu ELPA is a good replacement · a13c6420
      Stephen Leake authored
      * doc/misc/Makefile.in (INFO_COMMON): Delete ada-mode.
      * doc/misc/ada-mode.texi: Delete.
      * etc/NEWS: Mention ada-mode deleted.
      * lisp/progmodes/ada-mode.el: Delete.
      * lisp/progmodes/ada-prj.el: Delete.
      * lisp/progmodes/ada-stmt.el: Delete.
      * lisp/progmodes/ada-xref.el: Delete.
    • Lars Ingebrigtsen's avatar
      Add a new hook: `quit-window-hook' · afdf6798
      Lars Ingebrigtsen authored
      * doc/lispref/windows.texi (Quitting Windows): Mention in.
      * lisp/window.el (quit-restore-window): Run the new
      `quit-window-hook' before doing anything else (bug#9867).
      (quit-window): Note that the hook will be run in the doc string.
      * lisp/window.el (quit-window-hook): New variable.
  18. 19 Aug, 2019 1 commit
    • Noam Postavsky's avatar
      Fix process filter documentation (Bug#13400) · 615cff42
      Noam Postavsky authored
      * doc/lispref/processes.texi (Asynchronous Processes): Note that input
      may read when sending data as well.
      (Output from Processes): Note that functions which send data may also
      trigger reading from processes.
      (Input to Processes, Filter Functions): Note that filter functions may
      be called recursively.
  19. 18 Aug, 2019 2 commits