1. 30 Aug, 2019 3 commits
    • Paul Eggert's avatar
      emacsclient: adjust to new config file location · 44f15b63
      Paul Eggert authored
      * lib-src/emacsclient.c (open_config): New arg XDG, to respect
      XDG_CONFIG_HOME, consistently with Emacs proper.  Caller changed.
      Use XDG convention if available, falling back on the old names
      if not.
    • Paul Eggert's avatar
      Prefer ~/.config/emacs to ~/.emacs.d if neither exists · a4144af9
      Paul Eggert authored
      That way, when Emacs starts in a fresh home directory,
      it prefers the new (XDG) convention rather than the old one.
      * lisp/files.el (locate-user-emacs-file): Make the parent
      directories of user-emacs-directory if needed.  This is useful
      if user-emacs-directory is "~/.config/emacs" and "~/.config"
      does not yet exist.
      * lisp/startup.el (command-line):
      * lisp/subr.el (user-emacs-directory):
      Prefer XDG_CONFIG_HOME to ~/.emacs.d if neither exists.
    • 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.
  2. 29 Aug, 2019 9 commits
  3. 28 Aug, 2019 3 commits
  4. 27 Aug, 2019 14 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.
    • Paul Eggert's avatar
      Port recent gnutls fixes to gcc -Wpointer-sign · fa41fa70
      Paul Eggert authored
      * src/gnutls.c (Fgnutls_format_certificate):
      Fix pointer signedness problem.
    • 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.
    • Michael Albinus's avatar
      Deactivate part of tramp--test-check-files on macOS (Bug#36940) · ba1f7797
      Michael Albinus authored
      * test/lisp/net/tramp-tests.el (tramp--test-check-files): Do not
      search for environment variables on macOS.  (Bug#36940)
    • Eli Zaretskii's avatar
      ; Fix commentary of last change. · b5e18f9f
      Eli Zaretskii authored
    • Eli Zaretskii's avatar
      Fix crashes on MS-Windows when using GnuTLS connections · 6769b649
      Eli Zaretskii authored
      * src/gnutls.c (init_gnutls_functions) [WINDOWSNT]: Define and
      load gnutls_free by an explicit call to GetProcAddress.
      (gnutls_free) [WINDOWSNT]: Define as a macro that dereferences
      a function pointer.  (Bug#31946)
      (Fgnutls_format_certificate): Use make_string_from_bytes
      instead of going through an intermediate malloc'ed buffer.
    • Alex Branham's avatar
      Fix filename completion in shell mode buffers · e4d17d8c
      Alex Branham authored
      * lisp/shell.el (shell-dynamic-complete-functions): Move
      pcomplete-completions-at-point down the list so that filename
      completion has a chance to complete before pcompletion.
      Fixes bug#34330
    • Michael Albinus's avatar
    • Lars Ingebrigtsen's avatar
      Fix completion in `read-library-name' · ed44217d
      Lars Ingebrigtsen authored
      * lisp/emacs-lisp/find-func.el (read-library-name): Only list
      .el/.el.gz files when completing (bug#36945).
    • Mauro Aranda's avatar
      Make link widgets obey mouse-1-click-follows-link · d9e4d52a
      Mauro Aranda authored
      * lisp/wid-edit.el (widget-link-keymap): New variable, a keymap to use
      inside a link widget.
      ('link widget): Restore the :follow-link property and add
      widget-link-keymap as the :keymap property (bug#15682).
    • Mauro Aranda's avatar
      Adapt recentf.el to the change in the Widget Library · ec5d4ff0
      Mauro Aranda authored
      * lisp/recentf.el (recentf-open-files-item): Stop overriding
      :follow-link property of the link widgets, since now it should
      work as expected (bug#15682).
    • Mauro Aranda's avatar
      Create push-button widgets instead of links in epa *Keys* buffer · f3f09189
      Mauro Aranda authored
      * lisp/epa.el (epa--select-keys): Make OK and Cancel into buttons
    • Paul Eggert's avatar
      Fix Tramp rounding of file sizes and inode numbers · 0e2d559d
      Paul Eggert authored
      * lisp/net/tramp-sh.el (tramp-perl-file-attributes)
      Format file sizes and inode numbers without trailing ".0",
      to avoid rounding errors when absolute values exceed 2**53
      (Bug#36940#94).  This fixes the problem for Emacs 27 and later,
      and doesn't hurt in earlier Emacs.
    • 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)
  5. 26 Aug, 2019 6 commits
  6. 25 Aug, 2019 5 commits
    • Paul Eggert's avatar
      Fix bug with non-paletted transparent PNGs · fffefeec
      Paul Eggert authored
      Adapted from a fix by YAMAMOTO Mitsuharu (Bug#37153#77).
      * src/image.c (png_load_body): Fix bug with non-paletted
      transparent images.
    • Paul Eggert's avatar
      Fix misdisplay of PNG paletted images · 8826beaf
      Paul Eggert authored
      Problem reported by Roland Winkler (Bug#37153).
      Derived from a patch suggested by YAMAMOTO Mitsuharu (Bug#37153#62).
      * src/image.c (png_get_valid) [WINDOWSNT]:
      Do not dynamically link this function.
      (png_get_tRNS) [WINDOWSNT && PNG_tRNS_SUPPORTED]:
      Dynamically link this function instead.
      (png_load_body): Do not assume that every paletted image supplies
      only transparency data.  Fix typo in use of transparent_p.
    • Michael Albinus's avatar
      Fix a further part of Bug#36940 · ae7ab3b6
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-perl-file-attributes)
      (tramp-do-directory-files-and-attributes-with-stat): Return size
      and inode as floating number.  (Bug#36940).
    • 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.
    • Alex Ott's avatar
      Fix minor problems in TUTORIAL.ru · 50980ba7
      Alex Ott authored
      This fixes wording and avoids visiting the tutorial in
      Ruby mode.