From: Thorsten Jolitz <tjolitz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: (interactive "rP") valid?
Date: Tue, 28 May 2013 13:42:48 +0200 [thread overview]
Message-ID: <87ip23e3ev.fsf@gmail.com> (raw)
In-Reply-To: 51A4972C.5000903@easy-emacs.de
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
next prev parent reply other threads:[~2013-05-28 11:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-28 11:15 (interactive "rP") valid? Thorsten Jolitz
2013-05-28 11:38 ` Andreas Röhler
2013-05-28 11:42 ` Thorsten Jolitz [this message]
2013-05-28 13:20 ` Drew Adams
2013-05-28 14:36 ` Thorsten Jolitz
2013-05-28 15:13 ` Drew Adams
2013-05-28 16:42 ` How to write (interactive) with user-selection from predefined enumeration? (was Re: (interactive "rP") valid?) Thorsten Jolitz
2013-05-28 17:27 ` Drew Adams
2013-05-28 18:46 ` Thorsten Jolitz
[not found] ` <mailman.511.1369747231.22516.help-gnu-emacs@gnu.org>
2013-05-28 15:35 ` (interactive "rP") valid? Joost Kremers
[not found] ` <mailman.521.1369756484.22516.help-gnu-emacs@gnu.org>
2013-05-30 10:34 ` Joost Kremers
[not found] ` <<slrnkq9jm0.2vb.joostkremers@j.kremers4.news.arnhem.chello.nl>
2013-05-28 15:54 ` Drew Adams
[not found] <<87mwrfe4oy.fsf@gmail.com>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ip23e3ev.fsf@gmail.com \
--to=tjolitz@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.