From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Should EDE use project.el [PATCH] Date: Mon, 16 May 2022 18:50:59 +0300 Message-ID: References: <20220516114643.5234do3n6zbyxv7r.ref@Ergus> <20220516114643.5234do3n6zbyxv7r@Ergus> <20220516150035.f5yryr6uby6msfqy@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39812"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 To: Ergus , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 16 17:55:57 2022 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 1nqd4f-000ABx-3G for ged-emacs-devel@m.gmane-mx.org; Mon, 16 May 2022 17:55:57 +0200 Original-Received: from localhost ([::1]:53956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqd4d-0008F8-UA for ged-emacs-devel@m.gmane-mx.org; Mon, 16 May 2022 11:55:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqd01-00017L-0W for emacs-devel@gnu.org; Mon, 16 May 2022 11:51:09 -0400 Original-Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:41889) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqczw-0002Tk-9X for emacs-devel@gnu.org; Mon, 16 May 2022 11:51:08 -0400 Original-Received: by mail-ed1-x536.google.com with SMTP id d6so18913891ede.8 for ; Mon, 16 May 2022 08:51:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=RatOGciOPweWUoJO2CF9MT7A0AfA6Ysrh7yPhFLUlqQ=; b=YEHwEpzJOhHXy8wlWQmG1cRwPJcGt9Bdm3VnKEao2zq0aYuhqUUGl/0VKd44H8RS3z rA899SsUsiJNiDc0uadtEJ1c+P675Cp+OqvT4eNBJRqFhkuoWvrSamICx53b+6Goh08u LBNBE3xfOejy9NlL7ffYPWgFDUzNRxCAmk1zYahuQSgl/6eWzKgRgqFv81m+JkByTtz0 RelRK9HvO3VVGQ1A6Dv8pBDgvgYxyZ+T0LMs5EYBgtcrh1vvzwYZaWVRQm3scUOfiUw3 c3F+5QxRPyY/p9HkRx/MRsoOGfEriz8ter89mb64RslPmfcRg0zqJ/07E/KmMF7nBk47 CA6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=RatOGciOPweWUoJO2CF9MT7A0AfA6Ysrh7yPhFLUlqQ=; b=qHb9XZrTxiC/KoDUYmjsDf0ggBQ3db5JhMdFjvUYlJbJOg9nauKDCUqM8eeqo3bmIM UShTkutLEBfch3pRBiIJT/Qf5+9uF4Ox3CMztXNLhxRn97OPSNXTs7F/iVnohwog6vCu Ff9xcVxrI2yZr4gj/24Nfka5VEhJvf9nNMQ0IjDT8lJ7EUtUL9vt4fgFd7CpSGIYVrqW YyCCwc6G69V9SVYbPELjU/syKTDKpq0oYbVeuOUMSqnoP4ZT49t4ge7g+ngPiUgHIzPk sRmPvMxUaAVdfl9hY3IFVv+pjoDVMXYiu6KA/QP6LCVcFb9py3wml8FqiNlmsi1enZNN WwNw== X-Gm-Message-State: AOAM533EVYuD9QrkP0lZZ9WLLmGHbb8K+GKIjMjYL37Eho67lcqzL/xc APCeryjKvTmXQpBtJq1kSbg= X-Google-Smtp-Source: ABdhPJz3bqaKUSIeTYB5aN3EoHjncLw31TG0ZStpy3M2MKTSW4wqkpTl7UKkhESlILsH3CBWIQFqxw== X-Received: by 2002:a05:6402:238f:b0:42a:98d8:ae1b with SMTP id j15-20020a056402238f00b0042a98d8ae1bmr11997295eda.168.1652716262055; Mon, 16 May 2022 08:51:02 -0700 (PDT) Original-Received: from [192.168.236.48] ([173.237.64.48]) by smtp.googlemail.com with ESMTPSA id ht7-20020a170907608700b006f3ef214dafsm56734ejc.21.2022.05.16.08.51.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 May 2022 08:51:01 -0700 (PDT) Content-Language: en-US In-Reply-To: <20220516150035.f5yryr6uby6msfqy@Ergus> Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=raaahh@gmail.com; helo=mail-ed1-x536.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" Xref: news.gmane.io gmane.emacs.devel:289808 Archived-At: On 16.05.2022 18:00, Ergus wrote: > Hi: > > I just attached an extremely simple (intested) attempt to make cedet use > Project.el.. Maybe Dmitry or someone with more experience may complete > this and extend it when possible? Looks okay to me. To give more detailed feedback, one might need more knowledge of CEDET, I think Do you use it? CEDET, I mean. If yes, this can be a beneficial direction to go in. My observations say it's only falling out of favor, though. > > Best, > Ergus > > On Mon, May 16, 2022 at 01:46:43PM +0200, Ergus wrote: >> Hi: >> >> Recently working in the gtags-mode package I thought to add a backend >> for ede/cedet... but I have found that most of the ede features overlap >> or coincide with ones in project.el. >> >> So my question is: Isn't it easier to add a backend in locate.el to make >> ede use project as one ede-locate-setup-options? >> >> I am not sure about how useful is ede or cedet these days as they seem >> to be a bit unmaintained, but IMHO, if we don't want to remove them (for >> some reason) but still keep project.el as the preferred way to go, then >> maybe cedet should use the project.el functions by default. >> >> The basic implementation seems to need only: >> >> initialize-instance >> ede-locate-ok-in-project >> ede-locate-file-in-project-impl >> ede-locate-create/update-root-database >> >> Implementing all these may be extremely simple but not sure if it worth >> the effort. >> >> What do you suggest? >> >> Best, >> Ergus >>