aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Allow using faces for colors in vtableLars Ingebrigtsen2022-04-152-18/+51
| | | | | | | | * doc/misc/vtable.texi (Making A Table): Adjust color documentation. * lisp/emacs-lisp/vtable.el (make-vtable): Mix more. (vtable--compute-colors): Mix both foreground and background colors. (vtable--make-color-face, vtable--face-blend): New functions. (vtable--insert-line): Adjust usage.
* ; * src/fringe.c: Include pgtkterm.h only in HAVE_PGTK builds.Eli Zaretskii2022-04-151-1/+3
|
* Allow dragging the divider in vtableLars Ingebrigtsen2022-04-151-16/+36
| | | | | | | | | * lisp/emacs-lisp/vtable.el (vtable): Add a keymap cache. (make-vtable): Allow dragging the divider. (vtable-insert): Don't put the table keymap over the entire line -- avoid the divider, which has its own keymap. (vtable--drag-resize-column): Adjust to the in-buffer divider dragging.
* Fix off-by-one error in text-property-search-backwardLars Ingebrigtsen2022-04-151-1/+0
| | | | | | | * lisp/emacs-lisp/text-property-search.el (text-property-search-backward): Fix off-by-one error -- this would result in not finding the previous (non-)match when at the first character in a field.
* More PGTK related cleanupPo Lu2022-04-154-193/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/pgtkfns.c (x_set_foreground_color, x_set_background_color) (x_set_border_color, x_set_cursor_color, x_set_title) (x_set_menu_bar_lines, x_set_tab_bar_lines, x_set_tool_bar_lines) (x_set_child_frame_border_width, x_set_internal_border_width) (x_set_icon_type, x_set_icon_name, x_set_cursor_type) (x_set_mouse_color, x_set_undecorated, x_set_skip_taskbar) (x_set_override_redirect, pgtk_frame_parm_handlers) (Fx_create_frame): Rename most `x_' functions to `pgtk_' ones. All callers changed. * src/pgtkmenu.c (Fx_menu_bar_open_internal): Remove duplicate doc string definition. * src/pgtkterm.c (x_set_offset, pgtk_iconify_frame) (x_set_parent_frame, x_set_no_focus_on_map, x_set_no_accept_focus) (x_set_z_group, x_set_cursor_gc, x_set_mouse_face_gc) (x_set_mode_line_face_gc, x_set_glyph_string_gc) (x_set_glyph_string_clipping, x_set_glyph_string_clipping_exactly) (x_setup_relief_color, x_setup_relief_colors) (x_set_clip_rectangles, x_draw_relief_rect, x_draw_box_rect) (x_draw_glyph_string_box, x_draw_image_relief) (x_draw_image_foreground, x_draw_stretch_glyph_string) (pgtk_draw_glyph_string, x_set_toolkit_scroll_bar_thumb) (x_set_toolkit_horizontal_scroll_bar_thumb) (pgtk_set_vertical_scroll_bar, pgtk_set_horizontal_scroll_bar) (x_set_frame_alpha, frame_highlight, frame_unhighlight) (pgtk_create_terminal, map_event): Rename most `x_' functions to `pgtk_' ones. All callers changed. * src/pgtkterm.h: Update prototypes.
* Clean up some extraneous stuff in pgtkfns.cPo Lu2022-04-151-27/+1
| | | | | | * src/pgtkfns.c (Fx_gtk_debug): Fix doc string and remove extra version check. (syms_of_pgtkfns): Delete left over defvar from NS port.
* Update project-kill-buffer-conditions to match buffer-match-pPhilip Kaludercic2022-04-151-16/+24
| | | | | | | * project.el (project-kill-buffer-conditions): Document the deprecation of the use of derived-mode (project--buffer-check): Have `major-mode' behave like `derived-mode' did previously, and issue a warning of `derived-mode' is used.
* * window.el (display-buffer-assq-regexp): Use buffer-matchPhilip Kaludercic2022-04-151-11/+4
|
* Generalise buffer matching from project.elPhilip Kaludercic2022-04-151-0/+59
| | | | | | * subr.el (buffer-match): Add function to check if a buffer satisfies a condition. (match-buffers): Returns all buffers that satisfy a condition.
* Fix core string lookup with modifiers on XI2Po Lu2022-04-151-0/+10
| | | | | * src/xterm.c (handle_one_xevent): Clean modifiers from xkey.state before giving it to XLookupString.
* Clean up various bits of Haiku codePo Lu2022-04-156-735/+342
| | | | | | | | | | | | | | | | | | | | * src/haiku_font_support.cc (BFont_string_width): Delete unused function. * src/haiku_support.cc (BWindow_new): Clean up type of `view'. (BWindow_quit): Clean up coding style. (BView_mouse_down, BView_mouse_up, BView_mouse_moved): Delete unused functions. (unwind_popup_file_dialog): Clean up coding style. (be_popup_file_dialog_safe_set_target): Delete function. (be_popup_file_dialog): Improve code clarity. * src/haiku_support.h: Fix coding style. * src/haikufns.c (haiku_get_color, haiku_display_info_for_name) (check_haiku_display_info, Fhaiku_read_file_name) (Fx_display_save_under, Fhaiku_frame_restack): Remove references to "Be displays" and replace them with "Haiku displays". * src/haikuselect.h: Clean up coding style. * src/haikuterm.c (haiku_read_socket): Clean up coding style and fix a few latent bugs.
* Add missing extern declarations to headersPo Lu2022-04-151-2/+2
| | | | | * src/xterm.h (xi_device_from_id, xi_frame_selected_for): Add `extern' declaration.
* Make Haiku scroll bar behave more like other programsPo Lu2022-04-151-7/+13
| | | | | | | | * haiku_support.cc (class EmacsScrollBar): New field `repeater_start'. (Pulse): Wait for time to pass repeater_delay. (MouseDown): Set it to the current time + the system repeater delay.
* Port new tests to leap seconds or (TICKS . HZ)Paul Eggert2022-04-141-33/+15
| | | | | | * test/lisp/mail/ietf-drums-date-tests.el (ietf-drums-date-tests): Don’t assume leap seconds are ignored, or that timestamps are in (HI LO) format.
* New time-equal-p testPaul Eggert2022-04-142-1/+6
| | | | * test/src/timefns-tests.el (time-equal-p-NaN-NaN): New test.
* Properly wait for app thread exit on HaikuPo Lu2022-04-153-56/+31
| | | | | | | | | | | | * src/haiku_support.cc (MessageReceived): Handle QUIT_APPLICATION. (start_running_application): Clean up code a little. (wait_for_exit_of_app_thread): New function. (BApplication_setup): Add atexit handler to clean up app thread. (be_app_quit): Delete function. * src/haikuterm.c (haiku_delete_terminal): Un-implement function. * src/haikuterm.h: Update prototypes.
* Fix calls to XKB functions without testing for server supportPo Lu2022-04-151-6/+9
| | | | | | * src/xterm.c (x_dnd_cleanup_drag_and_drop): (x_dnd_begin_drag_and_drop): Never call XkbSelectEvents if the X server doesn't have XKB.
* Allow dragging dividers in vtableLars Ingebrigtsen2022-04-141-10/+19
| | | | | | * lisp/emacs-lisp/vtable.el (vtable--insert-header-line): Allow dragging dividers. (vtable--drag-resize-column): Adjust function.
* Fix mouse clicks in hscrolled window with variable-height fontsEli Zaretskii2022-04-141-0/+12
| | | | | | * src/xdisp.c (move_it_in_display_line_to): Fix calculation of height of a screen-line that is completely hscrolled out of view. Reported by Yasushi SHOJI <yasushi.shoji@gmail.com>.
* Allow resizing vtable columns by draggingLars Ingebrigtsen2022-04-141-16/+31
| | | | | | | | | | * lisp/emacs-lisp/vtable.el (vtable--insert-header-line): Allow resizing by dragging headers. (vtable--drag-resize-column): New function. (vtable-narrow-current-column): Refactor out common bits. (vtable--alter-column-width): To here. (vtable-widen-current-column): Rewrite to use vtable-narrow-current-column.
* * lisp/gnus/gnus.el (toplevel autoloads): Fix file nameStefan Monnier2022-04-141-1/+2
| | | | | `score-mode` does not define `gnus-score-edit-all-score`, it's defined in `gnus-score` instead.
* Have submit-emacs-patch prompt for patch file before subjectPhilip Kaludercic2022-04-141-1/+8
| | | | | * emacsbug.el (submit-emacs-patch): Prompt for patch file and use that to guess the subject.
* Avoid possibly unnecessary lisp_time_struct callPhilip Kaludercic2022-04-141-2/+1
| | | | | * timefns.c (time_cmp): Defer the calculation of the time struct, in case A and B are eq to one another.
* Handle non-ASCII domains correctly in url-https-proxy-connectLars Ingebrigtsen2022-04-141-4/+4
| | | | | | * lisp/url/url-http.el (url-https-proxy-connect) (url-https-proxy-after-change-function): Handle IDNA domains correctly.
* Make vtable remember user-altered column widthsLars Ingebrigtsen2022-04-141-0/+6
| | | | | | * lisp/emacs-lisp/vtable.el (vtable-narrow-current-column) (vtable-widen-current-column): Store the size to that it's respected on `g'.
* Ensure that commands like { work on all frames in vtableLars Ingebrigtsen2022-04-141-13/+16
| | | | | | | * lisp/emacs-lisp/vtable.el (vtable--recompute-cache) (vtable--ensure-cache): New functions. (vtable-insert): Use it. (vtable--widths): Ditto.
* ldap-search-internal cleanupFilipp Gunbin2022-04-141-4/+2
| | | | | | | * lisp/net/ldap.el (ldap-ldapsearch-args): Change -LL to -LLL to suppress ldif version output. (ldap-search-internal): Remove skipping of version output. Remove redundand ws skipping.
* Fix eudc-get-attribute-listFilipp Gunbin2022-04-144-19/+39
| | | | | | | | | | | * lisp/net/eudc-vars.el (eudc-ldap-no-wildcard-attributes): New defcustom. * doc/misc/eudc.texi (LDAP Configuration): Mention it. * lisp/net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558): Use it. (eudc-ldap-get-field-list): Set scope and sizelimit, instead of overriding the whole ldap-host-parameters-alist. * lisp/net/ldap.el (ldap-search-internal): Allow "size limit exceeded" exit code. Allow empty attribute values.
* Fix electric-help-map problem when help-char has meta-prefixNobuyoshi Nakada2022-04-141-1/+4
| | | | | * lisp/ehelp.el (electric-help-map): Fix problem when help-char has meta-prefix (bug#54932).
* Fix races with child frame locks on HaikuPo Lu2022-04-141-13/+39
| | | | | | | * src/haiku_support.cc (CHILD_FRAME_LOCK_INSIDE_LOOPER_CALLBACK): New macro. (FrameMoved, WorkspacesChanged): Lock child frame data with that macro instead.
* Keep track of keyboard state during drag and dropPo Lu2022-04-141-7/+48
| | | | | | | | | | * src/xterm.c (x_dnd_cleanup_drag_and_drop): Deselect for keyboard state changes. (x_dnd_begin_drag_and_drop): Select for keyboard state changes when XKB is available. (x_dnd_update_state, handle_one_xevent): Use current XKB state if it is available. (x_term_init): Reformat code a little.
* Minor fixes to menus on XI2Po Lu2022-04-144-20/+64
| | | | | | | | | | | | | | * src/xfns.c (Fx_create_frame): Populate `xi_masks'. * src/xmenu.c (x_activate_menubar) (create_and_show_popup_menu, x_menu_show): Only clear input extension grabs if we (or the toolkit) actually selected for XI_ButtonPress events. * src/xterm.c (xi_frame_selected_for): New function. (xi_populate_device_from_info, handle_one_xevent): Store device use instead of just whether or not it's a master device. (x_dnd_begin_drag_and_drop): Clean up block_input stuff. * src/xterm.h: Update prototypes. (struct xi_device_t): Rename `master_p' to `use'.
* Ignore XdndPosition events triggered by the wrong mouse buttonPo Lu2022-04-141-0/+2
| | | | | * src/xterm.c (x_dnd_send_position): Don't send if button is set but not a scroll wheel button.
* Add support for Xdnd features introduced after version 5Po Lu2022-04-141-10/+83
| | | | | | * src/xterm.c (x_dnd_send_position, x_dnd_update_state) (handle_one_xevent): Add support for sending button and keyboard state during DND.
* Fix describe-mode--minor-modes formatting issueLars Ingebrigtsen2022-04-141-1/+1
| | | | | * lisp/help-fns.el (describe-mode--minor-modes): Fix multi-line local-minor paragraph.
* Make vtable narrow/widen functions take a prefixLars Ingebrigtsen2022-04-141-8/+16
| | | | | | * lisp/emacs-lisp/vtable.el (vtable-narrow-current-column) (vtable-widen-current-column): Allow using the prefix to say how much to narrow/widen the columns.
* Copy edit make-vtable codeLars Ingebrigtsen2022-04-141-6/+4
| | | | * lisp/emacs-lisp/vtable.el (make-vtable): Clean up code slightly.
* Edit some vtable doc stringsLars Ingebrigtsen2022-04-141-2/+4
| | | | | * lisp/emacs-lisp/vtable.el (make-vtable, vtable): Improve doc strings.
* Further divider fixes for vtableLars Ingebrigtsen2022-04-141-3/+9
| | | | | | | * lisp/emacs-lisp/vtable.el (vtable--insert-header-line): Don't insert the divider at the end. (vtable-narrow-current-column, vtable-widen-current-column): Don't error out when being called on the divider.
* Restore vtable.texi lines removed by accidentLars Ingebrigtsen2022-04-141-0/+2
| | | | | * doc/misc/vtable.texi (Introduction): Restore lines inadvertently removed.
* Fix dividers in vtable header linesLars Ingebrigtsen2022-04-142-4/+2
| | | | | * lisp/emacs-lisp/vtable.el (vtable--insert-header-line): Put the divider in the correct place in the header line.
* Allow having dividers between columns in vtableLars Ingebrigtsen2022-04-142-32/+64
| | | | | | | | * doc/misc/vtable.texi (Making A Table): Document it. * lisp/emacs-lisp/vtable.el (vtable): Add a divider slot. (make-vtable): Accept :divider and :divider-width arguments. (vtable--insert-line, vtable--insert-header-line): Display the divider.
* Document additions of cl-with-gensyms and cl-once-onlySean Whitton2022-04-132-2/+88
| | | | | | | | * NEWS: Document additions of cl-with-gensyms and cl-once-only. * doc/misc/cl.texi (Macro-Writing Macros): New section. (Creating Symbols): Add to the concept index under the name "gensym". (Obsolete Setf Customization): Use cl-once-only rather than macroexp-let2, and fix a quotation bug in one example.
* Allow putting alternating colors on vtable rowsLars Ingebrigtsen2022-04-142-12/+61
| | | | | | | | | * doc/misc/vtable.texi (Making A Table): Document it. * lisp/emacs-lisp/vtable.el (vtable): Add :row-colors. (make-vtable): Ditto. (vtable--compute-colors, vtable--color-blend): New functions. (vtable--insert-line): Take a line number argument and adjust callers.
* Make `C-h m' actually output the documentation for the major modeLars Ingebrigtsen2022-04-131-1/+1
| | | | | * lisp/help-fns.el (describe-mode): Get the documentation for the correct major mode.
* Add a new `vtable' faceLars Ingebrigtsen2022-04-132-7/+13
| | | | | | * doc/misc/vtable.texi (Introduction): Document it. * lisp/emacs-lisp/vtable.el (vtable): Add a new face.
* * lisp/comint.el (comint-dynamic-list-input-ring): Keep replaced text props.Juri Linkov2022-04-132-4/+3
| | | | * lisp/minibuffer.el (completions-header-format): Remove unused text prop.
* Regenerated ldefs-boot.elLars Ingebrigtsen2022-04-131-1362/+1430
|
* ; Reinsert lines in tramp.texi deleted by accidentMichael Albinus2022-04-131-0/+5
|
* Adapt Tramp manualMichael Albinus2022-04-131-7/+37
| | | | | | | * doc/misc/tramp.texi (Ssh setup): New subsection "Using ssh config include for host name completion". (Bug#54885) Precise, that list-system-processes and process-attributes are about system processes.