help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

commandline-invoked functions are broken in pwsafe.el


From: jgombos
Subject: commandline-invoked functions are broken in pwsafe.el
Date: Thu, 17 Sep 2009 11:33:21 -0700 (PDT)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]