* commandline-invoked functions are broken in pwsafe.el
@ 2009-09-17 18:33 jgombos
0 siblings, 0 replies; 2+ messages in thread
From: jgombos @ 2009-09-17 18:33 UTC (permalink / raw
To: Help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: commandline-invoked functions are broken in pwsafe.el
[not found] <mailman.6930.1253269418.2239.help-gnu-emacs@gnu.org>
@ 2009-09-18 10:52 ` Anselm Helbig
0 siblings, 0 replies; 2+ messages in thread
From: Anselm Helbig @ 2009-09-18 10:52 UTC (permalink / raw
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-18 10:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
2009-09-17 18:33 jgombos
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.