From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Ren=E9_Kyllingstad?= Newsgroups: gmane.emacs.devel Subject: Re: major mode in new buffers Date: Tue, 30 Mar 2010 17:51:29 +0200 Message-ID: <2f8988ff1003300851v798813f2sd858b27e027a8a7d@mail.gmail.com> References: <2f8988ff1003300457w38ee4bf0h259cd7a7187298e0@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1269964332 23753 80.91.229.12 (30 Mar 2010 15:52:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 30 Mar 2010 15:52:12 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 30 17:52:09 2010 Return-path: Envelope-to: ged-emacs-devel@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 1NwdjY-0000kl-HW for ged-emacs-devel@m.gmane.org; Tue, 30 Mar 2010 17:52:04 +0200 Original-Received: from localhost ([127.0.0.1]:51437 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwdjX-0000eT-RS for ged-emacs-devel@m.gmane.org; Tue, 30 Mar 2010 11:52:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwdjR-0000dm-SZ for emacs-devel@gnu.org; Tue, 30 Mar 2010 11:51:57 -0400 Original-Received: from [140.186.70.92] (port=60356 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwdjQ-0000d7-Au for emacs-devel@gnu.org; Tue, 30 Mar 2010 11:51:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwdjM-0005j8-La for emacs-devel@gnu.org; Tue, 30 Mar 2010 11:51:54 -0400 Original-Received: from mail-bw0-f219.google.com ([209.85.218.219]:46017) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwdjM-0005j1-2D for emacs-devel@gnu.org; Tue, 30 Mar 2010 11:51:52 -0400 Original-Received: by bwz19 with SMTP id 19so41394bwz.26 for ; Tue, 30 Mar 2010 08:51:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:received:message-id :subject:to:content-type:content-transfer-encoding; bh=GWO6vqp2K2RDQqG29+dlt/DpbqGzVuJIg4NIXr4kdZA=; b=xWbLYtHyE5m7wEPOI6CO4sgdmsAAci/PZPV16aHtMZlFbg9on1pMIkpGVub2R6EIK0 Svs56vZsASdLsOTPSHqJCfIO025ZiroOXqun2VfTM+NpMVC1P79DtP6VVs4VEOQUNyM8 V98fTjIG3BmCs/LoiBIJWd5Z0gxhBaKpfkOAI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=lCKGnuHuvhppkfEJOjqx4GV/AljL5iGLakdHXCDnD0vcQe7S2wuuJ3T4oG3pnOcZTz EaawcabAK/+hn28UW8r0LbvlAVgQD1BKHuho4rNgjZxZsjZv6gEVJURXenDQW3yGhzd+ 084qP8AjpDAHZl3Z48l7XRZkcLS96Xu849MGg= Original-Received: by 10.204.103.204 with HTTP; Tue, 30 Mar 2010 08:51:29 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: 3d4023cc02e619c9 Original-Received: by 10.204.24.134 with SMTP id v6mr541667bkb.204.1269964309596; Tue, 30 Mar 2010 08:51:49 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:122916 Archived-At: 2010/3/30 Stefan Monnier : >> new buffers get default-major-mode. I would find it more convenient if >> auto-mode-alist was used. > > So you create non-file buffer that have names that look like file names? >From time to time, for example to diff when the file I'm editing has changed on disk, or to have a piece of code available in a small temporary buffer, or to quickly jot down some notes when I'm interrupted. -- Ren=E9