Git Product home page Git Product logo

Comments (2)

frobtech avatar frobtech commented on July 19, 2024

github's issue tracker doesn't seem to support attachments, so this may be
munged. Here's a patch to edit-server.el. Btw, this file could use a
version number tag.

permanent-local-patch

Index: edit-server.el
===================================================================
RCS file: /home/roland/repository/elisp/19/edit-server.el,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -p -r1.4 -r1.5
--- edit-server.el  10 Aug 2011 17:14:09 -0000  1.4
+++ edit-server.el  10 Aug 2011 18:26:20 -0000  1.5
@@ -118,29 +118,37 @@ If nil, the new frame will use the exist
 (defvar edit-server-proc 'nil
    "Network process associated with the current edit, made local when
  the edit buffer is created")
+(put 'edit-server-proc 'permanent-local t)

 (defvar edit-server-frame 'nil
    "The frame created for a new edit-server process, made local when
  then edit buffer is created")
+(put 'edit-server-frame 'permanent-local t)

 (defvar edit-server-clients '()
    "List of all client processes associated with the server process.")
+(put 'edit-server-clients 'permanent-local t)

 (defvar edit-server-phase nil
    "Symbol indicating the state of the HTTP request parsing.")
+(put 'edit-server-phase 'permanent-local t)

 (defvar edit-server-received nil
    "Number of bytes received so far in the client buffer.
 Depending on the character encoding, may be different from the buffer length.")
+(put 'edit-server-received 'permanent-local t)

 (defvar edit-server-request nil
    "The HTTP request (GET, HEAD, POST) received.")
+(put 'edit-server-request 'permanent-local t)

 (defvar edit-server-content-length nil
    "The value gotten from the HTTP `Content-Length' header.")
+(put 'edit-server-content-length 'permanent-local t)

 (defvar edit-server-url nil
    "The value gotten from the HTTP `x-url' header.")
+(put 'edit-server-url 'permanent-local t)

 ;; Mode magic
 ;

from emacs_chrome.

stsquad avatar stsquad commented on July 19, 2024

Apologies for the delay in merging this. Now merged into master. Thanks for your contribution.

from emacs_chrome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.