all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Anselm Helbig <anselm.helbig+news2009@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: commandline-invoked functions are broken in pwsafe.el
Date: Fri, 18 Sep 2009 12:52:17 +0200	[thread overview]
Message-ID: <874or0cyou.wl%anselm.helbig+news2009@googlemail.com> (raw)
In-Reply-To: <mailman.6930.1253269418.2239.help-gnu-emacs@gnu.org>

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


       reply	other threads:[~2009-09-18 10:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6930.1253269418.2239.help-gnu-emacs@gnu.org>
2009-09-18 10:52 ` Anselm Helbig [this message]
2009-09-17 18:33 commandline-invoked functions are broken in pwsafe.el jgombos

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=874or0cyou.wl%anselm.helbig+news2009@googlemail.com \
    --to=anselm.helbig+news2009@googlemail.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.