From: Krishnakant <krmane@openmailbox.org>
To: chaouche yacine <yacinechaouche@yahoo.com>,
Kendall Shaw <kshaw@kendallshaw.com>,
"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Emacs IDE
Date: Tue, 7 Mar 2017 15:50:15 +0530 [thread overview]
Message-ID: <93765034-01b7-8bf0-3b84-d2cc9c060110@openmailbox.org> (raw)
In-Reply-To: <755015841.202465.1488874912759@mail.yahoo.com>
Thanks a million Yacine.
Well I am just a bit confused.
Is web-mode and html-mode different?
So if not then can any one else tell me what I should hook for in
web-mode for auto completion while I type.
I guessed that company mode does that but no success to that extent till
now.
I am trying to get only 3 things.
auto completion while I type, auto tag paring when I enter the opening
tag and highlight of the closing part.
Happy hacking.
Krishnaknat.
On Tuesday 07 March 2017 01:51 PM, chaouche yacine wrote:
> Krishnakant,
>
> Your story is inspiring and unusual as a blind developer isn't common. I wish you strength and courage.
>
>
> Although I don't know about any modes myself that highlights the closing tag, there's C-c C-f to go forward a tag and C-c C-b to go backwards one tag, this is in html-mode (notice that html-helper-mode do not have these shortcuts). These shortcuts are inherited from SGML mode on which HTML mode is built.
>
> There's also expand-region mode which highlights the whole region between an opening and closing tag. See
> https://github.com/magnars/expand-region.el
>
> Hope this helps.
>
> -- Yassine
>
>
> On Monday, March 6, 2017 3:58 PM, Krishnakant <krmane@openmailbox.org> wrote:
>
>
>
>
> On Monday 06 March 2017 07:51 PM, chaouche yacine wrote:
>> Krishnakant, I am a little surprised since you said you were totally blind. What would that change anyway ? besides, imagine an HTML document with 200 lines of code wrapped inside a body tag. Positioning your cursor on the opening <body> you wouldn't be able to see the closing </body> tag 200 lines further, same goes for long lists or tables. It might only be useful if both the beginning and ending tags are on the same page. I don't know if there's a mode that does that to be honest.
> Yes, it does not make a big difference to me as a blind programmer.
> But my sighted colleagues who work with me will need it because they too
> plan to shift to Emacs.
> Besides, Emacspeak (the screen reader for Emacs ) reads paired
> completion, but one has to use keyboard shortcuts to get it. So the
> first reason is more valid.
> yes you are right about <body> but for <div> it is a great idea because
> often nested divs confuse a developer when trying to figure out which
> one closes where.
> Happy hacking.
> Krishnakant.
>
>> If you want, you can also check autocomplete-mode as well as ac-html which should also do what you want (suggest completions as you type).
>>
>>
>> -- Yassine
next prev parent reply other threads:[~2017-03-07 10:20 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-04 1:06 Emacs IDE Ahmed Sorour
2017-03-04 8:34 ` tomas
2017-03-04 8:42 ` Krishnakant
2017-03-05 14:47 ` Emacs as an IDE Francis Belliveau
2017-03-05 15:41 ` tomas
2017-03-08 1:12 ` Francis Belliveau
2017-03-08 7:13 ` Krishnakant
2017-03-05 16:45 ` Anast Gramm
2017-03-06 7:59 ` Krishnakant
2017-03-06 1:40 ` Emacs IDE Kendall Shaw
2017-03-06 8:02 ` Krishnakant
2017-03-06 10:39 ` chaouche yacine
2017-03-06 10:55 ` Krishnakant
2017-03-06 12:00 ` chaouche yacine
2017-03-06 12:20 ` Krishnakant
2017-03-06 14:21 ` chaouche yacine
2017-03-06 14:57 ` Krishnakant
2017-03-07 8:21 ` chaouche yacine
2017-03-07 10:20 ` Krishnakant [this message]
2017-03-07 14:26 ` Stefan Monnier
2017-03-08 7:19 ` Krishnakant
2017-03-08 9:22 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2013-08-22 12:05 emacs ide Luca Ferrari
2013-08-22 12:08 ` Pierre Lorenzon
2013-08-22 19:38 ` Andreas Röhler
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=93765034-01b7-8bf0-3b84-d2cc9c060110@openmailbox.org \
--to=krmane@openmailbox.org \
--cc=help-gnu-emacs@gnu.org \
--cc=kshaw@kendallshaw.com \
--cc=yacinechaouche@yahoo.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).