From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anselm Helbig Newsgroups: gmane.emacs.help Subject: Re: commandline-invoked functions are broken in pwsafe.el Date: Fri, 18 Sep 2009 12:52:17 +0200 Organization: Freie Universitaet Berlin Message-ID: <874or0cyou.wl%anselm.helbig+news2009@googlemail.com> References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1253274137 8044 80.91.229.12 (18 Sep 2009 11:42:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Sep 2009 11:42:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 18 13:42:10 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mobqr-0005Kz-0B for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 13:42:09 +0200 Original-Received: from localhost ([127.0.0.1]:36154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mobqq-000469-HC for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 07:42:08 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-X-Trace: news.uni-berlin.de xebjb3LVvDxhApXis3mkrwlakOvKyWBf2/93ngmXtsPq06yVd45ELDcT33 Cancel-Lock: sha1:a+Lj1t+YTD0AJSAdnlQJBMtToXE= In-Reply-To: Mail-Followup-To: Anselm Helbig Original-Xref: news.stanford.edu gnu.emacs.help:173139 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68263 Archived-At: Hi! > I want to launch emacs and have it immediately launch into pwsafe-mode. > > My .emacs file properly loads the pwsafe.el file, so that when I type M-x > pwsafe, everything works. But when I run this on the CLI: > > emacs -f pwsafe > > the output message is: > > command-line-1: Wrong number of arguments: (lambda (force) "Major mode to The pwsafe function takes an argument. In interactive use this will be the prefix argument and so defaults to nil. You can do: emacs --eval '(pwsafe nil)' HTH, Anselm -- Anselm Helbig mailto:anselm.helbig+news2009@googlemail.com