aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Improve autorevert-testsMichael Albinus2025-07-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.8.1-pre". * lisp/autorevert.el (auto-revert-mode, auto-revert-tail-mode) (auto-revert-notify-handler, auto-revert--end-lockout): Use `auto-revert-buffer'. (auto-revert-notify-handler): Rearrange setting current buffer. (auto-revert-handler): Add debug message. Rearrange check. Cancel lockout timer if running. * lisp/net/tramp.el (tramp-barf-if-file-missing) (with-parsed-tramp-file-name, tramp-skeleton-file-truename): * lisp/net/tramp-archive.el (with-parsed-tramp-archive-file-name): * lisp/net/tramp-message.el (tramp-with-demoted-errors): Fix debug declatation. * lisp/net/tramp-sh.el (tramp-sh-gio-monitor-process-filter): Do not prepend remote prefix. * test/lisp/autorevert-tests.el: Unify file notification libraries "gio-monitor" and "gvfs-monitor-dir" to "gio". (top): Set some Tramp related variables. (auto-revert--timeout): Increase value. (auto-revert--test-enabled-remote) (auto-revert-test02-auto-revert-deleted-file): Do not check for EMACS_HYDRA_CI environment variable. (auto-revert--wait-for-revert): Fix regexp to search for. (auto-revert--deftest-remote): Fix debug declatation. Do not tag :unstable. (with-auto-revert-test): Fix debug declatation. Adapt revert intervals. (auto-revert-test*): Start with (file-notify-rm-all-watches). Use `buffer-string' and `string-match-p'. (auto-revert-test00-auto-revert-mode): Unlock initial lockout. (auto-revert-test01-auto-revert-several-files): Rearrange temporary directory and file settings. (auto-revert-test02-auto-revert-deleted-file): Adapt debug message. (auto-revert-test03-auto-revert-tail-mode): Use `with-auto-revert-test'. (auto-revert-test04-auto-revert-mode-dired): Use `ert-with-temp-directory'. Adapt prefix of tmpfile. (auto-revert-test04-auto-revert-mode-dired) (auto-revert-test05-global-notify, auto-revert-test06-write-file): Wait for proper file modification. (auto-revert-test--instrument-kill-buffer-hook): Fix debug message. (auto-revert-test07-auto-revert-several-buffers): Use `with-auto-revert-test. * test/lisp/filenotify-tests.el: Unify file notification libraries "gio-monitor" and "gvfs-monitor-dir" to "gio". (file-notify--deftest-remote): Fix debug declatation. Do not skip for "gio". (file-notify--test-with-actions): Fix debug declatation. * test/lisp/net/tramp-tests.el (filenotify): Require. (ert-remote-temporary-file-directory) (tramp-test41-special-characters, tramp-test42-utf8) (tramp-test45-asynchronous-requests): Do not check for EMACS_HYDRA_CI environment variable. (tramp-test46-file-notifications): New test.
* | ; Fixes to last change.Sean Whitton2025-07-131-1/+1
| |
* | tramp-file-name-with-method can be set connection-localMichael Albinus2025-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Ad-hoc multi-hops): tramp-file-name-with-method can be set connection-local. * etc/NEWS: tramp-file-name-with-method can be set connection-local. Presentational fixes and improvements. * lisp/net/tramp-cmds.el (tramp-get-file-name-with-method): New defun. (with-tramp-file-name-with-method, tramp-file-name-with-sudo): Use it. (tramp-dired-find-file-with-sudo): Fix docstring.
* | Update to Transient v0.9.3-8-gecd64f17Jonas Bernoulli2025-07-011-2/+10
| |
* | Adapt Tramp versionsMichael Albinus2025-06-291-1/+1
| | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el (tramp-version): Adapt Tramp versions.
* | bug#78845: [PATCH 2/2] doc: Document desktop notifications for GnusMaxim Cournoyer2025-06-281-0/+32
| | | | | | | | * doc/misc/gnus.texi (Notifications): Add section.
* | bug#78845: [PATCH 1/2] doc: Update Texinfo menus.Maxim Cournoyer2025-06-281-4/+4
| | | | | | | | | | Generated from Emacs via M-x texinfo-all-menus-update, and dropping changes made due to limitations of the tool.
* | Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-06-271-1/+2
| |
* | calc: Allow strings with character codes above Latin-1Jacob S. Gordon2025-06-141-13/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current behavior of the functions 'calc-display-strings', 'strings', and 'bstrings' is to skip any vector containing integers outside the Latin-1 range (0x00-0xFF). We introduce a custom variable 'calc-string-maximum-character' to replace this hard-coded maximum, and to allow vectors containing higher character codes to be displayed as strings. The default value of 0xFF preserves the existing behavior. * lisp/calc/calc.el (calc-string-maximum-character): Add custom variable 'calc-string-maximum-character'. * lisp/calc/calccomp.el (math-vector-is-string): Replace hard-coded maximum with 'calc-string-maximum-character', and the 'natnump' assertion with 'characterp'. The latter guards against the maximum being larger than '(max-char)', but not on invalid types of the maximum such as strings. * test/lisp/calc/calc-tests.el (calc-math-vector-is-string): Add tests for 'math-vector-is-string' using different values of 'calc-string-maximum-character'. * doc/misc/calc.texi (Quick Calculator, Strings, Customizing Calc): Add variable definition for 'calc-string-maximum-character' and reference thereof when discussing 'calc-display-strings'. Generalize a comment about string display and availability of 8-bit fonts. (Bug#78528)
* | * doc/misc/rcirc.texi: Rephrase recent additionPhilip Kaludercic2025-06-141-4/+4
| | | | | | | | https://lists.gnu.org/archive/html/emacs-devel/2025-06/msg00184.html
* | ; * doc/misc/rcirc.texi (Configuration): Fix cross-reference.Eli Zaretskii2025-06-141-2/+3
| |
* | Update modus-themes to their version 4.8.0Protesilaos Stavrou2025-06-111-49/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/modus-themes.org (Preview theme colors):(Get a single color from the palette with ~modus-themes-get-color-value~): (DIY Do not extend the region background, Note on SHR fonts): Fix some typos. (Full support for packages or face groups): Include tmr in the list of supported packages. (Acknowledgements): Mention more people who have contributed to the project in some capacity. * etc/themes/modus-operandi-deuteranopia-theme.el: * etc/themes/modus-operandi-theme.el: * etc/themes/modus-operandi-tinted-theme.el: * etc/themes/modus-operandi-tritanopia-theme.el: * etc/themes/modus-vivendi-deuteranopia-theme.el: * etc/themes/modus-vivendi-theme.el: * etc/themes/modus-vivendi-tinted-theme.el: * etc/themes/modus-vivendi-tritanopia-theme.el: Make small changes to the palette of each theme. * etc/themes/modus-themes.el (modus-themes-after-load-theme-hook): Reword the doc string (modus-themes--rotate, modus-themes--rotate-p) (modus-themes--next-in-rotation, modus-themes-rotate): Make rotation optionally move in the opposite direction. (modus-themes-faces): Tweak some faces. Release notes: <https://protesilaos.com/codelog/2025-06-11-emacs-modus-themes-4-8-0/>.
* | Support checking auth-source for NickServ password for rcircPhilip Kaludercic2025-06-091-0/+4
| | | | | | | | | | | | | | | | * doc/misc/rcirc.texi: Mention new feature. * etc/NEWS: Mention new feature. * lisp/net/rcirc.el (rcirc-authinfo): Update type and documentation. (rcirc-authenticate): Handle a special type to indicate that the password is stored via auth-source.
* | Update to Transient v0.9.1-7-gd7d2c1c2Jonas Bernoulli2025-06-041-151/+222
| |
* | Merge from origin/emacs-30Eli Zaretskii2025-05-241-1/+11
|\ \ | |/ | | | | | | | | | | | | | | df9636f8927 ; * doc/misc/use-package.texi (Hooks): Fix typo (bug#77609). 36afdd2f6f9 Fix documentation of use-package's ':hook' keyword d0c90bc9bfe * test/infra/gitlab-ci.yml (.job-template): Make it more ... b8f24cbdbb0 ; * lisp/emacs-lisp/find-func.el (find-function): Doc fix. e0c6f3e7656 Fix todo-mode item insertion bug (bug#78506) 328b316764f Add support for Pyrefly LSP for Python
| * ; * doc/misc/use-package.texi (Hooks): Fix typo (bug#77609).Eli Zaretskii2025-05-241-1/+1
| |
| * Fix documentation of use-package's ':hook' keywordEli Zaretskii2025-05-241-2/+12
| | | | | | | | | | * doc/misc/use-package.texi (Hooks): Document how to add several functions to the same hook (bug#77609).
| * ; Sync with Tramp 2.7.3.30.2 (Do not merge to master)Michael Albinus2025-05-181-1/+1
| | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el (tramp-version): Adapt Tramp versions.
* | ; RefTeX: Describe activation with use-packageArash Esbati2025-05-121-2/+13
| | | | | | | | | | | | * doc/misc/reftex.texi (Installation): Add examples how to activate RefTeX with use-package. Fix markup.
* | Fall back `eww-switch-to-buffer' to `eww'Manuel Giraud2025-05-101-0/+3
| | | | | | | | | | | | | | * lisp/net/eww.el (eww-switch-to-buffer): When no EWW buffers exist, call `eww' instead. (eww-list-buffers): Do not pop to *eww buffers* when there is no EWW buffers. (Bug#77967)
* | Merge branch 'cl-types'Stefan Monnier2025-05-071-2/+26
|\ \
| * | cl-types: The big renaming to "derived types"Stefan Monnier2025-05-071-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `cl-defstruct` also defines a type and is also in CL, so "cl-type" is not precise enough to talk about those types defined with `cl-deftype`. Use the term "derived type" to be more clear, as is done in the HyperSpec. * doc/misc/cl.texi (Derived types): Move `cl-deftype` to this new subsection. Document the use of derived types as method specializers. * lisp/emacs-lisp/cl-extra.el (cl--types-of-memo): Rename from `cl--type-unique`. (cl--derived-type-dispatch-list): Rename from `cl--type-dispatch-list`. (cl--derived-type-generalizer): Rename from `cl--type-generalizer`. (cl--derived-type-generalizers): Rename from `cl--type-generalizers`. * lisp/emacs-lisp/cl-lib.el (cl-generic-generalizers) <derived-types>: Rename from <cl-types-of>. Catch but don't hide errors when a derived type cannot be used as an atomic type specifier. * lisp/emacs-lisp/cl-preloaded.el (cl--derived-type-list): Rename from `cl--type-list`. (cl-derived-type-class): Rename from `cl-type-class`. (cl--derived-type-class-make): Rename from `cl--type-class-make`. (cl--define-derived-type): Rename from `cl--type-deftype`.
* | | Merge from origin/emacs-30Eli Zaretskii2025-05-031-0/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 1f998d11a58 ; * doc/misc/ert.texi (erts files): Improve indexing. 52183c9596c ; * lisp/battery.el (battery-status-function): Doc fix. dc3e79a80ee ; * etc/DEBUG: Grammar fix. 7d02ffe87b4 ; * lisp/international/mule.el (define-coding-system): Do...
| * | ; * doc/misc/ert.texi (erts files): Improve indexing.Eli Zaretskii2025-05-031-0/+1
| | |
* | | Merge from origin/emacs-30Eli Zaretskii2025-04-301-4/+14
|\ \ \ | |/ / | | / | |/ |/| | | | | | | | | | | | | | | | | | | cc5b1a01a2c ; * doc/misc/efaq-w32.texi (Location of init file): Fix a... 6c2aaedfceb Fix compilation errors in emacsclient.c with MinGW GCC 15 d56e5ba97ee ; * etc/DEBUG: Add link to GCC bug #78685. 80cbd1e31cc ; Fix key notation in Introduction to Emacs Lisp 1224e5fd961 ; * lisp/files.el (revert-buffer-restore-functions): Doc ... 79e7eeb3296 ; Improve documentation of 'format-time-string' 2838b64fc8b ; * lisp/textmodes/text-mode.el (text-mode-variant): Fix ... 9adb05422ea ; Improve obsolescence of 'text-mode-variant' 4858d818488 ; * lisp/files.el (revert-buffer-restore-functions): Doc ... 2a8e223b8d7 ; Mention early-init file in Emacs FAQ for Windows 14c707b42d9 ; Isearch: Fix key bindings in docstrings
| * ; * doc/misc/efaq-w32.texi (Location of init file): Fix a typo.Eli Zaretskii2025-04-301-1/+1
| |
| * ; Mention early-init file in Emacs FAQ for WindowsEli Zaretskii2025-04-291-4/+14
| | | | | | | | | | | | * doc/misc/efaq-w32.texi (Location of init file, Init file): Mention the early-init file. Suggested by David Hedlund <davidh@gnu.org>.
* | Fix ruby lint output regexpsTim Landscheidt2025-04-281-1/+1
| | | | | | | | | | | | | | | | | | * doc/misc/flymake.texi (An annotated example backend): Fix regexp. * lisp/progmodes/ruby-mode.el (ruby-flymake-simple) (ruby-flymake-rubocop): Fix regexp (https://lists.gnu.org/archive/html/emacs-devel/2025-04/msg00851.html).
* | Merge from savannah/emacs-30Po Lu2025-04-271-5/+5
|\ \ | |/ | | | | | | b5967dda32d ; * doc/misc/ert.texi (Introduction): Be more Lisp-specific. be4819bd578 Include additional version metadata during Windows install
| * ; * doc/misc/ert.texi (Introduction): Be more Lisp-specific.Sean Whitton2025-04-271-5/+5
| |
* | Flymake: Experimental 'fancy' flymake-show-diagnostics-at-end-of-lineJoão Távora2025-04-271-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/flymake.texi (Customizable variables): Describe new flymake-show-diagnostics-at-end-of-line. * etc/NEWS: Mention 'flymake-show-diagnostics-at-end-of-line'. * lisp/progmodes/flymake.el (flymake-show-diagnostics-at-end-of-line): Update docstring. * lisp/progmodes/flymake.el (flymake--eol-overlay-summary): Rework. Move to separate section. (flymake--update-eol-overlays): Rework. Use 'display'. Move to separate section. (flymake--eol-draw-fancy-1, flymake--eol-draw-fancy): New helpers. (flymake-end-of-line-diagnostics-face): Remove box.
* | Fix use-package :custom-face to set face-defface-spec (bug#77928)Michael Shields2025-04-271-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default, `face-set-spec' sets the override face spec, so face attributes are combined with defaults rather than replacing them. This was a behavior change that was an apparently unintended consequence of commit 6b344a9. Also set the `face-modified' property, which causes Customize to flag the face as changed outside Customize. * doc/misc/use-package.texi (Faces): Document the behavior. * lisp/use-package/use-package-core.el (use-package-handler/:custom-face): (use-package): Improve docstring to reflect implementation. * test/lisp/use-package/use-package-tests.el (use-package-test/:custom-face-1): (use-package-test/:custom-face-2): (use-package-test/:custom-face-3): (use-package-test/:custom-face-4): Add tests.
* | Merge from origin/emacs-30Eli Zaretskii2025-04-261-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | 1f520db97bd * doc/emacs/files.texi (Time Stamp Customization): Typo. d824b66c242 ; * doc/emacs/search.texi (Isearch Yank): Improve flow. 62b284f9153 ; * etc/DEBUG: Say that debugging code compiled w/ -Og ca... 49ea1f64c77 ; Improve documentation of 'modifier-bar-mode' a975232c0fd ; * doc/emacs/programs.texi (Matching): Fix wording (bug#... 29142dab316 ; * doc/misc/efaq-w32.texi (MinGW-w64): Fix punctuation (... 4cd4a801d86 ; * java/res/README: Note origin of emacs_wrench.png.
| * ; * doc/misc/efaq-w32.texi (MinGW-w64): Fix punctuation (bug#78005).Eli Zaretskii2025-04-231-1/+1
| |
* | Flymake: rework, simplify and address problems of recent change (bug#75841)João Távora2025-04-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various problems were addressed: - Unbreak Flymake for Emacs 26.3. Due to use of some Elisp constructs, the change completely broke compatibility to Emacs < 29.1. That violated Flymake's status as a :core package as highlighted in its description, which has implications for packages depending on it (such as Eglot); - No new two commands are needed (they weren't documented in the manual anyway). The new functionality was integrated in the existing flymake-show-buffer-diagnostics; - Some helper functions aren't needed at all (they weren't marked internal anyway); - The new hook called only when a particular function is called non-interactively in a particular way is not useful. A case for the usefulness (if any) of this hook must be made separately. Such a hook should be documented in the manual; - Added missing recentering after revealing diagnostic in buffer; - The menu entry "List all problems" was never intended to direct the user the user to any particular problem at point; - The useful new functionality is called out in the manual and NEWS. * lisp/progmodes/flymake.el (flymake--indicator-overlay-spec): Use flymake-show-buffer-diagnostics-at-mouse. (flymake-mode-map): Recover old definition. (flymake-after-show-buffer-diagnostics-hook): Remove hook. (flymake-show-buffer-diagnostics): Rework. (flymake-show-diagnostic, flymake-goto-diagnostic): Rework docstring. (flymake-show-buffer-diagnostics-at-event-position) (flymake-show-buffer-diagnostics-at-event-line): Delete undocumented commands. (flymake-diagnostics-at-mouse-event) (flymake-pulse-momentary-highlight-region): Delete non-helpful helper. * doc/misc/flymake.texi (listing diagnostics): Mention new functionality.
* | Flymake: new flymake-diagnostic-format-alist (bug#77439, bug#77480)João Távora2025-04-201-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/flymake.el (flymake-diagnostic-text): Overhaul. (flymake-diagnostic-format-alist): New defcustom. (flymake--diagnostic-format): New util. (flymake--eol-overlay-summary) (flymake--highlight-line) (flymake-eldoc-function): Use flymake--diagnostic-format. (flymake--tabulated-diagnostic-origin): New helper. (flymake--tabulated-entries-1): Use flymake--tabulated-diagnostic-origin. (flymake--diagnostics-base-tabulated-list-format): "Backend" -> "Origin" * doc/misc/flymake.texi (Customizable variable): Mention new variable.
* | Flymake: more powerful flymake-make-diagnostic and rework manualJoão Távora2025-04-201-38/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Flymake backends may now explicitly specify an origin and a code for a diagnostic in addition to the textual description. This change lays groundwork for richer diagnostic listings and user options for summarizing diagnostics, addressing bug#77439 and bug#77480. * doc/misc/flymake.texi (Flymake API): Rename from "Extending Flymake". Rework. (Inspecting diagnostics): New section. * lisp/progmodes/flymake.el (flymake--diag): Add origin, code and message. Remove text. (flymake-make-diagnostic): Support new origin, code and message. (flymake-diagnostic-text): Rework.
* | Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-04-191-178/+231
| |
* | Update modus-themes to their 4.7.0 versionProtesilaos Stavrou2025-04-171-84/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/modus-themes.org: Update the manual to document how 'modus-themes-list-colors' has changed. Make other minor changes. * etc/themes/modus-operandi-deuteranopia-theme.el: * etc/themes/modus-operandi-theme.el: * etc/themes/modus-operandi-tinted-theme.el: * etc/themes/modus-operandi-tritanopia-theme.el: * etc/themes/modus-vivendi-deuteranopia-theme.el: * etc/themes/modus-vivendi-theme.el: * etc/themes/modus-vivendi-tinted-theme.el: * etc/themes/modus-vivendi-tritanopia-theme.el: Make stylistic refinements. * etc/themes/modus-themes.el: Make refinements to supported faces, add support for more faces, and the like. Release notes: <https://protesilaos.com/codelog/2025-04-17-emacs-modus-themes-4-7-0/>.
* | flymake: fall back to margins on text terminalsSpencer Baugh2025-04-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, flymake-indicator-type defaulted to either fringes or margins. But fringes should be used on graphical frames, and margins on TTY frames. So default to fringes instead, and simply fall back to margins automatically on text frames. * lisp/progmodes/flymake.el (flymake-indicator-type): Set to fringes. (bug#77313) (flymake-mode): Fallback to margins if there's no fringes. * doc/misc/flymake.texi (Customizable variables): Mention fallback behavior. * etc/NEWS: Announce fallback behavior.
* | Merge from origin/emacs-30Eli Zaretskii2025-04-051-0/+9
|\ \ | |/ | | | | | | | | | | | | ae7f65f3f9c Fix obsolete documentation of desktop library fd5f817882a Improve Tramp's initial warnings 1e865a2f288 Explain, how to suppress Tramp warnings a0962074743 printed manuals: xrefs in and out of "Preparing Patches" 3f9ac99fc7e Fix Tramp's file-attributes cache
| * Explain, how to suppress Tramp warningsMichael Albinus2025-04-021-11/+9
| | | | | | | | | | * doc/misc/tramp.texi (Frequently Asked Questions): Remove double item. (Traces and Profiles): Mention `warning-suppress-types'. (Bug#77422)
| * Sync with Tramp 2.7.3-preMichael Albinus2025-03-302-31/+275
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi: Use @dots{} where appropriate. (External methods): Precise remark on rsync speed. (Customizing Methods): Add incus-tramp. (Password handling): Mention expiration of cached passwords when a session timeout happens. (Predefined connection information): Mention also "androidsu" as special case of "tmpdir". (Ad-hoc multi-hops, Frequently Asked Questions): Improve description how ad-hoc multi-hop file names can be made persistent. (Bug#65039, Bug#76457) (Remote processes): Signals are not delivered to remote direct async processes. Say, that there are restrictions for transfer of binary data to remote direct async processes. (Bug Reports): Explain bisecting. (Frequently Asked Questions): Improve index. Speak about fingerprint readers. Recommend `small-temporary-file-directory' for ssh sockets. (External packages): Rename subsection "Timers, process filters, process sentinels, redisplay". (Extension packages): New node. (Top, Files directories and localnames): Add it to @menu. * doc/misc/trampver.texi: * lisp/net/trampver.el (tramp-version): Adapt Tramp versions. (tramp-repository-branch, tramp-repository-version): Remove ;;;###tramp-autoload cookie. * lisp/net/tramp-adb.el: * lisp/net/tramp-androidsu.el: * lisp/net/tramp-cache.el: * lisp/net/tramp-cmds.el: * lisp/net/tramp-compat.el: * lisp/net/tramp-container.el: * lisp/net/tramp-crypt.el: * lisp/net/tramp-ftp.el: * lisp/net/tramp-fuse.el: * lisp/net/tramp-gvfs.el: * lisp/net/tramp-integration.el: * lisp/net/tramp-message.el: * lisp/net/tramp-rclone.el: * lisp/net/tramp-sh.el: * lisp/net/tramp-smb.el: * lisp/net/tramp-sshfs.el: * lisp/net/tramp-sudoedit.el: * lisp/net/tramp.el: Use `when-let*', `if-let*' and `and-let*' consequently. (Bug#73441) * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection): Move setting of sentinel up. * lisp/net/tramp-archive.el (tramp-archive-file-name-p): Add ;;;###tramp-autoload cookie. (tramp-archive-local-file-name): New defun. * lisp/net/tramp-cache.el (tramp-connection-properties): Add link to the Tramp manual in the docstring. (tramp-get-connection-property, tramp-set-connection-property): Don't raise a debug message for the `tramp-cache-version' key. (with-tramp-saved-connection-property) (with-tramp-saved-connection-properties): Add traces. (tramp-dump-connection-properties): Don't save connection property "pw-spec". * lisp/net/tramp-cmds.el (tramp-repository-branch) (tramp-repository-version): Declare. * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): (tramp-gvfs-do-copy-or-rename-file): Don't use the truename. Handle symlinks. (tramp-gvfs-local-file-name): New defun. * lisp/net/tramp-message.el (tramp-repository-branch) (tramp-repository-version): Declare. (tramp-error-with-buffer, tramp-user-error): Don't redisplay in `sit-for'. (Bug#73718) (tramp-warning): Fix `lwarn' call. * lisp/net/tramp.el (tramp-read-passwd): * lisp/net/tramp-sh.el (tramp-maybe-open-connection): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-send-command): Rename connection property "password-vector" to "pw-vector". * lisp/net/tramp-sh.el (tramp-methods) <pscp, psftp>: Adapt `tramp-copy-args' argument. (tramp-get-remote-pipe-buf, tramp-actions-before-shell): Use `tramp-fingerprint-prompt-regexp'. (tramp-sh-handle-copy-directory): Apply `tramp-do-copy-or-rename-file-directly' if possible. (tramp-do-copy-or-rename-file): Refactor. Handle symlinks. (Bug#76678) (tramp-plink-option-exists-p): New defun. (tramp-ssh-or-plink-options): Rename from `tramp-ssh-controlmaster-options'. Adapt further plink options. (tramp-do-copy-or-rename-file-out-of-band) (tramp-maybe-open-connection): Adapt calls. (tramp-sh-handle-make-process): Don't set connection property "remote-pid", it's unused. (tramp-sh-handle-process-file): Do proper quoting. (tramp-vc-file-name-handler): Add `file-directory-p', which is used in `vc-find-root'. (Bug#74026) (tramp-maybe-open-connection): Use connection property "hop-vector". (tramp-get-remote-pipe-buf): Make it more robust. * lisp/net/tramp-smb.el (tramp-smb-errors): Add string. (tramp-smb-handle-copy-directory): Don't check existence of DIRNAME, this is done in `tramp-skeleton-copy-directory' already. (tramp-smb-handle-copy-file, tramp-smb-handle-rename-file): Refactor. * lisp/net/tramp-sshfs.el (tramp-sshfs-handle-process-file): STDERR is not implemented. * lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file): Don't use the truename. Handle symlinks. * lisp/net/tramp.el (tramp-mode): Set to nil on MS-DOS. (tramp-otp-password-prompt-regexp): Add TACC HPC prompt. (tramp-wrong-passwd-regexp): Add fingerprint messages. (tramp-fingerprint-prompt-regexp, tramp-use-fingerprint): New defcustoms. (tramp-string-empty-or-nil-p): Declare `tramp-suppress-trace' property. (tramp-barf-if-file-missing): Accept also symlinks. (tramp-skeleton-file-exists-p) (tramp-handle-file-directory-p): Protect against cyclic symlinks. (tramp-skeleton-make-symbolic-link): Drop volume letter when flushing. (tramp-skeleton-process-file): Raise a warning if STDERR is not implemented. (tramp-skeleton-set-file-modes-times-uid-gid): Fix typo. (tramp-compute-multi-hops): Check for `tramp-sh-file-name-handler-p', it works only for this. (tramp-handle-shell-command): Respect `async-shell-command-display-buffer'. (tramp-action-password, tramp-process-actions): Use connection property "hop-vector". (tramp-action-fingerprint, tramp-action-show-message): New defuns. (tramp-action-show-and-confirm-message): Start check at (point-min). (tramp-wait-for-regexp): Don't redisplay in `sit-for'. (Bug#73718) (tramp-convert-file-attributes): Don't cache "file-attributes-ID-FORMAT". (tramp-read-passwd, tramp-clear-passwd): Rewrite. (Bug#74105) * test/lisp/net/tramp-tests.el (auth-source-cache-expiry) (ert-batch-backtrace-right-margin): Set them to nil. (vc-handled-backends): Suppress if noninteractive. (tramp--test-enabled): Cleanup also `tramp-compat-temporary-file-directory'. (tramp-test11-copy-file, tramp-test12-rename-file) (tramp-test18-file-attributes, tramp--test-deftest-with-stat) (tramp--test-deftest-with-perl, tramp--test-deftest-with-ls) (tramp--test-deftest-without-file-attributes) (tramp-test21-file-links, tramp-test28-process-file) (tramp-test32-shell-command, tramp-test36-vc-registered) (tramp-test39-make-lock-file-name, tramp--test-check-files) (tramp-test42-utf8, tramp-test43-file-system-info) (tramp-test44-file-user-group-ids, tramp-test47-read-password): Adapt tests. (tramp-test47-read-fingerprint): New test.
* | ; * doc/misc/cl.texi (Structures): Fix references and markup.Eli Zaretskii2025-04-011-8/+8
| |
* | Add cl-with-accessorsEarl Hyatt2025-03-311-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-with-accessors): New macro. * doc/misc/cl.texi (Structures): Mention the new macro. * test/lisp/emacs-lisp/cl-macs-tests.el (cl-lib-struct-with-accessors): New Test. * etc/NEWS (New macro 'cl-with-accessors'.): Mention the macro. This macro is useful when making repeated use of a structures accessor functions, such as reading from a slot and then writing to a slot. It is similar to 'with-slots' from EIEIO, but uses accessor functions instead of slot names.
* | ; Fix a merge snafu.Eli Zaretskii2025-03-291-1/+1
| |
* | C++ Mode: Fix some indentation bugs. FIxes bug#19867Alan Mackenzie2025-03-271-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Fix closing paren aligning with trailing comment on line with matching open paren. 2. Fix indentation of first identifier inside a comma separated list aligning with the type rather than the subsequent identifiers. 3. Fix lambda expressions inside a brace list aligning like a single statement. * lisp/progmodes/cc-align.el (c-lineup-arglist): Take into account any preceding comments when lining up the arguments in the arglist. (c-lineup-arglist-intro-after-paren): Handle comments properly, and don't line up the closing parenthesis with a trailing comment on the first line. (c-lineup-item-after-paren-at-boi): Also allow a paren to count as being at BOI when it is preceded only by open parens on that line. (c-lineup-runin-statements, c-lineup-ObjC-method-call): Hanle comments better. * lisp/progmodes/cc-engine.el (c-forward-comments) Introduce an optional limit parameter. Use this limit in calls from cc-align.el and cc-mode.el. (c-just-after-func-arglist-p): Handle the presence of a protection keyword such as "public". (c-at-bracelist-p): Renamed from c-inside-bracelist-p, after dropping the accept-in-paren parameter, having removed its functionality. (c-looking-at-statement-block-1): New function, based on the old c-looking-at-statement-block. Enhanced to handle C++ lambda expressions, and to return the symbol `maybe' when the contents of a brace delimited block fail to determine whether it is a statement block. (c-looking-at-statement-block): Enhanced to examine the context of a brace delimited block when the contents are ambiguous. (c-looking-at-c++-lambda-expression): Check the character after point is a < before calling c-forward-<>-arglist. (c-add-stmt-syntax): Make the context more accurate by calling c-looking-at-statement-block. (c-guess-basic-syntax, CASE 5D.5): Replace the syntactic symbol topmost-intro-cont with the new symbol class-field-cont, additionally determining the position of the enclosing brace as an extra anchor point. (c-guess-basic-syntax, CASE 5V): New case for an identifier following a type inside class braces. (c-guess-basic-syntax, CASE 9): Use c-looking-at-statement-block to detect a brace list more accurately. * lisp/progmodes/cc-fonts.el (c-get-fontification-context): Rename the call to c-inside-bracelist-p to c-at-bracelist-p. * lisp/progmodes/cc-langs.el (c-protection-kwds): Add an entry for java-mode. (c-stmt-block-only-keywords-regexp): Prevent this regexp also matching a character preceding the keyword. * /lisp/progmodes/cc-mode.el (c-before-change-include-<>) (c-after-change-include-<>): Use the new limit argument to c-forward-comments. * lisp/progmodes/cc-styles.el (c-style-alist, "gnu" and "java" styles): Change the offset for arglist-close to c-lineup-arglist-close-under-paren. * lisp/progmodes/cc-vars.el (c-offsets-alist): Introduce the new syntactic symbol class-field-cont, giving it default offset +. * doc/misc/cc-mode.texi (Syntactic Symbols, Class Symbols): Document the new syntactic symbol class-field-cont.
* | Improve documentation of cl-defstructStefan Kangas2025-03-231-26/+55
| | | | | | | | | | * doc/misc/cl.texi (Structures): Organize more logically, slightly expand, and add more examples.
* | Merge from origin/emacs-30Sean Whitton2025-03-223-16/+15
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | 1364bbc6a5c ; * admin/notes/spelling: Grammar fix dc80a8f0509 ; Add index entry "code completion" to user manual 0d9b14ed057 ; * doc/emacs/programs.texi (Program Modes): Add info abo... f224475f578 ; admin/notes/spelling: Notes on abbreviation of "Emacs L... 86c354dd0d8 Fix OSX build without pdumper 2d12754ee20 ; Add indexing for Eglot in user manual a30b9b640b4 ; Change some instances of cl to cl-lib in docs b681d62436f ; Improve introduction to use-package manual f1acefd86f8 ; Add cross-references to push and pop docstrings
| * ; Change some instances of cl to cl-lib in docsStefan Kangas2025-03-202-3/+3
| | | | | | | | | | | | * doc/misc/cl.texi (Overview): * doc/misc/eieio.texi (CLOS compatibility, Wish List): Change 'cl' to 'cl-lib' where appropriate.