From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: latex template Date: Sat, 08 May 2010 19:03:43 +0300 Message-ID: <837hneqt28.fsf@gnu.org> References: <20100508151616.GA778@debian-eeepc> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1273334867 12850 80.91.229.12 (8 May 2010 16:07:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 8 May 2010 16:07:47 +0000 (UTC) To: gnu-emacs-help@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 08 18:07:45 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 1OAmZ4-0003zG-CF for geh-help-gnu-emacs@m.gmane.org; Sat, 08 May 2010 18:07:42 +0200 Original-Received: from localhost ([127.0.0.1]:50156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OAmZ1-0007wL-AU for geh-help-gnu-emacs@m.gmane.org; Sat, 08 May 2010 12:07:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OAmYE-0007up-9k for help-gnu-emacs@gnu.org; Sat, 08 May 2010 12:06:50 -0400 Original-Received: from [199.232.76.173] (port=40136 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OAmYD-0007uO-PE for help-gnu-emacs@gnu.org; Sat, 08 May 2010 12:06:49 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1OAmYB-0002Zd-E6 for help-gnu-emacs@gnu.org; Sat, 08 May 2010 12:06:49 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:42920) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1OAmYA-0002ZY-DC for help-gnu-emacs@gnu.org; Sat, 08 May 2010 12:06:47 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:44714 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAmY9-0005Jw-Dq for gnu-emacs-help@gnu.org; Sat, 08 May 2010 12:06:45 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37303) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OAmY8-0002ZP-88 for gnu-emacs-help@gnu.org; Sat, 08 May 2010 12:06:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OAmY4-0000Ni-H6 for gnu-emacs-help@gnu.org; Sat, 08 May 2010 12:06:42 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:35961) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAmY4-0000NJ-9X for gnu-emacs-help@gnu.org; Sat, 08 May 2010 12:06:40 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L2300M00Z4YPW00@a-mtaout22.012.net.il> for gnu-emacs-help@gnu.org; Sat, 08 May 2010 19:05:49 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.0.144]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L2300KTOZDJDN60@a-mtaout22.012.net.il> for gnu-emacs-help@gnu.org; Sat, 08 May 2010 19:05:47 +0300 (IDT) In-reply-to: <20100508151616.GA778@debian-eeepc> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:73587 Archived-At: > Date: Sun, 9 May 2010 01:16:16 +1000 > From: Daniel Dalton > Cc: > > I have a latex template I constantly use for all documents and have to > insert into all new files. It just contains the basic preamble stuff. Is > it possible to have this template I have which is just lines of latex > source automatically inserted into new files which emacs recognises as > "latex-mode"? Take a look at autoinsert.el. This and other similar facilities are documented in the "autotype" manual which comes with Emacs.