From: Mateusz Okulus <mmokulus@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] KDE plasma desktop view shows files that don't exist
Date: Thu, 25 Aug 2022 19:18:58 +0200 [thread overview]
Message-ID: <20220825171858.td2ad6e2qc6lag5j@archlinux> (raw)
In-Reply-To: <61d345b3-0f2b-2ed9-0db1-57db48be87ce@users.sourceforge.net>
On 22/08/24 11:05AM, Jack wrote:
> Checking here for any ideas or suggestions before I report as a KDE bug.
>
> I have my KDE Plasma desktop set to show my ~/Desktop folder. Two days ago,
> I created a script.pl Perl script in that folder. (No, I don't generally do
> work in that folder, but I just needed a quick script to deal with a file I
> had just downloaded there.) After editing that file in emacs, a script.pl~
> also showed up on the Desktop. However, so did a file #script.pl#, and
> actually I now have three files showing that name. The original and the
> emacs backup also show up in Dolphin and an "ls" command in a terminal.
> None of the "#" files do, however, which is expected, as there are transient
> working files only during an active emacs session.
>
> Trying to edit one (double click) from the desktop opens an empty file, and
> right clicking and selecting Properties shows the correct info as of when
> the file actually existed - but if I ask for any checksums, they show up as
> blank fields.
>
> I've looked, and have not found any relevant bug on the KDE bugzilla. (As
> it's not likely a Gentoo bug, I don't see any point in filing at b.g.o.)
>
> Has anyone else noticed this? Can anyone else reproduce it?
>
> Thanks for any feedback.
>
> Jack
I'm fairly sure this isn't a bug, the files exits, and are just empty,
as they show both in Dolphin and using ls.
script.pl~ is an Emacs backup file, it's created automatically and won't
be removed. It was created by Emacs when the original file was still
empty.
#script.pl# is an Emacs auto-saved file, which was also saved when the
buffer was empty. "auto-saves happen every 300 keystrokes, or after
around 30 seconds of idle time", from manual, so you probably left the
empty buffer for more than 30 seconds, but the script was shorter than
300 characters, so it only auto saved the empty file.
Those file exist on your system, they are just empty. That's why the
dates are correct. You can simply delete them if you want.
Those resources might be useful:
https://stackoverflow.com/a/12031838
https://stackoverflow.com/a/18330742
In particular you can disable backup files, if you don't care or use git
for example.
Regards,
mmokulus
next prev parent reply other threads:[~2022-08-25 17:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-24 15:05 [gentoo-user] KDE plasma desktop view shows files that don't exist Jack
2022-08-25 17:18 ` Mateusz Okulus [this message]
2022-08-27 18:58 ` Jack
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220825171858.td2ad6e2qc6lag5j@archlinux \
--to=mmokulus@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox