ruediger / emacs-codepad Goto Github PK
View Code? Open in Web Editor NEWEmacs integration for codepad.org
Emacs integration for codepad.org
When I try to use codepad-paste-, it does the http-request (the past shows up on codepad), but I get the following error-messages in my *Messages-Buffer:
error in process filter: url-http-chunked-encoding-after-change-function: Symbol's value as variable is void: url-max-redirections
error in process filter: Symbol's value as variable is void: url-max-redirections
M-x emacs-version says:
GNU Emacs 23.0.94.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2009-10-26 on braeburn.aquamacs.org - Aquamacs Distribution 2.0preview3
With all the commands I got this error in the minibuffer
Just to be sure, I started emacs with emacs -Q
, and I did the following:
M-x toggle-debug-on-error
Copy/pasted codepad.el
into ~/.emacs.d/elisp/codepad.el
In a buffer, I selected the following lines:
(add-to-list 'load-path "~/.emacs.d/elisp") ;; replace PATH with the path to codepad.el
(autoload 'codepad-paste-region "codepad" "Paste region to codepad.org." t)
(autoload 'codepad-paste-buffer "codepad" "Paste buffer to codepad.org." t)
(autoload 'codepad-fetch-code "codepad" "Fetch code from codepad.org." t)
Then I ran M-x eval-region
. All seemed fine (No errors were detected).
I selected some text, and ran M-x codepad-paste-region
, and nothing seems to happen. I only get the following message in the *Messages*
and mini buffers:
Contacting host: codepad.org:80
Am I missing something, or is this package broken?
Here is my system information, if it helps:
[my-pc]/home/.../.emacs.d/elisp$ uname -a
Linux my-pc 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST 2015 x86_64 GNU/Linux
[my-pc]/home/.../.emacs.d/elisp$ emacs --version
GNU Emacs 24.5.1
Copyright (C) 2015 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
I get the following error with the latest version from github:
Warning: defvar ignored because url-request-extra-headers is let-bound
Warning: defvar ignored because url-request-method is let-bound
error in process filter: progn: peculiar error: "http://codepad.org/STg1vXEF"
error in process filter: peculiar error: "http://codepad.org/STg1vXEF"
M-x emacs-version says the following:
GNU Emacs 23.0.94.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2009-11-12 on braeburn.aquamacs.org - Aquamacs Distribution 2.0dev
Is this a problem caused by an old url.el? If so, please close this ticket :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.