Re: mcedit has failed

Grzegorz Szymaszek via mc <[email protected]> Mon, 16 Jan 2023 16:26:03 +0100
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <Y8Vsiz/NmyW80/Fx@nx64de-df6d00>
On Mon, Jan 16, 2023 at 07:55:15AM -0700, Ben wrote:
> [...] restarted mcedit to edit the file again and [...] it said there
> was a lock on the file and I could not save, nor could I find a way to
> remove the lock;

Did it show _the_ "File locked" dialog? See the source code if not sure:
https://repo.or.cz/midnight-commander.git/blob/55124be9bb0d9a3f5dddf16b32a3cf039d5b82d3:/lib/lock.c#l237
https://github.com/MidnightCommander/mc/blob/55124be9bb0d9a3f5dddf16b32a3cf039d5b82d3/lib/lock.c#L237

If your file is named "foo.txt", is there a ".#foo.txt" file in the same
directory?

> I can't find where mcedit has its settings [...]

Try "mc -F".

-- 
Grzegorz

-- 
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEZT55kPBhnB69hD4ZeE9lGUIcpz4FAmPFbIsACgkQeE9lGUIc
pz5zqRAAlvR3ZM6oCPQmfJgz0Zgr9YAlePwHigiG/+OnoM5RFx60B65HCvQxy1Zf
DJcXxgfXknX0jySXWMOaD1Pjh0X6NSmldizP0gwH+6yw+XVISN+WygQDlGKQAkxr
Ei76ArIq8fH78ZB43IOaOwWntlHbImeB8OEZZ7RxJCDT2MfqzvfynqwAYbqYh+B4
1jGGMeHeRca35IxkxaskciexLy2SBM7B7y9kLm6g9Ty8xAVD1ZRbyKmjLKHOO642
DB9NkH1UEC5eVs6yszZDcIed5bPeVwXCFmwJY6uXHum/24pT62nf0kHMryxgTzyO
llIBxXNllAZWQSaMbJDGMc5KDrBzQ1m54VobK3iDvCAtbwcK/S2sXmtAC5CQawwS
hTur/U8AWApu2fPRyyiH6yInDmHH6CW2sYMiD6MNPpJfDLzJWRL3/knN5YrMvkXz
LRXvjH4ohpJJASOr/tBSH//GuhXVZCFohjDr+/z085rx1G/yA4blfdB2T4TBtZnK
Kens3v/Is85b3ZK18O8eSr5e1lPs8uNIZFQuxIwrfkYzqxoDeC/K8RUNq9Jqd+Pu
NV3KBO8XX0F00DDIvWlwHwTQknLOSg8Szt/tSyYRlj4pZra8tDJvBtczVmqFfaJy
xD3j7WpYrziwTOVbdz29dnC8C2IZ7s9Tqzfol7KHvAuTFkrlZFs=
=vUq+
-----END PGP SIGNATURE-----