From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#55879: 29.0.50; Missing ALL argument in find-sibling-file Date: Sat, 11 Jun 2022 18:09:22 +0200 Message-ID: <878rq3qj0t.fsf@gnus.org> References: <87o7z0vofj.fsf@gnus.org> <87pmjgze3s.fsf@mail.jao.io> <87leu3sc03.fsf@gnus.org> <87h74rz76s.fsf@mail.jao.io> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21648"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 55879@debbugs.gnu.org, Daniel =?UTF-8?Q?Mart=C3=ADn?= To: Jose A Ortega Ruiz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 11 18:10:40 2022 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 1o03hA-0005Vb-0G for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Jun 2022 18:10:40 +0200 Original-Received: from localhost ([::1]:42566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o03h8-0002Tp-CD for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Jun 2022 12:10:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o03gY-0002R2-NA for bug-gnu-emacs@gnu.org; Sat, 11 Jun 2022 12:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59864) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o03gY-00081w-EK for bug-gnu-emacs@gnu.org; Sat, 11 Jun 2022 12:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o03gY-0006Gd-4m for bug-gnu-emacs@gnu.org; Sat, 11 Jun 2022 12:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Jun 2022 16:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55879 X-GNU-PR-Package: emacs Original-Received: via spool by 55879-submit@debbugs.gnu.org id=B55879.165496377424047 (code B ref 55879); Sat, 11 Jun 2022 16:10:02 +0000 Original-Received: (at 55879) by debbugs.gnu.org; 11 Jun 2022 16:09:34 +0000 Original-Received: from localhost ([127.0.0.1]:53761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o03g6-0006Fm-B1 for submit@debbugs.gnu.org; Sat, 11 Jun 2022 12:09:34 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:46116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o03g4-0006Fa-Kr for 55879@debbugs.gnu.org; Sat, 11 Jun 2022 12:09:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2lbBE8jLkvo4lwZKoewka6+830WTM5Z5+lWSHY6Hons=; b=CJdV+wq8bzVWJVCeahEiY+Wdsc zv9HWo7Zex5ICRJA51FJ++xzalsCdx8/WGlYIXEBGXMqOnL5SeWy9F8RpjSFO4qLlKNunxPTwbuDb muS3JACCmHYIONRx5fkxgNn854GVI/G75U7xDt9EYkctmRGFSoXfOoI+ihf8Fvhmhbwk=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o03fv-0002m8-D5; Sat, 11 Jun 2022 18:09:25 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEW/q6Ll3NpmV1OV cFvGlWhMOzb///8hgvjEAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+YGCw8lOegiP0wAAAGtSURBVDjL fdJBl6MgDADgUNy77MzeXSh3K/aua+Y+Lzb//69sAjjVaTu8p6KfSSAKxuVhWp1AuXFyAxWE5PAb uG8Q3NcAtx/313ZgSu7nEe4lXO7Fj/D3WYSm6Z6tY7dD8wDmMaLdR7xMdQDzY/FgXsH8BHQ0l0do tTD2j9BMgjgeQV5u+2Tc+4QHaOX8ux8uDmeszS0Acj711jucFl3eBgC9cdehiTfExdTtZ7A9OA79 sC5o55IpgxV4IwpNTOMd5GpTB3+YyXzQ2OwiBAL8YubR+jHvZoNUIQwBM5gKg/dwlVT0sSJ+gz5K BKc1TftUfgNag/akdAkyBM4j0FezKvgCJNAegeSxppub+mNXiBRLzK0xFYzJsCWLOMMeqByR/p1h i4BcQ+srWIKp1gArq40aImVo4RGn8vHgFDsnz3wssI6oHYYkr8qH5bJcf+V4XqZWAiT3pwEYfN5f iuxXnCQPyL3XKww6Q+Y1IhYg7opEJlG6jgIWcot6mSVZhdZZ+QyYEuicvMakzpJpbYw3aCSIpUtr /ARtWt70iWkCKS8lFPRff8u/eksc5Pl/vByDkiLkOvgAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjIt MDYtMTFUMTU6Mzc6NTcrMDA6MDDgh+FEAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA2LTExVDE1 OjM3OjU3KzAwOjAwkdpZ+AAAAABJRU5ErkJggg== X-Now-Playing: Drew McDowall's _Agalma_: "Agalma I (Folding)" In-Reply-To: <87h74rz76s.fsf@mail.jao.io> (Jose A. Ortega Ruiz's message of "Sat, 11 Jun 2022 14:00:11 +0100") 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:234292 Archived-At: Jose A Ortega Ruiz writes: > I was thinking of reusing the sibling files mechanism programmatically, > outside the mere "find a single file" scenario. For instance, i have a > few functions that associate a list of note org files to a single pdf, > and i might want to display them all (perhaps in other window), or add > text to one of them (with the decision of which one taken > programmatically, depending on context)... For cases like that, i would > start with the result of obtaining the list of siblings inside my > commands, and find-sibling-file--search looked like the function doing > that. find-sibling-file--search is there to find matches in the `find-sibling-rules' variable, which is a user option, and returns values in an order that's appropriate for the commmand. It sounds like you want something slightly different, really -- pass in the rules, perhaps? But I'm not sure that really makes that much sense, either, because associating org files with a pdf sounds like something you'd want a data file for, really... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no