From: Joost Kremers <joost.m.kremers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: erin-mode: problem with auto-mode-alist and saving
Date: 23 Oct 2015 11:26:41 GMT [thread overview]
Message-ID: <d8ujrhF87liU2@mid.individual.net> (raw)
In-Reply-To: 87h9lhx39e.fsf@hornfels.zedat.fu-berlin.de
Loris Bennett wrote:
> Joost Kremers <joost.m.kremers@gmail.com> writes:
>> I'm pretty sure with edit-server.el you're not really supposed to save
>> the buffer. Just type `C-x #` when you're done editing. That'll send the
>> contents of the buffer to Chrome and kill the buffer.
>
> Yes, it really doesn't look as if you are supposed to save the buffer.
> However, if I'm taking the minutes of an hour-and-a-half-long meeting in
> a corner of the building where the wifi is a bit flakey, my 'C-x C-s'
> reflex kicks in. However, as the text is only written to the text box,
> it won't help me if the connection goes down just as I try to save
> within the browser.
Perhaps you should just keep the minutes in a separate temp file and
only copy&paste it to the browser when the meeting's done?
> It would be nice if there were some way to attach a file to a file-less
> buffer, just in case.
Found this on Stack Overflow:
http://stackoverflow.com/questions/8849661/is-it-possible-to-autosave-temporary-buffers-that-are-not-visiting-a-file
Apparently, `auto-save-mode` will work with buffers that are not
visiting a file.
Also:
http://stackoverflow.com/questions/18770669/how-can-i-save-as-in-emacs-without-visiting-the-new-file
For ways to manually write a buffer to a file without visiting it.
HTH
--
Joost Kremers joostkremers@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
prev parent reply other threads:[~2015-10-23 11:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-22 14:03 erin-mode: problem with auto-mode-alist and saving Loris Bennett
2015-10-22 14:19 ` Stefan Monnier
[not found] ` <mailman.791.1445523623.7904.help-gnu-emacs@gnu.org>
2015-10-22 15:05 ` Loris Bennett
2015-10-22 22:34 ` Stefan Monnier
[not found] ` <mailman.839.1445553269.7904.help-gnu-emacs@gnu.org>
2015-10-23 7:49 ` Loris Bennett
2015-10-23 9:58 ` Joost Kremers
2015-10-23 10:55 ` Loris Bennett
2015-10-23 11:26 ` Joost Kremers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d8ujrhF87liU2@mid.individual.net \
--to=joost.m.kremers@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).