summaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAge
* Add support for dragging text from Emacs to other programsPo Lu2022-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This still probably needs some more protection from malfunctioning clients which delete windows at random, but I don't know if that's a problem in practice. * doc/emacs/frames.texi (Drag and Drop): * doc/lispref/frames.texi (Drag and Drop): Document new features. * etc/NEWS: Announce new function `x-begin-drag' and new user option `mouse-drag-and-drop-region-cross-program'. * lisp/mouse.el (mouse-drag-and-drop-region-cross-program): New user option. (x-begin-drag): New variable declaration. (mouse-drag-and-drop-region): If the mouse moves out of an Emacs frame, begin a window system drag. * lisp/x-dnd.el (x-dnd-handle-xdnd): Remove left-over debugging code. * src/xfns.c (Fx_set_mouse_absolute_pixel_position): Fix indentation of opening paren. (Fx_begin_drag): New function. (syms_of_xfns): Define new subr. * src/xselect.c (x_timestamp_for_selection): New function. * src/xterm.c (X_DND_SUPPORTED_VERSION): New preprocessor declaration. (x_dnd_get_window_proto, x_dnd_send_enter, x_dnd_send_position) (x_dnd_send_leave, x_dnd_send_drop, x_set_dnd_targets) (x_dnd_begin_drag_and_drop): New functions. (handle_one_xevent): Handle drag-and-drop motion and button events when active. (x_free_frame_resources): If f is the DND source, stop drag-and-drop. (x_term_init): Intern new atoms. (syms_of_xterm): New symbol QXdndSelection. * src/xterm.h (struct x_display_info): New atoms Xatom_XdndAware, Xatom_XdndSelection, Xatom_XdndTypeList, Xatom_XdndActionCopy, Xatom_XdndActionMove, Xatom_XdndActionLink, Xatom_XdndActionAsk, Xatom_XdndActionPrivate, Xatom_XdndActionList, Xatom_XdndActionDescription, Xatom_XdndProxy, Xatom_XdndEnter, Xatom_XdndPosition, Xatom_XdndStatus, Xatom_XdndLeave, Xatom_XdndDrop, and Xatom_XdndFinished.
* Revert "New command `gnus-summary-browse-all-urls' bound to "v""Lars Ingebrigtsen2022-03-15
| | | | | | This reverts commit f52dcfd03ad542704d9a43faab0c33be09ab442e. It was never agreed that this should be added.
* New command `gnus-summary-browse-all-urls' bound to "v"Sam Steingold2022-03-14
| | | | | | | | | * lisp/gnus-sum.el (gnus-collect-urls-from-article): New function, extracted from `gnus-summary-browse-url'. (gnus-summary-browse-url): Use it; also use `browse-url-button-open-url' to handle the prefix argument. (gnus-summary-browse-all-urls): New command. (gnus-summary-mode-map): Bind `gnus-summary-browse-all-urls' to "v".
* Don't always escape "." and "?" in `prin1'Lars Ingebrigtsen2022-03-14
| | | | | * src/print.c (print_object): Only escape "." and "?" when appearing as the first character in a symbol (bug#23130).
* Clang debug notesPaul Eggert2022-03-13
| | | | | * etc/DEBUG: Don’t imply Clang works as well as GCC when debugging Emacs. Mention a coverage problem with Clang.
* ; * etc/NEWS: Fix typo.Eli Zaretskii2022-03-13
|
* ; * etc/NEWS: Cleanups as followup to bug#50143.Eli Zaretskii2022-03-13
|
* Follow contemporary practices in the Tamil input methodsVisuwesh2022-03-13
| | | | | | | | | | | | | | | | | | | | | | * lisp/language/ind-util.el (indian-tml-base-digits-table): New table to translate digits. (indian-tml-base-table): Don't translate digits. (indian-tml-itrans-digits-v5-hash): Hashtable that translates digits. * lisp/leim/quail/indian.el (quail-tamil-itrans-compute-signs-table) (quail-tamil-itrans-various-signs-table) (quail-tamil-itrans-various-signs-and-digits-table): Separate out the digits from the signs table using the function 'quail-tamil-itrans-compute-signs-table'. (tamil-itrans-digits, tamil-inscript-digits): New input methods that translates digits. (tamil-itrans, tamil-inscript): Fix table inclusion. * etc/NEWS: Announce the change. Fixes bug#50143. Copyright-paperwork-exempt: yes
* EUDC: Support querying all serversThomas Fitzsimmons2022-03-11
| | | | | | | | | | | | | | | | | * lisp/net/eudc.el (eudc-expand-try-all): New command. (eudc-expand-inline): Add `try-all-servers' optional argument. Update `eudc-query-with-words' call. (eudc-query-with-words): Add `try-all-servers' optional argument. Move response formatting into main query loop. Query next server if `try-all-servers' is non-nil. (eudc-tail-menu): Add "Expand Inline Query Trying All Servers" menu item. * doc/misc/eudc.texi (Installation): Recommend eudc-expand-try-all. (Emacs-only Configuration): Likewise. (Inline Query Expansion, Inline Query Expansion): Likewise. Document `eudc-expand-try-all'. * etc/NEWS (EUDC): Describe new 'eudc-expand-try-all' command.
* EUDC: Update save-query-as-kill name and docstringThomas Fitzsimmons2022-03-11
| | | | | | | | | | | | | * lisp/net/eudc-vars.el (eudc-server): Fix quoting for checkdoc. (eudc-expansion-save-query-as-kill): Rename from `eudc-expansion-overwrites-query'. Define obsolete variable alias. Update comment and documentation. * lisp/net/eudc.el (eudc-expand-inline): Rename `replace' argument to `save-query-as-kill'. Update argument documentation. * doc/misc/eudc.texi (Inline Query Expansion): Rename `eudc-expand-inline' argument. * etc/NEWS (EUDC): Document `eudc-expansion-overwrites-query' rename to `eudc-expansion-save-query-as-kill'.
* Avoid statting directories on startup for InfoLars Ingebrigtsen2022-03-04
| | | | | | | | | | | | | | * doc/misc/efaq.texi (File-name conventions) Mention Info-directory-list instead. * doc/misc/info.texi (Emacs Info Variables): Mention Info--default-directory-list. * lisp/info.el (Info-default-directory-list): Default to nil to avoid statting directories on Emacs startup (bug#27933). (Info--default-directory-list): Factored out into own function. (Info-default-dirs): Append value of Info-default-directory-list to the value returned from Info--default-directory-list.
* Merge from origin/emacs-28Stefan Kangas2022-03-03
|\ | | | | | | | | | | | | 225e0d6047 Correct etc/NEWS entry about bitmapped fonts # Conflicts: # etc/NEWS
| * Correct etc/NEWS entry about bitmapped fontsPo Lu2022-03-02
| | | | | | | | | | * etc/NEWS: Don't say that bitmap font issues are due to Pango, that's not accurate.
* | Update publicsuffix.txt from upstreamStefan Kangas2022-03-01
| | | | | | | | | | | | * etc/publicsuffix.txt: Update from https://publicsuffix.org/list/public_suffix_list.dat dated 2022-02-28 02:58:30 UTC.
* | Add new file ietf-drums-date.elBob Rogers2022-02-25
| | | | | | | | | | | | | | | | | | * lisp/mail/ietf-drums-date.el: parse-time-string replacement which is compatible but can be made stricter if desired. * test/lisp/mail/ietf-drums-date-tests.el (added): Add tests for ietf-drums-parse-date-string. * lisp/mail/ietf-drums.el (ietf-drums-parse-date): Use ietf-drums-parse-date-string.
* | ; * etc/NEWS: Fix wording of a recently added NEWS entry.Eli Zaretskii2022-02-24
| |
* | Add support for _NET_WM_STATE_SHADEDPo Lu2022-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/frames.texi (Management Parameters): Document new frame parameter `shaded'. * etc/NEWS: Announce new frame parameter. * src/frame.c (frame_parms) [HAVE_X_WINDOWS]: New frame parameter `shaded'. (syms_of_frame): New symbol `shaded'. * src/xfns.c (x_frame_parm_handlers): Install handler `x_set_shaded'. * src/xterm.c (x_set_shaded): New frame parameter handler. (x_get_current_wm_state): New parameter `shaded'. All callers changed. (x_net_wm_state): (x_handle_net_wm_state): Handle shaded state. (x_term_init): Intern new atom `shaded'. * src/xterm.h: Update prototypes.
* | Update modus-themes to version 2.2.0Protesilaos Stavrou2022-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/modus-themes.org (Enable and load) (Differences between loading and enabling): Clarify wording. (Customization Options): Update sample configuration. (Option for completion framework aesthetics): Refactor 'modus-themes-completions' to accept an alist value instead of a symbol. (Override colors): Elaborate on the example. (Toggle themes without reloading them): Document sample command that uses 'enable-theme' instead of 'load-theme'. (Acknowledgements): Update names of contributors to ideas. * etc/themes/modus-themes.el (modus-themes-operandi-colors) (modus-themes-vivendi-colors): Tweak the palette's completion-related background colors. (modus-themes-completion-standard-first-match) (modus-themes-completion-standard-selected) (modus-themes-completion-extra-selected): Deprecate faces and replace them with 'modus-themes-completion-selection'. (modus-themes-completion-key-binding): Rename it to 'modus-themes-key-binding'. (modus-themes-mode-line): Remove faulty default value. (modus-themes-completions): Refactor it to accept an alist value. (modus-themes-box-buttons): Fix typo. (modus-themes--standard-completions, modus-themes--extra-completions) (modus-themes--extra-completions-line): Remove outdated private functions. (modus-themes--completion): Add new private function. (modus-themes-faces): Update faces. * etc/themes/modus-operandi-theme.el: * etc/themes/modus-vivendi-theme.el: Bump file's version. For a detailed change log, read: <https://protesilaos.com/codelog/2022-02-23-modus-themes-2-2-0/>.
* | Revert "Remove PROBLEMS section on double-buffering"Eli Zaretskii2022-02-21
| | | | | | | | | | | | | | | | | | This reverts commit 366b2bc757d011f96693bd219877c5aa42fa3359. We cannot be sure this problem is no longer relevant, since its root cause was in software we don't control, and cannot tell whether any of the versions where that problem happened are still out in the wild.
* | Remove PROBLEMS section on double-bufferingLars Ingebrigtsen2022-02-21
| | | | | | | | | | * etc/PROBLEMS: Remove section on problems with double-buffering, as apparently it's now no longer an issue (bug#30088).
* | Public-ize xref-show-xrefsDmitry Gutov2022-02-21
| | | | | | | | | | * lisp/progmodes/xref.el (xref-show-xrefs): New function (wrapper for an older, private one, bug#42967).
* | Public-ize xref-current-itemDmitry Gutov2022-02-21
| | | | | | | | | | * lisp/progmodes/xref.el (xref--current-item): Rename to 'xref-current-item' (bug#53956). Update all references.
* | Adapt Tramp password prompts for sudo-like methodsMichael Albinus2022-02-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Password handling): Explain entries for doas, sudo and sudoedit. * etc/NEWS (Tramp): Document changed password prompts. * lisp/net/tramp-sh.el (tramp-methods) <sudo, doas>: Add `tramp-password-previous-hop'. (tramp-maybe-open-connection): Modify `previous-hop' if needed. * lisp/net/tramp-sudoedit.el (tramp-methods) <sudoedit>: Add `tramp-password-previous-hop'. (tramp-sudoedit-null-hop): New defconst. (tramp-sudoedit-send-command): Use it. * lisp/net/tramp.el (tramp-methods): Adapt docstring. (tramp-null-hop): New defconst. (tramp-get-remote-null-device): Use it.
* | Improve vtable documentationEli Zaretskii2022-02-19
| | | | | | | | | | | | | | | | | | | | | | * doc/misc/vtable.texi (top-level): Add @syncodeindex directives. (Introduction): Fix wording and markup. Add indexing. (Making A Table, Commands, Interface Functions): Fix typos and markup. Add indexing. * etc/NEWS: Improve wording of the vtable's NEWS entry. * doc/misc/Makefile.in (INFO_COMMON): Add 'vtable'.
* | Add a new library to format variable-pitch tablesLars Ingebrigtsen2022-02-19
| | | | | | | | | | | | * doc/misc/vtable.texi (Index): New manual. * lisp/emacs-lisp/vtable.el: New library.
* | Add a NEWS entry for the bookmark changes (bug#54030)Lars Ingebrigtsen2022-02-17
| | | | | | | | * lisp/bookmark.el (bookmark-bmenu-mode): Make the type shorter.
* | Update modus-themes to version 2.1.0Protesilaos Stavrou2022-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/modus-themes.org (Customization Options): Document new user options and relevant changes. (Option for links, Option for box buttons) (Option for completion framework aesthetics, Option for mail citations) (Option for intense markup in Org and others) (Option for diff buffer looks, Option for org-mode block styles) (Option for Org agenda constructs) (Option for the headings' overall style): Update user options. (More accurate colors in terminal emulators): Add section on how to improve the accuracy of color reproduction in terminal emulators. (Case-by-case face specs using the themes' palette) (Face specs at scale using the themes' palette, Override colors) (Override colors through blending, Custom Org user faces): Improve wording. (Custom Org emphasis faces): Add section about bespoke faces for Org emphasis markers. (Backdrop for pdf-tools): Improve sample code. (Ediff without diff color-coding): Add section about user-level changes to the style of Ediff buffers. (Full support for packages or face groups): Update lists of supported packages. (Indirectly covered packages): Update list of indirectly supported packages. (Note on underlines in compilation buffers): Clarify wording. (Note on EWW and Elfeed fonts): Be more specific about 'shr' faces. (Are these color schemes?): Answer frequently asked question. (Acknowledgements): Update acknowledgements' section. * etc/themes/modus-themes.el (modus-themes-operandi-colors) (modus-themes-vivendi-colors): Update color palettes. (modus-themes-subtle-red, modus-themes-subtle-green) (modus-themes-subtle-yellow, modus-themes-subtle-blue) (modus-themes-subtle-magenta, modus-themes-subtle-cyan) (modus-themes-subtle-neutral, modus-themes-intense-red) (modus-themes-intense-green, modus-themes-intense-yellow) (modus-themes-intense-blue, modus-themes-intense-magenta) (modus-themes-intense-cyan, modus-themes-intense-neutral) (modus-themes-refine-red, modus-themes-refine-green) (modus-themes-refine-yellow, modus-themes-refine-blue) (modus-themes-refine-magenta, modus-themes-refine-cyan) (modus-themes-nuanced-red, modus-themes-nuanced-green) (modus-themes-nuanced-yellow, modus-themes-nuanced-blue) (modus-themes-nuanced-magenta, modus-themes-nuanced-cyan) (modus-themes-special-cold, modus-themes-special-mild) (modus-themes-special-warm, modus-themes-special-calm) (modus-themes-diff-added, modus-themes-diff-changed) (modus-themes-diff-removed, modus-themes-diff-refine-added) (modus-themes-diff-refine-changed, modus-themes-diff-refine-removed) (modus-themes-diff-focus-added, modus-themes-diff-focus-changed) (modus-themes-diff-focus-removed, modus-themes-diff-heading) (modus-themes-heading-1, modus-themes-heading-2, modus-themes-heading-3) (modus-themes-heading-4, modus-themes-heading-5, modus-themes-heading-6) (modus-themes-heading-7, modus-themes-heading-8, modus-themes-hl-line) (modus-themes-variable-pitch, modus-themes-lang-note) (modus-themes-lang-warning, modus-themes-lang-error) (modus-themes-reset-soft, modus-themes-reset-hard): Fix typo in ':group'. (modus-themes-markup-code): Add face. (modus-themes--headings-choice, modus-themes-headings) (modus-themes-org-agenda): Update documentation about typographic weights. (modus-themes-org-blocks, modus-themes-completions): Update doc string and add new stylistic variant. (modus-themes-intense-markup): Deprecate old user option. Replace it with 'modus-themes-markup'. (modus-themes-mail-citations): Update doc string and add another stylistic variant. (modus-themes-box-buttons): Add new user option. (modus-themes--slant): Tweak how slant is applied. (modus-themes--markup, modus-themes--prompt, modus-themes--paren) (modus-themes--syntax-foreground, modus-themes--syntax-extra) (modus-themes--syntax-string, modus-themes--syntax-comment) (modus-themes--heading, modus-themes--agenda-structure) (modus-themes--agenda-habit, modus-themes--org-block-delim) (modus-themes--mode-line-attrs, modus-themes--standard-completions) (modus-themes--link, modus-themes--link-color, modus-themes--region) (modus-themes--hl-line, modus-themes--mail-cite): Tweak private functions. (modus-themes--button): Adjust private function. (modus-themes--heading-weights): Deprecate it. Replace by 'modus-themes-weights'. (modus-themes-faces): Update faces. * etc/themes/modus-vivendi-theme.el * etc/themes/modus-operandi-theme.el: Bump version number. For a detailed change log, read: <https://protesilaos.com/codelog/2022-02-17-modus-themes-2-1-0/>.
* | Add support for Tai Tham scriptEli Zaretskii2022-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/international/fontset.el (setup-default-fontset) (script-representative-chars): Add tai-tham. * lisp/language/thai.el ("Northern Thai"): New language environment. Patch by Richard Wordingham <richard.wordingham@ntlworld.com>. Set 'composition-function-table' for the Tai Tham block. Original code by Richard Wordingham <richard.wordingham@ntlworld.com>. * etc/HELLO: Add Northern Thai greeting. * etc/NEWS: Announce addition of Northern Thai language environment.
* | ; * etc/NEWS: Fix wording of a recently added text.Eli Zaretskii2022-02-16
| |
* | * etc/NEWS: Improve the PGTK entry.Po Lu2022-02-16
| |
* | ; * etc/NEWS: Improve wording of savehist.el's entry.Eli Zaretskii2022-02-15
| |
* | Allow savehist-additional-variables to truncate listsLars Ingebrigtsen2022-02-15
| | | | | | | | * lisp/savehist.el (savehist-save): Allow truncating values (bug#30943).
* | Make autoarg obsoleteLars Ingebrigtsen2022-02-15
| | | | | | | | * lisp/obsolete/autoarg.el: Make obsolete.
* | ; Improve a recently added NEWS entry about 'command-query'.Eli Zaretskii2022-02-14
| |
* | Note caveat about remapping basic facesLars Ingebrigtsen2022-02-14
| | | | | | | | | | * doc/lispref/display.texi (Face Remapping): Note caveat about basic faces (bug#53636).
* | Add a mechanism for querying before executing a commandLars Ingebrigtsen2022-02-14
| | | | | | | | | | | | | | | | | | | | | | * doc/emacs/custom.texi (Disabling): Document it. * doc/lispref/commands.texi (Disabling Commands): Document the low-level stuff. * lisp/simple.el (command-execute): Respect the `(query ...)' value for `disabled'. (command-execute--query): New function. (command-query): New function.
* | * etc/TODO: Update some entires related to macOS and NS.Po Lu2022-02-14
| | | | | | | | | | | | | | Xwidgets have worked on NS for a long time, "smooth scrolling" is now available as `pixel-scroll-precision-mode' for all GUI platforms, and some mouse gestures have been implemented on NS and X.
* | Add a new macro `setopt'Lars Ingebrigtsen2022-02-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/custom.texi (Examining): Mention it. (Init Syntax): Ditto. * doc/emacs/windows.texi (Window Choice): Adjust example. * doc/lispref/windows.texi (Choosing Window Options): Adjust examples. * doc/lispref/variables.texi (Setting Variables): Document setopt. * doc/misc/eudc.texi (Emacs-only Configuration): Adjust examples. * lisp/cus-edit.el (setopt): New macro.
* | Remove the 'C-k' binding in ido-modeLars Ingebrigtsen2022-02-13
| | | | | | | | | | * lisp/ido.el (ido-file-completion-map): Remove the `C-k' binding, because it's too dangerous and probably not very useful (bug#44556).
* | Make `C-u M-x count-words' also give totalsLars Ingebrigtsen2022-02-13
| | | | | | | | | | | | | | * lisp/simple.el (count-words-region): Adjust callers. (count-words): If given a prefix, give totals (bug#9959). (count-words--buffer-format, count-words--format): Rename and don't message, but return the string.
* | Optionally allow point to enter composed character sequencesEli Zaretskii2022-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset is based on code originally posted by Kenichi Handa <handa@gnu.org> as part of discussing bug#20140, with a few adjustments and changes, mainly to support R2L text and provide a user option to control the feature. * src/xdisp.c (compute_stop_pos, next_element_from_buffer) (composition_reseat_it): Don't allow auto-composing characters past point when 'composition-break-at-point' is non-nil. (syms_of_xdisp) <composition-break-at-point>: New boolean variable. (redisplay_internal, redisplay_window): Disable "just move the cursor" optimizations when 'composition-break-at-point' is non-nil. * src/keyboard.c (command_loop_1): Force redisplay when 'composition-break-at-point' is non-nil. * lisp/cus-start.el (standard): Provide customization form for 'composition-break-at-point'. * etc/NEWS: Announce the new feature.
* | ; * etc/DEVEL.HUMOR: Add a recent joke.Eli Zaretskii2022-02-11
| |
* | * etc/PROBLEMS: Document some limitations of Xwayland and PGTK.Po Lu2022-02-11
| |
* | Allow customization of the user's eln-cache directoryEli Zaretskii2022-02-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/startup.el (startup-redirect-eln-cache) (startup--update-eln-cache): New functions. (startup--original-eln-load-path): New defvar. (normal-top-level): Record the original value of 'native-comp-eln-load-path' in 'startup--original-eln-load-path'. Do not amend 'native-comp-eln-load-path' here, as that could overwrite user customizations. (command-line): Amend 'native-comp-eln-load-path' after loading the early-init file, and then again after loading the user init file. (Bug#53891) * etc/NEWS: Announce 'startup-redirect-eln-cache'.
* | Mention `overlay' show-paren-context-when-offscreen value in NEWSTassilo Horn2022-02-09
| | | | | | | | | | * etc/NEWS: Mention `overlay' value of show-paren-context-when-offscreen.
* | ; * etc/PROBLEMS: Fix typos and improve wording.Eli Zaretskii2022-02-08
| |
* | Document some problems found during testing on various X serversPo Lu2022-02-08
| | | | | | | | | | * etc/PROBLEMS (General X problems): Document some problems found during testing on various X servers.
* | Make connection-local variables user optionsMichael Albinus2022-02-07
| | | | | | | | | | | | | | | | * lisp/files-x.el (connection-local-profile-alist) (connection-local-criteria-alist): Make them user options. * doc/lispref/variables.texi (Connection Local Variables): * etc/NEWS: Document this.
* | Improve contrast of `custom-button' in the leuven-dark themePo Lu2022-02-07
| | | | | | | | | | * etc/themes/leuven-dark-theme.el (custom-button): Improve contrast of custom-button foreground.
* | ; * etc/NEWS: Fix entry for 'find-library-include-other-files'.Eli Zaretskii2022-02-06
| |