[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: collect-string
From: |
Stephen J. Turnbull |
Subject: |
Re: collect-string |
Date: |
Tue, 09 Nov 2010 18:06:37 +0900 |
Tak Ota writes:
> But isn't C-u equivalent to numeric value 4?
No. C-u delivers a non-numeric value (a list, actually) for the
corresponding arg if "P" is used in the interactive spec. If "N" or
"p" is specified, it is automatically converted to a number (a power
of 4 depending on how many times C-u was pressed).
C-h f interactive RET
or
(defun show-me-C-u (arg)
(interactive "P")
(message "ARG is %s." arg))
Regards,
- Re: simple useful functions, (continued)
- Re: simple useful functions, Tak Ota, 2010/11/03
- Re: simple useful functions, Stephen J. Turnbull, 2010/11/03
- Re: simple useful functions, Tak Ota, 2010/11/03
- collect-string (was: simple useful functions), Stefan Monnier, 2010/11/04
- Re: collect-string (was: simple useful functions), Tak Ota, 2010/11/04
- Re: collect-string (was: simple useful functions), Tak Ota, 2010/11/04
- Re: collect-string (was: simple useful functions), Tak Ota, 2010/11/04
- Re: collect-string (was: simple useful functions), Andreas Röhler, 2010/11/05
- Re: collect-string, Stefan Monnier, 2010/11/08
- Re: collect-string, Tak Ota, 2010/11/08
- Re: collect-string,
Stephen J. Turnbull <=
- Re: collect-string, Tak Ota, 2010/11/09
Re: simple useful functions, Andreas Röhler, 2010/11/02