unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#67329: Plan9port breaks Emacs Dired
@ 2023-11-21 11:16 Navajeeth via Bug reports for GNU Guix
  2024-01-08  9:47 ` 宋文武 via Bug reports for GNU Guix
  0 siblings, 1 reply; 2+ messages in thread
From: Navajeeth via Bug reports for GNU Guix @ 2023-11-21 11:16 UTC (permalink / raw)
  To: 67329

[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]

There’s a bug with the ‘plan9port’ (p9p) package on Guix—installing it on the Guix System breaks Dired inside Emacs. When I try to open a Dired buffer with p9p installed, I get the following error:

> (error "Listing directory failed but ‘access-file’ worked")
> error("Listing directory failed but `access-file' worked")
> insert-directory("/home/guix/" "--dired -lFaGh1v --group-directories-first --time-..." nil t)
> dired-insert-directory("/home/guix/" "-lFaGh1v --group-directories-first --time-style=lo..." nil nil t)
> dired-readin-insert()
> #<subr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_47>()
> combine-change-calls-1(1 17349 #<subr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_47>)
> dired-readin()
> dired-revert(nil nil)
> revert-buffer()
> dired-internal-noselect("~/" nil)
> dired-noselect("~/" nil)
> dired("~/" nil)
> funcall-interactively(dired "~/" nil)
> command-execute(dired)

p9p distributes its own version of ‘ls’, so maybe that’s interfering?

The output of ‘ls’, on the command-line, with p9p installed is:

> ~% ls --version
> usage: ls [-dlmnpqrstuFQ] [file ...]
> ~% ls --help
> usage: ls [-dlmnpqrstuFQ] [file ...]
> ~% ls -v
> usage: ls [-dlmnpqrstuFQ] [file ...]
> ~% ls
> usage: ls [-dlmnpqrstuFQ] [file ...]

Which is odd and not how GNU ls is documented to behave. But executing ‘9 ls’, which is supposed to be the command to call the p9p version of ls, gives a different output (it lists my files and subdirectories as would be expected of ls) so it doesn’t appear that the ‘ls’ command changed to point to p9p’s ls.

--Navajeeth

[-- Attachment #2: Type: text/html, Size: 2441 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#67329: Plan9port breaks Emacs Dired
  2023-11-21 11:16 bug#67329: Plan9port breaks Emacs Dired Navajeeth via Bug reports for GNU Guix
@ 2024-01-08  9:47 ` 宋文武 via Bug reports for GNU Guix
  0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 via Bug reports for GNU Guix @ 2024-01-08  9:47 UTC (permalink / raw)
  To: Navajeeth; +Cc: 67329-done

Navajeeth <yvv0@proton.me> writes:

> There’s a bug with the ‘plan9port’ (p9p) package on Guix—installing it on the Guix System breaks Dired inside Emacs.
> When I try to open a Dired buffer with p9p installed, I get the following error:
>
>  (error "Listing directory failed but ‘access-file’ worked")
>    error("Listing directory failed but `access-file' worked")
>    insert-directory("/home/guix/" "--dired -lFaGh1v --group-directories-first --time-..." nil t)
>    dired-insert-directory("/home/guix/" "-lFaGh1v --group-directories-first --time-style=lo..." nil nil t)
>    dired-readin-insert()
>    #<subr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_47>()
>    combine-change-calls-1(1 17349 #<subr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_47>)
>    dired-readin()
>    dired-revert(nil nil)
>    revert-buffer()
>    dired-internal-noselect("~/" nil)
>    dired-noselect("~/" nil)
>    dired("~/" nil)
>    funcall-interactively(dired "~/" nil)
>    command-execute(dired)
>
> p9p distributes its own version of ‘ls’, so maybe that’s interfering?
>
> The output of ‘ls’, on the command-line, with p9p installed is:
>
>    ~% ls --version
>    usage: ls [-dlmnpqrstuFQ] [file ...]
>    ~% ls --help
>    usage: ls [-dlmnpqrstuFQ] [file ...]
>    ~% ls -v
>    usage: ls [-dlmnpqrstuFQ] [file ...]
>    ~% ls
>    usage: ls [-dlmnpqrstuFQ] [file ...]

Hello, I beileve this had been fixed with commit 2538a773c, which put
p9p into $out/plan9, only '9' is available via PATH.

User can append $GUIX_PROFILE/plan9/bin into $PATH if wanted.


Close now, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-08  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-21 11:16 bug#67329: Plan9port breaks Emacs Dired Navajeeth via Bug reports for GNU Guix
2024-01-08  9:47 ` 宋文武 via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).