hayamiz / twittering-mode

An Emacs major mode for Twitter
http://twmode.sourceforge.net/
545 stars 92 forks source link

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

Open ericsfraga opened 5 years ago

ericsfraga commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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

carlcash commented 5 years ago

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

fiolj commented 3 years ago

Same issue here on:

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 commented 3 years ago

Can somebody make this patch available in MELPA? Please.

anoduck commented 1 year ago

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.