summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into scratch/etags-regenDmitry Gutov2022-01-073086-19574/+154959
|\
| * Handle internal events specially on PGTKYuuki Harano2022-01-071-0/+38
| | | | | | | | | | * src/xgselect.c (xg_select): If there are pending events already, don't sleep.
| * Write documentation about ARG of the preedit-text event on PGTKYuuki Harano2022-01-071-1/+15
| | | | | | | | * doc/lispref/commands.texi (Misc Events):
| * Fix special-cased cursor foreground and background correctly on PGTKPo Lu2022-01-071-1/+13
| | | | | | | | | | | | * src/pgtkfns.c (x_set_foreground_color): (x_set_background_color): Set cursor color as well if appropriate. (bug#53073)
| * Add documentation for the `none' input stylePo Lu2022-01-071-0/+5
| | | | | | | | | | * doc/emacs/xresources.texi (Table of Resources): Document missing value of `inputStyle'.
| * ; * doc/lispref/commands.texi (Misc Events): Fix typo.Po Lu2022-01-071-2/+2
| |
| * * admin/MAINTAINERS: Describe Modus themes as externally maintained packageProtesilaos Stavrou2022-01-071-0/+7
| |
| * * doc/lispref/display.texi (Face Attributes): Update doc for new values.Po Lu2022-01-071-2/+3
| |
| * Improve documentation of the preedit-text eventPo Lu2022-01-071-1/+3
| | | | | | | | | | * doc/lispref/commands.texi (Misc Events): Document how `preedit-text' events are used.
| * Disable new input method behaviour by default on XPo Lu2022-01-071-1/+1
| | | | | | | | * src/xfns.c (supported_xim_styles): Default to STYLE_NONE.
| * ; * doc/lispref/commands.texi (Misc Events): Fix wording.Eli Zaretskii2022-01-071-5/+5
| |
| * ; * doc/emacs/xresources.texi (Table of Resources): Use @table.Eli Zaretskii2022-01-071-10/+15
| |
| * Allow controlling the X input method stylePo Lu2022-01-075-9/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/xresources.texi (Table of Resources): Document new resource `inputStyle'. * etc/NEWS: Announce new resource. * src/xfns.c (create_frame_xic): Give the display info to `best_xim_style'. (best_xim_style): Take the display's preferred style into account. * src/xterm.c (x_term_init): Parse the preferred style if inputStyle is set. * src/xterm.h (struct x_display_info): New field `preferred_xim_style'. (STYLE_OFFTHESPOT, STYLE_OVERTHESPOT, STYLE_ROOT): (STYLE_CALLBACK, STYLE_NONE): New macros.
| * * src/haikuselect.c: Fix implicit declaration of free.Po Lu2022-01-071-0/+2
| |
| * Display pre-edit information from X input methodsPo Lu2022-01-079-23/+378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also repurposes the `pgtk-preedit-text' event to be meaningful on X, renames it `preedit-text', and documents it. * doc/lispref/commands.texi (Misc Events): Document `preedit-text'. * lisp/term/pgtk-win.el (pgtk-preedit-text): Bind to `preedit-text' instead. * lisp/term/x-win.el (x-preedit-overlay): New variable. (x-preedit-text): New command, bound as a special event to `preedit-text'. * src/keyboard.c (kbd_buffer_get_event): (make_lispy_event): Rename PGTK_PREEDIT_TEXT_EVENT PREEDIT_TEXT_EVENT. (syms_of_keyboard): New defsym `preedit-text'. * src/pgtkterm.c (pgtk_enqueue_preedit): Use PREEDIT_TEXT_EVENT instead. * src/termhooks.h (enum event_kind): Rename `PGTK_PREEDIT_TEXT_EVENT' `PREEDIT_TEXT_EVENT'. * src/xfns.c (Xxic_preedit_draw_callback): (Xxic_preedit_caret_callback): (Xxic_preedit_done_callback): (Xxic_preedit_start_callback): New callback variables. (STYLE_OFFTHESPOT, STYLE_OVERTHESPOT): (STYLE_ROOT, STYLE_CALLBACK, STYLE_NONE): New macros. (supported_xim_styles): Use reasonable values. This also serves as a better fix for bug#10867. (best_xim_style): Restore code deleted as part of the original fix for bug#10867. (create_frame_xic): Add preedit callbacks. (xic_set_preeditarea): Add preedit callbacks. (x_xic_to_frame): (xic_preedit_start_callback): (xic_preedit_caret_callback): (xic_preedit_done_callback): (x_xim_text_to_utf8_unix): (xic_preedit_draw_callback): New functions. * src/xterm.c (x_detect_focus_change): Fix type of XI event. (x_free_frame_resources): Free preedit text buffer if still present. * src/xterm.h (struct x_output): New fields `preedit_size', `preedit_chars' and `preedit_active'.
| * * admin/MAINTAINERS: Add myself for some things.Po Lu2022-01-071-0/+28
| |
| * ; Fix recent changes in rcirc documentationEli Zaretskii2022-01-062-2/+2
| | | | | | | | | | * doc/misc/rcirc.texi (Changing the time stamp format): * lisp/net/rcirc.el (rcirc-when): Fix documentation wording.
| * ; * NEWS: Revert typo from last commitPhilip Kaludercic2022-01-061-1/+1
| |
| * Add rcirc-when commandPhilip Kaludercic2022-01-063-1/+18
| | | | | | | | | | | | * doc/misc/rcirc.texi: Document rcirc-when. * etc/NEWS: Document rcirc-when. * lisp/net/rcirc.el (rcirc-when): Add command.
| * Improve documentation of font-related face attributesEli Zaretskii2022-01-061-5/+9
| | | | | | | | | | * lisp/faces.el (set-face-attribute): Mention aliases of face attributes. (Bug#53050)
| * Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacsEli Zaretskii2022-01-061-3/+14
| |\
| | * * admin/MAINTAINERS: Describe Tramp as externally maintained packageMichael Albinus2022-01-061-3/+14
| | |
| * | Revert "Fix selection of fonts that don't have regular weight"Eli Zaretskii2022-01-061-6/+3
| |/ | | | | | | | | | | | | | | | | | | This reverts commit 1b2511fa2aed460120a36765ba16c14e355eef1d. That commit caused unintended regressions which are worse than the problem it attempted to fix. See the discussion at https://lists.gnu.org/archive/html/emacs-devel/2021-12/msg01643.html for the details.
| * Remove some more useless clipping stack calls on HaikuPo Lu2022-01-061-10/+0
| | | | | | | | | | | | | | * src/haikuterm.c (haiku_draw_box_rect): (haiku_draw_relief_rect): (haiku_draw_text_decoration): Get rid of calls to BView_StartClip and BView_EndClip.
| * Generate TOUCH_END_EVENTs on NS when mwheel momentum is disabledPo Lu2022-01-061-0/+16
| | | | | | | | | | | | * src/nsterm.m ([EmacsView mouseDown:]): Generate TOUCH_END_EVENTs on the first event whose momentum phase is not NSEventPhaseNone.
| * Make sure touch end events aren't sent too many timesPo Lu2022-01-061-1/+7
| | | | | | | | | | | | * src/xterm.c (handle_one_xevent): Don't send touch end events twice if two valuators have their masks set without a change in value.
| * Add group to xkey state before filtering it on XI_KeyReleasePo Lu2022-01-061-1/+2
| | | | | | | | | | | | * src/xterm.c (handle_one_xevent): Add group to xkey.state before filtering an XI2 key release event. This fixes fcitx on some systems.
| * Fix GNUstep compilation warningsPo Lu2022-01-064-9/+22
| | | | | | | | | | | | | | | | | | | | | | | | * src/Makefile.in (NON_OBJC_CFLAGS): Add `-Wnested-externs'. * src/emacs.c (load_pdump): Only define exec_bufsize if !NS_SELF_CONTAINED. * src/image.c (ARGB_TO_ULONG): Don't define if HAVE_NS. * src/nsterm.m (ns_destroy_window): Pacify incorrect GCC warning. (ns_query_color): Make static. (ns_run_loop_break): Fix old-style definition. ([EmacsView toggleFullScreen:]): Remove unused variable.
| * Fix duplicate overhang display on GNUstepPo Lu2022-01-062-25/+13
| | | | | | | | | | | | | | * src/nsfont.m (nsfont_draw): Stop saving DPS clip and remove workaround for bad clipping. * src/nsterm.m (ns_draw_glyph_string): Clip to glyph string rect when displaying overhangs.
| * * src/xterm.c (handle_one_xevent): Check for errors when kbd map.Po Lu2022-01-061-9/+16
| |
| * cl-generic.el: Fix bug#46722Stefan Monnier2022-01-051-1/+3
| | | | | | | | | | | | | | Fix longstanding bug due to unexpected interference via side-effect. * lisp/emacs-lisp/cl-generic.el (cl--generic-get-dispatcher): Copy the `dispatch` arg before storing it into the hash-table.
| * * lisp/textmodes/paragraphs.el (repunctuate-sentences): Use filter variable.Juri Linkov2022-01-051-9/+13
| | | | | | | | | | | | | | | | | | (repunctuate-sentences-filter)<defun>: Reimplement without using match data. (repunctuate-sentences-filter)<defvar>: New variable. (repunctuate-sentences): Use new variable. Remove regexp group from spaces as was before. https://lists.gnu.org/archive/html/emacs-devel/2022-01/msg00395.html
| * Fix typo in cvs-status-mode-map keymapLars Ingebrigtsen2022-01-051-2/+1
| | | | | | | | | | * lisp/vc/cvs-status.el (cvs-status-mode-map): Fix typo in keymap definition.
| * ; * lisp/buff-menu.el (Buffer-menu-mode-map): Fix warning.Stefan Kangas2022-01-051-1/+1
| |
| * ; Fix typo in last change.Eli Zaretskii2022-01-051-1/+1
| |
| * Fix info-lookup docs and "C-h S" in major-modes with no manualsEli Zaretskii2022-01-051-20/+49
| | | | | | | | | | | | | | | | | | * lisp/info-look.el (info-lookup-alist, info-lookup-add-help) (info-lookup-symbol, info-lookup-file, info-lookup) (info-lookup-interactive-arguments): Clarify and expand the doc strings. (info-lookup-change-mode): Topic values can have their `:mode' as a cons cell, not just a mode's symbol; support that.
| * Enable subpixel antialiasing on the Cairo font driver on HaikuPo Lu2022-01-053-0/+22
| | | | | | | | | | | | | | | | | | | | | | * src/ftcrfont.c (ftcrfont_open): Manually enable subpixel antialiasing on Haiku. * src/haiku_support.cc (get_subpixel_antialiasing): New function declaration. (be_use_subpixel_antialising): * src/haiku_support.h (be_use_subpixel_antialising): New functions.
| * * lisp/buff-menu.el (Buffer-menu-mode-map): Use defvar-keymap.Stefan Kangas2022-01-051-37/+35
| |
| * Resolve clipping related mysteries on HaikuPo Lu2022-01-053-41/+41
| | | | | | | | | | | | | | | | | | | | | | * src/ftcrfont.c (ftcrfont_draw): * src/haikufont.c (haikufont_draw): Remove workarounds for previously broken clipping code. * src/haikuterm.c (haiku_clip_to_string): Handle empty clipping rectangles correctly. (haiku_clip_to_string_exactly): Stop setting num_clips. (haiku_draw_glyph_string): Stop saving face when drawing overhangs.
| * Make sure mouse face doesn't stay on the cursor after it is clearedPo Lu2022-01-051-7/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cursor_in_mouse_face_p will still return true when the phys cursor is drawn inside show_mouse_face when called by clear_mouse_face, since that drawing happens before hlinfo->mouse_face_window can be set to nil. However, the row's mouse_face_p will be adjusted before the cursor is drawn in show_mouse_face, so it can be used to determine if the cursor is actually under mouse face. * src/xdisp.c (fill_composite_glyph_string): (fill_gstring_glyph_string): (fill_glyphless_glyph_string): (fill_glyph_string): (fill_xwidget_glyph_string): (fill_stretch_glyph_string): Only apply mouse face when DRAW_CURSOR if the row is also mouse_face_p. (set_glyph_string_background_width): Only adjust width if the row holding the cursor is also mouse_face_p.
| * Simply conditions for mouse face display when drawing cursor on HaikuPo Lu2022-01-051-7/+3
| | | | | | | | | | * src/haikuterm.c (haiku_draw_stretch_glyph_string): Simplify conditions for mouse face display.
| * Remove some unnecessary graphics state saves on HaikuPo Lu2022-01-052-31/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/haikufont.c (haikufont_draw): * src/haikuterm.c (haiku_draw_box_rect): (haiku_draw_relief_rect): (haiku_draw_underwave): (haiku_draw_text_decoration): (haiku_draw_plain_background): (haiku_draw_glyph_string_foreground): (haiku_draw_glyphless_glyph_string_foreground): (haiku_draw_stretch_glyph_string): (haiku_draw_composite_glyph_string_foreground): (haiku_draw_image_glyph_string): Remove unnecessary calls to BView_StartClip and BView_EndClip.
| * Merge from origin/emacs-28Stefan Kangas2022-01-054-39/+45
| |\ | | | | | | | | | | | | | | | | | | | | | e7aa3ece52 Fix vc-git with old Git over Tramp and cygwin-mount.el c0cfbca311 * lisp/emacs-lisp/checkdoc.el (bytecomp): Add missing require # Conflicts: # etc/NEWS
| | * Fix vc-git with old Git over Tramp and cygwin-mount.elDmitry Gutov2022-01-053-39/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-use-literal-pathspecs): New variable. (vc-git-command, vc-git--call): Use it to determine whether to set GIT_LITERAL_PATHSPECS=1 (bug#51497). (vc-git--literal-pathspec, vc-git--literal-pathspecs): Remove. Update all callers. This reverts the previous solution for bug#39452. * lisp/progmodes/project.el (project--vc-list-files): Use the new variable.
| | * * lisp/emacs-lisp/checkdoc.el (bytecomp): Add missing requirePhilipp Stephani2022-01-051-0/+1
| | |
| * | Fix xwidgets setting their own signal handlersPo Lu2022-01-052-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xgselect.c (release_select_lock): (acquire_select_lock): Fix coding style. (xg_select): Call `catch_child_signal' if xwidgets are enabled. * src/xwidget.c (kill_xwidget): (kill_buffer_xwidgets): Call `catch_child_signal'. (bug#53013)
| * | Fix display of internal border in child frames on pgtkPo Lu2022-01-052-9/+8
| | | | | | | | | | | | | | | | | | | | | * src/pgtkfns.c (Fx_create_frame): Fix child frame border resource names. * src/pgtkterm.c (pgtk_clear_under_internal_border): Fix test for child frames. (bug#53018)
| * | Correctly set up XI key input mask on X Toolkit buildsPo Lu2022-01-051-11/+17
| | | | | | | | | | | | | | | | | | * src/xfns.c (setup_xi_event_mask): Also set the key event mask on the outer window, which might also have the input focus. (x_window) [USE_X_TOOLKIT]: Set up XI event mask a bit later.
| * | completion--nth-completion: Throw meaningful errorDaniel Mendler2022-01-041-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | If a configured completion style does not exist, throw a meaningful error. Also make completion-styles-alist a defvar, since completion styles like orderless extend it. * lisp/minibuffer.el (completion-styles-alist): Make it a defvar. (completion--nth-completion): Give a more meaningful error.
| * | Update from gnulibPaul Eggert2022-01-0476-467/+510
| | |