GNU bug report logs - #78750
Add archive-visit-inner-file function

Previous Next

Package: emacs;

Reported by: Kenta USAMI <zonuexe <at> zonu.me>

Date: Tue, 10 Jun 2025 17:20:03 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Kenta USAMI <zonuexe <at> zonu.me>
To: 78750 <at> debbugs.gnu.org
Subject: bug#78750: Add archive-visit-inner-file function
Date: Wed, 11 Jun 2025 02:18:42 +0900
[Message part 1 (text/plain, inline)]
Currently, a buffer for an archive file can be opened by selecting the
entry from archive-mode, but there is no way to access it from Lisp
without manually selecting the entry.

An API like archive-visit-inner-file, introduced in this patch, would be
useful to implement the ability to directly access an archive entry.

My use case is to be able to jump directly to classes and functions
defined in PHP scripts stored inside a Phar archive file.

- https://github.com/emacs-php/archive-phar.el
- https://www.php.net/manual/en/book.phar.php

I'm not hung up on the function names or detailed API of this patch.
[Message part 2 (text/html, inline)]
[0001-lisp-arc-mode.el-Add-archive-visit-inner-file.patch (application/octet-stream, attachment)]

This bug report was last modified 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.