all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: report-emacs-bug
Date: Mon, 22 Sep 2003 12:04:41 -0600	[thread overview]
Message-ID: <3F6F39B9.6020908@yahoo.com> (raw)
In-Reply-To: E1A0pGT-0005yh-3p@fencepost.gnu.org

Richard Stallman wrote:

> This is a good idea--would someone like to do it?
> 
> To: bug-gnu-emacs@gnu.org
> From: Dan Jacobson <jidanni@jidanni.org>
> Date: Sat, 20 Sep 2003 03:24:56 +0800
> Subject: report-emacs-bug could also list current modes
> Sender: bug-gnu-emacs-bounces+rms=gnu.org@gnu.org
> 
> report-emacs-bug in its report could also list the current major and minor modes in
> effect...

Here ya go:

*** emacs-21.3/lisp/mail/emacsbug.el.orig	Fri Aug 31 11:59:42 2001
--- emacs-21.3/lisp/mail/emacsbug.el	Mon Sep 22 11:55:25 2003
***************
*** 75,80 ****
--- 75,91 ----
     ;; If there are four numbers in emacs-version, this is a pretest
     ;; version.
     (let ((pretest-p (string-match "\\..*\\..*\\." emacs-version))
+         (buffer-info (concat  "  major-mode: " (symbol-name major-mode) "\n"
+                               "  active minor modes: "
+                               (mapconcat (lambda (key-value)
+                                            (let ((variable (car key-value)))
+                                              (if (and (boundp variable)
+                                                       (symbol-value variable))
+                                                  (concat (symbol-name variable)
+                                                          " "))))
+                                          minor-mode-alist
+                                          "")
+                               "\n"))
   	user-point message-end-point)
       (setq message-end-point
   	  (with-current-buffer (get-buffer-create "*Messages*")
***************
*** 126,131 ****
--- 137,145 ----
       (insert (format "  locale-coding-system: %s\n" locale-coding-system))
       (insert (format "  default-enable-multibyte-characters: %s\n"
   		    default-enable-multibyte-characters))
+     ;; (insert "\n")
+     ;; (insert "Buffer info:\n")
+     (insert buffer-info)
       (insert "\n")
       (insert "Please describe exactly what actions triggered the bug\n"
   	    "and the precise symptoms of the bug:\n\n")

-- 
Kevin Rodgers

      reply	other threads:[~2003-09-22 18:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-20 21:27 report-emacs-bug Richard Stallman
2003-09-22 18:04 ` Kevin Rodgers [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F6F39B9.6020908@yahoo.com \
    --to=ihs_4664@yahoo.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.
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.