unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how to get around deprecated function
@ 2015-04-28 22:59 B. T. Raven
  2015-04-28 23:29 ` Emanuel Berg
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: B. T. Raven @ 2015-04-28 22:59 UTC (permalink / raw)
  To: help-gnu-emacs

This was posted by mistake to the gnus group:

>
>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
>



^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2015-05-10 17:52 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-28 22:59 how to get around deprecated function B. T. Raven
2015-04-28 23:29 ` Emanuel Berg
2015-04-30 18:01   ` B. T. Raven
2015-05-01  1:17     ` Emanuel Berg
2015-05-01  3:55       ` hook syntax (was: Re: how to get around deprecated function) Emanuel Berg
2015-05-01  4:06         ` Emanuel Berg
2015-05-03 23:54         ` hook syntax Stefan Monnier
     [not found]         ` <mailman.2274.1430697294.904.help-gnu-emacs@gnu.org>
2015-05-05  2:07           ` --batch on many files without reloading config (was: Re: hook syntax) Emanuel Berg
2015-05-05 11:28             ` --batch on many files without reloading config Stefan Monnier
2015-05-05 16:45               ` hooks, again (was: Re: --batch on many files without reloading config) Emanuel Berg
2015-05-05 22:09                 ` hooks, again Stefan Monnier
     [not found]                 ` <mailman.2431.1430863781.904.help-gnu-emacs@gnu.org>
2015-05-06  0:05                   ` Emanuel Berg
2015-05-06  2:55                     ` Stefan Monnier
     [not found]                     ` <mailman.2436.1430880949.904.help-gnu-emacs@gnu.org>
2015-05-06  3:25                       ` Emanuel Berg
2015-05-06  4:08                         ` Stefan Monnier
2015-05-06 19:17                           ` Emanuel Berg
2015-05-06 20:31                             ` Stefan Monnier
     [not found]                             ` <mailman.2490.1430944327.904.help-gnu-emacs@gnu.org>
2015-05-06 22:21                               ` Emanuel Berg
2015-05-06 22:30                                 ` Stefan Monnier
     [not found]                                 ` <mailman.2504.1430951419.904.help-gnu-emacs@gnu.org>
2015-05-10 17:52                                   ` Emanuel Berg
2015-05-05 15:41       ` how to get around deprecated function B. T. Raven
2015-05-05 17:13         ` John Mastro
2015-05-05 17:31         ` Emanuel Berg
     [not found]         ` <mailman.2404.1430846015.904.help-gnu-emacs@gnu.org>
2015-05-05 17:39           ` Emanuel Berg
2015-04-29  2:55 ` Rusi
2015-04-29 22:06 ` Xavier Maillard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).