From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17600 Path: news.gmane.org!not-for-mail From: B. T. Raven Newsgroups: gmane.emacs.gnus.user Subject: Oops, sorry was Re: how to get around deprecated function Date: 28 Apr 2015 15:57:26 -0700 Organization: NewsGuy - Unlimited Usenet $23.95 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1430262010 13942 80.91.229.3 (28 Apr 2015 23:00:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Apr 2015 23:00:10 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Apr 29 01:00:07 2015 Return-path: Envelope-to: gegu-info-gnus-english@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 1YnEU2-0005s4-GJ for gegu-info-gnus-english@m.gmane.org; Wed, 29 Apr 2015 01:00:06 +0200 Original-Received: from localhost ([::1]:36105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnEU1-0005E7-Ux for gegu-info-gnus-english@m.gmane.org; Tue, 28 Apr 2015 19:00:05 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!drn Original-Newsgroups: gnu.emacs.gnus Original-Lines: 29 Original-NNTP-Posting-Host: a601.newsdawg.com User-Agent: Direct Read News 5.60 X-Received-Bytes: 1181 X-Received-Body-CRC: 2017821332 Original-Xref: usenet.stanford.edu gnu.emacs.gnus:88728 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17600 Archived-At: B. T. Raven28 Apr 2015 15:31:49 -0700 > >Hello: > >I am constantly losing short pieces of text left in *scratch* and I wrote this >interactive function: > >(defun save-scratchtemp ();; M-x scr > (interactive) > (switch-to-buffer "*scratch*") > (mark-whole-buffer) > (setq start (point) end (mark)) > (append-to-file start end "c:/mydocu~1/scratchtemp.txt") >) > >It "works" but according to the docs mark-whole-buffer shouldn't be used this >way.Is there an understandable (to me) right way of doing this or doing >something else that can be invoked as easily? > >Thanks, > >Ed > This was supposed to go to gnu.emacs.help Ed