[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Issues with edited files not being saved
From: |
warren ferguson |
Subject: |
RE: Issues with edited files not being saved |
Date: |
Tue, 15 Sep 2015 18:04:03 -0500 |
Thanks Ian, but that wasn't the problem.
Here is the soluiton that worked.
In my .emacs file I had a untabify function, and when I added nil as the return
value of that function my saves started working.
The hint was from this email was from a reader who sent me this link:
... a custom untabify function that returned nil to fix this issue:
https://github.com/kaushalmodi/.emacs.d/blob/master/setup-files/setup-editing.el#L99
> Date: Tue, 15 Sep 2015 14:47:32 -0700
> From: itz@buug.org
> To: help-gnu-emacs@gnu.org
> Subject: Re: Issues with edited files not being saved
>
> On 2015-09-15 15:33 -0500, warren ferguson wrote:
>
> > Unfortunately, when I edit a file and try to save it, the status line
> > shows the usual "saving" message but that message never goes away
> > indicating the save completed. While the attempt to save is ongoing, I
> > can go to the terminal window and check that the file has not been
> > updated to reflect the edits. Interestingly, if I save the edited
> > file to a new unused file name, the save does complete. How do I
> > determine why emacs is unable to write over the original file?
>
> > I checked file permissions, and they don't seem to be the source of
> > the problem. Indeed, the emacs (version 23.2.1) that came with the OS
> > is able to save edits to the same file.
>
> Compare output of ldd on both binaries.
>
> Suspect selinux or other kernel "security" module.
>
> --
> Please *no* private copies of mailing list or newsgroup messages.
> Rule 420: All persons more than eight miles high to leave the court.
>