From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: Why adding this write-file-hook makes save-buffer not work anymore!?? Date: Sun, 31 Aug 2003 11:50:54 +0000 Organization: muc.de e.V. -- private internet access Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <84isohfsx0.fsf@slowfox.is.informatik.uni-duisburg.de> <4yhe40vplm.fsf@skjellgran.ii.uib.no> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1062334056 4886 80.91.224.253 (31 Aug 2003 12:47:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Aug 2003 12:47:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 31 14:47:34 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19tRcE-0003Y5-00 for ; Sun, 31 Aug 2003 14:47:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19tRYx-00080L-C3 for geh-help-gnu-emacs@m.gmane.org; Sun, 31 Aug 2003 08:44:11 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed.freenet.de!news.space.net!news.muc.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: acm.muc.de Original-X-Trace: marvin.muc.de 1062332278 41303 193.149.49.134 (31 Aug 2003 12:17:58 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: 31 Aug 2003 12:17:58 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686)) Original-Xref: shelby.stanford.edu gnu.emacs.help:116297 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:12216 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12216 Joakim Hove wrote on Fri, 29 Aug 2003 10:24:05 +0200: > seberino@spawar.navy.mil (Christian Seberino) writes: > To return 'nil just change the last lines: > ;; snip > (goto-char original-pos) > 'nil)) Or even (goto-char original-pos) nil)) You don't need to quote "nil". :-) > HTH - Joakim -- Alan Mackenzie (Munich, Germany) Email: aacm@muuc.dee; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a").