diff options
Diffstat (limited to 'personal')
| -rw-r--r-- | personal/itches/emacs/bulk.md | 19 | ||||
| -rw-r--r-- | personal/itches/emacs/language-support.org | 16 | ||||
| -rw-r--r-- | personal/itches/emacs/unfiltered.org | 22 |
3 files changed, 34 insertions, 23 deletions
diff --git a/personal/itches/emacs/bulk.md b/personal/itches/emacs/bulk.md index 4fd6402..2de60f4 100644 --- a/personal/itches/emacs/bulk.md +++ b/personal/itches/emacs/bulk.md @@ -159,7 +159,7 @@ ## Ellipses customization Make ellipses for "invisible" text easily customizable (src/xdisp.c). -Make them default to ?… when this character can be displayed. +Make them default to "…" when `(char-displayable-p ?…)`. Use-cases: @@ -169,6 +169,17 @@ Use-cases: - rgrep - magit-process +## xref + +- search gz-compressed Elisp files when calling `xref-find-references` + from an Elisp buffer: from a user perspective, if + `xref-find-definitions` can visit those files, + `xref-find-references` should work too (even though technically they + don't rely on the same mechanisms) + +- defun-building macros seem hard to understand for xref: e.g. `M-.` + on `rg` does not jump to `rg-define-search rg` + ## External libraries ### adaptive-wrap @@ -208,6 +219,12 @@ Use-cases: way to hide or distinguish "stale" branches from active ones, a la <https://emba.gnu.org/emacs/emacs/branches> +#### transient + +- cannot use the full domain of `--find-renames` (e.g. 1%) +- cannot call transient-save for all transients (e.g. would like to + always `fetch --prune`) + ### markdown-mode - support [shortcut reference links] diff --git a/personal/itches/emacs/language-support.org b/personal/itches/emacs/language-support.org index 6a4f513..8d007d3 100644 --- a/personal/itches/emacs/language-support.org +++ b/personal/itches/emacs/language-support.org @@ -19,6 +19,22 @@ E.g. =f'an {expression} that should be highlighted'=. E.g. ="an ${expression} that should be highlighted"=. ** Do not highlight single-quoted command substitutions E.g. ='this $(call) should not be highlighted'=. +** Fix indentation on continuation lines +#+BEGIN_SRC shell +# cf +# - electric-indent-post-self-insert-function +# - indent-according-to-mode +# - indent-line-function => smie-indent-line +# - smie-indent-functions +# - smie-indent-exps +# => calls smie-backward-sexp, which does not skip over ${foo} +foobar \ + indentis4 +foo_bar \ + indentisstill4 +${foo}bar \ + indentisfoobar +#+END_SRC * Makefile diff --git a/personal/itches/emacs/unfiltered.org b/personal/itches/emacs/unfiltered.org index 2d0ae5d..8bc9b52 100644 --- a/personal/itches/emacs/unfiltered.org +++ b/personal/itches/emacs/unfiltered.org @@ -1,29 +1,7 @@ -* broken indentation in shell-script-mode -# cf -# - electric-indent-post-self-insert-function -# - indent-according-to-mode -# - indent-line-function => smie-indent-line -# - smie-indent-functions -# - smie-indent-exps -# => calls smie-backward-sexp, which does not skip over ${foo} -foobar \ - indentis4 -foobar_baz \ - indentisstill4 -${foo}bar \ - indentisfoobar -* magit-diff's transient and -M: how to input 1%/01? -* dired-compress-file-suffixes and 7z -- debian package: p7zip -- "7z" does not exist * eglot + pyls: how to add myproject/src to path so that definition/completion works? -* search gz-compressed elisp files when M-?ing from an emacs-lisp buffer -visiting an installed .el.gz file; M-. doesn't seem bothered by -compression, so why should M-? be? * rg/deadgrep: add user-customizable predicate to control default --no-ignore (eg nil by default = don't add the flag; or user-function to add it whenever project-root is ~) -* xref elisp: handle tricky cases like rg-define-search (eg M-. rg does not jump to rg-define-search rg) * add "fr10x" to quail-keyboard-layout-alist then try to figure out how to input dot and comma with russian-computer input method (with describe-input-method) |
