all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel@gnu.org
Subject: Re: master 7d47651d01: project-buffers: Describe the default implementation
Date: Fri, 04 Nov 2022 10:15:09 +0200	[thread overview]
Message-ID: <83pme35e5u.fsf@gnu.org> (raw)

> diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
> index ec453baf72..6d062aa8fa 100644
> --- a/lisp/progmodes/project.el
> +++ b/lisp/progmodes/project.el
> @@ -353,7 +353,10 @@ Also quote LOCAL-FILES if `default-directory' is quoted."
>                local-files))))
>  
>  (cl-defgeneric project-buffers (project)
> -  "Return the list of all live buffers that belong to PROJECT."
> +  "Return the list of all live buffers that belong to PROJECT.
> +
> +The default implementation matches the current open buffers to
> +PROJECT root using the value of `default-directory' in each one."

What does it mean "the current open buffers"?  I don't think we use
the term "open buffer" in our documentation.  Do you mean the
"existing buffers"? or maybe just "buffers"?

IOW, what aspects of buffers is the "current open" qualification
trying to capture?

Thanks.



             reply	other threads:[~2022-11-04  8:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-04  8:15 Eli Zaretskii [this message]
2022-11-04 10:41 ` master 7d47651d01: project-buffers: Describe the default implementation Dmitry Gutov
2022-11-04 11:49   ` Eli Zaretskii
2022-11-04 11:51     ` Dmitry Gutov
2022-11-04 12:13       ` Eli Zaretskii
2022-11-04 13:38         ` Dmitry Gutov
2022-11-04 13:56           ` Eli Zaretskii
2022-11-04 11:52     ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83pme35e5u.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.