From: Stefan Monnier <monnier@iro.umontreal.ca>
To: John Croix <jcroix@mac.com>
Cc: 12769@debbugs.gnu.org, Andreas Schwab <schwab@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 [thread overview]
Message-ID: <jwv1uge8vyz.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <EDED98D2-17FF-4FA5-B3D6-FC7A42D64FE9@mac.com>
> 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
prev parent reply other threads:[~2012-10-31 16:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-30 19:25 bug#12769: 24.2; Files won't save on Macintosh/Mountain Lion John Croix
2012-10-30 20:33 ` Jan Djärv
2012-10-30 20:37 ` John Croix
2012-10-30 21:07 ` Jan Djärv
2012-10-31 3:04 ` John Croix
2012-10-31 7:33 ` Andreas Schwab
2012-10-31 7:41 ` martin rudalics
2012-10-31 8:09 ` Andreas Schwab
2012-10-31 10:27 ` martin rudalics
2012-10-31 14:50 ` John Croix
2012-10-31 15:07 ` John Croix
2012-10-31 16:09 ` Stefan Monnier [this message]
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=jwv1uge8vyz.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=12769@debbugs.gnu.org \
--cc=jcroix@mac.com \
--cc=schwab@linux-m68k.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.