unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Richard Riley <rileyrgdev@googlemail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: p tags and indenting in Html Mode
Date: Wed, 2 Sep 2009 16:51:10 +0200	[thread overview]
Message-ID: <e01d8a50909020751p4e6135ct7e6a28668bd6b8a9@mail.gmail.com> (raw)
In-Reply-To: <4a9e6212.0c58560a.78a1.ffffb4fc@mx.google.com>

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,

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 14:51 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 [this message]
2009-09-02 15:31               ` Richard Riley
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=e01d8a50909020751p4e6135ct7e6a28668bd6b8a9@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rileyrgdev@googlemail.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).