Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

r.f.e. emacs tutorial

10 views
Skip to first unread message

Jude DaShiell

unread,
Aug 24, 2020, 12:37:20 PM8/24/20
to help-gn...@gnu.org
In some future version of emacs would it be possible to include a session
on the emacs debugger for when .emacs and similar files get messed up how
to use emacs --debug to locate problems and repair those problems?


--


Emanuel Berg

unread,
Aug 24, 2020, 1:06:12 PM8/24/20
to help-gn...@gnu.org
... what is "r.f.e.", Radio Free Europe?

Jude DaShiell wrote:

> on the emacs debugger for when .emacs and similar
> files get messed up how to use emacs --debug to
> locate problems and repair those problems?

There seems to be no such option as --debug according
to the man page emacs(1) (GNU Emacs 26.1,
2007 April 13 - hm ... that old a man page?)

OTOH, Emacs doesn't report an error on
$ emacs --debug # maybe because it is a prefix of
--debug-init, as e.g. --xyz does report
'Unknown option'.

(If indeed a prefix thing, it should be dropped IMO.
Error prone and doesn't look right - by
definition, even.)

Anyway, keeping up with the man page, it says:

--debug-init
Enable Emacs Lisp debugger during the process‐
ing of the user init file ~/.emacs. This is
useful for debugging problems in the init file.

Here,

(info "(emacs) Initial Options")

it says

--debug-init’
Enable the Emacs Lisp debugger for errors in the init file. *Note
Entering the Debugger on an Error: (elisp)Error Debugging.

which is a reference to

(info "(elisp) Error Debugging")

where

(how-many "init") ; 4

HIH :)

--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal


Jude DaShiell

unread,
Aug 24, 2020, 1:23:04 PM8/24/20
to Emanuel Berg, help-gn...@gnu.org
In internet context request for enhancement similar to R.F.C. request
for comments.

On Mon, 24 Aug 2020, Emanuel Berg via Users list for the GNU Emacs text
editor wrote:

> Date: Mon, 24 Aug 2020 13:05:55
> From: Emanuel Berg via Users list for the GNU Emacs text editor
> <help-gn...@gnu.org>
> Reply-To: Emanuel Berg <moase...@zoho.eu>
> To: help-gn...@gnu.org
> Subject: Re: r.f.e. emacs tutorial
>
> ... what is "r.f.e.", Radio Free Europe?
>
> Jude DaShiell wrote:
>
> > on the emacs debugger for when .emacs and similar
> > files get messed up how to use emacs --debug to
> > locate problems and repair those problems?
>
> There seems to be no such option as --debug according
> to the man page emacs(1) (GNU Emacs 26.1,
> 2007 April 13 - hm ... that old a man page?)
>
> OTOH, Emacs doesn't report an error on
> $ emacs --debug # maybe because it is a prefix of
> --debug-init, as e.g. --xyz does report
> 'Unknown option'.
>
> (If indeed a prefix thing, it should be dropped IMO.
> Error prone and doesn't look right - by
> definition, even.)
>
> Anyway, keeping up with the man page, it says:
>
> --debug-init
> Enable Emacs Lisp debugger during the process?
> ing of the user init file ~/.emacs. This is
> useful for debugging problems in the init file.
>
> Here,
>
> (info "(emacs) Initial Options")
>
> it says
>
> --debug-init?

Steve G

unread,
Mar 30, 2022, 9:32:29 PM3/30/22
to
You must be kindding right? When emacs starts up you can click on the
tutorial link with the cursor and RET.


0 new messages