unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* seting default values
@ 2004-01-11  0:41 wsgr12
  2004-01-11  4:02 ` Tim McNamara
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: wsgr12 @ 2004-01-11  0:41 UTC (permalink / raw)


Hi, 

I would like to know what to write in .emacs in order to

1. set the default font to be terminal
2. change the default screen size
3. change the tab size
4. autoload some mode

Examples will be greatly appreciated.

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

* Re: seting default values
  2004-01-11  0:41 seting default values wsgr12
@ 2004-01-11  4:02 ` Tim McNamara
  2004-01-11  6:11 ` Eli Zaretskii
  2004-01-28  8:28 ` Kai Grossjohann
  2 siblings, 0 replies; 4+ messages in thread
From: Tim McNamara @ 2004-01-11  4:02 UTC (permalink / raw)


wsgr12@yahoo.com (wsgr12) writes:

> Hi, 
>
> I would like to know what to write in .emacs in order to
>
> 1. set the default font to be terminal

What do you mean by this?  To launch eshell on startup?

> 2. change the default screen size

The size and location of the first screen you see is determined by
something other than Emacs.  How this is set depends on what OS you
are using.

> 3. change the tab size

Try the Options menu, the Customize Emacs item.  When you save the
changes you make, your .emacs is already updated.  You can change a
*lot* of stuff without ever manually editing your .emacs.

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

* Re: seting default values
  2004-01-11  0:41 seting default values wsgr12
  2004-01-11  4:02 ` Tim McNamara
@ 2004-01-11  6:11 ` Eli Zaretskii
  2004-01-28  8:28 ` Kai Grossjohann
  2 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2004-01-11  6:11 UTC (permalink / raw)


> From: wsgr12@yahoo.com (wsgr12)
> Newsgroups: gnu.emacs.help
> Date: 10 Jan 2004 16:41:49 -0800
> 
> I would like to know what to write in .emacs in order to

First, a word of advice: don't lump several unrelated issues into a
single message, because that makes it hard to follow the resulting
discussion, as it usually breaks up into several separate sub-threads.
It also makes it harder for you to come up with a meaningful Subject
line, thus some people who read this forum will miss the thread.

> 1. set the default font to be terminal

(add-to-list 'default-frame-alist '(font . "-*-*terminal-*-*-*-*-*-*-*-*-*"))

> 2. change the default screen size

(add-to-list 'default-frame-alist '(height . 40))
(add-to-list 'default-frame-alist '(width . 90))

> 3. change the tab size

(setq tab-width 2)

> 4. autoload some mode

(autoload 'matlab-mode "matlab-mode" "Enter Matlab mode." t)

Note that all of this is documented in the Emacs manual, so please
make a point of looking there first, and ask questions here if you
cannot find anything in the manual or if what you found is somehow
unclear.  That way, you will become familiar with the on-line docs
faster, and you also help making the documentation better when you
report its shortcomings.

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

* Re: seting default values
  2004-01-11  0:41 seting default values wsgr12
  2004-01-11  4:02 ` Tim McNamara
  2004-01-11  6:11 ` Eli Zaretskii
@ 2004-01-28  8:28 ` Kai Grossjohann
  2 siblings, 0 replies; 4+ messages in thread
From: Kai Grossjohann @ 2004-01-28  8:28 UTC (permalink / raw)


wsgr12@yahoo.com (wsgr12) writes:

> 3. change the tab size

Note that there are two different things: What does Emacs display when
it sees a tab character?  And what happens when you hit the TAB key?

In unusual circumstances, Emacs could display "goobledigook" when it
sees a tab character, and remove three spaces when you hit the TAB key
;-)

Please specify your question further...

Kai

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

end of thread, other threads:[~2004-01-28  8:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-11  0:41 seting default values wsgr12
2004-01-11  4:02 ` Tim McNamara
2004-01-11  6:11 ` Eli Zaretskii
2004-01-28  8:28 ` Kai Grossjohann

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