all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs ide
@ 2013-08-22 12:05 Luca Ferrari
  2013-08-22 12:08 ` Pierre Lorenzon
  2013-08-22 19:38 ` Andreas Röhler
  0 siblings, 2 replies; 19+ messages in thread
From: Luca Ferrari @ 2013-08-22 12:05 UTC (permalink / raw)
  To: help-gnu-emacs

Now this can be trivial, but I'd like to fully use Emacs as my primary
IDE-like environment for software development.
I currently use Emacs to code in Perl, PHP, C/C++, shell and SQL. All
the major modes work greats, but I'm not fully happy with autocomplete
(a needed feature in my opinion) because it tends to propose
completions based only on syntactic tokens and not on semantic
members. This means, for instance, that if I mispelled a variable in
one of my buffers, this will propagate as a possible completion.
I'm not sure if cedet is the way to go.
Anyone has some special setup to have a look at in order to get a more
ide-like behavior of Emacs?
- autocompletion
- code navigation
- documentation browsing
- (not really important to me) project file grouping

Thanks,
Luca



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: emacs ide
  2013-08-22 12:05 emacs ide Luca Ferrari
@ 2013-08-22 12:08 ` Pierre Lorenzon
  2013-08-22 19:38 ` Andreas Röhler
  1 sibling, 0 replies; 19+ messages in thread
From: Pierre Lorenzon @ 2013-08-22 12:08 UTC (permalink / raw)
  To: fluca1978; +Cc: help-gnu-emacs

From: Luca Ferrari <fluca1978@infinito.it>
Subject: emacs ide
Date: Thu, 22 Aug 2013 14:05:17 +0200

> Now this can be trivial, but I'd like to fully use Emacs as my primary
> IDE-like environment for software development.
> I currently use Emacs to code in Perl, PHP, C/C++, shell and SQL. All
> the major modes work greats, but I'm not fully happy with autocomplete
> (a needed feature in my opinion) because it tends to propose
> completions based only on syntactic tokens and not on semantic
> members. This means, for instance, that if I mispelled a variable in
> one of my buffers, this will propagate as a possible completion.
> I'm not sure if cedet is the way to go.

  It might be. Try it and if you are not satisfied with cedet
  features you can always post on the dedicated mailing list to
  obtain improvements.

  Pierre




> Anyone has some special setup to have a look at in order to get a more
> ide-like behavior of Emacs?
> - autocompletion
> - code navigation
> - documentation browsing
> - (not really important to me) project file grouping
> 
> Thanks,
> Luca
> 



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: emacs ide
  2013-08-22 12:05 emacs ide Luca Ferrari
  2013-08-22 12:08 ` Pierre Lorenzon
@ 2013-08-22 19:38 ` Andreas Röhler
  1 sibling, 0 replies; 19+ messages in thread
From: Andreas Röhler @ 2013-08-22 19:38 UTC (permalink / raw)
  To: help-gnu-emacs

Am 22.08.2013 14:05, schrieb Luca Ferrari:
> Now this can be trivial, but I'd like to fully use Emacs as my primary
> IDE-like environment for software development.
> I currently use Emacs to code in Perl, PHP, C/C++, shell and SQL. All
> the major modes work greats, but I'm not fully happy with autocomplete
> (a needed feature in my opinion) because it tends to propose
> completions based only on syntactic tokens and not on semantic
> members. This means, for instance, that if I mispelled a variable in
> one of my buffers, this will propagate as a possible completion.
> I'm not sure if cedet is the way to go.
> Anyone has some special setup to have a look at in order to get a more
> ide-like behavior of Emacs?
> - autocompletion
> - code navigation
> - documentation browsing
> - (not really important to me) project file grouping
>
> Thanks,
> Luca
>
>

AFAIU IDE's which deliver a reasonable auto-completion for a language work with that many coders as Emacs core developers are active.

So it's an operational issue. Emacs lacks an infrastructure for employment.

At least that's what I think,

Andreas




^ permalink raw reply	[flat|nested] 19+ messages in thread

* Emacs IDE
@ 2017-03-04  1:06 Ahmed Sorour
  2017-03-04  8:34 ` tomas
  2017-03-06  1:40 ` Kendall Shaw
  0 siblings, 2 replies; 19+ messages in thread
From: Ahmed Sorour @ 2017-03-04  1:06 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I've recently been working more extensively with various coding languages,
and have developed a need to use IDEs.

Is it possible to configure Emacs to act as a complete replacement for:

- Atom or Sublime (for Python)
- IntelliJ IDEA (for Java)

