From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Friedrich Laher Newsgroups: gmane.emacs.help Subject: Re: editing html - auto insert end tags Date: Thu, 18 Aug 2005 13:02:41 +0200 Message-ID: <43046AD1.802@schmieder-laher.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1124366062 30244 80.91.229.2 (18 Aug 2005 11:54:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Aug 2005 11:54:22 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 18 13:54:13 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E5ixT-0003Rb-6Z for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Aug 2005 13:53:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E5j0y-0000xs-Tt for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Aug 2005 07:56:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E5idY-00015L-Mz for help-gnu-emacs@gnu.org; Thu, 18 Aug 2005 07:32:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E5idW-00014m-Uu for help-gnu-emacs@gnu.org; Thu, 18 Aug 2005 07:32:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E5icN-0008AI-1R for help-gnu-emacs@gnu.org; Thu, 18 Aug 2005 07:31:31 -0400 Original-Received: from [212.227.126.188] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E5iTr-0007yc-T6 for help-gnu-emacs@gnu.org; Thu, 18 Aug 2005 07:22:44 -0400 Original-Received: from p54A18F3F.dip0.t-ipconnect.de [84.161.143.63] (helo=schmieder-laher.de) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0MKwtQ-1E5iDu2ssl-0006pX; Thu, 18 Aug 2005 13:06:14 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en Original-To: chris , help-gnu-emacs@gnu.org In-Reply-To: X-Provags-ID: kundenserver.de abuse@kundenserver.de login:d0a55953dfb65f372f82ef4b3cf5b37b 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:28818 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28818 just some idea (setq htmlTagWriting nil) (defun htmlOpeningTag () (interactive) (insert "<>") (setq htmlStartTagMarkEnd (point-marker)) (backward-char 1) (setq htmlStartTagMarkBeg (point-marker)) (setq htmlTagWriting t) ) (defun htmlClosingTag () (interactive) (when htmlTagWriting (goto-char htmlStartTagMarkEnd) (insert " Gian Uberto Lauri wrote: > >>>>>>> "c" == chris writes: >>>>>> >> >> c> Hi, Does anyone know of a html mode that will auto insert the end >> c> tags as I type. If is typed, it'll add straight >> c> away? >> >> html-helper-mode does something like this for some tags... > > > Do you have to turn it on manually? I have html-helper-mode here but > it doesn't do it. I had a look for a more recent version, but there > are loads of pages out there hosting it all with varying versions. > > > Thanks, > Chris > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs >