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: Automatic (e)tags generation and incremental updates Date: Mon, 11 Jan 2021 01:13:17 +0200 Message-ID: <0d2a3c9d-68ed-637f-5263-66a4e5345dc6@yandex.ru> References: <779a6328-9ca5-202a-25a2-b270c66fe6dd@yandex.ru> <8fc5e96c-ebb8-c668-9b2a-c7c4ee54c0b9@yandex.ru> <83r1mwltob.fsf@gnu.org> <0bee9ab4-46bc-b6fd-97b6-e26cc80f1610@yandex.ru> <875z45dbm7.fsf@tromey.com> <835z44hh49.fsf@gnu.org> <83wnwkfym8.fsf@gnu.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="6988"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: philipk@posteo.net, tom@tromey.com, john@yates-sheets.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 11 00:14:12 2021 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 1kyjuV-0001hz-Sc for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Jan 2021 00:14:11 +0100 Original-Received: from localhost ([::1]:52454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyjuU-000774-Tx for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Jan 2021 18:14:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyjtk-0006iC-L5 for emacs-devel@gnu.org; Sun, 10 Jan 2021 18:13:24 -0500 Original-Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:33447) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyjti-00009N-OQ; Sun, 10 Jan 2021 18:13:24 -0500 Original-Received: by mail-wr1-x429.google.com with SMTP id t30so14610389wrb.0; Sun, 10 Jan 2021 15:13:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=wCUqNmnIcxNfTB88gA+jMM6GaT6hnhPUVlmyVcya9i8=; b=i1fdzrG+bP9ygvMV2V5eyOlppca0/E4ckFJhaUz0Eq8XmnIJVXQ61HO1p9Ja+8rf0w mTk33KYyYGaeQlaVjlwyClNub8kzBqNdYaKSsvuHrCTPTzHKBMfb7CzRmr/8iifB1y2e 7PdTPDsnLlB2gStmCj0GPEP3YrKazNBEcazCW8UWi5ZAsehKv/RivZNVZNQgFbInrqAG +LBBq6LQnWH9PgNJREzsYm7U8BeA4AUmwPMQYpg1CWdSWFVQee5wPi2iDykrqJVofuLW o7WfqQ1wvChPCVuE+v166snqdIEPY9MOB1rBgjeyGoRHAPQIeI3Ogasyt1hMYGap0+jV smIg== 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:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=wCUqNmnIcxNfTB88gA+jMM6GaT6hnhPUVlmyVcya9i8=; b=KSiZMPDZTFtVD2bCcBa8chCq7mMVD8h0HuDxQNwUUQek1qjET0fGuAdbK6SC/30fOi VahZrt/lIq8AozQmR1yQFum+P50iXeGCoYASNoRXflj79lZCIUqjLUEej+EQfGnZFr5B kEcwHuLtb9YXLAhtbWlI/7sZccjAcj6eDClS8WU8s+WU0WkPg9+IxRp8M1V0yuFOXGkD 02hUU9p3CTf3OBEW9AqY4g9v4KEhlonl6OSDcbrLOu8G7ex/DYTl7pDG3SkVf2+usq2v /UGEzT4vVkozUFyS4yN/Ig8Vqolk2wmQYE8rKH6xHhyXOaYRkt1xL6Hm2I8AOTpHZA4S zCuQ== X-Gm-Message-State: AOAM530yqy1RfiEFfdbegIR8bRnfS4kXKr/Z/cUflB3GDh1oUbTvdgmR Z2YC7TnlHLSkis4A5lozlfw= X-Google-Smtp-Source: ABdhPJznpo73K6Y6QYyqvSXjDZxoLFkbJyXMbiCyahhqU15r5ihn/ZEKfCn8bfUh2NAZE1mm0+OGeg== X-Received: by 2002:a5d:4f82:: with SMTP id d2mr13605387wru.87.1610320401083; Sun, 10 Jan 2021 15:13:21 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id v7sm20106684wma.26.2021.01.10.15.13.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Jan 2021 15:13:20 -0800 (PST) In-Reply-To: <83wnwkfym8.fsf@gnu.org> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=raaahh@gmail.com; helo=mail-wr1-x429.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.012, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no 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:262887 Archived-At: On 10.01.2021 20:14, Eli Zaretskii wrote: >> I don't know how to automate it better. If the buffer doesn't belong to >> any project, which tags table would we use for it? We'll have to prompt >> the user, and that's what we do already by default. > I thought this prompt will not be supported anymore. If we are > keeping it as fallback when the current buffer doesn't specify which > tags table to use, then I'm okay with that. For now it's clearly supported with the default value of etags-regen-mode (which is 'off'). Or if you 'M-x visit-tags-table' before having one auto-generated. Having them work together would be better, I guess, but what should we do exactly? Would we prompt for the tags table just once upon encountering a project-less buffer, and then use it for all such buffers in the current session?