From: warren ferguson <gobold1y@hotmail.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: Issues with edited files not being saved
Date: Tue, 15 Sep 2015 18:04:03 -0500 [thread overview]
Message-ID: <COL130-W41F9B61B88FC439841DA228A5C0@phx.gbl> (raw)
In-Reply-To: <20150915214600.23156.3A0678AA@ahiker.mooo.com>
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.
>
next prev parent reply other threads:[~2015-09-15 23:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-15 20:33 Issues with edited files not being saved warren ferguson
2015-09-15 21:47 ` Ian Zimmerman
2015-09-15 23:04 ` warren ferguson [this message]
2015-09-16 2:38 ` Ian Zimmerman
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=COL130-W41F9B61B88FC439841DA228A5C0@phx.gbl \
--to=gobold1y@hotmail.com \
--cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.