all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* default startup mode
@ 2005-08-03 22:38 Baloff
  2005-08-04 15:19 ` Kevin Rodgers
       [not found] ` <mailman.2587.1123169657.20277.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Baloff @ 2005-08-03 22:38 UTC (permalink / raw)



Hello

I have this line in my .emacs

(setq default-major-mode 'text-mode)	;new buffers are text mode

when I start emacs, it opens up a scratch buffer in (Lisp Interaction) 
in the mode line. shouldn't that be text mode since the line above is
in the .emacs.
if not, how do I get emacs to start up with text mode as default? or 
should I?


thanks

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

* Re: default startup mode
  2005-08-03 22:38 default startup mode Baloff
@ 2005-08-04 15:19 ` Kevin Rodgers
  2005-08-06 18:13   ` Christian Plate
       [not found] ` <mailman.2587.1123169657.20277.help-gnu-emacs@gnu.org>
  1 sibling, 1 reply; 7+ messages in thread
From: Kevin Rodgers @ 2005-08-04 15:19 UTC (permalink / raw)


Baloff wrote:
 > I have this line in my .emacs
 >
 > (setq default-major-mode 'text-mode)	;new buffers are text mode
 >
 > when I start emacs, it opens up a scratch buffer in (Lisp Interaction)
 > in the mode line. shouldn't that be text mode since the line above is
 > in the .emacs.
 > if not, how do I get emacs to start up with text mode as default? or
 > should I?

,----[ C-h v initial-major-mode RET ]
| initial-major-mode's value is
| lisp-interaction-mode
|
| Documentation:
| Major mode command symbol to use for the initial *scratch* buffer.
|
| You can customize this variable.
|
| Defined in `startup'.
`----

-- 
Kevin Rodgers

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

* Re: default startup mode
  2005-08-04 15:19 ` Kevin Rodgers
@ 2005-08-06 18:13   ` Christian Plate
  2005-08-06 18:53     ` Peter Dyballa
       [not found]     ` <878xzf7x3b.fsf-f2P8RtOhboYi5CQI31g/s0B+6BGkLq7r@public.gmane.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Christian Plate @ 2005-08-06 18:13 UTC (permalink / raw)
  Cc: help-gnu-emacs


Kevin Rodgers <ihs_4664@yahoo.com> writes:
> ,----[ C-h v initial-major-mode RET ]
> | initial-major-mode's value is
> | lisp-interaction-mode

How do make these pretty boxes?

Regards, Christian

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

* Re: default startup mode
  2005-08-06 18:13   ` Christian Plate
@ 2005-08-06 18:53     ` Peter Dyballa
       [not found]     ` <878xzf7x3b.fsf-f2P8RtOhboYi5CQI31g/s0B+6BGkLq7r@public.gmane.org>
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Dyballa @ 2005-08-06 18:53 UTC (permalink / raw)
  Cc: Kevin Rodgers, help-gnu-emacs


Am 06.08.2005 um 20:13 schrieb Christian Plate:

> Kevin Rodgers <ihs_4664@yahoo.com> writes:
>> ,----[ C-h v initial-major-mode RET ]
>> | initial-major-mode's value is
>> | lisp-interaction-mode
>
> How do make these pretty boxes?
>

blockquote.el

--
Greetings

   Pete                                           0
                                            %-/\_//
                                             (*)(*)

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

* Re: default startup mode
       [not found]     ` <878xzf7x3b.fsf-f2P8RtOhboYi5CQI31g/s0B+6BGkLq7r@public.gmane.org>
@ 2005-08-06 18:58       ` Jochen Küpper
  0 siblings, 0 replies; 7+ messages in thread
From: Jochen Küpper @ 2005-08-06 18:58 UTC (permalink / raw)


Christian Plate <cplate-S0/GAf8tV78@public.gmane.org> writes:

> How do make these pretty boxes?

,----[boxquote.el]
| URL:http://www.davep.org/emacs/#boxquote.el
`----

Greetings,
Jochen
-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
        (Part 3 you find in my messages before fall 2003.)

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

* Re: default startup mode
       [not found] ` <mailman.2587.1123169657.20277.help-gnu-emacs@gnu.org>
@ 2005-08-06 23:37   ` Baloff
  2005-08-08 19:32     ` Kevin Rodgers
  0 siblings, 1 reply; 7+ messages in thread
From: Baloff @ 2005-08-06 23:37 UTC (permalink / raw)


Kevin Rodgers <ihs_4664@yahoo.com> writes:

> Baloff wrote:
> 
>  > I have this line in my .emacs
>  >
>  > (setq default-major-mode 'text-mode)	;new buffers are text mode
>  >
>  > when I start emacs, it opens up a scratch buffer in (Lisp Interaction)
>  > in the mode line. shouldn't that be text mode since the line above is
>  > in the .emacs.
>  > if not, how do I get emacs to start up with text mode as default? or
>  > should I?
> 
> ,----[ C-h v initial-major-mode RET ]
> | initial-major-mode's value is
> | lisp-interaction-mode
> |
> | Documentation:
> | Major mode command symbol to use for the initial *scratch* buffer.
> |
> | You can customize this variable.
> |
> | Defined in `startup'.
> `----
> 
> -- 
> Kevin Rodgers

thanks, 
I went looking for info about startup and found

Initial Options
===============

...
   Some initial options affect the loading of init files.  The normal
actions of Emacs are to first load `site-start.el' if it exists, then
your own init file `~/.emacs' if it exists, and finally `default.el' if
it exists; certain options prevent loading of some of these files or
substitute other files for them.


how do I find out if "in my case" all 3 files started up or any did
not.

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

* Re: default startup mode
  2005-08-06 23:37   ` Baloff
@ 2005-08-08 19:32     ` Kevin Rodgers
  0 siblings, 0 replies; 7+ messages in thread
From: Kevin Rodgers @ 2005-08-08 19:32 UTC (permalink / raw)


Baloff wrote:
 > I went looking for info about startup and found
 >
 > Initial Options
 > ===============
 >
 > ...
 >    Some initial options affect the loading of init files.  The normal
 > actions of Emacs are to first load `site-start.el' if it exists, then
 > your own init file `~/.emacs' if it exists, and finally `default.el' if
 > it exists; certain options prevent loading of some of these files or
 > substitute other files for them.
 >
 >
 > how do I find out if "in my case" all 3 files started up or any did
 > not.

If you look at the code in startup.el, you can see that user-init-file
is set to nil if ~/.emacs was not loaded, otherwise it should be the
full path to the file.  Emacs respects the inhibit-default-init file,
unless it it's non-nil the default library should have been loaded.
Similarly, unless site-run-file is nil the site-start library should
have been loaded.

However it is possible that any of those files was partially loaded,
then aborted due to errors.  I don't know if it's possible to detect
those cases after the fact, but if you're concerned you should start
emacs with the --debug-init option.

-- 
Kevin Rodgers

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

end of thread, other threads:[~2005-08-08 19:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-03 22:38 default startup mode Baloff
2005-08-04 15:19 ` Kevin Rodgers
2005-08-06 18:13   ` Christian Plate
2005-08-06 18:53     ` Peter Dyballa
     [not found]     ` <878xzf7x3b.fsf-f2P8RtOhboYi5CQI31g/s0B+6BGkLq7r@public.gmane.org>
2005-08-06 18:58       ` Jochen Küpper
     [not found] ` <mailman.2587.1123169657.20277.help-gnu-emacs@gnu.org>
2005-08-06 23:37   ` Baloff
2005-08-08 19:32     ` Kevin Rodgers

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.