- 21 Jun, 2022 21 commits
-
-
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 functions. (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 event. (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 functions. (pgtk_term_init): Remove call to `pgtk_selection_init'. * src/pgtkterm.h (struct pgtk_display_info): New field `display'. (enum selection_input_event): New struct. New macros for accessing its fields.
-
Eli Zaretskii authored
-
Lars Ingebrigtsen authored
* src/emacs.c (main): Reset the default for gc-cons-percentage in interactive Emacs.
-
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 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 properties.
-
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 'recentf-show-abbreviated'.
-
Eli Zaretskii authored
-
kobarity authored
* lisp/progmodes/python.el (python-nav--beginning-of-defun): Fix handling of nested defuns (bug#56105).
-
Lars Ingebrigtsen authored
* lisp/help.el (describe-function-orig-buffer): Ensure we bind dynamically.
-
Lars Ingebrigtsen authored
* lisp/help.el (describe-key): Do doc string command key substitution (bug#56106).
-
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 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 authored
* lisp/dired-x.el (dired-omit-lines, dired-omit-mode): Rename dired-omit-line-regexp to dired-omit-lines for consistency.
-
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 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 `disable_antialias'. * src/haiku_support.h: Update prototypes. * src/haikufont.c (haikufont_pattern_from_object): Set FSPEC_ANTIALIAS. (Fx_select_font): Update accordingly.
-
Stefan Kangas authored
2eb738f2 Support builds configured with a separate --bindir cf4c204d * doc/misc/eww.texi (Overview, Basics): Fix typos.
-
Po Lu authored
* test/lisp/dnd-tests.el (dnd-tests-open-remote-url): New test.
-
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 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 authored
-
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.
-
- 20 Jun, 2022 19 commits
-
-
Alan Mackenzie authored
* lisp/emacs-lisp/bytecomp.el (byte-compile-warning-prefix): Replace a wrong 'or' form involving OFFSET with simply OFFSET. This prevents OFFSET from possibly being nil in the first branch of the containing `if' form.
-
Eli Zaretskii authored
* src/emacs.c (load_pdump): Don't overwrite the leading directories of the Emacs executable just because the pdumper file was not found in the expected directory relative to the binary. This is needed to support builds with a separate --bindir configure-time option and native-compilation. (Bug#55741)
-
Lars Ingebrigtsen authored
* lisp/term/x-win.el (gui-backend-get-selection): If getting the selection takes a long time, issue a message after one second (bug#46935).
-
Michael Albinus authored
* test/lisp/url/url-tramp-tests.el (url-tramp-test-convert-url-to-tramp) (url-tramp-test-convert-tramp-to-url): Adapt tests.
-
Eli Zaretskii authored
-
Eli Zaretskii authored
* lisp/face-remap.el (text-scale-adjust): * doc/emacs/display.texi (Text Scale): Fix wording of recent changes to documentation.
-
Po Lu authored
* src/process.c (wait_reading_process_output): Don't allow skipping calls to select if detect_input_pending when just waiting for a cell. (bug#46935) * src/xselect.c (x_get_foreign_selection): Add more debugging code.
-
Eli Zaretskii authored
-
Eli Zaretskii authored
-
Stefan Kangas authored
* lisp/hi-lock.el: Prefer keymap-set in documentation. (hi-lock-map): Prefer defvar-keymap.
-
Po Lu authored
* src/nsfont.m (syms_of_nsfont): Fix definition.
-
Po Lu authored
* src/emacs.c (main): Run init_haiku_select at the right place.
-
Po Lu authored
* src/font.c (register_font_driver): Fix comment. * src/haikufont.c (haikufont_booleans): New list. (haikufont_filter_properties): New function. (haikufont_driver): Register new hook. (syms_of_haikufont_for_pdumper): Register font driver globally. (syms_of_haikufont): Call it in a pdumper hook.
-
Michael Albinus authored
* lisp/net/tramp-archive.el (tramp-archive-run-real-handler): Add ;;;###tramp-autoload cookie. * lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler): Prevent invocation of `tramp-archive-file-name-handler'. (Bug#56078) * lisp/url/url-tramp.el (url-tramp-convert-url-to-tramp) (url-tramp-convert-tramp-to-url): Make them more robust.
-
Po Lu authored
* src/xterm.c (handle_one_xevent): Use x_window_to_frame to find frames for pinch events.
-
David Ponce authored
* lisp/image.el (find-image): Use `create-image' so that we get auto-scaling of images (bug#40978).
-
Lars Ingebrigtsen authored
* doc/lispref/display.texi (XBM Images): Adjust the documentation. * src/image.c (enum xbm_keyword_index): Add :data-width and :data-height. (xbm_format): Ditto. (xbm_image_p): Allow passing in :width/:height for display. (xbm_load): Use :data-width/:data-height.
-
Stefan Kangas authored
-
Richard Hansen authored
* lisp/whitespace.el (whitespace-color-on): Convert the indentation matcher from a static regular expression to a function so that changes to `indent-tabs-mode' and `tab-width' are picked up the next time `font-lock-flush' runs. (whitespace--indentation-matcher): The new function matcher. (whitespace--variable-watcher): New variable watcher that calls `font-lock-flush' if `whitespace-mode' is enabled for the buffer. (whitespace--watched-vars): List of variables to watch. (whitespace-unload-function): Un-watch the variables. (bug#56103).
-