1. 29 May, 2022 3 commits
  2. 28 May, 2022 24 commits
  3. 27 May, 2022 13 commits
    • Paul Eggert's avatar
      Remove stray decl of nonexistent var · 3bbf047c
      Paul Eggert authored
      * src/lisp.h (symbols_with_pos_enabled): Remove decl.
      3bbf047c
    • Paul Eggert's avatar
      decoded-time-set-defaults now leaves DST alone · d9879e68
      Paul Eggert authored
      * lisp/calendar/time-date.el (decoded-time-set-defaults):
      Don’t mess with decoded-time-dst (Bug#55635).
      d9879e68
    • Paul Eggert's avatar
      Fix unlikely null pointer dereference · eb37e481
      Paul Eggert authored
      * src/xselect.c (Fx_get_atom_name): Fix unlikely core dump when
      build_string is called on a null pointer.  Found by GCC -fanalyzer.
      eb37e481
    • Paul Eggert's avatar
      Add ATTRIBUTE_DEALLOC to extern functions · cb57db51
      Paul Eggert authored
      This can help static checking.  It’s not as important for static
      functions, where GCC can figure this stuff out own its own.
      * src/sysstdio.h (emacs_fopen): Add ATTRIBUTE_DEALLOC (fclose, 1).
      * src/tparam.h (tparam): Add ATTRIBUTE_DEALLOC_FREE.
      Include stdlib.h so that ‘free’ is declared.
      * src/xterm.h (x_get_atom_name): Add ATTRIBUTE_DEALLOC_FREE.
      cb57db51
    • Paul Eggert's avatar
      Pacify gcc -Wsuggest-attribute-malloc · 7f3d781d
      Paul Eggert authored
      * src/xterm.h (x_get_atom_name): Add ATTRIBUTE_MALLOC.
      7f3d781d
    • Juri Linkov's avatar
      Fix navigation in the *Completions* buffer and enable more tests (bug#54374) · 6c4d7670
      Juri Linkov authored
      * lisp/ido.el: Use first-completion instead of next-completion.
      
      * lisp/minibuffer.el (completion--insert): Put completion--string
      text property on prefix and suffix as well.
      
      * lisp/simple.el (first-completion, last-completion): New commands.
      (next-completion): Rewrite to fix many bugs reported in
      bug#54374, bug#55289, bug#55430.
      (choose-completion): Use the text property completion--string that
      allows to select a completion when point is on its prefix or suffix.
      (switch-to-completions): Use first-completion instead of next-completion,
      and last-completion instead of previous-completion.
      
      * test/lisp/minibuffer-tests.el (completion-auto-select-test)
      (completion-auto-wrap-test, completions-header-format-test)
      (completions-affixation-navigation-test): Uncomment fixed lines.
      6c4d7670
    • Eli Zaretskii's avatar
      Extend 'C-x 8 =' to produce characters with macron · 4df20e2f
      Eli Zaretskii authored
      * lisp/international/iso-transl.el (iso-transl-char-map): Add
      several new sequences for characters with macron.  (Bug#55668)
      4df20e2f
    • Stefan Monnier's avatar
      * lisp/shell.el (shell): Query shell file name from `interactive` · f8b2a01a
      Stefan Monnier authored
      This avoids the use of the brittle `called-interactively-p`
      and makes it easier to start a shell buffer running another shell than
      your usual one.
      f8b2a01a
    • Eli Zaretskii's avatar
      Improve font selection on MS-Windows · 8399c6a8
      Eli Zaretskii authored
      The Arial Unicode MS font claims in its USB (Unicode Subset
      Bitfields) values support for several scripts for which it
      doesn't actually have glyphs.  This sometimes caused Emacs to
      decide to use Arial Unicode MS for some script, only to
      discover later that there are no glyphs for that script's
      characters.  This change fixes the USB values according to
      actual font coverage, as determined by BabelMap.
      * src/w32font.c (add_font_entity_to_list): Fix USB values of Arial
      Unicode MS font according to its actual coverage of scripts.
      8399c6a8
    • Lars Ingebrigtsen's avatar
      Make make-decoded-time use -1 for dst unless given · a83e75b2
      Lars Ingebrigtsen authored
      * lisp/calendar/time-date.el (make-decoded-time): DST -1 is the
      value for "doesn't know", not nil (bug#55635).
      a83e75b2
    • Lars Ingebrigtsen's avatar
      Make package-update-all also refresh the list · fd4a0c02
      Lars Ingebrigtsen authored
      * lisp/emacs-lisp/package.el (package-update-all): Also refresh
      package list.
      fd4a0c02
    • Po Lu's avatar
      Fix GNUstep build · 82b75a97
      Po Lu authored
      * src/nsterm.h (NSPasteboardNameGeneral): Fix definition.
      82b75a97
    • Po Lu's avatar
      Fix NS drag and drop on macOS · 5d2523dc
      Po Lu authored
      * lisp/term/ns-win.el (gui-backend-set-selection):
      * src/nsselect.m (Fns_begin_drag): Fix deprecation warnings and
      selection/value mixup.
      5d2523dc