From: jgombos <nabble.forum.jog@spamgourmet.com>
To: Help-gnu-emacs@gnu.org
Subject: commandline-invoked functions are broken in pwsafe.el
Date: Thu, 17 Sep 2009 11:33:21 -0700 (PDT) [thread overview]
Message-ID: <25492218.post@talk.nabble.com> (raw)
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
interact with the command line password safe pwsafe.
Queries the passwords from the password safe and displays them in the buffer
*pwsafe-list*.
The following keys are defined:
\\{pwsafe-list-mode-map}" (interactive "P") (if (and (not force) (not
(string= (buffer-name) "*pwsafe-list*")) (get-buffer "*pwsafe-list*"))
(pop-to-buffer "*pwsafe-list*") (let ((database-file-name
(pwsafe-current-database-name))) (if (file-exists-p database-file-name) (if
pwsafe-use-long-listing (pwsafe-run (quote list) "-l" "-f"
database-file-name) (pwsafe-run (quote list) "-f" database-file-name)) (when
(yes-or-no-p (format "pwsafe database %s does not exist - create it? "
database-file-name)) (pwsafe-createdb) (with-current-buffer (get-buffer
"*pwsafe*") (delete-region (point-min) (point-max)))
(pwsafe-list-passwords)))))), 0
mouse-minibuffer-check: Minibuffer window is not active [2 times]
Any ideas how to fix or workaround?
--
View this message in context: http://www.nabble.com/commandline-invoked-functions-are-broken-in-pwsafe.el-tp25492218p25492218.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
next reply other threads:[~2009-09-17 18:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-17 18:33 jgombos [this message]
[not found] <mailman.6930.1253269418.2239.help-gnu-emacs@gnu.org>
2009-09-18 10:52 ` commandline-invoked functions are broken in pwsafe.el Anselm Helbig
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=25492218.post@talk.nabble.com \
--to=nabble.forum.jog@spamgourmet.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.