From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: warren ferguson Newsgroups: gmane.emacs.help Subject: RE: Issues with edited files not being saved Date: Tue, 15 Sep 2015 18:04:03 -0500 Message-ID: References: , <20150915214600.23156.3A0678AA@ahiker.mooo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1442358273 13727 80.91.229.3 (15 Sep 2015 23:04:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Sep 2015 23:04:33 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 16 01:04:26 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZbzGu-00088s-4c for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Sep 2015 01:04:20 +0200 Original-Received: from localhost ([::1]:46307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbzGt-0004zu-EI for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Sep 2015 19:04:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbzGh-0004z5-Ki for help-gnu-emacs@gnu.org; Tue, 15 Sep 2015 19:04:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbzGe-0004hP-Ca for help-gnu-emacs@gnu.org; Tue, 15 Sep 2015 19:04:07 -0400 Original-Received: from col004-omc4s5.hotmail.com ([65.55.34.207]:51000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbzGe-0004hI-4G for help-gnu-emacs@gnu.org; Tue, 15 Sep 2015 19:04:04 -0400 Original-Received: from COL130-W41 ([65.55.34.199]) by COL004-OMC4S5.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Tue, 15 Sep 2015 16:04:03 -0700 X-TMN: [Oa60M6R4zpljlH5UUTVzFjjo3DwGij6Y] X-Originating-Email: [gobold1y@hotmail.com] Importance: Normal In-Reply-To: <20150915214600.23156.3A0678AA@ahiker.mooo.com> X-OriginalArrivalTime: 15 Sep 2015 23:04:03.0408 (UTC) FILETIME=[D09DB500:01D0F00A] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 65.55.34.207 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107220 Archived-At: Thanks Ian=2C but that wasn't the problem.=20 Here is the soluiton that worked. In my .emacs file I had a untabify function=2C and when I added nil as the = return value of that function my saves started working. =20 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#L= 99 > Date: Tue=2C 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 >=20 > On 2015-09-15 15:33 -0500=2C warren ferguson wrote: >=20 > > Unfortunately=2C when I edit a file and try to save it=2C the status li= ne > > shows the usual "saving" message but that message never goes away > > indicating the save completed. While the attempt to save is ongoing=2C = I > > can go to the terminal window and check that the file has not been > > updated to reflect the edits. Interestingly=2C if I save the edited > > file to a new unused file name=2C the save does complete. How do I > > determine why emacs is unable to write over the original file? >=20 > > I checked file permissions=2C and they don't seem to be the source of > > the problem. Indeed=2C the emacs (version 23.2.1) that came with the OS > > is able to save edits to the same file. >=20 > Compare output of ldd on both binaries. >=20 > Suspect selinux or other kernel "security" module. >=20 > --=20 > Please *no* private copies of mailing list or newsgroup messages. > Rule 420: All persons more than eight miles high to leave the court. >=20 =