all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: sergio <mailbox@sergio.spb.ru>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs exiting
Date: Thu, 08 Dec 2011 14:20:37 +0400	[thread overview]
Message-ID: <4EE08F75.3010407@sergio.spb.ru> (raw)
In-Reply-To: <87d3bz4jix.fsf@tsdh.uni-koblenz.de>

On 12/08/2011 11:20 AM, Tassilo Horn wrote:

> But only if you say "no" when being queried if the changes should be
> saved to the file.
The main question is "exit without saving", so I must answer "no".

> One way would be to write your own version ...
It's very difficult. But as I just realized kill-buffer removes #file#
even if modification were made. It doesn't close emacs, so it doesn't
solve problem, but I think it's not very difficult to write own function
which kills buffer and closes emacs.

> You could also disable auto-saving completely:
No, as I said this is absolutely impossible. I used to that vim takes
care about this and I don't have (and don't want to have) habit to save
file.

> But I don't think it's a good idea to turn off auto saving.
I think it's very bad idea.

-- 
sergio.



  reply	other threads:[~2011-12-08 10:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-07 22:16 emacs exiting sergio
2011-12-08  4:07 ` Alexander
2011-12-08  6:27   ` sergio
2011-12-08  7:20     ` Tassilo Horn
2011-12-08 10:20       ` sergio [this message]
2011-12-08 10:24       ` Andreas Röhler
2011-12-08  8:57 ` Eric S Fraga
2011-12-08 16:11 ` Peter Münster

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EE08F75.3010407@sergio.spb.ru \
    --to=mailbox@sergio.spb.ru \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.