Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 31, 2014
  1. @tamsky
Commits on Oct 19, 2014
  1. @elibarzilay

    Fix a bug in `edit-server-choose-major-mode'.

    elibarzilay authored
    Looks like commit a4e1dbe mistakenly dropped the fallback to
    `edit-server-default-major-mode'.  Bring it back.  No need for the test
    now, since `edit-server-default-major-mode' can't be nil (according to
    its declaration).
  2. @elibarzilay

    Fix header searching.

    elibarzilay authored
    Remove two CR characters that are not needed (since the regexp string
    already has a "\r"), and also remove the strange "?" from the regexp (my
    best guess is that this is a mistake due to some earlier attemt that
    used the popular "\r?" pattern).
  3. @elibarzilay

    Style fixes.

    elibarzilay authored
    Two misindented line, one use of ";" that should be ";;", a couple of
    `if's that are better written as `when's, missing space, typo, avoid
    calling `get-buffer' with "".
  4. @elibarzilay

    Fix docstrings of `edit-server-log-buffer-name'.

    elibarzilay authored
    It's not a template, since it's used with `get-buffer-create'.
Commits on Sep 8, 2014
Commits on Dec 29, 2013
  1. edit-server.el: add edit-server-edit-mode-hook (#91, #94)

    This provides a late hook for once every thing is set-up and the user
    may want to mess with the display. You shouldn't use this hook for
    setting modes as this will likely confuse the minor mode magic we are
Commits on Dec 28, 2013
  1. edit-server-new-frame: clean-up and re-factor (ref pull #97)

    A pull request to fix up focusing of the new frame on MacOS lead me to
    re-factor this code so all the frame raising logic is common for the
    new-frame and re-use frame options. Also:
    * Clean up tabs
    * Clean up doc string
Commits on Nov 8, 2013
Commits on Oct 28, 2013
  1. @dato

    edit-server.el: do not call `set-buffer-multibyte` in the process buffer

    dato authored
    In edit-server-accept, set-buffer-multibyte is called, but it's applied to
    whatever buffer was previously active because the call is not wrapped with
    `with-current-buffer`. This makes edit-server fail if that previously
    active buffer is an indirect buffer (set-buffer-multibyte is illegal in an
    indirect buffer).
    Rather than add with-current-buffer, though, just remove the call
    altogether. It is not necessary for the process buffer to be multibyte.
Commits on Oct 20, 2013
  1. edit-server.el: avoid redundant call to hooks (#92)

    If we don't clear the kill-buffer-hook we'll end up doing it all over
Commits on Sep 27, 2013
  1. Final clean-up of background processing

    I had to move the background scripts back to a background page as it was needed for a temporary place to store clipboard contents. I've also added a bunch of explanation for the set-up to the help text.
Commits on Aug 11, 2013
  1. edit-server.el: add a edit-server-foreground-frame parameter to any f…

    we create as a result of a foreground request.
Commits on Aug 6, 2013
Commits on Aug 4, 2013
  1. Add initial support for "foreground" command

    This is mainly for the benefit of Chromebooks who have a chroot'ed emacs that can run on the main display window. When enabled the /foreground command will make emacs pop up in the front of the display without an edit buffer when there is no text area in focus and the button is clicked.
Commits on May 28, 2013
  1. edit-server: fix bug with fmt chars in URL (#80)

    I've expanded the test cases for good measure.
Commits on Apr 15, 2013
  1. @purcell

    Add autoload cookie for edit-server-start

    purcell authored
    With this addition, users who have installed edit-server from a
    package will be able to interactively start the edit server without
    first needing to explicitly load the library.
Commits on Dec 5, 2012
  1. Merge pull request #69 from aspiers/master

    Add some advice before save-buffers-kill-emacs to avoid unnecessary prompt on exit
Commits on Dec 4, 2012
  1. @aspiers

    Add some advice before save-buffers-kill-emacs to avoid unnecessary p…

    aspiers authored
    …rompt on exit
    Also disable the same advice on server stop, to avoid
    advice redefinition warnings on server restart.
Commits on Dec 3, 2012
  1. edit-server: add a kludge for edit-server-save restoration

    I think this is a bug in Emacs but copy-to-buffer doesn't seem to work
    on re-used buffers. So I'll copy the returned text into the kill-ring
    for now.
Commits on Sep 27, 2012
  1. edit-server.el: more fix-up of the URL parsing

    It seems my attempt to parse to ^M was premature. The parsing needs to
    handle both line-end cases as Chrome seems to randomly decide which
    ones to put in the headers.
Commits on Sep 18, 2012
  1. edit-server.el: fix up regex parsing of the edit request

     * match the whole URL (sans trailing RET)
     * rename the get buffer function
    There are still a few warts to fix for save-progress to work properly.
    Namely at the moment after each C-x C-s this will cause additional
    re-sends of the data back. It still works, it's just ugly.
Commits on Sep 11, 2012
  1. edit-server: handle x-file header option for iterative editing.

    This should mean we re-use the existing buffer. It's not working for
    me at the moment and I'm not sure why.
Commits on Sep 8, 2012
  1. Raise existing frame consistently on Mac.

    Le Wang authored
    - rename `edit-server-create-frame` since it does more
Commits on Sep 5, 2012
  1. edit-server: fix issue #62, broken by re-factor.

    authored Alex Bennee committed
  2. Merge pull request #61 from capitaomorte/master

    Use UTF-8 coding for process communication
Commits on Aug 30, 2012
  1. edit-server: send x-file and x-open headers for edit-server-save

    This is part one of incremental save support. When we run C-x
    C-s (edit-server-save) we add headers to the response. The browser
    interprets those as an in-progress save and sends a fresh edit request
    At the moment this will create a brand new buffer. However once the
    edit-server is aware of the x-file parameter we should be able to just
    bring back the buffer we were editing.
Commits on Jul 30, 2012
  1. @capitaomorte
Commits on Apr 25, 2012
  1. @mikeshulman
  2. @mikeshulman
Commits on Feb 29, 2012
Commits on Nov 5, 2011
  1. @tarsius
  2. @tarsius

    make variables local using `make-variable-buffer-local'

    tarsius authored
    Variable `edit-server-client' is not used as buffer local variable;
    move it's definition and don't set the `permanent-local' property.
Something went wrong with that request. Please try again.