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: p tags and indenting in Html Mode Date: Wed, 2 Sep 2009 16:51:10 +0200 Message-ID: References: <7ctyzop7gg.fsf@pbourguignon.anevia.com> <4a9e6212.0c58560a.78a1.ffffb4fc@mx.google.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1251903139 10709 80.91.229.12 (2 Sep 2009 14:52:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Sep 2009 14:52:19 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Richard Riley Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 02 16:52:12 2009 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.50) id 1MirC0-0005aH-9P for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Sep 2009 16:52:12 +0200 Original-Received: from localhost ([127.0.0.1]:40665 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MirBy-0002pN-Om for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Sep 2009 10:52:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MirBT-0002lZ-3y for help-gnu-emacs@gnu.org; Wed, 02 Sep 2009 10:51:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MirBN-0002bP-Ax for help-gnu-emacs@gnu.org; Wed, 02 Sep 2009 10:51:37 -0400 Original-Received: from [199.232.76.173] (port=59678 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MirBN-0002b4-3F for help-gnu-emacs@gnu.org; Wed, 02 Sep 2009 10:51:33 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:30908) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MirBM-0008Nq-JR for help-gnu-emacs@gnu.org; Wed, 02 Sep 2009 10:51:32 -0400 Original-Received: from mail-yx0-f192.google.com ([209.85.210.192]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MirBM-00084P-1l for help-gnu-emacs@gnu.org; Wed, 02 Sep 2009 10:51:32 -0400 Original-Received: by yxe30 with SMTP id 30so1419214yxe.24 for ; Wed, 02 Sep 2009 07:51:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=aKf+81T0vBDpgeq59D+pjwcR/MEZm0wGsHqpgk7JPsM=; b=tw2XfX0TzTbdaHjU6KxY4LZ2ZbUhwffxC1eUOZWyti7Nknx8z3URjo/+t8QY2UkXbl IerVivcU5dryP05Su9hTS7EuDx0NmBBCEuqhp2WWj37N15/0pwWLgZPUUedyx70ntsPM V05AnamKSkOKPoxBPlCQLdEFgEphqKG5jME6c= 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; b=xdQHTrOKSaJzTxCtBA8xc1kEIR6RI9heM4teI+Z20HnVLL29gOuoJ26UxR324Wp7IG S/McWkR7zdVT00DbUcSLtQluhCgwifkN94ZS+Sfn2M8K4LIrupULHRC2MMJLNO/dltNf pUUde5rpn83f/bctnhhpJdbH4kte4rFuPb7EU= Original-Received: by 10.101.33.8 with SMTP id l8mr9247840anj.167.1251903090317; Wed, 02 Sep 2009 07:51:30 -0700 (PDT) In-Reply-To: <4a9e6212.0c58560a.78a1.ffffb4fc@mx.google.com> X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:67752 Archived-At: On Wed, Sep 2, 2009 at 2:16 PM, Richard Riley wrote: > > company-mode seems the most promising for general completion of keywords > and so forth, but does not have the smart completion for tag specific > attributes you have in nxtml I think (I never used that feature to be > honest since html tags are pretty limited anyway). I think you can say that company-mode is akin to completing-read in the sense that it present the completion candidates to the user, but it does not know how to get the completion candidates. The way company-mode presents them looks very nice, There is also completionUI that is similar in structure. Both these are distributed with some examples. I actually wrote a backend for company-mode for nxhtml-mode. It works pretty nice, but some changes have to be made to company-mode to make it do everything the current popup menus in nXhtml can do. (There is a lot the popup menus can't do of course, but I wrote them for nXhtml so they can do what nxhtml-mode needs.) When wrote this backend I also noticed a bug in Emacs that prevented the use overlays the way company-mode uses them. (If someone is interested and have time to fix this please do.)