1. 17 Sep, 2019 1 commit
    • Eli Zaretskii's avatar
      Improve font lookup on MS-Windows · 8054935c
      Eli Zaretskii authored
      * src/w32font.c (struct font_callback_data): New member
      'known_fonts'.
      (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
      'w32-non-USB-fonts'.
      8054935c
  2. 16 Sep, 2019 2 commits
  3. 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.
      bbadc6e0
  4. 04 Sep, 2019 1 commit
  5. 01 Sep, 2019 1 commit
  6. 27 Aug, 2019 1 commit
    • 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.
      4118297a
  7. 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
      overlay-arrow-overlay.
      (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.
      29d1c72d
  8. 23 Aug, 2019 2 commits
    • Noam Postavsky's avatar
      ; Fix references to log-edit-generate-changelog-from-diff · df20cbe0
      Noam Postavsky authored
      * doc/emacs/maintaining.texi (Log Buffer):
      * etc/NEWS: Replace log-edit-generate-changelog (an old name which was
      changed during editing) to log-edit-generate-changelog-from-diff.
      df20cbe0
    • Lars Ingebrigtsen's avatar
      Rename renamed nsm.el variables and functions back · b4065de3
      Lars Ingebrigtsen authored
      * doc/emacs/misc.texi (Network Security): Start working on
      updating the NSM bits, but it's unclear how much of the new stuff
      to document.
      
      * lisp/net/nsm.el: Rename all nsm-tls-check-* functions to
      nsm-protocol-check--* to bring them back into line with the
      documentation.
      (network-security-protocol-checks): Renamed back again from
      `nsm-tls-checks', as this variable is documented and can't just go
      away.
      b4065de3
  9. 17 Aug, 2019 1 commit
  10. 16 Aug, 2019 1 commit
  11. 15 Aug, 2019 2 commits
    • Lars Ingebrigtsen's avatar
      Rename variables and functions with "auto-load" in their names · b3713265
      Lars Ingebrigtsen authored
      * doc/emacs/building.texi (Lisp Libraries): Adjust documentation.
      
      * lisp/help-fns.el (help--symbol-completion-table): Adjust usage.
      
      * lisp/help-fns.el (help-enable-completion-autoload): Change name
      from auto-load and declare an obsolete alias (bug#13418).
      
      * lisp/help.el (help-enable-autoload): Ditto.
      
      * lisp/progmodes/vhdl-mode.el: Ditto.
      (vhdl-create-mode-menu, vhdl-mode): Adjust usage.
      (vhdl-autoload-project): Rename from auto-load and declare an
      obsolete alias.
      b3713265
    • Lars Ingebrigtsen's avatar
      Minor Scroll Bars clarification · 9754486c
      Lars Ingebrigtsen authored
      * doc/emacs/frames.texi (Scroll Bars): Clarify what we mean by
      "customize" here (bug#14321).
      9754486c
  12. 14 Aug, 2019 1 commit
  13. 10 Aug, 2019 2 commits
  14. 04 Aug, 2019 1 commit
    • Noam Postavsky's avatar
      Improved ChangeLog generation for vc log (Bug#16301) · 01661f33
      Noam Postavsky authored
      * lisp/vc/diff-mode.el (diff-find-source-location): Fix docstring.
      
      * lisp/vc/add-log.el (change-log-unindented-file-names-re)
      (change-log-read-entries, change-log-read-defuns)
      (change-log-insert-entries):
      * lisp/vc/diff-mode.el (diff-add-log-current-defuns):
      * lisp/vc/log-edit.el (log-edit--insert-filled-defuns)
      (log-edit-fill-entry): New functions.
      (log-edit-mode): Set `log-edit-fill-entry' as
      `fill-paragraph-function'.
      (log-edit-generate-changelog-from-diff): New command.
      (log-edit-mode-map): Bind it to C-c C-w.
      * doc/emacs/maintaining.texi (Types of Log File, Log Buffer):
      * CONTRIBUTE: Document it.
      * etc/NEWS: Announce it.
      * test/lisp/vc/log-edit-tests.el (log-edit-fill-entry)
      (log-edit-fill-entry-joining): New tests.
      01661f33
  15. 02 Aug, 2019 1 commit
  16. 01 Aug, 2019 1 commit
  17. 30 Jul, 2019 1 commit
  18. 27 Jul, 2019 1 commit
    • Pip Cet's avatar
      Use the CSS convention for #RGB colors (bug#36304) · 35739901
      Pip Cet authored
      * src/xterm.c (x_parse_color): Change interpretation of #RGB color
      triplets to match CSS rather than X conventions.
      
      * lisp/term/tty-colors.el (tty-color-standard-values): Change
      interpretation of #RGB color triplets to match CSS rather than X
      conventions.  Allow upper-case digits.  Fix rgb:R/G/B
      interpretation.
      
      * doc/emacs/display.texi (Colors): Specify the convention used for
      "#RGB" color triplets.
      
      * test/lisp/tty-colors-tests.el: New file.
      
      * etc/NEWS: Mention the change.
      35739901
  19. 26 Jul, 2019 1 commit
    • Lars Ingebrigtsen's avatar
      Don't run gpg when loading package.el · 71f76a80
      Lars Ingebrigtsen authored
      * lisp/emacs-lisp/package.el (package-check-signature): Don't run
      gpg on startup, but just default to `allow-unsigned'.
      (package-check-signature): New function to check whether a OpenPGP
      configuration is found when `allow-unsigned'.
      (package--check-signature-content, package--check-signature)
      (package--download-one-archive, package-refresh-contents)
      (package-install-from-archive): Use function instead of variable
      throughout.
      * doc/emacs/package.texi (Package Installation): Document this.
      71f76a80
  20. 25 Jul, 2019 1 commit
    • Lars Ingebrigtsen's avatar
      Clarify in the manual when to use function-key-map · a112547f
      Lars Ingebrigtsen authored
      * doc/misc/efaq.texi (No Escape key):
      * doc/emacs/msdos-xtra.texi (MS-DOS Keyboard): Change back to
      function-key-map from local-function-key-map, because these
      bindings apply to all terminals.
      
      * doc/lispref/keymaps.texi (Translation Keymaps): Clarify in what
      circumstances you may still want to use function-key-map.
      a112547f
  21. 24 Jul, 2019 1 commit
  22. 23 Jul, 2019 2 commits
    • Juri Linkov's avatar
      Customizable char-fold with char-fold-symmetric, char-fold-include (bug#35689) · 376f5df3
      Juri Linkov authored
      * doc/emacs/search.texi (Lax Search): Document
      char-fold-symmetric, char-fold-include, char-fold-exclude.
      
      * lisp/char-fold.el (char-fold--default-include)
      (char-fold--default-exclude, char-fold--default-symmetric)
      (char-fold--previous): New defconsts.
      (char-fold-include, char-fold-exclude, char-fold-symmetric):
      New defcustoms.
      (char-fold-make-table): Use them.
      (char-fold-update-table): New function called at top-level.
      
      * test/lisp/char-fold-tests.el (char-fold--test-no-match-exactly)
      (char-fold--permutation): New functions.
      (char-fold--test-without-customization)
      (char-fold--test-with-customization): New tests.
      376f5df3
    • Lars Ingebrigtsen's avatar
      Refer to local-function-key-map in various manuals · 9a83ecb6
      Lars Ingebrigtsen authored
      * doc/misc/viper.texi (Key Bindings):
      * doc/misc/efaq.texi (X key translations for Emacs)
      (No Escape key):
      * doc/misc/edt.texi (Changes):
      * doc/emacs/msdos-xtra.texi (MS-DOS Keyboard):
      * doc/emacs/custom.texi (Terminal Init): Refer to
      local-function-key-map instead of function-key-map, since the
      latter isn't supposed to be changed (bug#27490).
      9a83ecb6
  23. 22 Jul, 2019 1 commit
    • Michael Albinus's avatar
      Support history files in remote shells (Bug#36742) · 7f95d2d4
      Michael Albinus authored
      * doc/emacs/misc.texi (Shell Ring): Mention history file for
      remote shells.
      
      * lisp/shell.el (shell--start-prog): New buffer-local variable.
      (shell): Set it.
      (shell-mode): Handle history file for remote shells. (Bug#36742)
      7f95d2d4
  24. 15 Jul, 2019 1 commit
  25. 14 Jul, 2019 1 commit
    • Lars Ingebrigtsen's avatar
      Rename vc-dir-delete-files-no-vc to vc-dir-clean-files · d3256dc7
      Lars Ingebrigtsen authored
      * doc/emacs/maintaining.texi (VC Directory Commands): Adjust
      command name.
      
      * lisp/vc/vc-dir.el (vc-dir-clean-files): Rename from
      vc-dir-delete-files-no-vc, and work on unregistered files only
      (bug#31732).
      (vc-dir-menu-map): Adjust command name.
      d3256dc7
  26. 13 Jul, 2019 4 commits
    • Eli Zaretskii's avatar
      Improve documentation of So Long mode · bd962f7f
      Eli Zaretskii authored
      * doc/emacs/trouble.texi (Long Lines): Improve wording, add
      indexing, mention the mode name and its main customization
      options.
      bd962f7f
    • Dima Kogan's avatar
      Add ability to highlight-lines-matching-regexp directly from Isearch · 8abe1704
      Dima Kogan authored
      * lisp/isearch.el: Implement the new functionality.
      (isearch-highlight-lines-matching-regexp): New function bound
      to 'M-s h l' in isearch.
      (isearch--highlight-regexp-or-lines): New internal function.
      
      * etc/NEWS (Search and Replace): Mention this change.
      
      * doc/emacs/search.texi (Special Isearch): Document 'M-s h l'.
      (Bug#18241)
      8abe1704
    • Phil Sainty's avatar
      Add so-long library · 4ac905f8
      Phil Sainty authored
      * lisp/so-long.el: New library.
      * doc/emacs/trouble.texi (Long Lines): New node covering so-long.el.
      * doc/emacs/emacs.texi (Top): Add menu entry for the Long Lines node.
      * etc/NEWS: Include under "New Modes and Packages in Emacs 27.1"
      4ac905f8
    • Lars Ingebrigtsen's avatar
      Add a new command in vc-dir mode to delete files · a3509a71
      Lars Ingebrigtsen authored
      * doc/emacs/maintaining.texi (VC Directory Commands): Document it.
      
      * lisp/vc/vc-dir.el (vc-dir-delete-files-no-vc): New command and
      keystroke (bug#31732).
      a3509a71
  27. 11 Jul, 2019 1 commit
  28. 09 Jul, 2019 1 commit
  29. 06 Jul, 2019 3 commits
  30. 30 Jun, 2019 1 commit
    • Andreas Schwab's avatar
      Doc fix · efeaf19e
      Andreas Schwab authored
      * doc/emacs/display.texi (Displaying Boundaries): Document
      display-fill-column-indicator-character, not
      display-fill-column-indicator-char.
      efeaf19e