From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#41879: 28.0.50; [Patch]: Add project-switch-to-buffer in project.el Date: Tue, 16 Jun 2020 15:02:13 +0100 Message-ID: <87366vun16.fsf@tcd.ie> References: <87bllk2pfc.fsf@thornhill.no> <87sgew7zni.fsf@thornhill.no> <1a426f88-dd6e-77f7-bcbf-30ced285537d@yandex.ru> <87o8pj8sy2.fsf@thornhill.no> <87d05zr13x.fsf@warpmail.net> <87lfkn8q0a.fsf@thornhill.no> <87mu53i9xf.fsf@tcd.ie> <87o8pjkuld.fsf@thornhill.no> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="25874"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41879@debbugs.gnu.org, "Philip K." , Dmitry Gutov To: Theodor Thornhill Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 16 16:03:12 2020 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 1jlCBD-0006V2-ML for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Jun 2020 16:03:11 +0200 Original-Received: from localhost ([::1]:59702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlCBC-00019e-OC for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Jun 2020 10:03:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlCB4-00019G-Ky for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2020 10:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jlCB4-0004A0-B3 for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2020 10:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jlCB4-0001bd-6P for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2020 10:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Jun 2020 14:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41879 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 41879-submit@debbugs.gnu.org id=B41879.15923161436121 (code B ref 41879); Tue, 16 Jun 2020 14:03:02 +0000 Original-Received: (at 41879) by debbugs.gnu.org; 16 Jun 2020 14:02:23 +0000 Original-Received: from localhost ([127.0.0.1]:49318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlCAR-0001af-Bh for submit@debbugs.gnu.org; Tue, 16 Jun 2020 10:02:23 -0400 Original-Received: from mail-wr1-f45.google.com ([209.85.221.45]:46519) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlCAP-0001aQ-74 for 41879@debbugs.gnu.org; Tue, 16 Jun 2020 10:02:22 -0400 Original-Received: by mail-wr1-f45.google.com with SMTP id x6so20860915wrm.13 for <41879@debbugs.gnu.org>; Tue, 16 Jun 2020 07:02:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Dw/8FMtR6Ldg4m843VTQC38S0wKLt77Ivf0fIe9Ckfk=; b=etF/Ew+SnfBi1683hd6taFWZRasBnACaG3UJqunlS1qSbjNNOgIgUvR6CPVV6EHycT h3gRfGucTTe9YtE6EMIRQlGBQhQFXqkP1qkT2hZTRcHEXvdyp4hEhcbNZ4pbA0ePbXZt 9BAmb17GaS7O6HVPFCNVf2/MR1p0K+ITedxQINMBjimZEa3VAgVriNYtspNuo/rlfP+a arsGAiQ1dDjzk9Vslpe9Osls22Q8NxaViZu1weLKIP+kfezz182cCtmk4C0OUyy+UfVM b+znRkfZVDOjvo6u4azrSlZdPGWpTMlzUJRf0OLf5xXUCgaZ5wbNiBJP/7NRJH/RwTyj 7F0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Dw/8FMtR6Ldg4m843VTQC38S0wKLt77Ivf0fIe9Ckfk=; b=Z/WOQXFzSAXaV5gYKJJByUsGP/i73Y/h+luLSoblkoH/uDvLSr4z8XpkZ/MBZbxkZc z2yPdg70vjQmnjxW30csCUZtmc9/wuGyoW5lvrtdqxJdnqp8JdNh/vKnpwBGzCwuGyj0 Wp1EfDQwYVtWgk6nP1hxiCkgy8XKZwMS6IWLw7tEFMr8BbcOUxKk2+VnQkwCPeXlsqlP igIGRckwDM6NKyiM077vKkiQmotyQWYmAlGHeIWCwDI5QrHBOIn7wwDEa/afYL8RSuv4 Yo4MUI36faQkg4iD2Nkz6Gz53UOBnRBb/Po+Jb/hmG2vHTmfyigQ/ODpoF9BsHjTuQ/Q OqBQ== X-Gm-Message-State: AOAM5336BpcvNJSnFnz7ULMIaFOhtDbTSOC8wvEnl6XbeBPNIsXedI13 Yri2CvNpC0wYQ6a6MIeZosFUsg== X-Google-Smtp-Source: ABdhPJxkbIOzZLQ5t0Z7r+2hTmOQ3UoXTe9fqZeTng4vb2X+mHERMqQqGZWD8l2MYnKZd17ZWRpsvQ== X-Received: by 2002:adf:f003:: with SMTP id j3mr3262440wro.228.1592316135138; Tue, 16 Jun 2020 07:02:15 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:1f68:7ff5:120d:64e]) by smtp.gmail.com with ESMTPSA id d18sm28559510wrn.34.2020.06.16.07.02.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jun 2020 07:02:14 -0700 (PDT) In-Reply-To: <87o8pjkuld.fsf@thornhill.no> (Theodor Thornhill's message of "Tue, 16 Jun 2020 13:29:19 +0000") 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" Xref: news.gmane.io gmane.emacs.bugs:182023 Archived-At: Theodor Thornhill writes: >>> + (lambda (buffer) >>> + (when-let ((file (buffer-file-name (cdr buffer)))) >> >> Nit: Neither the manual nor read-buffer's docstring documents what >> (cdr buffer) is here, so a comment mentioning Vbuffer_alist or something >> along those lines would be nice. > It kind of does, though indirectly? But sure, I can add a small comment. > > Documentation states that: > > "It will be called with each potential candidate, in the form of either a > string or a cons cell whose =E2=80=98car=E2=80=99 is a string, and should= return non-nil to > accept the candidate for completion, nil otherwise." I know, but this says nothing about the cdr. --=20 Basil