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: master 1e3b0f2: Improve doc strings of project.el Date: Thu, 2 Jul 2020 01:07:24 +0300 Message-ID: References: <87bllfqj82.fsf@warpmail.net> <83o8pfxhzq.fsf@gnu.org> <83imfnxgt3.fsf@gnu.org> <626efe11-0f9c-081b-11dd-0d61cee8168d@yandex.ru> <83h7v7xf7w.fsf@gnu.org> <831rmayj55.fsf@gnu.org> <6dc2c2ac-8e17-f044-dc78-8c109f936ad2@yandex.ru> <83wo42w83e.fsf@gnu.org> <6762abf5-71c1-aa54-1bac-d4c90c20870b@yandex.ru> <831rmavsuq.fsf@gnu.org> <83a70wv4mj.fsf@gnu.org> <5542db0c-cc0d-2743-87ae-7728a0cc94bb@yandex.ru> <83ftaf2rj2.fsf@gnu.org> <43a8f8d4-83fb-f012-8e1d-c1a618b0ef59@yandex.ru> <83mu4m0vub.fsf@gnu.org> <86pn9hoqpi.fsf@stephe-leake.org> 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="39095"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 To: Stephen Leake , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 02 00:08:05 2020 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 1jqkth-000A5m-7f for ged-emacs-devel@m.gmane-mx.org; Thu, 02 Jul 2020 00:08:05 +0200 Original-Received: from localhost ([::1]:37058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqktg-0001ds-7c for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Jul 2020 18:08:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqktB-000175-Ia for emacs-devel@gnu.org; Wed, 01 Jul 2020 18:07:33 -0400 Original-Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:43619) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqkt8-0008RZ-C7 for emacs-devel@gnu.org; Wed, 01 Jul 2020 18:07:32 -0400 Original-Received: by mail-wr1-x42a.google.com with SMTP id j4so23244629wrp.10 for ; Wed, 01 Jul 2020 15:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=uk5vDAONu2CCQ9jOSYimjNn247rjguxnigkaJPp0zRc=; b=GHmPozC6fckB8Mckn7IsXMRCMnU7CTNkhuWPCJjzJR+8FyZhfGdGxvF0Ovhh+GceF6 lDld6FIlAHxh2yamAhJQ3zNSWsCtGXIR0Z54X5RaOTFfvJvHzvnjVFvOFVHMf0tpB/8j R1iHKgWBl4Xk36FV2KUeosUgPxO5QeAvFQ94mtrvWrsIalqueCB3IWEQJUV+r8yb7ZR0 ER9wS2Me9Vhr94Gu2MSKtulkxcSkc1Uju5q5myxI+2rBC4fkbgu/mHSrQtZ+vnGLX3II tI8oGIjMJ2wCioxsUXFWl8Jyt5CvDTtiXYzCrYMJhaRzvxOJu7pVqeLL74pB3tT+qGhW k44w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=uk5vDAONu2CCQ9jOSYimjNn247rjguxnigkaJPp0zRc=; b=oxL7g3zPh+/bta/NC0tFr1fc0+8z6RVep8ofx3vo7TkJfQJ9IuRpH5jBAT/nN9kueo E4cVwKLQpbKZhTlkKCTZpmzmu5jOd/tofY0nNq+MZCCcs7ch9kICD7hxOqK2u9XogNm1 eYXQilOrtpVcoHX1gsKsaB0/hLUoTDCMySOc8E6wrWjcmWAJJO5ZjI8kQ612glR9Qf1j gda8EXloHn1r8AGViHb6NMOUagHlrr8+XoZr60pZIbhuRGOIbeeGePdNXiAVCpcQJWAU jlB+8AJphgd6fjmK+mdm+qXN04UGmCQwbx5fmU1OvuFlOdhuC0OiVK9GOWETD+LLllCA Z+Aw== X-Gm-Message-State: AOAM5335pVaE0LhlqNcDyrTPny6VqUeP0mnVLwqdITX6LvKjXXlZ8k4o zArpEcOeFBDuz833o3HtljKy2w7P X-Google-Smtp-Source: ABdhPJzBf1kjoIfhqnzgfN8jU+aT16wxF+yEFq6JI3TJ9AZtkaGG77cwB1WzhJfAx1y1KOzMMqMbXg== X-Received: by 2002:adf:aad8:: with SMTP id i24mr28320041wrc.102.1593641248330; Wed, 01 Jul 2020 15:07:28 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id r10sm8712659wrm.17.2020.07.01.15.07.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Jul 2020 15:07:27 -0700 (PDT) In-Reply-To: <86pn9hoqpi.fsf@stephe-leake.org> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=raaahh@gmail.com; helo=mail-wr1-x42a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:252618 Archived-At: On 29.06.2020 18:07, Stephen Leake wrote: > I have a similar work pattern. My solution to remembering project info > is implemented in the 'wisi' GNU ELPA package; there is one active > project; (project-current) returns that project, unless a buffer has > overridden project-find-functions locally, which I do for elisp mode. That sounds weird to me, but I hope it's working out okay. > There is a menu of known projects the user can choose from. In > addition, running 'compile' in a Makefile sets the project to the one > relevant to that makefile. Global project switching. Why not. > I have not tried to integrate this with the new project menu in > project.el yet. Let us know how it works out for you. I fear it might be incompatible with having session-global projects (ones where it's impossible to guess based simply on directory), but I like to be proven wrong.