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.help Subject: Re: Exploring a code base? Date: Sat, 7 Nov 2020 21:23:38 +0200 Message-ID: <598b9327-e1d6-7326-f224-febec1316f7d@yandex.ru> References: <57dcdf06-3bf4-4281-88d9-0e9c46adc757@yandex.ru> <83d00p6zj1.fsf@gnu.org> <837dqx6x65.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="39148"; 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 To: Stefan Monnier , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 07 20:24:06 2020 Return-path: Envelope-to: geh-help-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 1kbTok-000A6l-1Y for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 07 Nov 2020 20:24:06 +0100 Original-Received: from localhost ([::1]:44150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbToj-0005vO-2L for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 07 Nov 2020 14:24:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbToP-0005vI-34 for help-gnu-emacs@gnu.org; Sat, 07 Nov 2020 14:23:45 -0500 Original-Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]:41671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbToN-0007GD-9a for help-gnu-emacs@gnu.org; Sat, 07 Nov 2020 14:23:44 -0500 Original-Received: by mail-ed1-x52b.google.com with SMTP id t9so1266934edq.8 for ; Sat, 07 Nov 2020 11:23:42 -0800 (PST) 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=3nXrnuXJlR/l0TurjpZW8ghZqXm2umHeJLzQQ218yfU=; b=VJ+UVtEMHxcBeAw0Gk7Kju2MQ155CAasL4UZeM9ZV3cys/5uSKd1V/2qHI50/Z2L0+ NCH2/9xfmVtOv9lV0W2shymiKwVdvixUvv7OYtzYmGyKjdR/VCOu1Ib71ACu55q6BXU2 lk3kJTE8A7HYDgnmXg2z51j/3Ef1Px/8JOMmXRGKK+xUyUuweyfj66fc61iJ92/GTPVj 1HNwswVWlcPrblCJCWEb6VJQ1c+NmBzO4jQCEk9D3Hl1bSIEWFjpelzkUumn9jYzRHOB vUM1zUr8WtcM5tZiNqLAgz1L7wFmDU3Bu7m2T2opikZz2DyPcdkRvRZV6uPatnTD7mGI rA5A== 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=3nXrnuXJlR/l0TurjpZW8ghZqXm2umHeJLzQQ218yfU=; b=f0DUJhRIQRitDZ7XDN2CzbvJPHh4ywRdja0VRlm19PYNQ8MQTkq0nL8fVSesjw1wsB XdkxNGCzimJaQ2nL44Ge2wTcwcuwEWktNGtE+EwGBhxzwhwxaxT+0IrNS5o5Z9O5Ccll gKctOE7Sfft/gjK8q1bPySWQqEi4sgDdeSp4l3iGzux6EXmOtte9QsSndBlPGhEKX+R6 X/r34BamKw9u0DHgZyuu6KgyotMbinh4wGfR78ro931KrBC3m2yzkwOuBr4itW7SzZgH Q/y9qPMyuYQRkQQiD7TAiZX47y7+FyGLWQf7hnHf7TXplb/QNNr1TMpS2xDmFltCyQDh RMxw== X-Gm-Message-State: AOAM531o1WGfElyWFMfk0zJ4IJLhnrncwHjH3SZ6auYXXKNfIvvBeNNi P4omFU0pDZmtoCcQohUEKzkotSAvqJO4FA== X-Google-Smtp-Source: ABdhPJzsohKPjoATK2iHutBuCuvzFdkIpFcgONORxW8PWAWxtgGte6uSLV0xySOUKcMlh++S0/Q67A== X-Received: by 2002:a50:f98b:: with SMTP id q11mr8287244edn.345.1604777020687; Sat, 07 Nov 2020 11:23:40 -0800 (PST) Original-Received: from [192.168.0.4] ([66.205.71.3]) by smtp.googlemail.com with ESMTPSA id w16sm3918044eds.81.2020.11.07.11.23.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 07 Nov 2020 11:23:39 -0800 (PST) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=raaahh@gmail.com; helo=mail-ed1-x52b.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: -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.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, 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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125096 Archived-At: On 07.11.2020 17:52, Stefan Monnier wrote: > So, all that's needed, I think, is some way to be able to maintain > a stack/tree of annotated bookmarks, with a command to "add an element" > which can be used from any buffer, and then some way to view the tree > and modify it. If it were some tree UI in a buffer with Xref-like interface, one could add branches automatically by specifying an Xref search to do (the results would be added as a branch to the current node), or clean up said branches automatically by re-running the associated search (when you have done all the renamings, the search would return nil, and the branch could be deleted, provided there are no subtrees). This needs a lot of experimentation, though.