1. 29 Aug, 2019 9 commits
  2. 28 Aug, 2019 3 commits
  3. 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.
      4118297a
    • 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.
      fa41fa70
    • 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.
      ba5d9795
    • 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)
      ba1f7797
    • Eli Zaretskii's avatar
      ; Fix commentary of last change. · b5e18f9f
      Eli Zaretskii authored
      b5e18f9f
    • 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.
      6769b649
    • 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
      e4d17d8c
    • 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).
      ed44217d
    • 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).
      d9e4d52a
    • 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).
      ec5d4ff0
    • 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
      (bug#15682).
      f3f09189
    • 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)
      (tramp-perl-directory-files-and-attributes)
      (tramp-do-file-attributes-with-stat)
      (tramp-do-directory-files-and-attributes-with-stat):
      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.
      0e2d559d
    • 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)
      3ef6849b
  4. 26 Aug, 2019 6 commits
  5. 25 Aug, 2019 8 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.
      fffefeec
    • 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.
      8826beaf
    • 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-perl-directory-files-and-attributes)
      (tramp-do-file-attributes-with-stat)
      (tramp-do-directory-files-and-attributes-with-stat): Return size
      and inode as floating number.  (Bug#36940).
      ae7ab3b6
    • 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
    • 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.
      50980ba7
    • Eli Zaretskii's avatar
      Fix a recent change in coding.c · 543ae99f
      Eli Zaretskii authored
      This partially reverts the changes in "extern function cleanup".
      * src/coding.c (encode_string_utf_8, decode_string_utf_8): Now
      extern again.  They should NOT be static, as they are intended
      to be used by the likes of json.c, where we need
      highly-optimized code for processing UTF-8 strings.  E.g.,
      decode_string_utf_8 beats make_string_from_utf8 by a factor of
      2 to 5 in a large number of scenarios.
      543ae99f
    • Eli Zaretskii's avatar
      ; Improve a recent change. · 26703b98
      Eli Zaretskii authored
      * src/frame.c (Fx_parse_geometry): Improve the comment about
      non-initialization of some locals.
      26703b98
    • Lars Ingebrigtsen's avatar
      Use ' instead of ` in NEWS · 9b10ec06
      Lars Ingebrigtsen authored
      9b10ec06