From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filippo Argiolas Newsgroups: gmane.emacs.devel Subject: [NonGNU ELPA] new package: clangd-inactive-regions Date: Fri, 1 Nov 2024 10:02:16 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000c1d1800625d631aa" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37811"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 01 10:06:30 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t6nby-0009hg-5H for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Nov 2024 10:06:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6nYS-0002PR-Dd; Fri, 01 Nov 2024 05:02:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t6nY8-0002Gx-5Q for emacs-devel@gnu.org; Fri, 01 Nov 2024 05:02:32 -0400 Original-Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t6nY6-0006wa-JD for emacs-devel@gnu.org; Fri, 01 Nov 2024 05:02:31 -0400 Original-Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-7e6cbf6cd1dso1331177a12.3 for ; Fri, 01 Nov 2024 02:02:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730451748; x=1731056548; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=eQheYmdi9zfEBK7dTAA/1C8XvgkTEB07YE1EPrQxBxk=; b=GNbe3SWWZJnLcuprs/cbRi/fnhZuxYaOWPARiNlLPBy5Ra8EJJ0SAPMgUan+AEq4g7 WXJJhmpt/ETv3TQmVG2u18050ybVnY/tBoB0OhrVUA82e6OoC10ffxXsbkPlg4ebMkhy I17xOVStUkN/kpKNM49LGS+JjwSKWabk5MFo7Q7Ey6AcqaYN/vVLf0mgT1Co4ICPOebG CDAHi4QCOzUkPvX4IOOBmW8YaGOWW83rT0TWRnfS+f5NLb0zmIF66DVak+fV328fA10v Nj9RBFOGKUBrgWQzNp26qgdtZIp837NNBWOF2hMlTYJXoLfmqGYvC55B9dy4jUI/fmHv IRNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730451748; x=1731056548; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eQheYmdi9zfEBK7dTAA/1C8XvgkTEB07YE1EPrQxBxk=; b=EzQ2BXL5x6dxJ0/gwm0fa8McazRS3FlznB2yfVkaQUtMQUwpU0qoh9ZzGswXzl4yLG TvGnDMNbGpUrd2qHPhikGoFEQe+maGaHb+tF87cXuoLrc1pBdMafYGVsWUheCd3CpOU6 U4AQmweva01YzWnfR8I6MzpcCk6vdfw6+ZjlgebD1R058vd/lMOmlVY+Z1yruPvt/BYH Kz/aTSqdl3FI22AakwemLryO/5jng6AxQvd6875QcxFdF0PBsSe3tBXAlL/JLx8K0rFh Bw8fgCQ6YZJKKAG1Cenm+xq59WZvU79r1l3alr9ePTCJQ4Jvsi84VisrRHUli2k5vOBE X6mg== X-Gm-Message-State: AOJu0YwnirpnXMbmvRkJrZhnK2eUQJrq5hpR4AOqzcWK1PjzOygpaK5x YbLiwaP6UByPclHWiPjsmkpMSC7/Lj+2ey/zRg2d1/ynlO4GZImSKtwrGSlo83ktlMHWAO9+/sE e7PBX5bpTRONy5/BTEn3tLHa2oyDcgHWt X-Google-Smtp-Source: AGHT+IFn0psIQqF017T34MWOOH9lZHzZd6q+p5xcjkLpSOR430kakBQbfsH/t1t0+DRGwCSqmfVkM1idiqziR1c9N/A= X-Received: by 2002:a17:90a:bc2:b0:2e1:d5c9:1bc4 with SMTP id 98e67ed59e1d1-2e92ce2e21emr10440295a91.7.1730451748270; Fri, 01 Nov 2024 02:02:28 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::534; envelope-from=filippo.argiolas@gmail.com; helo=mail-pg1-x534.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324990 Archived-At: --000000000000c1d1800625d631aa Content-Type: text/plain; charset="UTF-8" Hey everyone, Just wanted to check if there's any interest in including my little package in NonGNU ELPA: https://github.com/fargiolas/clangd-inactive-regions.el It's an eglot extension that listens to clangd inactiveRegions notifications and shades inactive code accordingly. It's useful to highlight disabled code sections in a LSP aware way, honoring current building options and defines. It started as little more than an experiment but I've been using it on the day job with a ifdef-heavy codebase and it has been serving me well for more than a year. Thought it could be useful to other people too. I'm not exactly an elisp expert, so feedback is very welcome! Cheers, Filippo --000000000000c1d1800625d631aa Content-Type: application/octet-stream; name="0001-elpa-packages-clangd-inactive-regions-New-package.patch" Content-Disposition: attachment; filename="0001-elpa-packages-clangd-inactive-regions-New-package.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_m2yi0se70 RnJvbSA2ZDY4YzQ0NTg0MDE1NDE2MTExYTM4M2QzODIxODg2YTIzZTkzMGM1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBGaWxpcHBvIEFyZ2lvbGFzIDxmaWxpcHBvLmFyZ2lvbGFzQGdt YWlsLmNvbT4KRGF0ZTogRnJpLCAxIE5vdiAyMDI0IDA5OjM4OjEzICswMTAwClN1YmplY3Q6IFtQ QVRDSF0gKiBlbHBhLXBhY2thZ2VzIChjbGFuZ2QtaW5hY3RpdmUtcmVnaW9ucyk6IE5ldyBwYWNr YWdlCgotLS0KIGVscGEtcGFja2FnZXMgfCAzICsrKwogMSBmaWxlIGNoYW5nZWQsIDMgaW5zZXJ0 aW9ucygrKQoKZGlmZiAtLWdpdCBhL2VscGEtcGFja2FnZXMgYi9lbHBhLXBhY2thZ2VzCmluZGV4 IDg2ZDc1M2M4ZGEuLjEwODk4ODhhZTQgMTAwNjQ0Ci0tLSBhL2VscGEtcGFja2FnZXMKKysrIGIv ZWxwYS1wYWNrYWdlcwpAQCAtOTksNiArOTksOSBAQAogICA6aWdub3JlZC1maWxlcyAoIkxJQ0VO U0UiICJkb2MiICJsb2dvIiAicmVmY2FyZCIgInRlc3QiKQogICA6bmV3cyAiQ0hBTkdFTE9HLm1k IikKIAorIChjbGFuZ2QtaW5hY3RpdmUtcmVnaW9ucyA6dXJsICJodHRwczovL2dpdGh1Yi5jb20v ZmFyZ2lvbGFzL2NsYW5nZC1pbmFjdGl2ZS1yZWdpb25zLmVsIgorICA6aWdub3JlZC1maWxlcyAo IkxJQ0VOU0UiICJzY3JlZW5zaG90cyIpKQorCiAgKGNsb2p1cmUtbW9kZQkJOnVybCAiaHR0cHM6 Ly9naXRodWIuY29tL2Nsb2p1cmUtZW1hY3MvY2xvanVyZS1tb2RlIgogICA6aWdub3JlZC1maWxl cyAoImNsb2p1cmUtbW9kZS1leHRyYS1mb250LWxvY2tpbmcuZWwiICJkb2MiICJ0ZXN0IiAidGVz dC5jbGoiKQogICA6bmV3cyAiQ0hBTkdFTE9HLm1kIikKLS0gCjIuNDQuMAoK --000000000000c1d1800625d631aa--