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

Update the textarea each time I save #30

Closed
jeromegit opened this issue Jan 7, 2011 · 3 comments
Closed

Update the textarea each time I save #30

jeromegit opened this issue Jan 7, 2011 · 3 comments

Comments

@jeromegit
Copy link

Hi,
Thanks again for the great extension!
I edit a lot of wikipages and this is a life savor.
Now, one thing I wish was possible would be to update the textarea each time I save BUT not quit the session. A 'C-x C-x' could sever the connection once fully done
Another wish along the same line would be to save the buffer in a predetermine location on the disk and allow to not delete it. I have been saved by those "temporary files" a few time when I was using mozdev in the past.

Thanks!

@stsquad
Copy link
Owner

stsquad commented Jan 8, 2011

There is already partial support for iterative editing in the git tree. The Javascript side already handles re-sending files (see commit cc1a02a). However so far the only python server has been tweaked.

There is a work in progress branch which I was trying to get the emacs server working (see https://github.com/stsquad/emacs_chrome/tree/interactive_rebase) but it contains a bug which I haven't been able to figure out yet. If your comfortable with hacking elisp you can have a look at it.

As far as saving edit text to a file you can use the edit-server-done-hook to do that sort of thing.

@VladimirAlexiev
Copy link

I'd also find this extremely useful. For me C-x C-s is second nature (I save my work every minute)!
The emacs server should first associate the buffer with a temporary file: now buffer-file-name is nil.
The FireFox extension It's All Text does it this way...

@stsquad
Copy link
Owner

stsquad commented Oct 22, 2014

Cleaning up, I realise this support has been in for some time.

@stsquad stsquad closed this as completed Oct 22, 2014
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

3 participants