unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Archmux <archmux@stemux.com>
To: help-gnu-emacs@gnu.org
Subject: Secondary filtering with occur
Date: Wed, 13 Jul 2022 12:51:31 -0500	[thread overview]
Message-ID: <ccb9b8d1-e035-c6ea-28d8-7654a24db608@stemux.com> (raw)

Dear Emacs Help,

I need to filter the results of `find-name-dired' programmatically.

I am attempting it with this command-prototype:

"""""

(with-current-buffer (find-name-dired "~/Musica/" "*.flac")
   (occur "Hunter")
)

"""""

It returns:

"""""

(wrong-type-argument stringp (":%s"))

set-buffer((":%s"))

...

"""""


1. How do I troubleshoot/discover the issue causing, `set-buffer((":%s"))' ?


2.  What function do I need to use instead of `with-current-buffer'?


Thank you,

Arch Mux




             reply	other threads:[~2022-07-13 17:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-13 17:51 Archmux [this message]
2022-07-13 20:22 ` Fwd: Secondary filtering with occur Archmux
2022-07-14 22:32 ` Stephen Berman
2022-07-15  4:54   ` tomas
2022-07-19 15:23 ` Michael Heerdegen
2022-07-23 13:32   ` Arch Mux

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=ccb9b8d1-e035-c6ea-28d8-7654a24db608@stemux.com \
    --to=archmux@stemux.com \
    --cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).