1. 21 Jun, 2022 21 commits
    • Po Lu's avatar
      Rewrite PGTK selection code from scratch · be35c92c
      Po Lu authored
      * src/frame.c (delete_frame): Clear selections and swallow
      special events.
      * src/keyboard.c (kbd_buffer_get_event, process_special_events):
      Also handle selection events on PGTK.
      * src/keyboard.h (union buffered_input_event): Include selection
      events on PGTK.
      * src/pgtkselect.c (symbol_to_gtk_clipboard, LOCAL_SELECTION):
      New functions and macros.
      (selection_type_to_quarks, get_func, clear_func): Delete
      (pgtk_selection_init, pgtk_selection_lost):
      (pgtk_selection_usable): New functions.
      (Fpgtk_own_selection_internal, Fpgtk_disown_selection_internal)
      (Fpgtk_selection_exists_p, Fpgtk_selection_owner_p)
      (Fpgtk_get_selection_internal): Complete rewrite.
      (syms_of_pgtkselect): Update defsyms and add more hooks.
      * src/pgtkselect.h: Delete file.
      * src/pgtkterm.c (evq_enqueue): Set last user time based on the
      (pgtk_any_window_to_frame, button_event): Fix coding style.
      (pgtk_set_event_handler): Add selection events.
      (pgtk_find_selection_owner, pgtk_selection_event): New
      (pgtk_term_init): Remove call to `pgtk_selection_init'.
      * src/pgtkterm.h (struct pgtk_display_info): New field
      (enum selection_input_event): New struct.  New macros for
      accessing its fields.
    • Eli Zaretskii's avatar
    • Lars Ingebrigtsen's avatar
      Fix previous -batch change for gc-cons-percentage · 49137311
      Lars Ingebrigtsen authored
      * src/emacs.c (main): Reset the default for gc-cons-percentage in
      interactive Emacs.
    • Lars Ingebrigtsen's avatar
      Increase gc-cons-percentage in -batch Emacs · 73a384a9
      Lars Ingebrigtsen authored
      * doc/lispref/os.texi (Batch Mode): Document it.
      * src/emacs.c (main): Use a gc-cons-percentage of 1.0 in
      noninteractive Emacsen.
    • Michael Albinus's avatar
      Tramp code cleanup · 09394653
      Michael Albinus authored
      * lisp/net/tramp-adb.el (tramp-adb-handle-make-process):
      * lisp/net/tramp-sh.el (tramp-sh-handle-make-process):
      Improve handling of "process-name" and "process-buffer" connection
    • Stefan Kangas's avatar
      Allow shortening filenames in recentf-mode menu · 32906819
      Stefan Kangas authored
      * lisp/recentf.el (recentf-show-abbreviated): New function.
      (recentf--filter-names): New helper function.
      (recentf-show-basenames): Use above new helper function.
      (recentf-menu-filter): Allow setting user option to new value
    • Eli Zaretskii's avatar
    • kobarity's avatar
      Fix nested defuns handling in `python-nav-beginning-of-defun' · 3491c7a3
      kobarity authored
      * lisp/progmodes/python.el (python-nav--beginning-of-defun): Fix
      handling of nested defuns (bug#56105).
    • Lars Ingebrigtsen's avatar
      Fix previous describe-key change · a5387dec
      Lars Ingebrigtsen authored
      * lisp/help.el (describe-function-orig-buffer): Ensure we bind
    • Lars Ingebrigtsen's avatar
      Make describe-key do doc string command key substitution again · ef03c885
      Lars Ingebrigtsen authored
      * lisp/help.el (describe-key): Do doc string command key
      substitution (bug#56106).
    • Lars Ingebrigtsen's avatar
      Fix fontification in describe-key · 7934bad2
      Lars Ingebrigtsen authored
      * lisp/help.el (describe-key): Use insert instead of princ so that
      text properties on the key descriptions survive.
    • Kevin Brubeck Unhammer's avatar
      Speed up mail-extr in some configurations · 97950f2b
      Kevin Brubeck Unhammer authored
      * lisp/mail/mail-extr.el (mail-extract-address-components):
      (mail-extract-address-components): The buffer is already in
      fundamental-mode, so don't re-enable it (bug#56113).
    • Lars Ingebrigtsen's avatar
      Rename recently-introduced dired-omit-line-regexp user option · 3d4b389f
      Lars Ingebrigtsen authored
      * lisp/dired-x.el (dired-omit-lines, dired-omit-mode): Rename
      dired-omit-line-regexp to dired-omit-lines for consistency.
    • Lars Ingebrigtsen's avatar
      Make Lucid menus work from the keyboard also when uninstalled · 649b43d2
      Lars Ingebrigtsen authored
      * lwlib/xlwmenu.c (ungrab_all, pop_up_menu): Use it.
      * src/keyboard.c (syms_of_keyboard): New variable (bug#46990).
    • Po Lu's avatar
      Allow toggling antialiasing inside the Haiku font dialog · 8cf3c320
      Po Lu authored
      * src/haiku_support.cc (struct font_selection_dialog_message):
      New field `disable_antialias'.
      (MessageReceived): Handle new message SET_DISABLE_ANTIALIASING.
      (class DualLayoutView): Rename to `TripleLayoutView'.
      (class TripleLayoutView): Rename from `DualLayoutView'.
      (MinSize): Update computations for three views.
      (class EmacsFontSelectionDialog, UpdatePreview)
      (EmacsFontSelectionDialog): Add an antialiasing checkbox to
      control antialiasing.
      (be_select_font): New arguments `initial_antialias' and
      * src/haiku_support.h: Update prototypes.
      * src/haikufont.c (haikufont_pattern_from_object): Set
      (Fx_select_font): Update accordingly.
    • Stefan Kangas's avatar
      Merge from origin/emacs-28 · c175984e
      Stefan Kangas authored
      2eb738f2 Support builds configured with a separate --bindir
      cf4c204d * doc/misc/eww.texi (Overview, Basics): Fix typos.
    • Po Lu's avatar
      Add test for bug#56078 fix · 1d681a57
      Po Lu authored
      * test/lisp/dnd-tests.el (dnd-tests-open-remote-url): New test.
    • Po Lu's avatar
      Remove selection requests on the keyboard buffer when closing display · 01834ba0
      Po Lu authored
      * src/xterm.c (X_NEXT_KBD_EVENT): New macro.
      (x_defer_selection_requests): Set input_pending if the kbd
      buffer was modified.
      (x_delete_selection_requests): New function.
      (x_delete_display): Call that.  Bug found when a display died
      while the clipboard manager was sending an unreasonably high
      number of requests.
    • Po Lu's avatar
      Move selection delayed message to a better location · 32a6d52d
      Po Lu authored
      * lisp/term/x-win.el (gui-backend-get-selection): Remove
      `with-delayed-message' here.
      * src/xselect.c (x_display_selection_waiting_message)
      (x_cancel_atimer): New functions.
      (x_get_foreign_selection): Add an atimer that displays the
      message after a while.
    • Sean Whitton's avatar
    • Sean Whitton's avatar
      term-set-escape-char: Remove old binding from term-raw-escape-map · 25e69968
      Sean Whitton authored
      * lisp/term.el (term-set-escape-char): When replacing the escape char,
      remove the binding of the old escape char in term-raw-escape-map.
  2. 20 Jun, 2022 19 commits