From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: erin-mode: problem with auto-mode-alist and saving Date: 23 Oct 2015 11:26:41 GMT Message-ID: References: <8737x3xaoo.fsf@hornfels.zedat.fu-berlin.de> <87oafrvt85.fsf@hornfels.zedat.fu-berlin.de> <87zizavxbs.fsf@hornfels.zedat.fu-berlin.de> <87h9lhx39e.fsf@hornfels.zedat.fu-berlin.de> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445599832 31108 80.91.229.3 (23 Oct 2015 11:30:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2015 11:30:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 23 13:30:31 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZpaYB-0005zZ-Il for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Oct 2015 13:30:23 +0200 Original-Received: from localhost ([::1]:37730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpaYA-0000cG-OC for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Oct 2015 07:30:22 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-X-Trace: individual.net Sdzd40JnNUNhvPP6Kn8VwAwxeX6Mmx6CqMMjGSTx8BVJDR2kiA Cancel-Lock: sha1:vx0gUHSArsiIVjIuwTdUqP0zfY0= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/1.0.1 (Linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:215511 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107796 Archived-At: Loris Bennett wrote: > Joost Kremers 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)