Aside from project management, I'm also interested in a setup where I can
call Emacs to launch with one configuration when working with Java, and
another configuration when working with Python, etc.


Thanks


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Emacs IDE
  2017-03-04  1:06 Emacs IDE Ahmed Sorour
@ 2017-03-04  8:34 ` tomas
  2017-03-04  8:42   ` Krishnakant
  2017-03-06  1:40 ` Kendall Shaw
  1 sibling, 1 reply; 19+ messages in thread
From: tomas @ 2017-03-04  8:34 UTC (permalink / raw)
  To: help-gnu-emacs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Mar 03, 2017 at 08:06:42PM -0500, Ahmed Sorour wrote:
> Hi,
> 
> I've recently been working more extensively with various coding languages,
> and have developed a need to use IDEs.
> 
> Is it possible to configure Emacs to act as a complete replacement for:

[...]

You won't find answers for that. Better pose more concrete questions.
Development styles vary *a lot* from person to person, from team to
team, and even along time.

Asking "Can Emacs do *exactly* as <foo> (for foo in IntelliJ, Sublime,
whatnot)?" can thus only be answered with "no". Why don't you use <foo>,
then?

Now if you think about what features of <foo> are those you need, those
you value highly, those you more-or-less appreciate... then we're talking
:-)

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAli6fDEACgkQBcgs9XrR2kYnGwCdH6FcSOnOoN239lgrEhsGukpu
mZUAn0OjutlG9rI2s1PY/9Xb2Y7cyAE9
=mng+
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Emacs IDE
  2017-03-04  8:34 ` tomas
@ 2017-03-04  8:42   ` Krishnakant
  0 siblings, 0 replies; 19+ messages in thread
From: Krishnakant @ 2017-03-04  8:42 UTC (permalink / raw)
  To: tomas, help-gnu-emacs



On Saturday 04 March 2017 02:04 PM, tomas@tuxteam.de wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Fri, Mar 03, 2017 at 08:06:42PM -0500, Ahmed Sorour wrote:
>> Hi,
>>
>> I've recently been working more extensively with various coding languages,
>> and have developed a need to use IDEs.
>>
>> Is it possible to configure Emacs to act as a complete replacement for:
> [...]
>
> You won't find answers for that. Better pose more concrete questions.
> Development styles vary *a lot* from person to person, from team to
> team, and even along time.
>
> Asking "Can Emacs do *exactly* as <foo> (for foo in IntelliJ, Sublime,
> whatnot)?" can thus only be answered with "no". Why don't you use <foo>,
> then?
>
> Now if you think about what features of <foo> are those you need, those
> you value highly, those you more-or-less appreciate... then we're talking
> :-)
>
> regards
> - -- tomás
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iEYEARECAAYFAli6fDEACgkQBcgs9XrR2kYnGwCdH6FcSOnOoN239lgrEhsGukpu
> mZUAn0OjutlG9rI2s1PY/9Xb2Y7cyAE9
> =mng+
> -----END PGP SIGNATURE-----

+1 for the same.
Actually Emacs is way too powerful than what you think.
You can have a complete IDE (auto completion, refactoring. bracket 
paring, code navigation ... and I may not be able to stop here ).
So it will b nice if you ask a particular question.
for example, How do I get all the code completion or ... features for 
web development?  Javascript html etc.
So we will be able to guide you correct.
Happy hacking.
Krishnakant.



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Emacs IDE
  2017-03-04  1:06 Emacs IDE Ahmed Sorour
  2017-03-04  8:34 ` tomas
@ 2017-03-06  1:40 ` Kendall Shaw
  2017-03-06  8:02   ` Krishnakant
  1 sibling, 1 reply; 19+ messages in thread
From: Kendall Shaw @ 2017-03-06  1:40 UTC (permalink / raw)
  To: help-gnu-emacs

On 03/03/2017 05:06 PM, Ahmed Sorour wrote:
> Hi,
>
> I've recently been working more extensively with various coding languages,
> and have developed a need to use IDEs.
>
> Is it possible to configure Emacs to act as a complete replacement for:
>
> - Atom or Sublime (for Python)
> - IntelliJ IDEA (for Java)
>
> Aside from project management, I'm also interested in a setup where I can
> call Emacs to launch with one configuration when working with Java, and
> another configuration when working with Python, etc.
>
>

For java a couple of interesting packages are ensime which is really for 
scala but it works for java. And emacs-eclim which is more like 
integrating eclipse into emacs than the other way around.

