* 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; 25+ 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] 25+ 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; 25+ 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] 25+ 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; 25+ 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] 25+ messages in thread
* Emacs IDE
@ 2017-03-04 1:06 Ahmed Sorour
2017-03-04 8:34 ` tomas
2017-03-06 1:40 ` Emacs IDE Kendall Shaw
0 siblings, 2 replies; 25+ 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] 25+ 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 ` Emacs IDE Kendall Shaw
1 sibling, 1 reply; 25+ 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] 25+ messages in thread
* Re: Emacs IDE
2017-03-04 8:34 ` tomas
@ 2017-03-04 8:42 ` Krishnakant
2017-03-05 14:47 ` Emacs as an IDE Francis Belliveau
0 siblings, 1 reply; 25+ 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] 25+ messages in thread
* Re: Emacs as an IDE
2017-03-04 8:42 ` Krishnakant
@ 2017-03-05 14:47 ` Francis Belliveau
2017-03-05 15:41 ` tomas
2017-03-05 16:45 ` Anast Gramm
0 siblings, 2 replies; 25+ messages in thread
From: Francis Belliveau @ 2017-03-05 14:47 UTC (permalink / raw)
To: help-gnu-emacs
I admit that the original question was a bit open. It assumed that some of us readers knew how a specific pair of IDE's work.
A poor assumption since emacs wizards are more likely to use emacs as their IDE with things customized as they desire.
So it seems that the answer to the basic question is: Yes, emacs can be configured to be used in manner similar to an IDE.
I am not such a user, but would like to know how to configure such a thing. I do have some specific questions below.
As I understand it emacs triggers such things via "mode" that is normally tied to file extension, so as long as all of your source files have a properly uniques extension that identifies language, you get the correct mode automatically. For instance, I expect that you have already discovered that your .java files come up in Java-Mode with a default set of coding-style rules.
The next problems are:
How do I customize the coding style to my match desires?
and
How do I get "code-finding" and "code-completion" to work?
I have been coding in C++ for a long time and am reasonably happy with how those modes work, but I do not know the answer to my second question. I also use Java and could use help with the first question in that regard.
Again, I admit that the first question is way too general for a specific answer, but a pointer regarding how to find where to start reading in the documentation would be helpful. Navigating the documentation requires one to be able to follow the mind-set of the writer, and I just cannot seem to find my way to what I need very easily.
Although a documentation pointer would also be a useful answer to the second question, I expect that it would also be possible to provide an outline of the basic steps so that I could better search the documentation for "how to" information. Clearly emacs would need some sort of symbol-table to tell it which file a particular object/method exists in so that it can find its way to said method and/or auto-complete a partial entry.
Some help with where to start would be useful.
Thanks,
Fran
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Emacs as an IDE
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-05 16:45 ` Anast Gramm
1 sibling, 1 reply; 25+ messages in thread
From: tomas @ 2017-03-05 15:41 UTC (permalink / raw)
To: help-gnu-emacs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, Mar 05, 2017 at 09:47:35AM -0500, Francis Belliveau wrote:
> I admit that the original question was a bit open. It assumed that some of us readers knew how a specific pair of IDE's work.
> A poor assumption since emacs wizards are more likely to use emacs as their IDE with things customized as they desire.
This is one point; another is that all those IDEs are huge and have
all their own philosophies: each user tends to use different subsets
of them. Asking "like X" blurs this subsetting and will forcefully
ignore the one *you* care about. Moreover, "doing all as X does it"
is probably unachievable -- unless you use "X", that is :-)
> So it seems that the answer to the basic question is: Yes, emacs can be configured to be used in manner similar to an IDE.
>
> I am not such a user, but would like to know how to configure such a thing. I do have some specific questions below.
That's right: there are pretty extensive packages (like EDE [1]) which
cover IDE functionality (e.g. indexing "interesting" syntactic
objects in a whole project and similar things). That said, I'm not
the "IDE type" myself -- what I used so far is the compile-from-
editor and jump-me-to-next-error, usually provided by the mode
(but this extensively).
Then there are the modes:
> As I understand it emacs triggers such things via "mode" that is normally tied to file extension, so as long as all of your source files have a properly uniques extension that identifies language, you get the correct mode automatically. For instance, I expect that you have already discovered that your .java files come up in Java-Mode with a default set of coding-style rules.
It's not only the extension: a mode can be set according to the file's
content (a typical example would be the shebang line in an interpreter
file, but you can also insert a specifically formatted comment at a
strategic place in a file). See "23.3 Choosing File Modes" in the
fine manual, online here [2]
Modes are highly customizable wrt coding style. If you are at an
Emacs, just type in M-x customize <RET> and browse through the
options tree to get a first impression.
>
> The next problems are:
> How do I customize the coding style to my match desires?
See above.
> and
> How do I get "code-finding" and "code-completion" to work?
I think EDE covers that. But I'll hope more knowledgeable folks chime in.
Depending on your target language there are other kinds of development
environments, which, for example can run the target's language interpreter
or a debugger like gdb and thus stay current about the target program's
status.
> I have been coding in C++ for a long time and am reasonably happy with how those modes work, but I do not know the answer to my second question. I also use Java and could use help with the first question in that regard.
> Again, I admit that the first question is way too general for a specific answer, but a pointer regarding how to find where to start reading in the documentation would be helpful. Navigating the documentation requires one to be able to follow the mind-set of the writer, and I just cannot seem to find my way to what I need very easily.
>
> Although a documentation pointer would also be a useful answer to the second question, I expect that it would also be possible to provide an outline of the basic steps so that I could better search the documentation for "how to" information. Clearly emacs would need some sort of symbol-table to tell it which file a particular object/method exists in so that it can find its way to said method and/or auto-complete a partial entry.
>
> Some help with where to start would be useful.
Yes, discovering this world can be daunting at times. But it's
worth it :-)
[1] https://www.gnu.org/software/emacs/manual/html_node/emacs/EDE.html
[2] https://www.gnu.org/software/emacs/manual/html_node/emacs/Choosing-Modes.html
regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAli8MZEACgkQBcgs9XrR2kbcnACbBgES1Bu/ZdZX8j7LUSIajcBX
wnUAnRExysRVnmbsuSyqu9alHvt6Lawj
=yKmi
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Emacs as an IDE
2017-03-05 14:47 ` Emacs as an IDE Francis Belliveau
2017-03-05 15:41 ` tomas
@ 2017-03-05 16:45 ` Anast Gramm
2017-03-06 7:59 ` Krishnakant
1 sibling, 1 reply; 25+ messages in thread
From: Anast Gramm @ 2017-03-05 16:45 UTC (permalink / raw)
To: Francis Belliveau; +Cc: help-gnu-emacs
Hello,
What I've done 3 months ago when I was on your position was the following:
I read this http://tuhdo.github.io/ dudes manuals. They are amazing at explaining
how stuff works and how to set up a basic customization.
Especially this one http://tuhdo.github.io/c-ide.html that also answers a lot of
your questions.
From there on I just browse M-x package-list-packages and see stuff that I like and try
to implement them in my workflow. 6 months ago I had a .emacs with ~20 lines of lisp,
now I have an .org file with my configuration and it's about ~1500 lines. So this
thing escalates really quick. Beware not to get lost.
Now for the sad part:
Java is a high level language and there are awesome IDEs out there for it.
My favorite is IntelliJ. Those beasts are simply too much work for an emacs
user to replace. As I see it, you're better off using IntelliJ or Eclipse
for java development.
I think someone should build a complete IDE experience for java development
but until then proprietary software is gonna have the lead.
P.S. I avoid java just for this reason (I also like C/C++ more)
^ permalink raw reply [flat|nested] 25+ 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; 25+ 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] 25+ messages in thread
* Re: Emacs as an IDE
2017-03-05 16:45 ` Anast Gramm
@ 2017-03-06 7:59 ` Krishnakant
0 siblings, 0 replies; 25+ messages in thread
From: Krishnakant @ 2017-03-06 7:59 UTC (permalink / raw)
To: Anast Gramm, Francis Belliveau; +Cc: help-gnu-emacs
Hi,
On Sunday 05 March 2017 10:15 PM, Anast Gramm wrote:
> Hello,
>
> What I've done 3 months ago when I was on your position was the following:
>
> I read this http://tuhdo.github.io/ dudes manuals. They are amazing at explaining
> how stuff works and how to set up a basic customization.
>
> Especially this one http://tuhdo.github.io/c-ide.html that also answers a lot of
> your questions.
Wow I found this to be really valuable.
Thanks a lot from myself and on behalf of those who have just recently
got started.
> From there on I just browse M-x package-list-packages and see stuff that I like and try
> to implement them in my workflow. 6 months ago I had a .emacs with ~20 lines of lisp,
> now I have an .org file with my configuration and it's about ~1500 lines. So this
> thing escalates really quick. Beware not to get lost.
>
> Now for the sad part:
>
> Java is a high level language and there are awesome IDEs out there for it.
> My favorite is IntelliJ. Those beasts are simply too much work for an emacs
> user to replace. As I see it, you're better off using IntelliJ or Eclipse
> for java development.
>
> I think someone should build a complete IDE experience for java development
> but until then proprietary software is gonna have the lead.
I totally agree here.
I have done java programming in Eclipse and there is nothing apart from
inteliJ which is as good enough.
> P.S. I avoid java just for this reason (I also like C/C++ more)
I have also quit Java for a long time.
I use Python for all my programming and Emacs just rocks for that with
Python-mode (major ) and Elpy, company-jedi and electric-pair (minor
modes ).
Happy hacking.
Krishnakant.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Emacs IDE
2017-03-06 1:40 ` Emacs IDE 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; 25+ 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] 25+ 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; 25+ 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] 25+ 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; 25+ 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] 25+ 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; 25+ 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] 25+ 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; 25+ 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] 25+ 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; 25+ 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] 25+ 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; 25+ 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] 25+ 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; 25+ 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] 25+ messages in thread
* Re: Emacs IDE
2017-03-07 8:21 ` chaouche yacine
@ 2017-03-07 10:20 ` Krishnakant
0 siblings, 0 replies; 25+ 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] 25+ 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; 25+ 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] 25+ messages in thread
* Re: Emacs as an IDE
2017-03-05 15:41 ` tomas
@ 2017-03-08 1:12 ` Francis Belliveau
2017-03-08 7:13 ` Krishnakant
0 siblings, 1 reply; 25+ messages in thread
From: Francis Belliveau @ 2017-03-08 1:12 UTC (permalink / raw)
To: tomas; +Cc: help-gnu-emacs
Thanks to all who helped me with this subject.
Fran
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Emacs as an IDE
2017-03-08 1:12 ` Francis Belliveau
@ 2017-03-08 7:13 ` Krishnakant
0 siblings, 0 replies; 25+ messages in thread
From: Krishnakant @ 2017-03-08 7:13 UTC (permalink / raw)
To: Francis Belliveau, tomas; +Cc: help-gnu-emacs
Hmm, and me too.
although I have got fair bit of proficiency with Python-mode, I had
issues with web development.
Slowly they are getting solved.
Happy hacking.
Krishnakant.
On Wednesday 08 March 2017 06:42 AM, Francis Belliveau wrote:
> Thanks to all who helped me with this subject.
>
> Fran
>
^ permalink raw reply [flat|nested] 25+ 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; 25+ 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] 25+ messages in thread
* Re: Emacs IDE
2017-03-08 7:19 ` Krishnakant
@ 2017-03-08 9:22 ` Stefan Monnier
0 siblings, 0 replies; 25+ 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] 25+ messages in thread
end of thread, other threads:[~2017-03-08 9:22 UTC | newest]
Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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).