all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* jka-compr-ccrypt-buffer-password is nil after opening an encrypted file
@ 2006-11-13 20:14 Andre Kuehne
  0 siblings, 0 replies; only message in thread
From: Andre Kuehne @ 2006-11-13 20:14 UTC (permalink / raw)


Hello everybody

I am having some trouble with the jka-compr-ccrypt extension:
When opening an encrypted file with jka-compr-ccrypt i get
prompted for the password and after entering the correct one
the file opens normaly.

When i want to save any changes i get asked for the password
again. Looking at the "jka-compr-ccrypt-buffer-password" variable
(which is buffer-local and should hold the entered password) turns
out it is nil. But if you explicitly set the variable with
M-x ccrypt-set-buffer-password you can later save the file
without additional prompting.

I did some debugging and found that the variable gets correctly
set after prompting for the password when opening the file, but
it seems that some other part of emacs then resets it again to nil.
However i was not able to identify the exact location
where the reset happens. All i can say that the variable still holds
the password when jka-compr-ccrypt-insert-file-contents returns.

 > emacs --version
GNU Emacs 22.0.50.1

Can anyone help with this?

Best regards
Andre

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-13 20:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-13 20:14 jka-compr-ccrypt-buffer-password is nil after opening an encrypted file Andre Kuehne

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.