From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.help Subject: prefix arg in (interactive (list )) form Date: Sat, 04 Jun 2011 09:28:52 +0530 Message-ID: <81d3iu8cxv.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1307160024 30460 80.91.229.12 (4 Jun 2011 04:00:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Jun 2011 04:00:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 04 06:00:21 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QSi28-0004I1-Sh for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Jun 2011 06:00:21 +0200 Original-Received: from localhost ([::1]:44926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSi28-0001yB-4l for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Jun 2011 00:00:20 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSi0u-0001y5-4o for help-gnu-emacs@gnu.org; Fri, 03 Jun 2011 23:59:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSi0t-0008SX-DU for help-gnu-emacs@gnu.org; Fri, 03 Jun 2011 23:59:04 -0400 Original-Received: from mail-pz0-f41.google.com ([209.85.210.41]:46135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSi0t-0008ST-8w for help-gnu-emacs@gnu.org; Fri, 03 Jun 2011 23:59:03 -0400 Original-Received: by pzk4 with SMTP id 4so1282739pzk.0 for ; Fri, 03 Jun 2011 20:59:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:message-id:user-agent :mime-version:content-type; bh=VBUf4sFSwUPu+RiyQRTv+f/3RkWqH6a+afXTmXDq/wQ=; b=tZA7CIGb5TV9w7b7bcE/ots6X8wdATOc5eOArIU5F/ysnVMketDLJFS/vT+bYfoCez PpT/u8vFLotVNwUxWaTS6SQKhhvJ8NFfY+THKH04iBu+0FAl2jK1qTUSQzSxF0qMlO6v W+ryM+0h4bWwofwPS11P7MDloDSNQnoyXmOUY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; b=dbWujVoqRQN19yeEbMFkw+5lFyfCyUg4xnraIaeG7t08CNetOCMgiZ303iHZ2y9WEq dHgQ5hYF3qiCeRfj4YwP5qhPQVTQbnapfjoI2kCqzu3qTc6hPgucX9FTjUZQ6of2bq52 Sx0vUML0EuDLVUe8oMn7TwpLh31dipyD3TWvU= Original-Received: by 10.68.43.7 with SMTP id s7mr1205469pbl.86.1307159941531; Fri, 03 Jun 2011 20:59:01 -0700 (PDT) Original-Received: from JAMBU-NETBOOK ([115.241.6.224]) by mx.google.com with ESMTPS id y2sm1939542pbg.72.2011.06.03.20.58.58 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Jun 2011 20:59:00 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81288 Archived-At: How do I get prefix arg in the code down below? (defun org-export-as (backend arg) ;; (interactive "Mbackend: \nP") <====== original (interactive (list (ido-completing-read "Export to: " org-export-other-backends-alist nil t nil) nil)) ; <===== equivalent. How do I get prefix arg here ;; etc etc etc ) TIA, Jambunathan K. --