aboutsummaryrefslogtreecommitdiffstats
path: root/src/nsterm.m (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix macOS 26 scrolling lag and input handling issues (bug#80268)Boris Buliga12 days1-0/+9
| | | | | | | | | | | | | | macOS 26 introduced new event processing behavior that causes scrolling lag and input handling problems in Emacs. This patch disables two features via NSUserDefaults when built against the macOS 26 SDK: - NSEventConcurrentProcessingEnabled - NSApplicationUpdateCycleEnabled This fix is based on the equivalent patch in emacs-mac by Mitsuharu Yamamoto. See: https://bitbucket.org/mituharu/emacs-mac/commits/e52ebfd * src/nsterm.m (ns_term_init): Disable problematic event processing when built for macOS 26+.
* Move ns_init_colors from ns_term_init to emacs.c (bug#80377)Stéphane Marks2026-02-121-48/+0
| | | | | | | | | | | | Accommodate NS Emacs on a headless system. Add error checking for failed calls to NSColorList writeToURL and writeToFile. * src/nsterm.m (ns_term_init): Move color initialization to nsfns.m. * src/nsfns.m (ns_init_colors): New function. (Fns_list_colors): Call ns_init_colors.
* system-sleep sleep blocker and sleep/wake event package (bug#80348)Stéphane Marks2026-02-111-9/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This package provides platform-neutral interfaces to block your system from entering idle sleep and a hook to process pre-sleep and post-wake events. Implementations are for D-Bus on GNU/Linux, macOS/GNUstep, and MS-Windows. * lisp/system-sleep.el: New package. * src/fns.c: Qpre_sleep, Qpost_wake: New DEFSYM. * src/nsfns.m (Fns_block_system_sleep, Fns_unblock_system_sleep) (syms_of_nsfns): New functions. * src/nsterm.m (applicationDidFinishLaunching): Subscribe to pre-sleep and post-wake notifications. (systemWillSleep, systemDidWake): New function. * src/w32fns.c (Fw32_block_system_sleep) (Fw32_unblock_system_sleep, Fw32_system_sleep_block_count) (sleep_notification_callback) (w32_register_for_sleep_notifications): New function. (syms_of_w32fns): Sw32_unblock_system_sleep Sw32_block_system_sleep Sw32_system_sleep_block_count: New defsubr. * src/w32term.h (Fw32_block_system_sleep): New extern. * src/w32term.c (w32_initialize): Call w32_register_for_sleep_notifications. * doc/lispref/os.texi: Document the system-sleep package. * doc/lispref/commands.texi: Update sleep-event special documentation. * etc/NEWS: Announce the new package.
* Fix macOS 26 (Tahoe) scrolling lag and input handling issuesBoris Buliga2026-01-311-0/+9
| | | | | | | | | | | | macOS 26 introduced new event processing behavior that causes scrolling lag and input handling problems in Emacs. This patch disables two features via NSUserDefaults when built against the macOS 26 SDK: - NSEventConcurrentProcessingEnabled - NSApplicationUpdateCycleEnabled This fix is based on the equivalent patch in emacs-mac by Mitsuharu Yamamoto. See: https://bitbucket.org/mituharu/emacs-mac/commits/e52ebfd * src/nsterm.m (ns_term_init): Disable problematic event processing when built for macOS 26+. (Bug#80268)
* NS: Fix UI freezes and Lisp threads on GNUstepYavor Doganov2026-01-191-9/+5
| | | | | | | * src/nsterm.m (ns_select_1): Return thread_select if current thread is not the main thread or timeout is zero; otherwise call 'thread_select' with a minimal timeout to allow other Lisp threads to run. (Bug#80110, Bug#80112)
* NS: Fix Meta key on GNUstepYavor Doganov2026-01-171-0/+4
| | | | | | * src/nsterm.m (syms_of_nsterm): On GNUstep, set ns-command-modifier to "meta" to match the backend default setting. (Bug#80090)
* ; NS: Fix typo in -resetCursorRects implementationsYavor Doganov2026-01-101-4/+4
| | | | | | * src/nsterm.m ([EmacsView resetCursorRects]): Fix typo in selector name; restrict respondsToSelector: check to Cocoa. ([EmacsScroller resetCursorRects]): Likewise. (Bug#80098)
* NS: Use Cocoa implementation of EmacsBell -init if named image is declaredYavor Doganov2026-01-101-1/+1
| | | | | | | * configure.ac: Check for 'NSImageNameCaution' declaration when building on GNUstep. * src/nsterm.m ([EmacsBell init]): Use fallback implementation on GNUstep only if 'NSImageNameCaution' is not declared. (Bug#80107)
* ; Add 2026 to copyright years.Sean Whitton2026-01-011-1/+1
|
* December 2025 spelling fixesPaul Eggert2025-12-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the fixes are to continue to use American rather than British spelling. * doc/misc/modus-themes.org (my-modus-themes-engraved-faces): Fix misspelled ‘:foreground’s. * etc/themes/modus-themes.el (modus-themes-faces): Fix misspelled ‘modus-themes-bold’. * lisp/emacs-lisp/rx.el (rx--normalize-char-pattern): Rename from rx--normalise-char-pattern. (rx--optimize-or-args): Rename from rx--optimise-or-args. * lisp/frame.el (frame--special-parameters): Fix misspelled "right-divider-width". * lisp/net/tramp.el (tramp-fingerprint-prompt-regexp): Use American spelling “centered”, to match current libfprintf. * lisp/org/org-fold-core.el (org-fold-core--optimize-for-huge-buffers): Rename from org-fold-core--optimise-for-huge-buffers. (org-fold-core-update-optimization): Rename from org-fold-core-update-optimisation, leaving an alias behind. (org-fold-core-remove-optimization): Rename from org-fold-core-remove-optimisation, leaving an alias behind. * lisp/org/org.el (org-advertized-archive-subtree): This alias is now obsolete. * lisp/play/zone.el (zone-ignored-buffers): Fix misspelling of ‘zone--buffer-encrypted-p’. * lisp/progmodes/csharp-mode.el (csharp-ts-mode-faces): Fix misspelling of ‘csharp’ group. * lisp/vc/vc.el (vc-clonable-backends-custom-type): Rename from vc-cloneable-backends-custom-type, leaving an alias behind. * test/lisp/emacs-lisp/bytecomp-tests.el: (bytecomp-tests--warn-arity-non-compiled-callee): Rename from bytecomp-tests--warn-arity-noncompiled-callee. (bytecomp-test-defface-spec): Reword a deliberate misspelling of “default” that is so common I don’t want it to pollute the spelling dictionary. * test/lisp/emacs-lisp/package-vc-tests.el: (package-vc-tests-preserve-artifacts): Rename from package-vc-tests-preserve-artifacts. * test/lisp/eshell/em-prompt-tests.el: (em-prompt-test/forward-backward-paragraph-1): Reword a deliberate misspelling of “goodbye” that is so common I don’t want it to pollute the spelling dictionary.
* Add ns_set_window_size_and_positionStéphane Marks2025-12-241-15/+65
| | | | | | | | | * src/frame.c (Fset_frame_size_and_position_pixelwise): Correct docstring typo. * src/nsterm.m (compute_offset): New function of common code. (ns_set_offset): Call compute_offset. (ns_set_window_size_and_position): New function. (ns_create_terminal): Add new function to the hook.
* NS: Fix compilation on pre macOS 11 macsDavid Caldwell2025-12-081-2/+3
| | | | | | | * src/nsterm.m ([EmacsWindow initWithEmacsFrame:fullscreen:screen:]): Add a compile check around setToolbarStyle since it is not available until macOS 11.0 and a run-time check in case it was compiled on macOS >= 11.0 but run on an earlier version. (Bug#79951)
* NS: Fix toolbar style and positionRudolf Adamkovič2025-12-041-0/+7
| | | | | | | | * src/nsterm.m ([EmacsWindow initWithEmacsFrame:fullscreen:screen:]): Always show the toolbar below the window title. This is needed on Mac OS 11+ where the toolbar style is decided by the system (which is unpredictable) and the newfangled "compact" toolbar may be chosen (which is undesirable). (Bug#79900)
* Release NS objects (bug#79023)Przemysław Alexander Kamiński2025-10-171-1/+11
| | | | | | | | * src/nsterm.m (ns_free_frame_resources): Release the NSView. ([EmacsView dealloc]): Release the EmacsLayer and menu. ([EmacsWindow dealloc]): Fix the toolbar release. Co-authored-by: Rudolf Adamkovič <rudolf@adamkovic.org>
* Fix NS frame position update after resize/moveDr.Sc.KAWAMOTO,Takuji2025-08-111-26/+37
| | | | | | | | | | | Fixes bug#74074, bug#79164. * src/nsterm.m ([EmacsView windowDidEndLiveResize:]): ([EmacsView updateFramePosition]): New functions. ([EmacsView windowDidMove:]): Move contents of this function into updateFramePosition and call it. Copyright-paperwork-exempt: yes
* NS: Correct the accessibility role of Emacs windows (bug#77062)Rudolf Adamkovič2025-07-311-1/+1
| | | | | | | | | | | | | | | Make the accessibility role of Emacs windows to be "standard window" (AXWindow) instead of "text field" (AXTextField). This matches other applications on NS, as can be verified with any accessibility inspector. All widely used NS ports, such as Emacs Plus, have this patch already applied. As for practical impact, this change makes Emacs, for example, work with tiling window managers, such as Yabai, where many users report problems with Emacs specifically, and are instructed to simply avoid the official NS port of GNU Emacs due to this problem. * src/nsterm.m: ([EmacsWindow accessibilityAttributeValue:]): Make the accessibility role of Emacs windows to be "standard window" (AXWindow) instead of "text field" (AXTextField).
* ; * src/nsterm.m (ns_define_fringe_bitmap): Stylistic corrections.Po Lu2025-07-261-14/+14
|
* Fix last commitAlan Third2025-07-261-3/+3
| | | | | * src/nsterm.m (ns_draw_fringe_bitmap): Rename clearRect to bmpRect where missed previously.
* Fix incorrectly nested ns_focus/ns_unfocus callsAlan Third2025-07-261-19/+16
| | | | | | * src/nsterm.m (ns_draw_fringe_bitmap): Move the call to ns_focus out of the if for overlay_p and rename the rect from clearRect to bmpRect to make it's purpose clearer.
* Simplify NS fringe vectors (bug#73563)Alan Third2025-07-261-7/+92
| | | | | | * src/nsterm.m (ns_define_fringe_bitmap): Replace the fringe bitmap "tracing" method to a true tracing method. This should make the resulting vector simpler and therefore faster to draw.
* Enabled macOS dictation post NSTextInputClient migration in v30Alvaro Ramirez2025-07-261-1/+18
| | | | | | * src/nsterm.m (selectedRange): Implement to fix dictation. * etc/NEWS: Announce regression fix. * etc/PROBLEMS: Help users recover from rejected permission.
* NS: Fix build with NSTRACE_ENABLEDGerd Möllmann2025-07-231-1/+1
| | | | | | | * src/nsterm.h (NSTRACE_MSG_NO_DASHES): Use nstrace_enabled_global. * src/nsterm.m: ([EmacsView performDragOperation:]): Don't use an NSString.
* NS: Use different window collection behavior for tooltips (bug#73037)Gerd Möllmann2025-07-231-2/+3
| | | | | | * src/nsterm.m ([EmacsView updateCollectionBehavior]): Use NSWindowCollectionBehaviorFullScreenAuxiliary for non-native tooltips which are not child frames.
* ; * src/nsterm.m (ns_draw_stretch_glyph_string): Fix a thinko (bug#78654).Eli Zaretskii2025-06-041-1/+1
|
* Do child frame shortcut only on Cocoa (bug#78616)Gerd Möllmann2025-05-281-1/+1
| | | | | * src/nsterm.m ([EmacsWindow constrainFrameRect:toScreen:]): Return early for child frames only on Cocoa.
* Fix support of 'mouse-highlight' on NS (bug#78218)Gerd Möllmann2025-05-041-2/+4
| | | | | * src/nsterm.m: ([EmacsView keyDown:]): Add missing '!' in if-condition. Check tab_bar_window as other window systems do.
* Reduce code duplication in ns_set_appearanceStefan Kangas2025-03-221-6/+12
| | | | | | | * src/nsterm.h (ns_set_appearance_1): Declare. * src/nsterm.m (ns_set_appearance_1): Break out new function... (ns_set_appearance): ...here. * src/nsfns.m (Fx_create_frame): Use above new function.
* macOS: Don't constrainFrameRect for child framesGerd Möllmann2025-03-091-0/+7
| | | | | * src/nsterm.m ([EmacsWindow constrainFrameRect:toScreen:]): Don't do anything for child frames.
* ; * src/nsterm.m (syms_of_nsterm): Fix typo in comment.Po Lu2025-03-051-4/+3
|
* Add ns-click-through option to control activation click handlingDaniel Colascione2025-03-041-1/+16
| | | | | | | | | | * src/nsterm.m (acceptsFirstMouse): Use ns_click_through variable instead of always returning YES. (syms_of_nsterm): Define ns-click-through variable. * lisp/cus-start.el: Add customization definition for ns-click-through. * etc/NEWS: Document the new option.
* ; * src/nsterm.m (ns_draw_stretch_glyph_string): One more spelling fix.Po Lu2025-03-041-1/+1
|
* ; Fix style and language in src/nsterm.mPo Lu2025-03-041-7/+7
| | | | | | * src/nsterm.m (ns_maybe_dumpglyphs_background) (ns_draw_stretch_glyph_string): Fix coding style. Use American English spelling.
* Support colored stipples on Cocoa NS (Bug#73384)Ben Simms2025-03-041-1/+67
| | | | | | | | | | | | On Cocoa builds of NS Emacs, stipples are now rendered using masked CGImages instead of patterned NSColors so that stipples now render with color. * src/nsimage.m ([EmacsImage stippleMask:]): Use a CGImageMask to store the stipple mask when building for Cocoa. * src/nsterm.m (ns_maybe_dumpglyphs_background): Perform a masked fill to draw stipples when building for Cocoa. (ns_draw_stretch_glyph_string): Perform a masked fill to draw stipples when building for Cocoa.
* Make Emacs respond to NS activation clicksDaniel Colascione2025-03-011-0/+7
| | | | | * src/nsterm.m (acceptsFirstMouse): Opt into receiving mouse events that activate the window. (bug#76629)
* Update copyright year to 2025Paul Eggert2025-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright".
* Fix format specifier warnings in nsterm.mCharalampos Mitrodimas2024-12-261-6/+11
| | | | | | | | | | | | | | | Resolve warnings caused by mismatched format specifiers in `NSLog` and `fprintf` calls. This was observed when compiled with Clang version 19.1.6 (arm64-apple-darwin). Warnings fixed: - "format specifies type 'unsigned int' but the argument has type 'IOReturn' (aka 'int')" * src/nsterm.m: Cast `IOReturn` (aka `int`) to `unsigned int` for `%x` format specifiers in `NSLog`. (Bug#74971)
* Merge branch 'scratch/tty-child-frames'Gerd Möllmann2024-12-191-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for child frames on tty The redisplay part is complete. The frame-handling part supports use-cases like Posframe, Corfu, and child frames acting like tooltips. Other use-cases of child frames are not currently supported. In particular, trying to create minibuffer-only child frames on ttys will signal an error. * src/xfaces.c (free_frame_faces): Change formatting slightly. * src/xdisp.c (redisplay_trace, move_tracxe): Print to stderr because stdout screws up terminal display. (init_iterator): Remove a #ifdef HAVE_WINDOW_SYSTEM. (clear_garbaged_frames): Return a bool telling if we cleared matrix. (echo_area_display): Use combine_updates on tty frames. (redisplay_internal): Changes for redisplay of tty child windows. (deep_copy_glyph_row): Take a frame parameter. (display_tty_menu_item): Changes because of function signature changes. * src/w32term.c (w32_read_socket): Don't use FRAME_OBSCRURED_P, which has been removed. * src/w32inevt.c (do_mouse_event): Workaround for mouse events on child frafmes. * src/w32console.c (w32con_write_glyphs, w32con_update_end): Use glyphs' frame for faces. * src/treesit.c (treesit_load_language): Pacify a warning. * src/w32console.c (w32con_clear_end_of_line): Set glyph's frame. * src/terminal.c (cursor_to, raw_cursor_to): Handle case that frame is a child frame. * src/termhooks.h: Declare formerly static functions. * src/term.c (tty_hide_cursor, tty_show_cursor): Make externally visible. (tty_write_glyphs): Determine faces based on a glyph's frame. (tty_write_glyphs_with_face): Take a struct face argument instead of a face id. Callers changed. (tty_insert_glyphs): Use faces, not face ids. (append_glyph, append_composite_glyph, append_glyphless_glyph): Set glyph's frame. (turn_on_face, turn_off_face): Take face argument instead of face id. Callers adapted. (Fresume_tty): Act on root frame. (tty_draw_row_with_mouse_face): Handle child frames. (restore_desired_matrix): Make sure glyphs' is live. (set_tty_hooks): Set terminal's frame_raise_lower_hook. (tty_frame_geometry, Ftty_frame_geometry, Ftty_frame_edges) (Ftty_frame_list_z_order, Ftty_frame_restack) (tty_display_dimension, Ftty_display_pixel_width) (Ftty_display_pixel_height): New functions. (syms_of_term): Defsubr new Lisp functions. * src/minibuf.c (read_minibuf): Use combine_updates for tty frames. * src/frame.h (struct frame): Always define parent_frame. Change 'visible' to be a boolean. Always define 'undecorated' and 'no_accept_focus'. Add 'z_order'. (FRAME_OBSCURED_P): Removed. (FRAME_PARENT_FRAME): Make it a function. (SET_FRAME_VISIBLE): Take a bool parameter, not an int. (FRAME_INTERNAL_BORDER_WIDTH): Don't special-base HAVE_WINDOW_SYSTEM. * src/frame.c (decode_tty_frame): New function. (set_menu_bar_lines): Set menu bar lines and height to 0 for tty child frames. Compute min height differently. (adjust_frame_size): Set FrameCols/Rows only for root tty frames. Mark tty root frame garbaged if child frame is adjusted. Run some code even if not HAVE_WINDOW_SYSTEM. (make_frame): Run some code even if not HAVE_WINDOW_SYSTEM. (make_terminal_frame): Implement child frame creation. (tty_child_pos_param, tty_child_size_param) (tty_child_frame_rect): New functions. (Fmake_terminal_frame): Parts rewritten for child frames. (do_switch_frame): Add child frame support. (Fframe_ancestor_p): Define if not HAVE_WINDOW_SYSTEM. (Fmake_frame_visible, Fmake_frame_invisible) (Fframe_visible_p, Fraise_frame): Handle tty frames differently. (store_frame_param): Signal error if trying to re-parent a tty child frame. (Fframe_parameters): Report some additional tty frame parameters. (Fmodify_frame_parameters): Handle tty child frames. (Fset_frame_position): Ditto. (frame_parms): Define index for additional frame parameters. (handle_frame_param): New function. (gui_set_frame_parameters_1): Use handle_frame_param. * src/disptab.h (DISP_TABLE_EXTRA_SLOTS): Change to 12. (enum box): New enumeration. * src/dispnew.c (check_rows): New function, #if 0. (frame_matrix_frame): Variable removed. (line_hash_code): Take glyph's frame into account. (build_frame_matrix_from_leaf_window): Do not copy glyphs from rows that aren't enabled. (fill_up_glyph_row_with_spaces): Add frame parameter, uses changed. (fill_up_glyph_row_area_with_spaces): Add frame parameter. Set glyph's frame to it. (fill_up_frame_row_with_spaces): Ditto. (set_frame_matrix_frame): Function removed. (make_current): Change signature. Callers changed. (mirrored_line_dance): Take a frame argument, not a matrix. (redraw_frame): Don't clear_frame a child frame. (struct rect): New. (rect_intersect, frame_pos_abs, frame_rect_abs, root_frame) (max_child_z_order, is_frame_ancestor, frames_with_root) (frames_with_parent, frame_z_order_cmp, Fframe__z_order_lessp) (frames_in_reverse_z_order, tty_raise_lower_frame, is_tty_frame) (is_tty_child_frame, is_tty_root_frame, first_enabled_row) (make_matrix_current, prepare_desired_root_row) (make_glyph_space, neutralize_wide_char, produce_box_glyphs) (produce_box_sides, produce_box_line, copy_child_glyphs) (update_window_frame, update_initial_frame, flush_terminal) (abs_cursor_pos, is_in_matrix, is_cursor_obscured) (terminal_cursor_magic, combine_updates_for_frame) (combine_updates): New functions. (update_frame): Rewritten. (Fdisplay__update_for_mouse_movement): Take a MOUSE_FRAME param. (syms_of_display): New symbol frame--z-order--lessp, tty-non-selected-cursor. New subr Sframe__z_order_lessp. Provide tty-child-frames. * src/dispextern.h (struct glyph): Add member 'frame'. (CHAR_GLYPH_SPACE_P): Add FRAME parameter. All uses changed. (GLYPH_EQUAL_P): Compare glyphs' frame. (SET_CHAR_GLYPH): Add parameter FRAME. (SET_CHAR_GLYPH_FROM_GLYPH): Ditto. * src/chartab.c (Fmake_char_table): Allow more than 10 display table slots. * lisp/xt-mouse.el (xterm-mouse--handle-mouse-movement): Use new terminal parameter xterm-mouse-frame. (xterm-mouse-position-function): Ditto. (xterm-mouse-event): Determine frame under mouse and compute frame-relative coordinates. Set terminal parameter xterm-mouse-frame. * lisp/tty-tip.el: New file implementing tooltip for ttys. * lisp/paren.el (show-paren-function): Don't check if display-graphics-p when using child frames. * lisp/frame.el (frame-at): New function. (tty-frame-geometry, tty-frame-edges, tty-frame-restack) (tty-display-pixel-height, tty-frame-list-z-order) (tty-display-pixel-width): Declare C function. (frame-geometry): Use tty-frame-geometry. (frame-edges): Use tty-frame-edges. (frame-list-z-order): Use tty-frame-list-z-order. (frame-restack): Use tty-frame-restack. (display-pixel-height): Use tty-display-pixel-height. (display-pixel-width): Use tty-display-pixel-width. * lisp/disp-table.el (display-table): Increase size to 12. (box-horizontal, box-vertical, box-down-right, box-down-left) (box-up-right, box-up-left): New display table slot names for box-drawing characters. (display-table-slot, set-display-table-slot): Extend doc string. (describe-display-table): Display new display table slots. (standard-display-unicode-special-glyphs): New function setting up Unicode characters for display table entries. * .gitignore: Don't ignore patch files, they are useful to see in Magit status buffer when applying patches (git am).
| * Merge branch 'master' into scratch/tty-child-framesGerd Möllmann2024-11-161-14/+21
| |\
| * | Initial child frames based on masterGerd Möllmann2024-10-221-2/+2
| | | | | | | | | | | | | | | | | | | | | This is based on a diff from 2024-10-15 which still applied. Since then, I've inadvertantly modified the igc branch so that it is no longer possible to get a clean diff of what has changed since I created the branch.
* | | Merge from origin/emacs-30Eli Zaretskii2024-11-301-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | afb34a3b239 ; Improve documentation of ':box' face attribute b38eb6da1d1 Fix docstring of c-ts-mode-indent-style 9fdb764898d Support PHP 8.4 and more reliable indentation (bug#74525) bda0bce9e43 Don't inadvertently reset frame scroll bar sizes (Bug#74435) 3f99cdaf26d Mention special variables in lexical binding documentation 0ef0f18f163 Allow to go back to using 'ruby-mode' after loading 'ruby... fc17e8727d4 Delete obsolete section in admin/notes/repo 3e396b2c5bb Improve documentation for 'while-let' 50b91ed458d Remove mention of treesit-defun-prefer-top-level (bug#74474) 03ae07291e8 Fix NS non-native fullscreen on initial frame load (bug#5... 8261d7224d3 Fix user options for listing and marking diary files # Conflicts: # lisp/progmodes/c-ts-mode.el
| * | | Fix NS non-native fullscreen on initial frame load (bug#59790)Aaron Jensen2024-11-241-0/+5
| | | | | | | | | | | | | | | | * src/nsterm.m ([EmacsView toggleFullScreen:]): Reset fs_is_native
* | | | Silence warning message in NS (bug#59790)Aaron Jensen2024-11-241-1/+4
| | | | | | | | | | | | | | | | | | | | * src/nsterm.m ([EmacsWindow createToolbar:]): Disable toolbar when fullscreen.
* | | | Remove NS non-native fullscreen pause (bug#28443)Aaron Jensen2024-11-241-10/+0
| |_|/ |/| | | | | | | | * src/nsterm.m (ns_fullscreen_hook): Remove timer workaround
* | | Ensure `move-frame-functions' trigger on macOS frame resizeRobert Pluim2024-11-071-0/+3
| | | | | | | | | | | | | | | | | | * src/nsterm.m ([EmacsView windowWillResize:toSize:]): Call windowDidMove to ensure that MOVE_FRAME_EVENT events are generated when a frame is resized. (Bug#74074)
* | | ; * src/nsterm.m (ns_draw_fringe_bitmap): Fix coding style.Eli Zaretskii2024-11-021-3/+3
| | |
* | | Fix inconsistency in bitmap overlay drawing for macOSDaniel Pettersson2024-11-021-14/+18
| |/ |/| | | | | | | * src/nsterm.m (ns_draw_fringe_bitmap): Respect 'overlay_p', by not clearing fringe if set, as its done in xterm. (Bug#71763)
* | Process focus-in events immediately on NSDaniel Colascione2024-10-021-0/+1
| | | | | | | | | | | | * src/nsterm.m ([EmacsView windowDidBecomeKey]): kick the main event loop when we get a focus-in event so it gets processed immediately (Bug#73559).
* | Merge from savannah/emacs-30Po Lu2024-08-131-0/+1
|\ \ | |/ | | | | | | | | | | b585826a65e ; * lisp/files.el (require-with-check): Fix doc string an... 6d55e94996e macOS: Wrong frame rectangle after wake (bug#71912) c49724b9649 ; Grammar fixes 5c3d340e001 Fix format 2 cmap handling in sfnt.c
| * macOS: Wrong frame rectangle after wake (bug#71912)Gerd Möllmann2024-08-121-0/+1
| | | | | | | | | | * src/nsterm.m ([EmacsView windowDidBecomeKey]): Call adjustEmacsFrameRect.
* | Merge from origin/emacs-30Eli Zaretskii2024-08-101-3/+3
|\ \ | |/ | | | | | | a0406f7c12e ; Improve documentation of 'add-to-list' bd6dfb97ff0 NS: Fix scroll-bar setting code (bug#72331)