all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Line numbers in buffer (non X-windows)
@ 2006-04-15 21:30 micotine
  2006-04-17 17:33 ` Colin S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: micotine @ 2006-04-15 21:30 UTC (permalink / raw)


Hi,

Sorry for this oft repeated question but I think I need rather detailed
instructions. I run XEmacs 21.4 (patch 17) Solaris platform (server)
from Windows terminal emulator(Secure CRT).  I have custom.el file in
.xemacs folder which has only one line "(setq minibuffer-max-depth
nil)".

I want to get line numbers (something like "nl") before the text so
that I can make sense of the error messages. I do realize that there
are some packages but I am not sure what to do with them. Should I just
download them and put them in .xemacs folder or what? I would prefer
step but step instructions please.

thanks for assistance,

best,
mico

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

* Re: Line numbers in buffer (non X-windows)
  2006-04-15 21:30 Line numbers in buffer (non X-windows) micotine
@ 2006-04-17 17:33 ` Colin S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: Colin S. Miller @ 2006-04-17 17:33 UTC (permalink / raw)


micotine@gmail.com wrote:
> Hi,
> 
> Sorry for this oft repeated question but I think I need rather detailed
> instructions. I run XEmacs 21.4 (patch 17) Solaris platform (server)
> from Windows terminal emulator(Secure CRT).  I have custom.el file in
> .xemacs folder which has only one line "(setq minibuffer-max-depth
> nil)".
> 
> I want to get line numbers (something like "nl") before the text so
> that I can make sense of the error messages. I do realize that there
> are some packages but I am not sure what to do with them. Should I just
> download them and put them in .xemacs folder or what? I would prefer
> step but step instructions please.
> 
> thanks for assistance,
> 
> best,
> mico
> 

Mico,

This newsgroup is for FSF Emacs, not (Lucid) XEmacs, which has its own newsgroup on
comp.emacs.xemacs. I've taken the liberty of replying to that group as well, and
setting the followup-to to c.e.xemacs.

To use a package on XEmacs, you have to place it somewhere XEmacs can access it from,
and then tell XEmacs where they are. I use ~/.xemacs/packages but ~/.xemacs/ would work just
as well. To tell XEmacs where the packages are, add to your .xemacs/init.el

(add-path '"~/.xemacs/packages")

you'll probably need to add
(require 'package-name)
in init.el to load the package.

BTW,
Both emacsen have line-number-mode, which adds the current line number to the mode line;
this might be enough for you to orientate yourself.

M-g is goto-line

In XEmacs,
~/.xemacs/init.el is for initialisation code that you have written,
~/.xemacs/custom.el is for code that XEmacs auto-created for you
via the customisation menus.
In FSF Emacs, these are both placed in ~/.emacs


If you have used M-x compile to perform the compile, then pressing
Enter on an error line should take you to the error. If not,
then emacs has to be told how parse the error lines
(it parses compile errors that are in the Unix standard format by default).
If you give an example error somoneone on c.e.xemacs will be able to assist you.

HTH,
Colin S. Miler




-- 
Replace the obvious in my email address with the first three letters of the hostname to reply.

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

end of thread, other threads:[~2006-04-17 17:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-15 21:30 Line numbers in buffer (non X-windows) micotine
2006-04-17 17:33 ` Colin S. Miller

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.