From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Friedrich (QSS) Newsgroups: gmane.emacs.bugs Subject: bug#62581: matching for global Date: Sat, 01 Apr 2023 07:46:02 +0200 Message-ID: <66b37a0a17bad0155f665947071d1553@fam-dominicus.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14041"; mail-complaints-to="usenet@ciao.gmane.io" To: 62581@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 01 08:21:23 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1piUc5-0003V9-2m for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Apr 2023 08:21:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piUbr-0006ND-T5; Sat, 01 Apr 2023 02:21:07 -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 1piUbn-0006N3-Pf for bug-gnu-emacs@gnu.org; Sat, 01 Apr 2023 02:21:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1piUbn-00024k-D8 for bug-gnu-emacs@gnu.org; Sat, 01 Apr 2023 02:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piUbm-0000BK-M6 for bug-gnu-emacs@gnu.org; Sat, 01 Apr 2023 02:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Friedrich (QSS) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Apr 2023 06:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62581 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1680330059668 (code B ref -1); Sat, 01 Apr 2023 06:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Apr 2023 06:20:59 +0000 Original-Received: from localhost ([127.0.0.1]:35270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piUbj-0000Ai-6j for submit@debbugs.gnu.org; Sat, 01 Apr 2023 02:20:59 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:52370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piTxI-0007LR-8h for submit@debbugs.gnu.org; Sat, 01 Apr 2023 01:39:12 -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 1piTxB-0000IY-SY for bug-gnu-emacs@gnu.org; Sat, 01 Apr 2023 01:39:06 -0400 Original-Received: from hs.q-software-solutions.de ([78.46.64.243] helo=mail.q-software-solutions.de) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piTx9-0003fC-Q5 for bug-gnu-emacs@gnu.org; Sat, 01 Apr 2023 01:39:05 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.q-software-solutions.de (Postfix) with ESMTP id 20EDB16006B for ; Sat, 1 Apr 2023 07:39:00 +0200 (CEST) Original-Received: from mail.q-software-solutions.de ([127.0.0.1]) by localhost (mail.q-software-solutions.de [127.0.0.1]) (amavis, port 10024) with ESMTP id gE-xrLxkBj-f for ; Sat, 1 Apr 2023 07:38:59 +0200 (CEST) Original-Received: from fam-dominicus.de (fam-dominicus.de [176.9.65.118]) by mail.q-software-solutions.de (Postfix) with ESMTPSA id 5953116002E for ; Sat, 1 Apr 2023 07:38:59 +0200 (CEST) X-Mailer: Group-Office (6.6.120) Received-SPF: pass client-ip=78.46.64.243; envelope-from=frido@q-software-solutions.de; helo=mail.q-software-solutions.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 01 Apr 2023 02:20:57 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259029 Archived-At: =E2=80=8BDear Maintainers,=20 at least here run into a probelm while trying= to load cedet global: /home/frido/src/emacs/lisp/cedet/cedet-global.e = (defun cedet-gnu-global-version-check (&optional noerror) "Check the ve= rsion of the installed GNU Global command. If optional programmatic argum= ent NOERROR is non-nil, then instead of throwing an error if Global isn't= available, return nil." (interactive) (let ((b (condition-case n= il =09 (cedet-gnu-global-call (list "--version")) =09 (error = nil))) =09(rev nil)) (if (not b) =09(progn =09 (when (called-i= nteractively-p 'interactive) =09 (message "GNU Global not found.")) = =09 nil) (with-current-buffer b =09(goto-char (point-min)) =09= -> here (re-search-forward "(?GNU GLOBAL)? \\([0-9.]+\\)" nil t) =09(set= q rev (match-string 1)) (if (version< rev cedet-global-min-versio= n) =09 (if noerror =09=09nil =09 (error "Version of GNU Globa= l is %s. Need at least %s" =09=09 rev cedet-global-min-version)) = =09 ;; Else, return TRUE, as in good enough. =09 (when (called-interact= ively-p 'interactive) =09 (message "GNU Global %s - Good enough for C= EDET." rev)) =09 t))))) My gnu Global announces itself here with:= global --version global (Global) 6.6.9 Powered by Berkeley DB 1.8= 5 and SQLite3 3.8.7.1. And so the match does not work replacing "= (?GNU GLOBAL)? with just "global (Global) ..."=20 works for me = With best regards Friedrich