From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: Emacs ignores modified state of "untitled" buffer Date: Fri, 21 May 2010 22:56:48 +0200 Message-ID: References: <51707DDA-8D52-4D9F-9FD4-461987F2DEDE@nf.mpg.de> <13332868-CB10-41EE-AED7-3980DEB97220@nf.mpg.de> <6766F35D-7454-49D5-AE41-F4362685410E@nf.mpg.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1274475490 27910 80.91.229.12 (21 May 2010 20:58:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 May 2010 20:58:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Kevin Rodgers To: Stefan Vollmar Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 21 22:58:08 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OFZIF-0000CI-E2 for geh-help-gnu-emacs@m.gmane.org; Fri, 21 May 2010 22:58:07 +0200 Original-Received: from localhost ([127.0.0.1]:41835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFZIE-00085U-ML for geh-help-gnu-emacs@m.gmane.org; Fri, 21 May 2010 16:58:06 -0400 Original-Received: from [140.186.70.92] (port=34283 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFZHK-000827-IT for help-gnu-emacs@gnu.org; Fri, 21 May 2010 16:57:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFZHJ-0006V1-7w for help-gnu-emacs@gnu.org; Fri, 21 May 2010 16:57:10 -0400 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:52149) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFZHJ-0006Uq-4y for help-gnu-emacs@gnu.org; Fri, 21 May 2010 16:57:09 -0400 Original-Received: by gyg4 with SMTP id 4so892409gyg.0 for ; Fri, 21 May 2010 13:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=5FxRv/l1I204EzuKlIAzyiADfv1tK1omH0mbknGUKpM=; b=T+P0owtQL2RPji4HzqmOzrkQ4MsJsvfqAZNUaK1r8RltL5NuwJZaatIUXg728iRXRJ xc7//DZamrsxG7foLPE2+CMiyJbAFZsxUgievTRFbyiad5hErIUV31QrRYlQ+HQM0WPK SgJtj0R/tnlJXu2qjjKZyyGWXHQWDIJtYcl+o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=lO8ugojXLz9/WGV2Sedla269LDxQJLM9XyV12ZmoiOMt4fNv6angsr5PwWhJhdSbFE li9oXrAE9R8bSzz68BKvIClPXLhOw30AwCxPhNHHslOUZafvlgnyjiBoHYE9PgsBfsxb 6AYPgPxltdSDhGYEcKMIU02k0spd9ZGXM1xS0= Original-Received: by 10.101.202.2 with SMTP id e2mr2702405anq.269.1274475428468; Fri, 21 May 2010 13:57:08 -0700 (PDT) Original-Received: by 10.100.177.20 with HTTP; Fri, 21 May 2010 13:56:48 -0700 (PDT) In-Reply-To: <6766F35D-7454-49D5-AE41-F4362685410E@nf.mpg.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73724 Archived-At: > With > > (require 'switch-to-new-buffer) > (put 'buffer-offer-save 'permanent-local t) > (let ((default-major-mode 'org-mode)) > =C2=A0(switch-to-new-untitled-buffer)) > (setq initial-buffer-choice 'none) > > in site-start.el and Kevin's last version of switch-to-new-buffer, Emacs = will now start with an "untitled" buffer (in Org-mode; no splashscreen), al= ways ask to save data in a dirty "untitled" buffer and also dropping a file= on the Emacs Windows icon shortcut will open it. I have sent a bug report asking for buffer-offer-save to be permanent-local= .