Create a helper function `night/z-var-get` which, when brish is available (`night/brish-p`), uses `z var-get`, but falls back on `getenv` when it's not. Use it everywhere we currently use `z var-get`.| Name | Name | Last commit date | ||
|---|---|---|---|---|
Create a helper function `night/z-var-get` which, when brish is available (`night/brish-p`), uses `z var-get`, but falls back on `getenv` when it's not. Use it everywhere we currently use `z var-get`.search: Org links, including UTF-8 queries such as Persian text. See docs/org-link-browser-current.md.current-kill while locally clearing osx-clipboard-last-selected-text so terminal macOS clipboard sync is not suppressed as already seen.kill-new and must forward optional arguments with &rest so boolean REPLACE values from kill-append remain valid apply tails.newline2space filter, for callers that already hold the text. [help:night/p-newline2space] is the clipboard-reading command.leader , <. Pastes the clipboard as a Markdown fenced code block, the Emacs counterpart of the Hammerspoon pasteBlockified on hyper+=,=.* or #+ only in Org buffers, where they would otherwise be parsed as a heading or a keyword. Elsewhere the content goes in byte for byte, since a comma would corrupt it.md=/=markdown source blocks, converts Markdown clipboard text to Org before sentence-cased insertion.C-u leader , s first joins the clipboard’s lines with newline2space, for text copied out of a hard-wrapped terminal or a PDF. It is opt-in because that filter also flattens lists and paragraph breaks; see docs/smart-text-paste.md.hs-alert-v2 surface: :dur, :flash, :pos, :id, :markup, :color. Anything omitted keeps the zsh-side default.emc-mobile hides line numbers in marked terminal frames except at the final line; desktop buffer settings are preserved. See docs/mobile-line-numbers.md.\begin{...} opens a latex-environment element, which ends the paragraph and strands the closing \], so only the inner environment previews or exports. Hits math written straight into org files by coding agents, which never passes through [agfi:md2org].hear-* call for the rest of the session.--idle=yes: loadfile ... replace discards the playlist first, so any failed load left mpv with nothing to play and it exited, taking $mpv_audio_ipc with it.~mu/.NOAUTH Authentication required. as a passphrase, and [help:night/redis-lock] never acquired while with-redis-lock ran its body anyway.~/.redis-auth and confirms with PING; [help:night/redis-reconnect] is the recovery command.requirepass was set stays authenticated, so it proves nothing. Test in a freshly connected Emacs.evil-ex-search-vim-style-regexp to t, so evil rewrote the (){}|+ that regexp-quote deliberately leaves bare. Pasting \hat{t} into / turned the braces into an interval and the search died with “Invalid content of \{\}”. [help:night-evil] now sets it nil.emacs for evil and consult-line, and for consult’s ripgrep builder too, since [help:consult–compile-regexp] converts to PCRE itself. Only [help:night/consult-ugrep] binds it, to ugrep-bool, as its builder hands the input to ugrep unconverted.// where \\ was meant, so every non-ugrep search for an arxiv URL matched nothing.ivy-rg (remote dirs) stays broken: [help:counsel–elisp-to-pcre] drops one backslash of a literal \\, and no input quoting survives that.model, prompt, suffix, max_tokens, stop), so an entry only names the endpoint, the key getter, the model, and whether the text is at choices[0].message.content (:extract chat, Mistral) or choices[0].text (:extract text, OpenAI-style). Configured: codestral (~0.3s), deepseek (deepseek-v4-pro, ~2s, better output), deepseek-flash (~1s).leader . f and [help:night/fim-provider-show] at leader . F; f=/=F because p=/=P are taken by ellama-command-map. C-u M-. overrides the provider for one call only.generateContent only; Codey code-gecko had real prefix=/=suffix but is PaLM-era and deprecated; CodeGemma is FIM-trained but self-hosted; Vertex’s answer is reselling Codestral), OpenRouter or Groq (chat-only), or Anthropic. So those keys are of no use here.minuet-accept-suggestion-line, and its failures go to a *minuet* buffer rather than the echo area. Worth installing separately on another key if ghost text is ever wanted.FIM: requesting … with a ⋯ indicator at the insertion point, then the outcome with its elapsed time.plz without :else hands the plz-error struct to :then instead of a body, so a 401 signalled wrong-type-argument inside the process sentinel; and the eight in-band error branches were (funcall callback (error "…")), where error signals during argument evaluation and the callback is never reached.:on-error and :finally alongside :callback, mirroring plz’s own then/else split. [help:night/h-fim–api-message] tries Mistral’s detail, plain message, and DeepSeek’s OpenAI-shaped error.message, so a bad key reads FIM: HTTP 401 — Authentication Fails, Your api key: ****-key is invalid.M-. supersedes the first request rather than racing it, and C-g aborts. [help:night/h-fim-escape] returns nil, because doom-escape-hook runs under run-hook-with-args-until-success and a non-nil return would swallow the quit.count =', or the whole indent when point is on an empty line. One sample in 87 was improved by stripping, three were broken by it. Binding it with =let does nothing, as the request is async; setq it.alt+.: [agfi:fim-get] in ~/scripts/zshlang/auto-load/others/fim.zsh, with the same provider table and the same request body, so the two want changing together. Callable from here as z fim-get <prefix> <suffix>.sh-mode-syntax-table gives symbol syntax to ! % : . ^ ~ ,, and - inherits it from the standard table, so the symbol at point inside ${alert_color:-red} was alert_color:-red.yio bug: * search ([help:evil-symbol-word-search] is t here), M-., company-dabbrev-code and [help:night/brishz-doc-at-point] all read the same table, so whichm was being asked about alert_color:-red too.: and % to punctuation in the table itself, which fixes all of those at once. - and . stay symbol constituents so night-foo, --color and a.txt remain whole; ! ^ ~ , are the next candidates if ${x^^} or {a,b} annoy.sh-mode buffers share that table object, so mutating it reaches open buffers, and sh-set-shell only replaces it for shells listed in sh-mode-syntax-table-input (only rpm is).~/scripts reindent identically under the old and new tables. Re-run that comparison if the char list grows.- cannot go in that list – night-foo, --color and a-b need it – so ${alert_markup:-plain} still yanked -plain. A syntax table cannot express that; [help:night/sh-syntax-propertize-operators] does it per position instead, marking an operator that directly follows a : or a name inside ${}. Both are unambiguous: no construct has : followed directly by -+?= as part of a name, and a variable name cannot contain -.: rather than on the surrounding construct is why ${(f)v:-w} works, which no bash parser could read. That, an uninstalled grammar, and the fact that *=/=M-.=/=whichm read syntax rather than a parse tree, are why this is not tree-sitter.syntax-propertize--done is already at point-max and the rules silently never fire. It also runs over existing sh-mode buffers at load, since a mode hook alone leaves long-lived buffers on the old behaviour.