GNU bug report logs - #12769
24.2; Files won't save on Macintosh/Mountain Lion

Previous Next

Package: emacs;

Reported by: John Croix <jcroix <at> mac.com>

Date: Tue, 30 Oct 2012 19:32:01 UTC

Severity: normal

Tags: notabug

Found in version 24.2

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: John Croix <jcroix <at> mac.com>
Cc: 12769 <at> debbugs.gnu.org, martin rudalics <rudalics <at> gmx.at>, Andreas Schwab <schwab <at> linux-m68k.org>
Subject: bug#12769: 24.2; Files won't save on Macintosh/Mountain Lion
Date: Wed, 31 Oct 2012 12:09:36 -0400
> A quick follow up.  Thanks to your input, I've rewritten the code, and it seems to do everything that I need it to do in 24.2.
> (add-hook 'write-file-hooks 
>   (lambda ()
>     (delete-trailing-whitespace)
>     (if (not indent-tabs-mode)
>       (untabify (point-min) (point-max)))
>     nil))

BTW, try C-h v write-file-hooks: you'll see it's been obsolete for
a while.


        Stefan




This bug report was last modified 12 years and 261 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.