aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | ; Fix last changeEli Zaretskii2025-02-231-2/+2
| | | | | | | | | | | | * src/frame.c (syms_of_frame) <frame-inhibit-implied-resize>: * doc/lispref/frames.texi (Implied Frame Resizing): Don't use passive voice. (Bug#76275)
* | Optionally inhibit implied resizing while frame is made (Bug#76275)Martin Rudalics2025-02-231-23/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | * src/frame.c (frame_inhibit_resize): Handle new value 'force' for 'frame-inhibit-implied-resize' (Bug#76275). (frame_inhibit_implied_resize): New value 'force' to inhibit implied resizing while a new frame is made. * lisp/cus-start.el (frame-inhibit-implied-resize): Make new value 'force' customizable. * doc/lispref/frames.texi (Implied Frame Resizing): Describe new value 'force' of 'frame-inhibit-implied-resize'. * etc/NEWS: Announce new value 'force' of 'frame-inhibit-implied-resize'.
* | Enforce redisplay when deleting a child frame (bug#76406)Gerd Möllmann2025-02-232-4/+20
| | | | | | | | | | | | * src/term.c (tty_free_frame_resources): When deleting a child mark its root frame to garbaged. * src/dispnew.c (prepare_desired_root_row): Add a check for GLYPH_DEBUG.
* | Revert “Pacify GCC in pgtkselect malloc alignment”Paul Eggert2025-02-221-39/+92
| | | | | | | | | | | | | | Problem reported by the wurfkreuz (Bug#76414). * src/pgtkselect.c: Revert my commit ff65cc9944dc0b37986d512ee8b9817c6913db36 dated Sun Jan 26 22:15:49 2025 -0800 for now. I may come up with a better commit later.
* | Make 'text-property-default-nonsticky' buffer-local when setEli Zaretskii2025-02-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | * src/textprop.c (syms_of_textprop) <text-property-default-nonsticky>: Make buffer-local when set. (Bug#76445) * etc/symbol-releases.eld: Add text-property-default-nonsticky. * etc/NEWS: * doc/lispref/text.texi (Sticky Properties): Document the change.
* | ; Fix typosStefan Kangas2025-02-2210-14/+14
| |
* | Merge from savannah/emacs-30Po Lu2025-02-211-1/+1
|\ \ | |/ | | | | | | 25ba2536091 Fix reported Haiku build error in emacs-30.1-rc1 92e96a11752 ; Delete troff markers from ChangeLog files
| * Fix reported Haiku build error in emacs-30.1-rc1Po Lu2025-02-211-1/+1
| | | | | | | | | | * src/haiku_support.cc (keysym_from_raw_char): Don't define duplicate cases on the previous release.
| * ; Delete troff markers from ChangeLog filesemacs-30.1-rc1Stefan Kangas2025-02-209-9/+9
| |
* | * src/fns.c (Fmapconcat): Faster fast-path conditionMattias Engdegård2025-02-201-1/+1
| |
* | ; Spelling fix in comment.Paul Eggert2025-02-201-1/+1
| |
* | Fix set-time-zone-rule on DJGPPPo Lu2025-02-201-0/+24
| | | | | | | | | | | | | | | | | | * lisp/loadup.el ("tooltip"): Load even on MS-DOS. * src/timefns.c (tzvalbuf): Don't define on MS-DOS. (emacs_getenv_TZ, emacs_setenv_TZ) [MSDOS]: Call getenv and putenv rather than overwrite existing environment storage to update DJGPP's environment modification counter.
* | ; * src/pdumper.c (Fdump_emacs_portable): Fix typo in comment.Po Lu2025-02-201-1/+1
| |
* | Port to modern GCC and pdumper on MS-DOSPo Lu2025-02-203-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.bat (mvOk): Protoize. (djgppOk): Include sys/version.h for _DJGPP_MINOR. * lisp/loadup.el: If system-type is ms-dos, dump bootstrap-emacs as b-emacs.dmp. * msdos/INSTALL: Document new versions of tools that have been verified successfully to compile Emacs. * msdos/emacs.djl: New linker script that arranges to link symbols in `.subrs' in a contiguous part of data, as the DJGPP runtime appears to treat any non-data and non-text section as allocatable. * msdos/mainmake.v2 (install): Install emacs.dmp alongside emacs.exe. * msdos/sed1v2.inp (CFLAGS): Define to -O2 -g3. (LDFLAGS): Provide the said linker script. (HAVE_PDUMPER): Define to yes. (UNEXEC_OBJ, PAXCTL_dumped, PAXCTL_notdumped): Delete. (DUMPING): Set to pdumper. (MAKE_PDUMPER_FINGERPRINT): Don't erase this variable. Don't stubify or set minstack. Remove native-comp specific directives. Don't remove temacs prior to copying and replace `pdmp' extension with DOS-conformant `dmp'. * msdos/sed2v2.inp (HAVE_UNEXEC): Remove definition. (HAVE_PDUMPER): Define to 1. * msdos/sed6.inp (top_srcdir): Define appropriately. * msdos/sedlibmk.inp (HAVE_BLKCNT_T): Define to 1. * src/emacs.c (load_pdump) [MSDOS]: Use `dmp' suffix. * src/pdumper.c (Fdump_emacs_portable) [MSDOS]: Replace ".pdmp" suffixes with ".dmp".
* | Don't call x-popup-function for non-tty framesGerd Möllmann2025-02-191-8/+10
| | | | | | | | | | | | | | * src/menu.c (x_popup_menu_1): Don't call x-popup-function for non-tty frames (syms_of_menu): Remove Qx_popup_menu_function because unused, extend doc string of x-popup-menu-function.
* | Handle nil top frame (bug#76410)Gerd Möllmann2025-02-191-1/+1
| | | | | | | | | | * src/frame.c (do_switch_frame): Don't assume that top_frame is always a frame, it can be nil.
* | (lexical-binding): Allow changing the default value (bug#74145)Stefan Monnier2025-02-181-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/loadup.el: Preserve (default-toplevel-value 'lexical-binding). * src/lread.c (Fload, Feval_buffer): Obey (default-toplevel-value 'lexical-binding). * doc/lispintro/emacs-lisp-intro.texi (Lexical vs Dynamic Binding Example): Use the lexical dialect also for the dynamic scoping example. * doc/lispref/edebug.texi (Edebug Eval): Remove long-obsolete mention of Edebug support for `lexical-let`.
* | Merge remote-tracking branch 'refs/remotes/origin/master'Stefan Monnier2025-02-181-4/+1
|\ \
| * | ; * src/menu.c (x_popup_menu_1): Fix typo.Gerd Möllmann2025-02-181-1/+1
| | |
| * | * src/menu.c (x_popup_menu_1): Use calln.Gerd Möllmann2025-02-181-4/+1
| | |
* | | (replace_range): Delete last arg, always the negation of the first boolStefan Monnier2025-02-185-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/insdel.c (replace_range): Merge last arg, with `prepare`. Rename `prepare` to `run-mode-hooks`. * src/lisp.h (replace_range): Adjust accordingly. * src/editfns.c (Ftranslate_region_internal): * src/cmds.c (internal_self_insert): * src/search.c (Freplace_match): Adjust callers.
* | | src/search.c (Freplace_match): Let `replace_range` call the a-c-fStefan Monnier2025-02-181-2/+1
| | |
* | | * src/editfns.c (Fsubst_char_in_region): Delete left-over codeStefan Monnier2025-02-181-60/+5
|/ / | | | | | | This code was missed back in 2000 (commit 1b16afa45bb6).
* | * src/menu.c (x_popup_menu_1): Fix coding style.Po Lu2025-02-181-4/+4
| |
* | Add x-popup-menu-functionGerd Möllmann2025-02-181-0/+12
| | | | | | | | | | * src/menu.c (x_popup_menu_1): If non-nil call x-popup-menu-function. (syms_of_menu): DEFSYM x-popup-menu-function, DEFVAR_LISP it.
* | Hide cursor based on tty frame's `cursor-type'Gerd Möllmann2025-02-181-0/+8
| | | | | | | | | | * src/dispnew.c (terminal_cursor_magic): if selected-frame has `(cursor-type . nil)' parameter.
* | ; * src/xdisp.c (maybe_produce_line_number): Fix last change (bug#76362).Eli Zaretskii2025-02-171-1/+2
| |
* | Fix child coordinate calculation (bug#76321)Gerd Möllmann2025-02-171-10/+10
| | | | | | | | | | * src/dispnew.c (rect_intersect): Simplify. (copy_child_glyphs): Compute child coordinates using child_xy.
* | Implement `(- N)' frame position specifications on HaikuPo Lu2025-02-171-1/+80
| | | | | | | | | | | | * src/haikuterm.c (haiku_calc_absolute_position): New function. (haiku_set_offset): Apply offsets configured by the said function.
* | ; * src/androidterm.c (android_set_offset): Apply correct frame offsets.Po Lu2025-02-171-1/+2
| |
* | ; Correct merge errors.Po Lu2025-02-171-3/+1
| |
* | Merge from savannah/emacs-30Po Lu2025-02-171-5/+24
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | e3dc0ea2544 Fix crash in frame deletion on Android e34ea5db5f1 * src/pgtkterm.c (pgtk_enumerate_devices): Circumvent bug... 48f9d6aafea * lisp/man.el (Man-shell-file-name): Ensure a Bourne shel... 7016c13e5e6 ; Update etc/AUTHORS (bug#76319). 0bc7b5a389b ; * admin/authors.el (authors-aliases): Add "Elías Gabrie... e9c4f642b9d ; * doc/emacs/package.texi (Package Installation): Add om... 8c4294f370f ; Move index entries in user manual # Conflicts: # src/pgtkterm.c
| * * src/pgtkterm.c (pgtk_enumerate_devices): Circumvent bug#76239.Po Lu2025-02-171-5/+19
| |
* | Synchronize frame placement logic with XPo Lu2025-02-172-3/+79
| | | | | | | | | | | | | | | | | | * src/androidterm.c (android_calc_absolute_position): New function. (android_set_offset): Call android_calc_absolute_position. * src/pgtkterm.c (pgtk_calc_absolute_position): Synchronize with X.
* | Prevent buffer overflow in line-numbering codeEli Zaretskii2025-02-151-2/+13
| | | | | | | | | | | | * src/xdisp.c (maybe_produce_line_number): Limit the value of 'display-line-numbers-width' to what can be shown in the window, and set dimension of the lnum_buf[] accordingly. (Bug#75969)
* | Merge from savannah/emacs-30Po Lu2025-02-152-1/+12
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 58e4bfe3408 Add two missing NULL checks of malloc'd values on Android 81ca9c75f11 ; * etc/PROBLEMS: Document how to grant storage permissio... d82d4689794 ; * etc/TODO: Rethink finder-known-keywords. b9b9c33dcbe Fix (Non)GNU ELPA description in manual 87a61eba1b8 Move 'package-archives' documentation to emacs manual 316e47c5af4 ; * src/fns.c (Fmapconcat): Doc fix (bug#76242). 3cfbeb3fca1 ; Fix >72 character long lines in docstring c68886ddb76 ; Change "virus" to "malicious" in lispref 6701866be4d Document (Non-)GNU ELPA in emacs manual 02851768b72 ; * .mailmap: Add entry for Thuna. (Bug#76221) 2d7a8cbf4c8 Fix author name 19314257485 Use c-ts-common's comment setup in go-ts-mode (bug#75978) 316893ca387 Add java-language-server to eglot-server-programs
| * Add two missing NULL checks of malloc'd values on AndroidPo Lu2025-02-151-0/+10
| | | | | | | | | | * src/android.c (sendDndUri, sendDndText): Verify that allocated string memory is non-nil before writing to it.
| * ; * src/fns.c (Fmapconcat): Doc fix (bug#76242).Eli Zaretskii2025-02-131-1/+2
| |
* | Avoid crashes in lread.c when invalid characters are readPip Cet2025-02-141-5/+7
| | | | | | | | | | | | | | | | | | | | * src/lread.c (readchar): Don't crash for non-fixnum return values. (read_filtered_event): Don't crash for invalid symbol properties. (Fread_char): (Fread_char_exclusive): (character_name_to_code): Check 'FIXNUMP' before using 'XFIXNUM'. (read_char_escape): Crash on invalid Lisp-supplied data when ENABLE_CHECKING; otherwise, signal an error.
* | Handle negative frame position values in xterm.c (Bug#76190)Martin Rudalics2025-02-121-2/+2
| | | | | | | | | | * src/xterm.c (x_calc_absolute_position): Always handle negative positions when XNegative or YNegative were set (Bug#76190).
* | X11 drag-and-drop correctionsPo Lu2025-02-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | * lisp/x-dnd.el (x-dnd-handle-drag-n-drop-event): Take cdddr of client-message, skipping the selection information. (x-dnd-do-direct-save): Do not erase the local copy of a remote file if it was not in fact copied on behalf of the recipient. (x-dnd-handle-xds-drop): Return proper action. * src/xterm.c (x_term_init): Remove unused variable on non-GTK builds.
* | * src/bidi.c: Add comments to uses of INT_PROMOTE (bug#75964).Eli Zaretskii2025-02-111-5/+7
| |
* | Minor simplification in Fdescribe_buffer_bindingsStefan Kangas2025-02-111-4/+2
| | | | | | | | * src/keymap.c (Fdescribe_buffer_bindings): Minor simplification.
* | Pacify gcc -Wswitch-enum in bidi.cPaul Eggert2025-02-101-6/+6
| | | | | | | | | | | | | | | | * src/bidi.c (bidi_get_type, bidi_resolve_explicit) (bidi_find_bracket_pairs, bidi_resolve_brackets) (bidi_resolve_neutral): Use ‘switch (INT_PROMOTE (E))’ to indicate that it’s intended that we not enumerate all the enum values.
* | Set process-adaptive-read-buffering to nil by defaultStefan Kangas2025-02-101-1/+1
| | | | | | | | | | * src/process.c (syms_of_process) <process-adaptive-read-buffering>: Set the default to nil. (Bug#75574)
* | Fix handling of visibility on tty frames (Bug#76031)Martin Rudalics2025-02-106-73/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/frame.h (FRAME_REDISPLAY_P): Remove. Use the new function frame_redisplay_p instead. Extern frame_redisplay_p. * src/frame.c (frame_redisplay_p): New function to replace FRAME_REDISPLAY_P macro. (make_terminal_frame): Don't tinker with frame visibility and don't make the new frame the terminal's top frame. (do_switch_frame): Make sure frame switched to and any of its ancestors are visible. Don't reset the visibility of other frames. (other_frames): Do not assume tty frames are by default visible. (Fmake_frame_invisible): When making the selected tty frame invisible, explicitly select the next visible frame. * src/dispnew.c (Fredraw_display): Use frame_redisplay_p instead of FRAME_REDISPLAY_P. * src/xdisp.c (clear_garbaged_frames, echo_area_display) (prepare_menu_bars, redisplay_internal, display_and_set_cursor) (gui_clear_cursor): Use frame_redisplay_p instead of FRAME_REDISPLAY_P. * src/keyboard.c (tty_read_avail_input): When storing an event and the selected frame is a child frame whose root is its terminal's top frame, set the frame_or_window slot to the child frame since otherwise the next switch frame event will select the top frame instead.
* | Fix compilation on Haiku Nightly hrev58622Po Lu2025-02-101-0/+10
| | | | | | | | | | | | | | | | | | | | * configure.ac (BOBJECTLIST_OWNERSHIP_IS_TEMPLATE_PARAMETER): Define if BObjectList ownership over its contents is specified as a template parameter. * src/haiku_support.cc (class EmacsFontSelectionDialog) [BOBJECTLIST_OWNERSHIP_IS_TEMPLATE_PARAMETER]: Adjust accordingly.
* | Merge from origin/emacs-30Eli Zaretskii2025-02-081-0/+4
|\ \ | |/ | | | | | | | | | | ed9dd4705c7 ; * admin/authors.el (authors-aliases): Add aliases. 223ee56aae7 ; Avoid passive tense in Emacs manual be4cf26c167 Fix gnus-score-find-score-files-function :type 143f1096daa Improve documentation of 'file-name-concat'
| * Improve documentation of 'file-name-concat'Eli Zaretskii2025-02-061-0/+4
| | | | | | | | | | | | * doc/lispref/files.texi (Directory Names): * src/fileio.c (Ffile_name_concat): Advise not to use 'file-name-concat' unless necessary. (Bug#76023)
* | ; * src/keyboard.c (syms_of_keyboard): Fix previous change.Robert Pluim2025-02-071-0/+3
| |