From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Archmux Newsgroups: gmane.emacs.help Subject: Secondary filtering with occur Date: Wed, 13 Jul 2022 12:51:31 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13924"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 14 18:57:35 2022 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 1oC29e-0003O2-FR for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 18:57:34 +0200 Original-Received: from localhost ([::1]:54328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oC29d-0001s9-6t for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 12:57:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBgYn-0006sJ-Ta for help-gnu-emacs@gnu.org; Wed, 13 Jul 2022 13:54:06 -0400 Original-Received: from mail.stemux.com ([100.42.64.80]:56856) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBgYm-0006ON-CZ for help-gnu-emacs@gnu.org; Wed, 13 Jul 2022 13:54:05 -0400 Original-Received: from [192.168.1.10] (072-182-154-233.res.spectrum.com [72.182.154.233]) by mail.stemux.com (Postfix) with ESMTPSA id D44893FC13 for ; Wed, 13 Jul 2022 13:53:39 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=stemux.com; s=default; t=1657734820; bh=GB5TlYhsyHrv0EDeotneqAHOOcOV7pFcJOKVCYlwIeA=; h=Date:To:From:Subject:From; b=a97bQGULPfjR/zTFKUgFCU1l6sl5SNu96JPgqwaIGOKJDWyuhp46zzW1vrWtE/QmB 8DoPixBsKlJ7jDdpoGvxSff3tDah7C8yr1n5ViFqMSFWosLJMPfBiTp7KMr9cOZQtB xslrNYfwEqeyn88fu88I4oXSAfJQqKHfWyc3Z5VSG0RG6dw6DH/yqN1nYiLRzqr6jq c3zbIEI2MFCF+yb2mWtO8FERNTdj1oPPKeCbQmrxvHmaN9DT8x7cQfBJMCNJ9+pXwo ud7zO1PPgldQ45+OTgxV/ZFfGz/hoQo6N8HWrwOgpfhYlTLksfnJPQ1sGNTQXdl1ja Rba5+v7LVK3XA== Content-Language: en-US Received-SPF: pass client-ip=100.42.64.80; envelope-from=archmux@stemux.com; helo=mail.stemux.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_FMBLA_NEWDOM28=0.798, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, WEIRD_QUOTING=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 14 Jul 2022 12:43:03 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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:138466 Archived-At: 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