unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "João Távora" <joaotavora@gmail.com>
To: Robert Pluim <rpluim@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: master 0d5036061b5: Skip Eglot test if using very old clangd
Date: Wed, 22 Mar 2023 18:24:33 +0000	[thread overview]
Message-ID: <871qlgwsny.fsf@gmail.com> (raw)
In-Reply-To: <87cz51ngv4.fsf@gmail.com> (Robert Pluim's message of "Wed, 22 Mar 2023 12:51:59 +0100")

Robert Pluim <rpluim@gmail.com> writes:

>     João> I wonder why this is so difficult
>     João> to do with replace-regexp-in-string.
>
> Itʼs because we donʼt have a 'really-match-everything' version of '.',
> so you end up with
>
>   (replace-regexp-in-string
>    ".*version[[:space:]]+\\([0-9.]*\\)\\(.\\|[\n\r]\\)*" "\\1"
>    (shell-command-to-string "clangd --version"))
>
> which I personally donʼt like the look of.

I concur, your version looks much nicer.  Thanks again.

João



      reply	other threads:[~2023-03-22 18:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <167942421231.13373.16122455155218245677@vcs2.savannah.gnu.org>
     [not found] ` <20230321184332.93736C13913@vcs2.savannah.gnu.org>
2023-03-22 10:38   ` master 0d5036061b5: Skip Eglot test if using very old clangd Robert Pluim
2023-03-22 10:49     ` João Távora
2023-03-22 11:12       ` Robert Pluim
2023-03-22 11:14         ` João Távora
2023-03-22 11:51           ` Robert Pluim
2023-03-22 18:24             ` João Távora [this message]

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=871qlgwsny.fsf@gmail.com \
    --to=joaotavora@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rpluim@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).