The way I work is I use the ide and emacs at the same time. For 
debugging and some other activities and very minor editing, I use the 
ide (eclipse or intellij idea). As soon as I have to do significant 
editing, my hands go on strike and say I'm not going to type one more 
line and I'm forced to switch back to emacs.


Kendall




^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Emacs IDE
  2017-03-06  1:40 ` Kendall Shaw
@ 2017-03-06  8:02   ` Krishnakant
  2017-03-06 10:39     ` chaouche yacine
  2017-03-07 14:26     ` Stefan Monnier
  0 siblings, 2 replies; 19+ messages in thread
From: Krishnakant @ 2017-03-06  8:02 UTC (permalink / raw)
  To: Kendall Shaw, help-gnu-emacs



On Monday 06 March 2017 07:10 AM, Kendall Shaw wrote:
> On 03/03/2017 05:06 PM, Ahmed Sorour wrote:
>> Hi,
>>
>> I've recently been working more extensively with various coding 
>> languages,
>> and have developed a need to use IDEs.
>>
>> Is it possible to configure Emacs to act as a complete replacement for:
>>
>> - Atom or Sublime (for Python)
>> - IntelliJ IDEA (for Java)
>>
>> Aside from project management, I'm also interested in a setup where I 
>> can
>> call Emacs to launch with one configuration when working with Java, and
>> another configuration when working with Python, etc.
>>
>>
>
> For java a couple of interesting packages are ensime which is really 
> for scala but it works for java. And emacs-eclim which is more like 
> integrating eclipse into emacs than the other way around.
>
> The way I work is I use the ide and emacs at the same time. For 
> debugging and some other activities and very minor editing, I use the 
> ide (eclipse or intellij idea). As soon as I have to do significant 
> editing, my hands go on strike and say I'm not going to type one more 
> line and I'm forced to switch back to emacs.
>
>
> Kendall
My only concern right now with Emacs is web develoopment.
Html tags just don't get completed automatically and ther is no auto 
completion triggering as I type.
I have to press a keystroke every time I type some thing and get the 
auto completion done using company-web-html for all that work.
But programming in Python with Emacs is bliss.
Happy hacking.
Krishnakant.




^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Emacs IDE
  2017-03-06  8:02   ` Krishnakant
@ 2017-03-06 10:39     ` chaouche yacine
  2017-03-06 10:55       ` Krishnakant
  2017-03-07 14:26     ` Stefan Monnier
  1 sibling, 1 reply; 19+ messages in thread
From: chaouche yacine @ 2017-03-06 10:39 UTC (permalink / raw)
  To: Krishnakant, Kendall Shaw, help-gnu-emacs@gnu.org

Krishnakant,

I believe yasnippet has some valuable html templates that you could use. But you can also use other tools, see : 
https://www.youtube.com/watch?v=sBhQ2NIcrLQ

-- Yassine.





On Monday, March 6, 2017 9:04 AM, Krishnakant <krmane@openmailbox.org> wrote:



