all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrgdev@googlemail.com>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: help-gnu-emacs@gnu.org, Richard Riley <rileyrgdev@googlemail.com>
Subject: Re: p tags and indenting in Html Mode
Date: Wed, 02 Sep 2009 17:31:36 +0200	[thread overview]
Message-ID: <4a9e8fda.1438560a.4d30.2eb4@mx.google.com> (raw)
In-Reply-To: <e01d8a50909020751p4e6135ct7e6a28668bd6b8a9@mail.gmail.com> (Lennart Borgman's message of "Wed, 2 Sep 2009 16:51:10 +0200")

Lennart Borgman <lennart.borgman@gmail.com> writes:

> On Wed, Sep 2, 2009 at 2:16 PM, Richard Riley<rileyrgdev@googlemail.com> 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.)
>

-- 




  reply	other threads:[~2009-09-02 15:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5697.1251714881.2239.help-gnu-emacs@gnu.org>
2009-08-31 11:07 ` p tags and indenting in Html Mode Pascal J. Bourguignon
2009-08-31 11:58   ` Richard Riley
2009-08-31 14:24     ` Tyler Smith
2009-09-01 22:31       ` Edward O'Connor
2009-08-31 22:27     ` Lennart Borgman
     [not found]     ` <mailman.5747.1251757661.2239.help-gnu-emacs@gnu.org>
2009-08-31 23:44       ` Richard Riley
2009-09-01 19:36     ` Tyler Smith
     [not found]     ` <mailman.5806.1251843008.2239.help-gnu-emacs@gnu.org>
2009-09-01 22:52       ` Richard Riley
2009-09-02 10:00         ` Lennart Borgman
2009-09-02 12:16           ` Richard Riley
2009-09-02 14:51             ` Lennart Borgman
2009-09-02 15:31               ` Richard Riley [this message]
2009-09-02 15:42                 ` Lennart Borgman
2009-08-31  0:48 Tyler Smith
  -- strict thread matches above, loose matches on Subject: below --
2009-08-30 19:17 Tyler Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4a9e8fda.1438560a.4d30.2eb4@mx.google.com \
    --to=rileyrgdev@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lennart.borgman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.