unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Subject: Re: emacs questions
Date: Fri, 02 Dec 2005 10:44:00 +0200	[thread overview]
Message-ID: <u4q5rdh2n.fsf@gnu.org> (raw)
In-Reply-To: <438F912E.1020105@alunos.di.fc.ul.pt> (message from Pedro Sa da Costa on Fri, 02 Dec 2005 00:11:26 +0000)

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

  reply	other threads:[~2005-12-02  8:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-02  0:11 emacs questions Pedro Sa da Costa
2005-12-02  8:44 ` Eli Zaretskii [this message]
     [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

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=u4q5rdh2n.fsf@gnu.org \
    --to=eliz@gnu.org \
    /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).