all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Simple question
@ 2003-11-20 19:37 Jack Wang
  0 siblings, 0 replies; 8+ messages in thread
From: Jack Wang @ 2003-11-20 19:37 UTC (permalink / raw)







Hi:



In emacs, how to move cursor to a particular line, e.g., line500?



In xemacs, M-g-linenumber does it. But how about emacs? 

Thanks.



Jack

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!

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

* Re: Simple question
       [not found] <mailman.357.1069362510.399.help-gnu-emacs@gnu.org>
@ 2003-11-20 20:22 ` paolino
  2003-11-20 20:26 ` Daniel R. Anderson
  2003-11-20 22:09 ` giacomo boffi
  2 siblings, 0 replies; 8+ messages in thread
From: paolino @ 2003-11-20 20:22 UTC (permalink / raw)


M-x goto-line


On Thu, 20 Nov 2003 14:37:37 -0500 (EST)
"Jack Wang" <jw2000@excite.com> wrote:

> 
> 
> 
> 
> 
> Hi:
> 
> 
> 
> In emacs, how to move cursor to a particular line, e.g., line500?
> 
> 
> 
> In xemacs, M-g-linenumber does it. But how about emacs? 
> 
> Thanks.
> 
> 
> 
> Jack
> 
> _______________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
> 
> 

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

* Re: Simple question
       [not found] <mailman.357.1069362510.399.help-gnu-emacs@gnu.org>
  2003-11-20 20:22 ` paolino
@ 2003-11-20 20:26 ` Daniel R. Anderson
  2003-11-20 22:09 ` giacomo boffi
  2 siblings, 0 replies; 8+ messages in thread
From: Daniel R. Anderson @ 2003-11-20 20:26 UTC (permalink / raw)


"Jack Wang" <jw2000@excite.com> writes:

> Hi:
> In emacs, how to move cursor to a particular line, e.g., line500?

        M-x  goto-line RET  linenumber RET  gets you  where  you need.
Sometimes the goto-line  lisp function is bound to M-g  -- so you just
M-g line_number RET.  Other times you have to bind it yourself.

-Dan

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

* Re: Simple question
       [not found] <mailman.357.1069362510.399.help-gnu-emacs@gnu.org>
  2003-11-20 20:22 ` paolino
  2003-11-20 20:26 ` Daniel R. Anderson
@ 2003-11-20 22:09 ` giacomo boffi
  2 siblings, 0 replies; 8+ messages in thread
From: giacomo boffi @ 2003-11-20 22:09 UTC (permalink / raw)


"Jack Wang" <jw2000@excite.com> writes:

> In emacs, how to move cursor to a particular line, e.g., line500?

  others answered your question

  i'd just like to remark that, in some cases, who that wants
  "goto-line" is really asking for "M-x compile" and "M-x next-error"

hth someone, ciao
                                                                gb
-- 
TORPEDOED BY IRC SERVER. UNABLE TO SURFACE. SINKING. U-890.

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

* Simple question
@ 2003-12-16  5:37 Jack Wang
  0 siblings, 0 replies; 8+ messages in thread
From: Jack Wang @ 2003-12-16  5:37 UTC (permalink / raw)



Hi:



When using emacs to read C++ code, how to find the corresponding "{" of a "}", or vice versa?

Thanks a lot.



Jack



_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!

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

* Re: Simple question
       [not found] <mailman.125.1071556768.868.help-gnu-emacs@gnu.org>
@ 2003-12-16  7:15 ` Kin Cho
  2003-12-16  9:31 ` Sean Richards
  1 sibling, 0 replies; 8+ messages in thread
From: Kin Cho @ 2003-12-16  7:15 UTC (permalink / raw)


> When using emacs to read C++ code, how to find the
> corresponding "{" of a "}", or vice versa?

C-M-f and C-M-b.  Also useful is C-M-u, which goes up a nesting
level.

-kin

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

* Re: Simple question
       [not found] <mailman.125.1071556768.868.help-gnu-emacs@gnu.org>
  2003-12-16  7:15 ` Kin Cho
@ 2003-12-16  9:31 ` Sean Richards
  1 sibling, 0 replies; 8+ messages in thread
From: Sean Richards @ 2003-12-16  9:31 UTC (permalink / raw)


"Jack Wang" <jw2000@excite.com> writes:

> When using emacs to read C++ code, how to find the corresponding "{"
> of a "}", or vice versa?

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

Sean

-- 
"Hver sin smak", sa vintapperen, han drakk mens de andre sloss.

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

* Re: Simple question
@ 2003-12-17  2:36 Jack Wang
  0 siblings, 0 replies; 8+ messages in thread
From: Jack Wang @ 2003-12-17  2:36 UTC (permalink / raw)



Hi Kin and Sean:



Thanks a lot



Jack

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!

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

end of thread, other threads:[~2003-12-17  2:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-16  5:37 Simple question Jack Wang
  -- strict thread matches above, loose matches on Subject: below --
2003-12-17  2:36 Jack Wang
     [not found] <mailman.125.1071556768.868.help-gnu-emacs@gnu.org>
2003-12-16  7:15 ` Kin Cho
2003-12-16  9:31 ` Sean Richards
     [not found] <mailman.357.1069362510.399.help-gnu-emacs@gnu.org>
2003-11-20 20:22 ` paolino
2003-11-20 20:26 ` Daniel R. Anderson
2003-11-20 22:09 ` giacomo boffi
2003-11-20 19:37 Jack Wang

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.