unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs questions
@ 2005-12-02  0:11 Pedro Sa da Costa
  2005-12-02  8:44 ` Eli Zaretskii
       [not found] ` <mailman.17604.1133513051.20277.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Pedro Sa da Costa @ 2005-12-02  0:11 UTC (permalink / raw)


I'm trying to have code completion in emacs, but i don't know what to 
do. In eclipse, when we writing a java code line, for example:
System.out., we do C^SPACE to show a window with several methods 
associated (printl, print,etc).
I would like to have something similar in emacs. Can anybody help me? 
And, if the solution passes through etags, can anybody give me a simple 
example, because i don't understand why etags are useful.

Can we browse java api through emacs? I've installed jde, but 
jde-browse-jdk-jdk doesn't work. It says that browse-url-new-window-p is 
null.

It's possible to see, while we are programming, if we did a mistake. In 
eclipse, when we do an error, for example, forget a ; , an underline 
appears in the line indicating that something is wrong. It's possible to 
have something like this in emacs?

Why, sometimes, when we do copy from another application, and we try to 
do paste in the emacs, emacs only yanks the last thing we cut or copy in 
emacs?

Thanks,
Pedro

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

* Re: emacs questions
  2005-12-02  0:11 emacs questions Pedro Sa da Costa
@ 2005-12-02  8:44 ` Eli Zaretskii
       [not found] ` <mailman.17604.1133513051.20277.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2005-12-02  8:44 UTC (permalink / raw)


> Date: Fri, 02 Dec 2005 00:11:26 +0000
> From: Pedro Sa da Costa <i29685@alunos.di.fc.ul.pt>
> 
> I'm trying to have code completion in emacs, but i don't know what to 
> do. In eclipse, when we writing a java code line, for example:
> System.out., we do C^SPACE to show a window with several methods 
> associated (printl, print,etc).
> I would like to have something similar in emacs. Can anybody help me? 

Try M-TAB with cursor on the symbol; is that what you are looking for?

> And, if the solution passes through etags, can anybody give me a simple 
> example, because i don't understand why etags are useful.

etags is useful because it lets you find definitions of functions,
methods, classes, typedefs, macros, etc. without the need to remember
on what file in which directory the corresponding source lives.

> It's possible to see, while we are programming, if we did a mistake. In 
> eclipse, when we do an error, for example, forget a ; , an underline 
> appears in the line indicating that something is wrong. It's possible to 
> have something like this in emacs?

There's a CWarn mode for C and C++, but I don't know about similar
features for Java.  Anyone?

> Why, sometimes, when we do copy from another application, and we try to 
> do paste in the emacs, emacs only yanks the last thing we cut or copy in 
> emacs?

You need to make sure that no other kill or yank happened between the
copy/cut outside Emacs and when you want to paste into Emacs.

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

* Re: emacs questions
       [not found] ` <mailman.17604.1133513051.20277.help-gnu-emacs@gnu.org>
@ 2005-12-03  9:35   ` Vagn Johansen
  0 siblings, 0 replies; 4+ messages in thread
From: Vagn Johansen @ 2005-12-03  9:35 UTC (permalink / raw)


Eli Zaretskii <eliz@gnu.org> writes:

>> It's possible to see, while we are programming, if we did a mistake. In 
>> eclipse, when we do an error, for example, forget a ; , an underline 
>> appears in the line indicating that something is wrong. It's possible to 
>> have something like this in emacs?
>
> There's a CWarn mode for C and C++, but I don't know about similar
> features for Java.  Anyone?


flymake can compile in the background and colorize lines with errors/warnings

http://flymake.sourceforge.net/

http://www.emacswiki.org/cgi-bin/wiki/JdeeFlymake

-- 
Vagn

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

* Re: emacs questions
       [not found] <mailman.17561.1133482313.20277.help-gnu-emacs@gnu.org>
@ 2005-12-05 15:52 ` Tim Babin
  0 siblings, 0 replies; 4+ messages in thread
From: Tim Babin @ 2005-12-05 15:52 UTC (permalink / raw)


I think in JDEE you can use (from memory) C-c C-v C-. but read the JDEE user's manual for
details. Also, I think semantic, which is needed by JDE, can do some syntax
violation based font lock.

Tim

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

end of thread, other threads:[~2005-12-05 15:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-02  0:11 emacs questions Pedro Sa da Costa
2005-12-02  8:44 ` Eli Zaretskii
     [not found] ` <mailman.17604.1133513051.20277.help-gnu-emacs@gnu.org>
2005-12-03  9:35   ` Vagn Johansen
     [not found] <mailman.17561.1133482313.20277.help-gnu-emacs@gnu.org>
2005-12-05 15:52 ` Tim Babin

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).