Hi,

I originally sent this to gnu.emacs.gnus but got no reply and so am reposting
here.

Cheers,

Loris

-------------------- Start of forwarded message --------------------
From: "Loris Bennett" <[email protected]>
Subject: Attaching via link to GVFS fails
Date: Wed, 20 May 2026 15:06:52 +0200

Hi,

I am using Emacs 30.1 on Debian 13, but occasionally I have use a Windows
machine to sign PDFs.  To facilitate this, I created a link, which is normally
broken, but when I click on the corresponding bookmark in the file manager
becomes unbroken:

  $ ls -l windows-home
  lrwxrwxrwx 1 loris users 80 Nov  6  2024 windows-home -> 
'/run/user/1000/gvfs/smb-share:server=example.org,share=home_l/loris'

In the past, I could access the files on the windows machine to add as an
attachment to a mail in Gnus via the path

  ~/windows_home

However, recently, maybe after upgrading from Debian 12, which had Emacs 28.2,
I am no longer able to access the files/directories below it when attaching.
The error is:

  /home/loris/windows-home is a directory, cannot attach

Although the link should indeed be treated as a directory, I can't get into
it, because it seems to be treated like a file.  However, if I use the
'/run/user/1000/gvfs/...' path, everything works as it should.  With
'find-file' I can also access files via the link, so it does seem to be a Gnus
issue.

Can anyone shed any light on what is going on?

Cheers,

Loris

-- 
Dr. Loris Bennett (Herr/Mr)
FUB-IT, Freie Universität Berlin


Reply via email to