[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] interactive "r" argument passing
From: |
Francis Wright |
Subject: |
Re: [h-e-w] interactive "r" argument passing |
Date: |
Fri, 17 May 2019 17:18:18 +0000 |
You need to double the backslashes or use forward slashes; either should work.
(And there should be no need to shorten filenames.)
Francis
> -----Original Message-----
> From: help-emacs-windows <help-emacs-windows-
> address@hidden> On Behalf Of T400
> Sent: Friday, 17 May 2019 6:01 pm
> To: w32emacs <address@hidden>
> Subject: [h-e-w] interactive "r" argument passing
>
> Dear w32 emacs gurus:
>
> Why does this function not work? I think that similar functions I wrote long
> ago did work.:
>
>
> (defun save-sscratch (start end) ;; M-x sch alias
> "Append region in *scratch* to file scratch.txt"
> (interactive "r")
> (with-current-buffer "*scratch*"
> (append-to-file start end "c:\mydocu~1\scratch.txt")))
>
> Do I need escaped backslashes? forward slashes?
>
>
> Thanks,
>
> Ed
>
>
- [h-e-w] interactive "r" argument passing, T400, 2019/05/17
- Re: [h-e-w] interactive "r" argument passing,
Francis Wright <=
- Re: [h-e-w] interactive "r" argument passing, T400, 2019/05/18
- Re: [h-e-w] interactive "r" argument passing, Francis Wright, 2019/05/18
- Re: [h-e-w] interactive "r" argument passing, Francis Wright, 2019/05/18
- Re: [h-e-w] interactive "r" argument passing, T400, 2019/05/18
- Re: [h-e-w] interactive "r" argument passing, Francis Wright, 2019/05/18
- Re: [h-e-w] interactive "r" argument passing, T400, 2019/05/18