help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (interactive "rP") valid?


From: Thorsten Jolitz
Subject: Re: (interactive "rP") valid?
Date: Tue, 28 May 2013 13:42:48 +0200
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux)

Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

> Am 28.05.2013 13:15, schrieb Thorsten Jolitz:
>>
>> Hi List,
>>
>> function 'org-table-convert-region' uses (interactive "rP") and has the
>> following signature:
>>
>> ,---------------------------------------------------------
>> | (org-table-convert-region BEG0 END0 &optional SEPARATOR)
>> `---------------------------------------------------------
>>
>> Non-interactively, the function works as expected:
>> different behaviour conditional on SEPARATOR being nil, an integer, '(4)
>> or '(16).
>>
>> However, used interactively, SEPARATOR is always nil when 'C-u <digit>
>> M-x' is used.
>>
>> Is (interactive "rP") not a valid combination?
>> Or is this a bug in Emacs?
>>
>
> needs a newline:
>
> (interactive "r\nP")

Yes, that made it work. Thanks.

-- 
cheers,
Thorsten




reply via email to

[Prev in Thread] Current Thread [Next in Thread]