From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: torys.anderson@gmail.com (Tory S. Anderson) Newsgroups: gmane.emacs.help Subject: Re: Calling function as if it had a C-u prefix Date: Fri, 27 Feb 2015 16:54:10 -0500 Message-ID: <87pp8vrpfh.fsf@gmail.com> References: <87wq33rqsm.fsf@gmail.com> <871tlbhvwh.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1425074071 24399 80.91.229.3 (27 Feb 2015 21:54:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2015 21:54:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 27 22:54:30 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YRSrZ-0003sy-GR for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Feb 2015 22:54:25 +0100 Original-Received: from localhost ([::1]:39156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRSrZ-00009V-3K for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Feb 2015 16:54:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRSrO-00008z-E2 for help-gnu-emacs@gnu.org; Fri, 27 Feb 2015 16:54:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRSrN-0004LS-Ko for help-gnu-emacs@gnu.org; Fri, 27 Feb 2015 16:54:14 -0500 Original-Received: from mail-qc0-x235.google.com ([2607:f8b0:400d:c01::235]:38009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRSrN-0004LL-GY for help-gnu-emacs@gnu.org; Fri, 27 Feb 2015 16:54:13 -0500 Original-Received: by qcvx3 with SMTP id x3so16207139qcv.5 for ; Fri, 27 Feb 2015 13:54:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=iZDy6UCwGTz9UMkRvoZ3VzI3trF/zpexIEQLdn0zhHA=; b=OOT2AcOLPK8TIi0gggKDUycTJtkv4q6NHeG0FD5AS6Y0A90rJIAEAoOazrti/huy0W VNjx/DNVP6Blzbb5wUyrK41ziTVCmVz/2p9fwTs4xgQh2LZHBJXUQSzN3NF2WC9oZ9Ec 2kwibyIaPy7XE3XziMHhFCflg5nGYa5e0vfxsbROcC2T3ugJJ9XqxHW7ktrIBvmaO/Dk 9ezs5T46ZV+EOY9hW1zalba8mRYa3+6eyJ2LUkRZ3f1C/cZXc5AaacjeTwrmZyzO3Lat lUv4UINa79LMgHKOdkN02uWX9TDsgrAxfbUpjaQPFXi+HfMSvrv1IvAyIGzL6bZWOoj+ apWw== X-Received: by 10.140.95.43 with SMTP id h40mr31366661qge.68.1425074053085; Fri, 27 Feb 2015 13:54:13 -0800 (PST) Original-Received: from localhost.localdomain ([2601:0:a640:1577:ee55:f9ff:feb5:5589]) by mx.google.com with ESMTPSA id j190sm3433467qhc.33.2015.02.27.13.54.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Feb 2015 13:54:11 -0800 (PST) In-Reply-To: <871tlbhvwh.fsf@web.de> (Michael Heerdegen's message of "Fri, 27 Feb 2015 22:44:30 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c01::235 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:102931 Archived-At: Ah, that did it! I had already tried both (org-clock-in t) and (org-clock-in 4) And they didn't do the trick. For whatever reason, the quote and the parentheses did the trick. Thanks! Michael Heerdegen writes: > Drew Adams writes: > >> Sometimes a function does not pass the prefix arg as a parameter, but >> typically functions do, and the advice above should be sufficient. > > Should work. `org-clock-in' uses (interactive "P"), so > > (org-clock-in '(4)) > > should do it.