- 28 May, 2022 12 commits
-
-
Stefan Kangas authored
d3cde28b Fix more occurrences of renamed kmacro-keymap command bd5c95a9 Mention "unspecified-fg" and "unspecified-bg" in some doc ...
-
Po Lu authored
* src/haikufns.c (cursor_bitmaps_for_id): Add hourglass cursor.
-
Po Lu authored
* doc/lispref/frames.texi (Drag and Drop): * src/xfns.c (Fx_begin_drag): Improve documentation of how the chosen action should be performed.
-
Po Lu authored
* src/xfns.c (Fx_begin_drag): Fix typos and improve wording.
-
Po Lu authored
* src/xterm.c (x_dnd_begin_drag_and_drop): Restore selection events if DND is no longer in progress and don't call x-dnd-movement-function.
-
Po Lu authored
* src/frame.c (delete_frame): Prevent deleting the dnd frame while waiting for finish as well. * src/xselect.c (Fx_get_atom_name): Clean up code and fix uninitialized use of need_sync. * src/xterm.c (x_dnd_send_unsupported_drop, x_dnd_send_drop) (handle_one_xevent): Clean up usage of x_get_atom_name. (x_get_atom_name): Accept NULL for need_sync. * src/xterm.h: Update declarations.
-
Po Lu authored
-
Po Lu authored
* src/nsselect.m (ns_decode_data_to_pasteboard): Respect NS_USE_NSPasteboardTypeFileUrl.
-
Po Lu authored
* lisp/dired.el (dired-mouse-drag-files): Document that `dired-mouse-drag-files' now works on NS. * lisp/term/ns-win.el (x-begin-drag): Handle FILE_NAME. * src/nsselect.m (ns_decode_data_to_pasteboard): Handle file URL type. (ns_lisp_to_pasteboard, Fns_begin_drag): Handle new type `file'.
-
Po Lu authored
* doc/lispref/frames.texi (Drag and Drop): * src/xfns.c (Fx_begin_drag): Document that x-begin-drag may return immediately if no mouse buttons are held down.
-
Po Lu authored
* src/xterm.c (x_dnd_begin_drag_and_drop): Make sure movement frame is on the correct display.
-
Po Lu authored
-
- 27 May, 2022 28 commits
-
-
Paul Eggert authored
* src/lisp.h (symbols_with_pos_enabled): Remove decl.
-
Paul Eggert authored
* lisp/calendar/time-date.el (decoded-time-set-defaults): Don’t mess with decoded-time-dst (Bug#55635).
-
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.
-
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.
-
Paul Eggert authored
* src/xterm.h (x_get_atom_name): Add ATTRIBUTE_MALLOC.
-
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.
-
Eli Zaretskii authored
* lisp/international/iso-transl.el (iso-transl-char-map): Add several new sequences for characters with macron. (Bug#55668)
-
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.
-
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.
-
Lars Ingebrigtsen authored
* lisp/calendar/time-date.el (make-decoded-time): DST -1 is the value for "doesn't know", not nil (bug#55635).
-
Lars Ingebrigtsen authored
* lisp/emacs-lisp/package.el (package-update-all): Also refresh package list.
-
Po Lu authored
* src/nsterm.h (NSPasteboardNameGeneral): Fix definition.
-
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.
-
Po Lu authored
-
Po Lu authored
* lisp/term/ns-win.el (ns-selection-exists-p): (gui-backend-set-selection): (x-begin-drag): New functions and selection types. * src/nsfns.m (Fns_get_resource): (Fns_set_resource): (Fx_server_max_request_size): Fix coding style. * src/nsselect.m (ns_decode_data_to_pasteboard): (ns_lisp_to_pasteboard): (ns_dnd_action_to_operation): (ns_dnd_action_from_operation): (Fns_begin_drag): New functions. (syms_of_nsselect): New subrs. * src/nsterm.h (EmacsWindow): New fields and messages. (NSPasteboardNameGeneral): New define. * src/nsterm.m ([EmacsView mouseDown:]): Store last mouse event. ([EmacsWindow initWithEmacsFrame:fullscreen:screen:]): Clear that event. ([EmacsWindow dealloc]): Free last mouse event.
-
Stefan Kangas authored
-
Stefan Kangas authored
* lisp/progmodes/asm-mode.el (asm-mode-map): * lisp/progmodes/bug-reference.el (bug-reference-map): * lisp/progmodes/erts-mode.el (erts-mode-map): * lisp/progmodes/flymake.el (flymake-mode-map) (flymake-diagnostics-buffer-mode-map): * lisp/progmodes/icon.el (icon-mode-map): * lisp/progmodes/js.el (js-mode-map): * lisp/progmodes/m4-mode.el (m4-mode-map): * lisp/progmodes/mixal-mode.el (mixal-mode-map): * lisp/progmodes/scheme.el (scheme-mode-map): Prefer defvar-keymap.
-
Stefan Kangas authored
* lisp/avoid.el (x-pointer-invisible): Declare to silence byte-compiler.
-
Juri Linkov authored
* doc/emacs/kmacro.texi (Basic Keyboard Macro): Fix documentation after recent kmacro-redisplay command name change.
-
Eli Zaretskii authored
-
समीर सिंह Sameer Singh authored
* lisp/language/indonesian.el ("Javanese"): New language environment. Add composition rules for Javanese. Add sample text and input method. * lisp/international/fontset.el (script-representative-chars): Support Javanese. * lisp/leim/quail/indonesian.el ("javanese"): New input method. * etc/NEWS: Announce the new language environment and its input method.
-
Po Lu authored
-
Po Lu authored
* src/xterm.c (x_parse_color): Update comment. (syms_of_xterm): Add new debugging option too.
-
Eli Zaretskii authored
* lisp/faces.el (face-foreground, face-background) (foreground-color-at-point, background-color-at-point): * lisp/color.el (color-name-to-rgb): Mention "unspecified-fg" and "unspecified-bg" pseudo-colors on TTY frames. (Bug#55623)
-
Stefan Kangas authored
9283508f Fix format specifiers in tramp-adb.el a9f17ccc ; Fix some doc typos and minor language issues
-
Po Lu authored
* src/xterm.c (handle_one_xevent): Reset valuators on XI_Leave if leave->event is an edit widget as well.
-
Po Lu authored
* src/xterm.c (x_parse_color): Move recently used colors to the start of the cache and free unused entries when there are too many. (x_term_init, x_delete_display): Initialize and free new fields. * src/xterm.h (struct x_display_info): New field `color_names_length'.
-
Po Lu authored
* src/haiku_support.cc (class EmacsMenuItem): Don't abort on failed strdup.
-