summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug#55779Po Lu2022-06-051-4/+9
| | | | | * src/xterm.c (x_update_opaque_region): Don't make GTK reset the opaque region if F is a child frame.
* Better respect window manager stacking orderPo Lu2022-06-053-13/+62
| | | | | | | | | | * src/xfns.c (x_frame_list_z_order, Fx_frame_list_z_order): Use _NET_CLIENT_LIST_STACKING if supported. * src/xterm.c (x_wm_supports_1): New function. Accept dpyinfo instead of frame. (x_wm_supports): Use that function instead. * src/xterm.h: Update prototypes.
* Merge from origin/emacs-28Stefan Kangas2022-06-0512-96/+53
|\ | | | | | | | | | | | | | | | | | | | | | | 1b8719835a Update to Org 9.5.4 92c5faafd7 Clarify documentation of 'string-to-unibyte' 2848512654 ; * lisp/files.el (find-file): Avoid too short lines in do... 672f9f787f Improve keystrokes in doc strings in some find-file functions ef5651cc77 Fix segfaults when starting on 80x26 TTY frames bfa647972f ; Fix doc string of 'delete-selection-repeat-replace-region' a95d46e00f Make it explicit that a couple of _s in lispref are unders... 5c74c25123 Remove from FAQ the MS-Windows info about BDF fonts edb48646f2 Fix Display Property manual example
| * Update to Org 9.5.4Kyle Meyer2022-06-044-6/+6
| |
| * Clarify documentation of 'string-to-unibyte'Eli Zaretskii2022-06-041-5/+6
| | | | | | | | | | | | * doc/lispref/nonascii.texi (Converting Representations): Clarify what 'string-to-unibyte' does. Reported by Richard Hansen <rhansen@rhansen.org>. (Bug#55777)
| * ; * lisp/files.el (find-file): Avoid too short lines in doc string.Eli Zaretskii2022-06-021-9/+8
| |
| * Improve keystrokes in doc strings in some find-file functionsIkumi Keita2022-06-021-2/+4
| | | | | | | | | | | | | | | | | | * lisp/files.el (find-file): (find-file-other-window): (find-file-other-frame): Include the correct keymap so that keystrokes are displayed better (bug#55761). Copyright-paperwork-exempt: yes
| * Fix segfaults when starting on 80x26 TTY framesEli Zaretskii2022-06-021-1/+25
| | | | | | | | | | | | | | | | * src/dispnew.c (adjust_frame_glyphs_for_frame_redisplay): Make sure we have valid frame glyph matrices for the interactive session. (Bug#55760) (adjust_frame_glyphs): Add assertions for when we fail to allocate valid frame glyph matrices for a TTY frame.
| * ; Fix doc string of 'delete-selection-repeat-replace-region'Eli Zaretskii2022-06-011-1/+2
| | | | | | | | | | * lisp/delsel.el (delete-selection-repeat-replace-region): Doc fix. (Bug#55755)
| * Make it explicit that a couple of _s in lispref are underscoresLars Ingebrigtsen2022-06-012-2/+2
| | | | | | | | | | | | * doc/lispref/strings.texi (Custom Format Strings): * doc/lispref/control.texi (pcase Macro): Make it explicit that it's an underscore (bug#55742).
| * Remove from FAQ the MS-Windows info about BDF fontsEli Zaretskii2022-05-311-70/+0
| | | | | | | | | | | | * doc/misc/efaq.texi (How to add fonts): Remove the MS-Windows specific steps, as BDF fonts are no longer supported on MS-Windows. (Bug#55740)
| * Fix Display Property manual exampleIkumi Keita2022-05-311-1/+1
| | | | | | | | | | | | | | * doc/lispref/display.texi (Display Property): Fix syntax of example (bug#55736). Copyright-paperwork-exempt: yes
* | Fix positioning of non-system tooltips on GTK buildsPo Lu2022-06-052-9/+10
| | | | | | | | | | | | * src/xfns.c (compute_tip_xy): Fix coding style. * src/xterm.c (handle_one_xevent): Set tooltip size immediately on GTK builds.
* | Adjust last change for GTK+ 2.xPo Lu2022-06-051-0/+9
| | | | | | | | * src/xterm.c (x_tooltip_window_to_frame): Fix build on GTK 2.x.
* | Make `mouse-position' work correctly with GTK tooltipsPo Lu2022-06-051-4/+34
| | | | | | | | | | | | | | * src/xterm.c (x_tooltip_window_to_frame): New parameter `unrelated_tooltip_p'. (XTmouse_position): Pass that, and if it turns out to be true, look beneath the tooltip window.
* | Make loaddefs-generate--parse-file more robustLars Ingebrigtsen2022-06-041-36/+43
| | | | | | | | | | | | * lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--parse-file): Ensure that we don't have an autoload cookie on the first column inside a string.
* | Make skkdic-convert replacements literalLars Ingebrigtsen2022-06-041-1/+1
| | | | | | | | | | | | | | | | * lisp/international/ja-dic-cnv.el (skkdic-convert): The replacement is literal and fixed-case. (The build on EMBA is failing mysteriously with "Match data clobbered by buffer modification hooks", so this is mainly a stab in the dark at fixing that, but it's also generally correct.)
* | Make vc-mtn obsoleteLars Ingebrigtsen2022-06-042-0/+4
| | | | | | | | * lisp/obsolete/vc-mtn.el: Make obsolete (bug#6513).
* | Fix failing shortdoc testLars Ingebrigtsen2022-06-041-5/+5
| | | | | | | | | | | | * lisp/emacs-lisp/shortdoc.el (string): Each example section is supposed to contain only examples of using the function in question (as policed by the FAILED shortdoc-examples test).
* | Fix error during DND from both Emacs and GTK at the same timePo Lu2022-06-041-0/+6
| | | | | | | | | | | | | | * src/xterm.c (x_dnd_get_target_window): Make mapping and releasing the COW atomic. This is to fix a rare bug when MPX (multi-pointer X) is in use and the user tries to drag from both GTK and Emacs at the same time using multiple seats.
* | Further raise-sexp doc string improvementLars Ingebrigtsen2022-06-041-1/+1
| | | | | | | | | | * lisp/emacs-lisp/lisp.el (raise-sexp): Fix the key binding syntax in the doc string.
* | Improve the raise-sexp doc stringLars Ingebrigtsen2022-06-041-1/+16
| | | | | | | | | | * lisp/emacs-lisp/lisp.el (raise-sexp): Try to explain what the command does (bug#55788).
* | Fix warnings introduced by the lisp-mode-autoload-regexp changeLars Ingebrigtsen2022-06-041-1/+1
| | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs): The package name bit in ###;;;foo-autoload may be missing, so do a lax match (bug#55784).
* | Add a face to \\= doc string escapesLars Ingebrigtsen2022-06-041-0/+3
| | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs): Add a face to \\= doc string escapes (bug#55783).
* | Further notes about quotation marks in the manualLars Ingebrigtsen2022-06-041-1/+5
| | | | | | | | | | * doc/lispref/tips.texi (Documentation Tips): Note that we previously recommended using single quotation marks (bug#55780).
* | Allow keyboard modifiers to control the action taken during dired DNDPo Lu2022-06-042-57/+87
| | | | | | | | | | | | | | | | | | | | | | * doc/emacs/dired.texi (Misc Dired Features): Update documentation. * lisp/dired.el (dired-mouse-drag-files): Update defcustom for new values. (dired-mouse-drag): Recognize more values of `dired-mouse-drag-files' and keyboard modifiers. (dired-mouse-drag-files-map): Add C-down-mouse-1, M-down-mouse-1 and S-down-mouse-1.
* | * lisp/emacs-lisp/shortdoc.el (string): Add `string-collate-lessp'.Michael Albinus2022-06-041-1/+6
| |
* | Add support for the Grantha script (bug#55782)समीर सिंह Sameer Singh2022-06-045-1/+157
| | | | | | | | | | | | | | | | | | | | | | * lisp/language/indian.el ("Grantha"): New language environment. Add composition rules for Grantha. Add sample text and input method. * lisp/international/fontset.el (script-representative-chars) (setup-default-fontset): Support Grantha. * lisp/leim/quail/indian.el ("grantha"): New input method. * etc/HELLO: Add two Grantha greetings. * etc/NEWS: Announce the new language environment.
* | Fix file drag-and-drop on GNUstepPo Lu2022-06-042-11/+32
| | | | | | | | | | | | | | * src/nsselect.m (ns_decode_data_to_pasteboard): Convert URL to path names when we're using NSFilenamesPboardType. * src/nsterm.m: ([EmacsView performDragOperation:]): Handle cases where plist is a string.
* | Support dragging multiple files on NSPo Lu2022-06-042-13/+57
| | | | | | | | | | | | | | | | | | | | This has to use a deprecated pasteboard type, since Emacs uses the "old" (but not deprecated) dragImage: method for drag-and-drop, which can't drop file URLs. * lisp/term/ns-win.el (x-begin-drag): Update accordingly. * src/nsselect.m (ns_decode_data_to_pasteboard): (Fns_begin_drag): Allow files to be a list of filenames as well.
* | Fix splurious drag-mouse-1 events after NS drag-and-dropPo Lu2022-06-041-1/+5
| | | | | | | | | | * src/nsterm.m ([EmacsWindow beginDrag:...]): Clear dpyinfo->grabbed.
* | Clear mouse face during drag-and-dropPo Lu2022-06-041-0/+8
| | | | | | | | | | * src/xterm.c (handle_one_xevent): Clear mouse face during drag and drop, since note_mouse_highlight isn't called.
* | Another attempt to void compiler warnings on macOS (bug#55595)Eli Zaretskii2022-06-041-0/+1
| | | | | | | | | | * configure.ac (WERROR_CFLAGS): Use "-Wno-unknown-pragmas" with Clang.
* | Improve doc of `mouse-drag-mode-line-buffer'Po Lu2022-06-043-2/+13
| | | | | | | | | | | | | | * doc/emacs/frames.texi (Mouse Commands): Document `mouse-drag-mode-line-buffer'. * etc/NEWS: Explain where that option is supported. * lisp/mouse.el (mouse-drag-mode-line-buffer): Likewise.
* | Make XTmouse_position faster during dragging with lots of framesPo Lu2022-06-041-2/+23
| | | | | | | | | | | | * src/xterm.c (x_tooltip_window_to_frame): New function. (XTmouse_position): Use that to find tooltip frames underneath the pointer instead.
* | Fix leak of toplevel dataPo Lu2022-06-041-0/+3
| | | | | | | | | | * src/xterm.c (x_dnd_compute_toplevels): Make sure to free `data'.
* | Fix leak of DND toplevels when return-frame is non-nilPo Lu2022-06-041-10/+73
| | | | | | | | | | | | | | * src/xterm.c (x_dnd_free_toplevels): Don't leak DND toplevels if returning a frame. (x_dnd_begin_drag_and_drop): Make this function reentrant from the IO error handler.
* | Post-review additionsDmitry Gutov2022-06-041-2/+3
| | | | | | | | | | | | * lisp/progmodes/project.el (project-vc-include-untracked): Add :version. (project--vc-list-files): Use 'and' instead of 'when'.
* | Add new user option project-vc-include-untrackedJan Synáček2022-06-043-5/+19
| | | | | | | | | | * doc/emacs/maintaining.texi (Projects): Document it. * lisp/progmodes/project.el (project--vc-list-files): Use it.
* | project-query-replace-regexp: Filter out non-regular filesDmitry Gutov2022-06-041-1/+6
| | | | | | | | | | * lisp/progmodes/project.el (project-query-replace-regexp): Filter out non-regular files (bug#55382).
* | Fix Tramp testMichael Albinus2022-06-031-0/+1
| | | | | | | | | | * test/lisp/net/tramp-tests.el (tramp-test31-signal-process): Skip on MS Windows.
* | Add remote file functions to shortdocMichael Albinus2022-06-031-0/+29
| | | | | | | | | | | | | | * lisp/net/tramp-integration.el (shortdoc-add-function) (shortdoc--groups): Declare. (shortdoc): Configure shortdoc.el to recognize file name functions for remote access.
* | Fix dired drag and drop actionsPo Lu2022-06-031-4/+4
| | | | | | | | | | * lisp/dired.el (dired-mouse-drag): Make `link' values work again.
* | Handle dragging multiple files on HaikuPo Lu2022-06-031-19/+36
| | | | | | | | | | | | * lisp/term/haiku-win.el (haiku-dnd-selection-converters) (haiku-dnd-convert-file-name, x-begin-drag): Handle vector values of selection data.
* | ; Improve documentation of 'battery-update-functions'Eli Zaretskii2022-06-031-8/+8
| | | | | | | | | | | | * lisp/battery.el (battery-update-functions) (display-battery-mode): Improve wording of doc strings. (Bug#55770)
* | ; Improve documentation of new drag-and-drop APIsEli Zaretskii2022-06-032-62/+67
| | | | | | | | | | | | * lisp/dnd.el (dnd-begin-text-drag, dnd-begin-file-drag): * doc/lispref/frames.texi (Drag and Drop): Improve wording of documentation of 'dnd-begin-text-drag' and 'dnd-begin-file-drag'.
* | Allow dragging multiple files from a Dired bufferPo Lu2022-06-034-20/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/frames.texi (Drag and Drop): Document new function `dnd-begin-drag-files'. * lisp/dired.el (dired-mouse-drag-files): Update doc string. (dired-map-over-marks): Accept a new value of ARG `marked', meaning to not fall back to the current file if no marks were found. (dired-mouse-drag): Handle marked files in an intuitive way. * lisp/dnd.el (dnd-last-dragged-remote-file): Allow list values as well. (dnd-remove-last-dragged-remote-file): Handle list values. (dnd-begin-file-drag): Fix file name expansion. (dnd-begin-drag-files): New function. * lisp/select.el (xselect-convert-to-filename): Handle mutiple files (a vector of file names):.
* | Don't issue warnings for Unicode quotes for nowLars Ingebrigtsen2022-06-031-6/+0
| | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-docstring-style-warn): Remove warning for "Unicode quotes" for now (bug#55780).
* | Revert the `...' documentation back to actual usageLars Ingebrigtsen2022-06-031-16/+10
| | | | | | | | | | | | * doc/lispref/tips.texi (Documentation Tips): Document how `...' is really used now (bug#55780). ‘...’ is not really used in the Emacs sources.
* | Let ?\LF signal an error (bug#55738)Mattias Engdegård2022-06-033-2/+9
| | | | | | | | | | | | | | | | | | As suggested by Stefan Monnier. * src/lread.c (read_escape): Signal an error for ?\LF since it cannot reasonably be intended. * test/src/lread-tests.el (lread-escaped-lf): Update test. * etc/NEWS: Announce.