* ps-ccrypt can't save file with emacs 26.1
@ 2018-06-13 0:21 Zhang Jun
2018-06-13 16:53 ` Eli Zaretskii
2018-06-13 17:03 ` Robert Pluim
0 siblings, 2 replies; 6+ messages in thread
From: Zhang Jun @ 2018-06-13 0:21 UTC (permalink / raw)
To: help-gnu-emacs
I upgraded to 26.1, found ps-ccrypt stop working.
it can decrypt file, but can't save change.
got such error:
Debugger entered--Lisp error: (wrong-number-of-arguments
#f(compiled-function (start end file &optional append visit) #<bytecode
0x18bddf3>) 7)
ps-ccrypt-write-region(nil nil "d:/document/my.org.cpt" nil t
"d:/document/my.org.cpt" nil)
apply(ps-ccrypt-write-region (nil nil "d:/document/my.org.cpt" nil t
"d:/document/my.org.cpt" nil))
ps-ccrypt-handler(write-region nil nil "d:/document/my.org.cpt" nil t
"d:/document/my.org.cpt" nil)
write-region(nil nil "d:/document/my.org.cpt" nil t
"d:/document/my.org.cpt")
basic-save-buffer-2()
basic-save-buffer-1()
basic-save-buffer(t)
save-buffer(1)
funcall-interactively(save-buffer 1)
call-interactively(save-buffer nil nil)
command-execute(save-buffer)
http://ccrypt.sourceforge.net/ps-ccrypt.el
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ps-ccrypt can't save file with emacs 26.1
2018-06-13 0:21 ps-ccrypt can't save file with emacs 26.1 Zhang Jun
@ 2018-06-13 16:53 ` Eli Zaretskii
2018-06-14 7:23 ` Zhang Jun
2018-06-13 17:03 ` Robert Pluim
1 sibling, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2018-06-13 16:53 UTC (permalink / raw)
To: help-gnu-emacs
> From: Zhang Jun <gb2313@gmail.com>
> Date: Wed, 13 Jun 2018 08:21:19 +0800
>
> I upgraded to 26.1, found ps-ccrypt stop working.
>
> it can decrypt file, but can't save change.
>
> got such error:
>
> Debugger entered--Lisp error: (wrong-number-of-arguments
> #f(compiled-function (start end file &optional append visit) #<bytecode
> 0x18bddf3>) 7)
> ps-ccrypt-write-region(nil nil "d:/document/my.org.cpt" nil t
> "d:/document/my.org.cpt" nil)
> apply(ps-ccrypt-write-region (nil nil "d:/document/my.org.cpt" nil t
> "d:/document/my.org.cpt" nil))
> ps-ccrypt-handler(write-region nil nil "d:/document/my.org.cpt" nil t
> "d:/document/my.org.cpt" nil)
> write-region(nil nil "d:/document/my.org.cpt" nil t
> "d:/document/my.org.cpt")
Did you try to byte-compile ps-ccrypt using Emacs 26.1?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ps-ccrypt can't save file with emacs 26.1
2018-06-13 0:21 ps-ccrypt can't save file with emacs 26.1 Zhang Jun
2018-06-13 16:53 ` Eli Zaretskii
@ 2018-06-13 17:03 ` Robert Pluim
2018-06-14 7:25 ` Zhang Jun
1 sibling, 1 reply; 6+ messages in thread
From: Robert Pluim @ 2018-06-13 17:03 UTC (permalink / raw)
To: Zhang Jun; +Cc: help-gnu-emacs
Zhang Jun <gb2313@gmail.com> writes:
> I upgraded to 26.1, found ps-ccrypt stop working.
Iʼm curious: emacs will transparently decrypt eg gpg encrypted files,
including prompting for passphrases etc. What's missing in that
support that means you need ps-ccrypt?
Robert
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ps-ccrypt can't save file with emacs 26.1
2018-06-13 16:53 ` Eli Zaretskii
@ 2018-06-14 7:23 ` Zhang Jun
2018-06-14 13:42 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Zhang Jun @ 2018-06-14 7:23 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: help-gnu-emacs
On Thu, Jun 14, 2018 at 12:53 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> > From: Zhang Jun <gb2313@gmail.com>
> > Date: Wed, 13 Jun 2018 08:21:19 +0800
> >
> > I upgraded to 26.1, found ps-ccrypt stop working.
> >
> > it can decrypt file, but can't save change.
> >
> > got such error:
> >
> > Debugger entered--Lisp error: (wrong-number-of-arguments
> > #f(compiled-function (start end file &optional append visit) #<bytecode
> > 0x18bddf3>) 7)
> > ps-ccrypt-write-region(nil nil "d:/document/my.org.cpt" nil t
> > "d:/document/my.org.cpt" nil)
> > apply(ps-ccrypt-write-region (nil nil "d:/document/my.org.cpt" nil t
> > "d:/document/my.org.cpt" nil))
> > ps-ccrypt-handler(write-region nil nil "d:/document/my.org.cpt" nil t
> > "d:/document/my.org.cpt" nil)
> > write-region(nil nil "d:/document/my.org.cpt" nil t
> > "d:/document/my.org.cpt")
>
> Did you try to byte-compile ps-ccrypt using Emacs 26.1?
>
> yes, I also deleted the ps-ccrypt.elc and restarted emacs, still can't
save file.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ps-ccrypt can't save file with emacs 26.1
2018-06-13 17:03 ` Robert Pluim
@ 2018-06-14 7:25 ` Zhang Jun
0 siblings, 0 replies; 6+ messages in thread
From: Zhang Jun @ 2018-06-14 7:25 UTC (permalink / raw)
To: Robert Pluim; +Cc: help-gnu-emacs
On Thu, Jun 14, 2018 at 1:03 AM, Robert Pluim <rpluim@gmail.com> wrote:
> Zhang Jun <gb2313@gmail.com> writes:
>
> > I upgraded to 26.1, found ps-ccrypt stop working.
>
> Iʼm curious: emacs will transparently decrypt eg gpg encrypted files,
> including prompting for passphrases etc. What's missing in that
> support that means you need ps-ccrypt?
>
> Robert
>
I'm using win, I know there is gpg for win, but ccrypt is lightweight, I
don't encrypt/sign emails and other files, so haven't tried gpp yet.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ps-ccrypt can't save file with emacs 26.1
2018-06-14 7:23 ` Zhang Jun
@ 2018-06-14 13:42 ` Eli Zaretskii
0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2018-06-14 13:42 UTC (permalink / raw)
To: help-gnu-emacs
> From: Zhang Jun <gb2313@gmail.com>
> Date: Thu, 14 Jun 2018 15:23:03 +0800
> Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
>
> > Debugger entered--Lisp error: (wrong-number-of-arguments
> > #f(compiled-function (start end file &optional append visit) #<bytecode
> > 0x18bddf3>) 7)
> > ps-ccrypt-write-region(nil nil "d:/document/my.org.cpt" nil t
> > "d:/document/my.org.cpt" nil)
> > apply(ps-ccrypt-write-region (nil nil "d:/document/my.org.cpt" nil t
> > "d:/document/my.org.cpt" nil))
> > ps-ccrypt-handler(write-region nil nil "d:/document/my.org.cpt" nil t
> > "d:/document/my.org.cpt" nil)
> > write-region(nil nil "d:/document/my.org.cpt" nil t
> > "d:/document/my.org.cpt")
>
> Did you try to byte-compile ps-ccrypt using Emacs 26.1?
>
> yes, I also deleted the ps-ccrypt.elc and restarted emacs, still can't save file.
Then please try to figure out which "compiled function" is the one
that signals an error. I thought it was write-region, but that
accepts 7 arguments with no problem. Could it be that you have some
advice or some other customization that changes how
ps-ccrypt-write-region works?
In any case, I think this should be reported to the maintainers of
ps-ccrypt first.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-06-14 13:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-13 0:21 ps-ccrypt can't save file with emacs 26.1 Zhang Jun
2018-06-13 16:53 ` Eli Zaretskii
2018-06-14 7:23 ` Zhang Jun
2018-06-14 13:42 ` Eli Zaretskii
2018-06-13 17:03 ` Robert Pluim
2018-06-14 7:25 ` Zhang Jun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).