all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: ps-ccrypt can't save file with emacs 26.1
Date: Thu, 14 Jun 2018 16:42:46 +0300	[thread overview]
Message-ID: <83lgbh32nd.fsf@gnu.org> (raw)
In-Reply-To: <CACbameGhO-ygV-kWahMfDoCrdFdUxWJT9TX3Jnywg0fyjhFtfw@mail.gmail.com> (message from Zhang Jun on Thu, 14 Jun 2018 15:23:03 +0800)

> 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.



  reply	other threads:[~2018-06-14 13:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2018-06-13 17:03 ` Robert Pluim
2018-06-14  7:25   ` Zhang Jun

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=83lgbh32nd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.