all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Jen-Chieh Shen <jcs090218@gmail.com>
Cc: 42872@debbugs.gnu.org
Subject: bug#42872: [PATCH] Add all-frames as arg for count windows.
Date: Sun, 16 Aug 2020 14:28:26 +0200	[thread overview]
Message-ID: <87v9hivkph.fsf@gnus.org> (raw)
In-Reply-To: <CAMiGhTOGWAZCN14LciUtnpAXuKy-uvrSqXvy4Q+Hg2o+=0fO9A@mail.gmail.com> (Jen-Chieh Shen's message of "Sat, 15 Aug 2020 16:03:46 +0800")

Jen-Chieh Shen <jcs090218@gmail.com> writes:

> I think it is handy to have `all-frames` as an argument when using the
> `count-windows` function?

Sounds like a good addition.

>  (defun count-windows (&optional minibuf)
>     "Return the number of live windows on the selected frame.
> +
>  The optional argument MINIBUF specifies whether the minibuffer
> -window shall be counted.  See `walk-windows' for the precise
> -meaning of this argument."
> +window shall be counted.  
> +
> +The optional argument ALL-FRAMES counted all windows instead of
> +just the selected frame.
> +
> +See `walk-windows' for the precise meaning of this argument."

But your patch doesn't actually add this -- it just changes the doc string?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2020-08-16 12:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-15  8:03 bug#42872: [PATCH] Add all-frames as arg for count windows Jen-Chieh Shen
2020-08-16 12:28 ` Lars Ingebrigtsen [this message]
2020-08-16 14:43   ` Drew Adams
2020-08-16 14:50     ` Drew Adams
2020-08-18 13:29       ` Lars Ingebrigtsen
2020-08-18 13:27     ` Lars Ingebrigtsen
     [not found]   ` <CAMiGhTMRTtxQRQgiok55OuoAHiqz-=BfZQOJFVG+fPASO-TsEA@mail.gmail.com>
2020-08-16 20:36     ` Lars Ingebrigtsen

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=87v9hivkph.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=42872@debbugs.gnu.org \
    --cc=jcs090218@gmail.com \
    /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.