unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* report-emacs-bug
@ 2003-09-20 21:27 Richard Stallman
  2003-09-22 18:04 ` report-emacs-bug Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Stallman @ 2003-09-20 21:27 UTC (permalink / raw)


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

By the way, aside from blabberous describe-mode, and staring at the
mode line, where is a concise list of the current modes in effect?
There is no list-modes, show-modes, etc.
I do apropos modes, and see things like "minor-modes" with no
explanation of what they are doing there on a separate line:
(apropos "modes" nil)

mc-modes-alist
  Variable: Association list (indexed by major mode) of association lists
  Plist: variable-documentation
minor-modes
mmm-c-derived-modes
  Variable: (not documented)
...
mode-line-modes
  Plist: risky-local-variable
modes
modesym
nnmail-default-file-modes
  Variable: Set the mode bits of all new mail files to this integer.


_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs

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

* Re: report-emacs-bug
  2003-09-20 21:27 report-emacs-bug Richard Stallman
@ 2003-09-22 18:04 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2003-09-22 18:04 UTC (permalink / raw)


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

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

end of thread, other threads:[~2003-09-22 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-20 21:27 report-emacs-bug Richard Stallman
2003-09-22 18:04 ` report-emacs-bug Kevin Rodgers

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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