On Monday 06 March 2017 07:10 AM, Kendall Shaw wrote:
> On 03/03/2017 05:06 PM, Ahmed Sorour wrote:
>> Hi,
>>
>> I've recently been working more extensively with various coding 
>> languages,
>> and have developed a need to use IDEs.
>>
>> Is it possible to configure Emacs to act as a complete replacement for:
>>
>> - Atom or Sublime (for Python)
>> - IntelliJ IDEA (for Java)
>>
>> Aside from project management, I'm also interested in a setup where I 
>> can
>> call Emacs to launch with one configuration when working with Java, and
>> another configuration when working with Python, etc.
>>
>>
>
> For java a couple of interesting packages are ensime which is really 
> for scala but it works for java. And emacs-eclim which is more like 
> integrating eclipse into emacs than the other way around.
>
> The way I work is I use the ide and emacs at the same time. For 
> debugging and some other activities and very minor editing, I use the 
> ide (eclipse or intellij idea). As soon as I have to do significant 
> editing, my hands go on strike and say I'm not going to type one more 
> line and I'm forced to switch back to emacs.
>
>
> Kendall
My only concern right now with Emacs is web develoopment.
Html tags just don't get completed automatically and ther is no auto 
completion triggering as I type.
I have to press a keystroke every time I type some thing and get the 
auto completion done using company-web-html for all that work.
But programming in Python with Emacs is bliss.
Happy hacking.
Krishnakant.



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Emacs IDE
  2017-03-06 10:39     ` chaouche yacine
@ 2017-03-06 10:55       ` Krishnakant
  2017-03-06 12:00         ` chaouche yacine
  0 siblings, 1 reply; 19+ messages in thread
From: Krishnakant @ 2017-03-06 10:55 UTC (permalink / raw)
  To: chaouche yacine, Kendall Shaw, help-gnu-emacs@gnu.org


Hi Yassine,

Thanks a million for the poiners.

I am currently looking at yasnipit.

I think it is really very helpful.

But I am looking for auto completion as I type/

Some thing that company offers.

By the way the youtube video aught to be good, but I am totally blind 
and so won't get much out of it.

If you have any idea on how I can get auto completion while I type that 
will be great.

Also I wish a pair completion feature.

For example <body> should have emacs do </body> for me.

Another feature which indirectly benefits my sighted team maits is if 
they focus on a <div> tag, emacs should highlight the corresponding  
</div> tag.  Same for all tags.

Do you have some idea of some mode or can I customize web-mode with 
company to get this done?

Happy hacking.

Krishnakant.



On Monday 06 March 2017 04:09 PM, chaouche yacine wrote:
> Krishnakant,
>
> I believe yasnippet has some valuable html templates that you could use. But you can also use other tools, see :
> https://www.youtube.com/watch?v=sBhQ2NIcrLQ
>
> -- Yassine.
>
>
>
>
>
> On Monday, March 6, 2017 9:04 AM, Krishnakant <krmane@openmailbox.org> wrote:
>
>
>
> On Monday 06 March 2017 07:10 AM, Kendall Shaw wrote:
>> On 03/03/2017 05:06 PM, Ahmed Sorour wrote:
>>> Hi,
>>>
>>> I've recently been working more extensively with various coding
>>> languages,
>>> and have developed a need to use IDEs.
>>>
>>> Is it possible to configure Emacs to act as a complete replacement for:
>>>
>>> - Atom or Sublime (for Python)
>>> - IntelliJ IDEA (for Java)
>>>
>>> Aside from project management, I'm also interested in a setup where I
>>> can
>>> call Emacs to launch with one configuration when working with Java, and
>>> another configuration when working with Python, etc.
>>>
>>>
>> For java a couple of interesting packages are ensime which is really
>> for scala but it works for java. And emacs-eclim which is more like
>> integrating eclipse into emacs than the other way around.
>>
>> The way I work is I use the ide and emacs at the same time. For
>> debugging and some other activities and very minor editing, I use the
>> ide (eclipse or intellij idea). As soon as I have to do significant
>> editing, my hands go on strike and say I'm not going to type one more
>> line and I'm forced to switch back to emacs.
>>
>>
>> Kendall
> My only concern right now with Emacs is web develoopment.
> Html tags just don't get completed automatically and ther is no auto
> completion triggering as I type.
> I have to press a keystroke every time I type some thing and get the
> auto completion done using company-web-html for all that work.
> But programming in Python with Emacs is bliss.
> Happy hacking.
> Krishnakant.
>




^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Emacs IDE
  2017-03-06 10:55       ` Krishnakant
@ 2017-03-06 12:00         ` chaouche yacine
  2017-03-06 12:20           ` Krishnakant
  0 siblings, 1 reply; 19+ messages in thread
From: chaouche yacine @ 2017-03-06 12:00 UTC (permalink / raw)
  To: Krishnakant, Kendall Shaw, help-gnu-emacs@gnu.org

Hell Krishnakant,

Yasnippet already does that as you type, you only have to type the triggering sequence and the template will fire up. You'll eventually be able to master by practice.


  -- Yassine.



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Emacs IDE
  2017-03-06 12:00         ` chaouche yacine
@ 2017-03-06 12:20           ` Krishnakant
  2017-03-06 14:21             ` chaouche yacine
  0 siblings, 1 reply; 19+ messages in thread
From: Krishnakant @ 2017-03-06 12:20 UTC (permalink / raw)
  To: chaouche yacine, Kendall Shaw, help-gnu-emacs@gnu.org

OK that's cool.

But will that also help me highlight the closing tag when cursor is on 
an opening tag?

Happy hacking.

Krishnakant/



On Monday 06 March 2017 05:30 PM, chaouche yacine wrote:
> Hell Krishnakant,
>
> Yasnippet already does that as you type, you only have to type the triggering sequence and the template will fire up. You'll eventually be able to master by practice.
>
>
>    -- Yassine.
>




^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Emacs IDE
  2017-03-06 12:20           ` Krishnakant
@ 2017-03-06 14:21             ` chaouche yacine
  2017-03-06 14:57               ` Krishnakant
  0 siblings, 1 reply; 19+ messages in thread
