unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Filippo Argiolas <filippo.argiolas@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: [NonGNU ELPA] new package: clangd-inactive-regions
Date: Sat, 02 Nov 2024 10:13:30 +0100	[thread overview]
Message-ID: <m2bjyyvw05.fsf@gmail.com> (raw)
In-Reply-To: <CAOdrLGKtYNg70aY-FVhDxs0YL2Lrk-ZW0MpPP=eakLxfj2sUFA@mail.gmail.com> (Filippo Argiolas's message of "Fri, 1 Nov 2024 10:02:16 +0100")

Filippo Argiolas <filippo.argiolas@gmail.com> writes:

> I'm not exactly an elisp expert, so feedback is very welcome!

Works fine for me on macOS 15.1/tty with clangd 19.1 from Homebrew.
Thanks, that's a nice feature!

You said you are interested in feedback, so here's my wishlist :-).

- I'd preferred a global minor mode to turn this on and off.
  Which would replace the manual adding to the Eglot hook.

- I think something is to be up with the faces? If I remove

  (clangd-inactive-regions-set-method "darken-foreground")
  (clangd-inactive-regions-set-opacity 0.55))

  from the use-package in my init file, which is

  (use-package clangd-inactive-regions
    :straight (:host github
                     :repo "fargiolas/clangd-inactive-regions.el"
                     :branch "master"
                     :files ("*.el"))
    :init
    (add-hook 'eglot-managed-mode-hook #'clangd-inactive-regions-mode)
    :config
    (clangd-inactive-regions-set-method "darken-foreground")
    (clangd-inactive-regions-set-opacity 0.55))

  the inactive regions are not shown, I think. If I put them in, they
  are.

- Maybe some of the defvar could be defcustoms?



  reply	other threads:[~2024-11-02  9:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-01  9:02 [NonGNU ELPA] new package: clangd-inactive-regions Filippo Argiolas
2024-11-02  9:13 ` Gerd Möllmann [this message]
2024-11-03  7:53   ` Filippo Argiolas
2024-11-03  8:43     ` Gerd Möllmann
2024-11-02 21:52 ` Stefan Kangas
2024-11-02 22:35   ` Felician Nemeth
2024-11-03  1:21     ` Stefan Kangas
2024-11-03  8:08       ` Filippo Argiolas
2024-11-03 15:07         ` Stefan Kangas
2024-11-04 17:36       ` Felician Nemeth
2024-11-03  5:59     ` Eli Zaretskii
2024-11-04 17:40       ` Felician Nemeth
2024-11-03  5:46   ` Eli Zaretskii
2024-11-04  5:34   ` Richard Stallman
2024-11-04  7:17     ` Filippo Argiolas
2024-11-04 12:02       ` Philip Kaludercic
2024-11-05  0:42         ` Filippo Argiolas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2bjyyvw05.fsf@gmail.com \
    --to=gerd.moellmann@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=filippo.argiolas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).