From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: p tags and indenting in Html Mode Date: Wed, 02 Sep 2009 17:31:36 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: <4a9e8fda.1438560a.4d30.2eb4@mx.google.com> 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=us-ascii X-Trace: ger.gmane.org 1251905538 19464 80.91.229.12 (2 Sep 2009 15:32:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Sep 2009 15:32:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Richard Riley To: Lennart Borgman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 02 17:32:11 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 1Miroe-0005lb-QB for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Sep 2009 17:32:09 +0200 Original-Received: from localhost ([127.0.0.1]:59412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Miroc-0000da-PF for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Sep 2009 11:32:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MiroL-0000dA-Md for help-gnu-emacs@gnu.org; Wed, 02 Sep 2009 11:31:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MiroI-0000cp-Vp for help-gnu-emacs@gnu.org; Wed, 02 Sep 2009 11:31:49 -0400 Original-Received: from [199.232.76.173] (port=36119 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiroI-0000cm-TF for help-gnu-emacs@gnu.org; Wed, 02 Sep 2009 11:31:46 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.156]:14655) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MiroI-0000iC-0Q for help-gnu-emacs@gnu.org; Wed, 02 Sep 2009 11:31:46 -0400 Original-Received: by fg-out-1718.google.com with SMTP id e21so683450fga.12 for ; Wed, 02 Sep 2009 08:31:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:cc:subject :organization:references:date:in-reply-to:user-agent:mime-version :content-type; bh=eMxId4ZK5q4dv3iwVpeGykKLYFaevaI3ptmgOqszn4E=; b=cGo254peJrsju2X8g870IC9/3GbJL0OYF+M/Bl2VjmZJhMyhgLpoYeGWS819lSjPK3 IPkN3PcweW23HzTYjCCBymC5VGtNnJTT0jn1VEdaBf6L1czEXXiKEb5DO+p2lTNlTVMW fkHE6UxidJ2u0fKWiDIBQ7mxaiDdZ6/z2dgoo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:cc:subject:organization:references:date :in-reply-to:user-agent:mime-version:content-type; b=QDNvbbikip51Cw5SF3vE6y8nS7+JJ5PMp1e6fXPocWZQkMxALW5+OLP0OtyszyCthd 66e0UocVkAc6G2MwBk42JJ8wGCAZEQicG4qlJmDhk3ChHCTw4w8O8v4U5iOCI+YxHY4/ ozwIYjsdZh9KDTHAt9PPyZ/yuyiyZJljmiMak= Original-Received: by 10.86.242.15 with SMTP id p15mr2698199fgh.14.1251905499439; Wed, 02 Sep 2009 08:31:39 -0700 (PDT) Original-Received: from localhost ([85.183.18.158]) by mx.google.com with ESMTPS id e20sm3362751fga.25.2009.09.02.08.31.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Sep 2009 08:31:38 -0700 (PDT) In-Reply-To: (Lennart Borgman's message of "Wed, 2 Sep 2009 16:51:10 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.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:67758 Archived-At: Lennart Borgman writes: > 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, I'm not sure of the context of your meaning there when you say company does not know how to get completion candidates. One thing thats excellent is the semantic backend : excellent completion in C for example including libraries. Things like company-dabbrev make suitable completion candidates for more general buffers. company and semantic seem to be the way for completion in emacs from what I have seen and tried. The water is very muddy though with many competing methods such as anything, ido and others : I'm really not even sure where the overlaps in getting completion candidates occurs anymore. > > 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.) > --