From: chaouche yacine @ 2017-03-06 14:21 UTC (permalink / raw)
  To: Krishnakant, Kendall Shaw, help-gnu-emacs@gnu.org

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.

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



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Emacs IDE
  2017-03-06 14:21             ` chaouche yacine
@ 2017-03-06 14:57               ` Krishnakant
  2017-03-07  8:21                 ` chaouche yacine
  0 siblings, 1 reply; 19+ messages in thread
From: Krishnakant @ 2017-03-06 14:57 UTC (permalink / raw)
  To: chaouche yacine, Kendall Shaw, help-gnu-emacs@gnu.org




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




^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Emacs IDE
  2017-03-06 14:57               ` Krishnakant
@ 2017-03-07  8:21                 ` chaouche yacine
  2017-03-07 10:20                   ` Krishnakant
  0 siblings, 1 reply; 19+ messages in thread
From: chaouche yacine @ 2017-03-07  8:21 UTC (permalink / raw)
  To: Krishnakant, Kendall Shaw, help-gnu-emacs@gnu.org

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



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Emacs IDE
  2017-03-07  8:21                 ` chaouche yacine
@ 2017-03-07 10:20                   ` Krishnakant
  0 siblings, 0 replies; 19+ messages in thread
From: Krishnakant @ 2017-03-07 10:20 UTC (permalink / raw)
  To: chaouche yacine, Kendall Shaw, help-gnu-emacs@gnu.org


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




^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Emacs IDE
  2017-03-06  8:02   ` Krishnakant
  2017-03-06 10:39     ` chaouche yacine
@ 2017-03-07 14:26     ` Stefan Monnier
  2017-03-08  7:19       ` Krishnakant
  1 sibling, 1 reply; 19+ messages in thread
From: Stefan Monnier @ 2017-03-07 14:26 UTC (permalink / raw)
  To: help-gnu-emacs

> Html tags just don't get completed automatically and ther is no auto
> completion triggering as I type.

You can try nxml-mode, which will give you the completion data, and
if you don't want to have to hit M-TAB to get completion, then install company-mode (from GNU ELPA) to get the "completion popup".

You'll probably also want to install the html5-schema package from GNU
ELPA, since Emacs only comes with the html4 schema.


        Stefan




^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Emacs IDE
  2017-03-07 14:26     ` Stefan Monnier
@ 2017-03-08  7:19       ` Krishnakant
  2017-03-08  9:22         ` Stefan Monnier
  0 siblings, 1 reply; 19+ messages in thread
From: Krishnakant @ 2017-03-08  7:19 UTC (permalink / raw)
  To: Stefan Monnier, help-gnu-emacs



On Tuesday 07 March 2017 07:56 PM, Stefan Monnier wrote:
>> Html tags just don't get completed automatically and ther is no auto
>> completion triggering as I type.
> You can try nxml-mode, which will give you the completion data, and
> if you don't want to have to hit M-TAB to get completion, then install company-mode (from GNU ELPA) to get the "completion popup".
>
> You'll probably also want to install the html5-schema package from GNU
> ELPA, since Emacs only comes with the html4 schema.
>
Hi Stefan,
Thanks a lot.
2 quick questions.
is nxml mode a good replacement to web-mode?  As you know HTML is not 
the only thing a single .html file will have, probably css and 
javascript will also be there.
and second, will I have to configure company to work with nxml or will 
nxml search for company and start it automatically?
Do i have to add the hooks for that?
Happy hacking.
Krishnakant.




^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Emacs IDE
  2017-03-08  7:19       ` Krishnakant
@ 2017-03-08  9:22         ` Stefan Monnier
  0 siblings, 0 replies; 19+ messages in thread
From: Stefan Monnier @ 2017-03-08  9:22 UTC (permalink / raw)
  To: Krishnakant; +Cc: help-gnu-emacs

> will nxml search for company and start it automatically?

Imposing company on the unsuspecting user would be a mistake.


        Stefan



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2017-03-08  9:22 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-22 12:05 emacs ide Luca Ferrari
2013-08-22 12:08 ` Pierre Lorenzon
2013-08-22 19:38 ` Andreas Röhler
  -- strict thread matches above, loose matches on Subject: below --
2017-03-04  1:06 Emacs IDE Ahmed Sorour
2017-03-04  8:34 ` tomas
2017-03-04  8:42   ` Krishnakant
2017-03-06  1:40 ` 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
2017-03-07 14:26     ` Stefan Monnier
2017-03-08  7:19       ` Krishnakant
2017-03-08  9:22         ` Stefan Monnier

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.