unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "B. T. Raven" <ecinmn@alcisp.com>
Subject: Re: .emacs or .emacs-init file to modify ^H
Date: Wed, 27 Sep 2006 09:54:47 -0500	[thread overview]
Message-ID: <2c016$451a8f30$49ede10$10674@DIALUPUSA.NET> (raw)
In-Reply-To: mailman.7483.1159355800.9609.help-gnu-emacs@gnu.org

.emacs or .emacs-init file to modify ^H
"Anderson Krista" <Krista.Anderson@comverse.com> wrote in message
news:mailman.7483.1159355800.9609.help-gnu-emacs@gnu.org...
Hello,
I'm a long-time emacs user (First Bell Labs and then GNU), but new to MS
Windows.  If I have a few simple things to do like:


(global-set-key "\C-h" 'delete-backward-char)

Better to use some other key combo. C-h is a prefix for many useful help
functions. If you override this with your own assignment it will make the
documentation less useful.
Btw, why is there both 'delete-backward-char and 'backward-delete-char ???
Anyone ???

(global-set-key "\M-?" 'help-command)

This is okay since M-? is undefined 'out of the box'

>(display-time)

Maybe better to use  Customize Emacs > Specific Option from the Menu Bar.
This will write  '(display-time-mode t nil (time)) into a
custom-set-variables form in your .emacs.

>(setq line-number-mode t)

Same thing here. Apparently this is set to t automatically when you
specify  '(line-number-display-limit someinteger), also using Customize.
This should probably be set if there is a chance that you will look at
huges files.

>then how do I make gnu emacs point to the MS Windows directory that has
the .emacs or .emacs-init file?  Also, how do I make it find a >simple
lisp file in an MS Windows directory?

.emacs should be at home in the HOME directory. This defaults to the root
of the boot partition but can be set in autoexec.bat or another .bat file
if you wish. Maybe also in other ways in the later incarnations of msw. I
am using msw98 here.
If you make a short-cut  for launching Emacs then you can specify a start
directory in Properties > Program > Working: Lisp files should eventually
be stored in <emacsinstalldirectory>\lisp or ... \site-lisp but you can
start editing them in the Working: directory at first. LOADPATH is usually
something like ...\site-lisp;...\lisp;...\leim so that you will have to
specify the full path of the .el file if you want to load it from somewher
e else.

>I didn't build it from a configuration file, but just downloaded
binaries.

Same here. I don't think I would be able to figure out how to build it.

>Thanks much,
>Krista Anderson

       reply	other threads:[~2006-09-27 14:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7483.1159355800.9609.help-gnu-emacs@gnu.org>
2006-09-27 14:54 ` B. T. Raven [this message]
2006-09-26 19:39 .emacs or .emacs-init file to modify ^H Anderson Krista
2006-09-27 18:15 ` Eli Zaretskii
2006-09-28 14:42 ` Kevin Rodgers

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='2c016$451a8f30$49ede10$10674@DIALUPUSA.NET' \
    --to=ecinmn@alcisp.com \
    /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).