GNU bug report logs - #7667
Emacs info: function toggle-debug-on-quit is not documented

Previous Next

Package: emacs;

Reported by: Jari Aalto <jari.aalto <at> cante.net>

Date: Fri, 17 Dec 2010 17:54:02 UTC

Severity: minor

Found in version 23.2+1-5.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7667 in the body.
You can then email your comments to 7667 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7667; Package emacs. (Fri, 17 Dec 2010 17:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jari Aalto <jari.aalto <at> cante.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 17 Dec 2010 17:54:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jari Aalto <jari.aalto <at> cante.net>
To: submit <at> debbugs.gnu.org
Subject: Emacs info: function toggle-debug-on-quit is not documented
Date: Fri, 17 Dec 2010 19:59:36 +0200
Package: emacs
Version: 23.2+1-5.1
Severity: normal

Function toggle-debug-on-quit is not documented in Emacs info page. Please
add it to file:

    doc/emacs/trouble.texi

-- System Information
Debian Release: squeeze/sid
  APT Prefers testing
  APT policy: (990, testing) (500, unstable) (1, experimental)
Architecture: amd64
Kernel: Linux picasso 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64 GNU/Linux
Locale: LANG=en_DK.UTF-8

-- Versions of packages `emacs depends on'.
Depends:
emacs23         23.2+1-5.1      GNU Emacs is the extensible self-documenting 
emacs23-lucid   23.2+1-5.1      GNU Emacs is the extensible self-documenting 
emacs23-nox     23.2+1-5.1      GNU Emacs is the extensible self-documenting 




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7667; Package emacs. (Tue, 21 Dec 2010 06:58:01 GMT) Full text and rfc822 format available.

Message #8 received at 7667 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Jari Aalto <jari.aalto <at> cante.net>
Cc: 7667 <at> debbugs.gnu.org
Subject: Re: bug#7667: Emacs info: function toggle-debug-on-quit is not
	documented
Date: Tue, 21 Dec 2010 15:03:45 +0800
Jari Aalto <jari.aalto <at> cante.net> writes:

> Function toggle-debug-on-quit is not documented in Emacs info
> page. Please add it to file:
>
>     doc/emacs/trouble.texi

It's documented in the Lisp manual, and mentioned in the Emacs manual in
the node "Bugs" > "Checklist".  Since this command is mostly useful for
Lisp debugging and programming, the documentation belongs in the Lisp
manual.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7667; Package emacs. (Tue, 21 Dec 2010 09:04:02 GMT) Full text and rfc822 format available.

Message #11 received at 7667 <at> debbugs.gnu.org (full text, mbox):

From: Jari Aalto <jari.aalto <at> cante.net>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 7667 <at> debbugs.gnu.org, Jari Aalto <jari.aalto <at> cante.net>
Subject: Re: bug#7667: Emacs info: function toggle-debug-on-quit is not
	documented
Date: Tue, 21 Dec 2010 11:10:22 +0200
2010-12-21 09:03 Chong Yidong <cyd <at> stupidchicken.com>:
| Jari Aalto <jari.aalto <at> cante.net> writes:
| 
| > Function toggle-debug-on-quit is not documented in Emacs info
| > page. Please add it to file:
| >
| >     doc/emacs/trouble.texi
| 
| It's documented in the Lisp manual, and mentioned in the Emacs manual in
| the node "Bugs" > "Checklist".  Since this command is mostly useful for
| Lisp debugging and programming, the documentation belongs in the Lisp
| manual.

The doc/emacs/trouble.texi documents:

@chapter Dealing with Common Problems

    @findex toggle-debug-on-error
    @pindex Edebug
    To make a backtrace for the error, use @kbd{M-x toggle-debug-on-error}
    before the error happens (that is to say, you must give that command
    and then make the bug happen).  This causes the error to start the Lisp
    debugger, which shows you a backtrace.  Copy the text of the
    debugger's backtrace into the bug report.  @xref{Debugger,, The Lisp
    Debugger, elisp, the Emacs Lisp Reference Manual}, for information on
    debugging Emacs Lisp programs with the Edebug package.

    This use of the debugger is possible only if you know how to make the
    bug happen again.  If you can't make it happen again, at least copy
    the whole error message.

The toggle-debug-on-quit is comparable.

It would be awkward not to be able to find it with "s" search command; that
you would need to switch to entirely another info manual to see the
function.

Jari




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 25 Dec 2010 10:34:02 GMT) Full text and rfc822 format available.

Notification sent to Jari Aalto <jari.aalto <at> cante.net>:
bug acknowledged by developer. (Sat, 25 Dec 2010 10:34:02 GMT) Full text and rfc822 format available.

Message #16 received at 7667-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jari Aalto <jari.aalto <at> cante.net>
Cc: cyd <at> stupidchicken.com, 7667-done <at> debbugs.gnu.org
Subject: Re: bug#7667: Emacs info: function toggle-debug-on-quit is
	not	documented
Date: Sat, 25 Dec 2010 12:38:31 +0200
> From: Jari Aalto <jari.aalto <at> cante.net>
> Date: Tue, 21 Dec 2010 11:10:22 +0200
> Cc: 7667 <at> debbugs.gnu.org, Jari Aalto <jari.aalto <at> cante.net>
> 
> | It's documented in the Lisp manual, and mentioned in the Emacs manual in
> | the node "Bugs" > "Checklist".  Since this command is mostly useful for
> | Lisp debugging and programming, the documentation belongs in the Lisp
> | manual.
> 
> The doc/emacs/trouble.texi documents:
> 
> @chapter Dealing with Common Problems
> 
>     @findex toggle-debug-on-error
>     @pindex Edebug
>     To make a backtrace for the error, use @kbd{M-x toggle-debug-on-error}
>     before the error happens (that is to say, you must give that command
>     and then make the bug happen).  This causes the error to start the Lisp
>     debugger, which shows you a backtrace.  Copy the text of the
>     debugger's backtrace into the bug report.  @xref{Debugger,, The Lisp
>     Debugger, elisp, the Emacs Lisp Reference Manual}, for information on
>     debugging Emacs Lisp programs with the Edebug package.
> 
>     This use of the debugger is possible only if you know how to make the
>     bug happen again.  If you can't make it happen again, at least copy
>     the whole error message.
> 
> The toggle-debug-on-quit is comparable.

I see no harm in mentioning it in the Emacs manual, so I added a short
blurb about it.

> It would be awkward not to be able to find it with "s" search command

You should use `i', not `s' for searching an Info manual.  Any
user-level variable and function in an Info manual should be indexed.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 22 Jan 2011 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 146 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.