all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dmitry@gutov.dev>
To: "João Távora" <joaotavora@gmail.com>, "Ship Mints" <shipmints@gmail.com>
Cc: 72701@debbugs.gnu.org
Subject: bug#72701: eglot crash when project-files-relative-names t
Date: Sat, 24 Aug 2024 02:51:16 +0300	[thread overview]
Message-ID: <7ddfb028-a182-486d-bb72-aeb26e0d1d4d@gutov.dev> (raw)
In-Reply-To: <CALDnm53-oQe4Je7tUr9V1Km0FJhTGFABg=h5CRu1JFFOCfaGXQ@mail.gmail.com>

On 23/08/2024 18:08, João Távora wrote:

> Eglot could be one of those features if there's a performance advantage.
> But I doubt it, because server-supplied glob expressions may target the
> full file name (indeed likely the truename).

If the glob can match the full name, and it's hard to separate it into 
two matchers, I suppose there's not much that could be done.

The binding is probably and an improvement for some off-in-the-future 
scenario where somebody has Emacs 30 installed, but upgrades project.el 
to some yet-unreleased version where the variable's default is flipped.

> Maybe it's worth it nevertheless,
> dunno.  Anyway while let-binding p-f-r-names to nil in Eglot could work, I
> don't think it's the right solution, especially since it probably triggers a
> compilation warning in older Emacsen which don't have this.

A (defvar ...) at the top of the function's body would help.





  parent reply	other threads:[~2024-08-23 23:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-18 15:43 bug#72701: eglot crash when project-files-relative-names t Ship Mints
2024-08-22 17:04 ` Ship Mints
2024-08-22 17:52   ` Eli Zaretskii
2024-08-22 17:53     ` Ship Mints
2024-08-22 20:38     ` João Távora
2024-08-23 15:07       ` Ship Mints
2024-08-23 22:49         ` João Távora
2024-08-22 23:22 ` Dmitry Gutov
2024-08-23 14:56   ` Ship Mints
2024-08-23 15:08     ` João Távora
2024-08-23 15:10       ` Ship Mints
2024-08-23 23:51       ` Dmitry Gutov [this message]
2024-09-07  7:20         ` Eli Zaretskii
2024-09-08  2:24           ` Dmitry Gutov
2024-09-08 10:56             ` João Távora
2024-09-08 20:51               ` Dmitry Gutov

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

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

  git send-email \
    --in-reply-to=7ddfb028-a182-486d-bb72-aeb26e0d1d4d@gutov.dev \
    --to=dmitry@gutov.dev \
    --cc=72701@debbugs.gnu.org \
    --cc=joaotavora@gmail.com \
    --cc=shipmints@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.