Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

epa--decode-coding-string not defined #154

Open
ericsfraga opened this issue Nov 20, 2018 · 6 comments
Open

epa--decode-coding-string not defined #154

ericsfraga opened this issue Nov 20, 2018 · 6 comments

Comments

@ericsfraga
Copy link

I recently installed twittering-mode from melpa as I used to use a very old version. It failed to run in latest emacs snapshot (or very recent one in any case) because twittering-mode tries to use epa--decode-coding-string which is not defined. Adding the following to my configuration fixed this:

(defalias 'epa--decode-coding-string 'decode-coding-string)

krosenmann pushed a commit to krosenmann/twittering-mode that referenced this issue Dec 17, 2018
…macs

versions greater than or equal to 27 (current snapshot) and backward
compatibility with stable version (26) and older.
krosenmann pushed a commit to krosenmann/twittering-mode that referenced this issue Dec 17, 2018
…macs

* twittering-mode.el: In Emacs version 27 function
(epa--decode-coding-string) was renamed to (decode-coding-string)
and it's cause the error on snapshot version of Emacs.
Proof:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=21ab346a07eff8ba43cb2738dc6752f012b77670
@krosenmann
Copy link

I've got the same issue on emacs-snapshot.
I don't actually like hackie patches, but in this case, don't know the way how to make it better. Tested on my 27.0.50 -- works correctly.

@krosenmann
Copy link

This happened because of that: Drop some epg/epa backwards compat code for ancient Emacs versions

@carlcash
Copy link

can also use epa-file--decode-coding-string

@fiolj
Copy link

fiolj commented Aug 28, 2020

Same issue here on:

  • GNU Emacs 27.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.21, cairo version 1.16.0) of 2020-08-20
  • Package-Version: 20181121.1402
  • Identity: $Id: fb19946d706684ccd33bcd810e98638d7374964c $

Finally decided to modify the line 3114 of the source twittering-mode.el

@@ -3911,7 +3911,7 @@
 	 nil))
       (when decrypted-result
 	(setq decrypted-result
-	      (epa--decode-coding-string
+	      (decode-coding-string
 	       decrypted-result
 	       (or coding-system-for-read 'undecided))))
       (if (epg-context-result-for context 'verify)

@jangid
Copy link

jangid commented Nov 1, 2020

Can somebody make this patch available in MELPA? Please.

anoduck added a commit to anoduck/twittering-mode that referenced this issue Nov 29, 2022
`(epa--decode-coding-string` changed to `(decode-coding-string` as per hayamiz#154
@anoduck
Copy link

anoduck commented Nov 29, 2022

This issue has existed for over four years. It is clearly evident, the project is no longer being maintained and has been abandoned by its developer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants