unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 20697@debbugs.gnu.org
Subject: bug#20697: 25.0.50; Mention `M-x report-emacs-bug' on splash screen
Date: Wed, 21 Aug 2019 02:41:53 +0200	[thread overview]
Message-ID: <CADwFkmm3a8+Y92t-tWDfm0t6pbkUVK541+yd58i50YcJU-z=UA@mail.gmail.com> (raw)
In-Reply-To: <279f13f9-e156-4e8b-824c-8e9704033679@default>

[-- Attachment #1: Type: text/plain, Size: 688 bytes --]

tags 20697 + patch
quit

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Drew Adams <drew.adams@oracle.com> writes:
>
>> Consider adding `M-x report-emacs-bug' to the splash page.
>> (And consider pointing out the Help menu, on the splash page.)
>>
>> Here is one indication that a new user might not know how to file a
>> bug report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20628#284
>>
>>   This is a bug that had annoyed me 4 or 5 years ago when I first used
>>   Emacs, but at that time I didn't really know how to report bugs.
>
> There's already too much verbiage on the splash screen, but perhaps this
> would make sense...

How about the attached patch?

Thanks,
Stefan Kangas

[-- Attachment #2: 0001-Add-Reporting-Bugs-link-to-about-screen.patch --]
[-- Type: text/x-patch, Size: 2038 bytes --]

From dd55db518e27615ef871d19eede9a20cf71832b6 Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefankangas@gmail.com>
Date: Wed, 21 Aug 2019 02:37:41 +0200
Subject: [PATCH] Add "Reporting Bugs" link to about screen

* lisp/help.el (view-emacs-howto-report-bugs): New function.
* lisp/startup.el (fancy-about-text, normal-about-screen): Add link
"Reporting Bugs".  (Bug#20697)
---
 lisp/help.el    |  5 +++++
 lisp/startup.el | 10 +++++++++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/lisp/help.el b/lisp/help.el
index e40178de96..1f0d0e8e36 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -438,6 +438,11 @@ view-emacs-FAQ
   (interactive)
   (info "(efaq)"))
 
+(defun view-emacs-howto-report-bugs ()
+  "Display information on how to report bugs in Emacs."
+  (interactive)
+  (info "(emacs)Bugs"))
+
 (defun view-emacs-problems ()
   "Display info on known problems with Emacs and possible workarounds."
   (interactive)
diff --git a/lisp/startup.el b/lisp/startup.el
index 564428580b..c8a651c4aa 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1596,6 +1596,8 @@ fancy-about-text
      :link ("Contributing"
 	    ,(lambda (_button) (info "(emacs)Contributing")))
      "\tHow to contribute improvements to Emacs\n"
+     :link ("Report Bugs" ,(lambda (_button) (view-emacs-howto-report-bugs)))
+     "\tHow to report bugs in Emacs\n"
      "\n"
      :link ("GNU and Freedom" ,(lambda (_button) (describe-gnu-project)))
      "\tWhy we developed GNU Emacs, and the GNU operating system\n"
@@ -2174,7 +2176,13 @@ normal-about-screen
 		 'action
 		 (lambda (_button) (info "(emacs)Contributing"))
 		 'follow-link t)
-  (insert "\tHow to contribute improvements to Emacs\n\n")
+  (insert "\tHow to contribute improvements to Emacs\n")
+
+  (insert-button "Reporting Bugs"
+		 'action
+		 (lambda (_button) (view-emacs-howto-report-bugs))
+		 'follow-link t)
+  (insert "\tHow to report bugs in Emacs\n\n")
 
   (insert-button "GNU and Freedom"
 		 'action (lambda (_button) (describe-gnu-project))
-- 
2.20.1


  parent reply	other threads:[~2019-08-21  0:41 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-30 14:42 bug#20697: 25.0.50; Mention `M-x report-emacs-bug' on splash screen Drew Adams
2016-04-30 19:33 ` Lars Ingebrigtsen
2019-08-21  0:41 ` Stefan Kangas [this message]
2019-08-21  1:59   ` Drew Adams
2019-08-21 20:02   ` Lars Ingebrigtsen
2019-08-21 21:02     ` Stefan Kangas
2019-08-21 21:27       ` Drew Adams
2019-09-13 19:39         ` Stefan Kangas
2019-09-13 20:13           ` Drew Adams
2019-09-14 12:01             ` Stefan Kangas
2019-09-14 15:54               ` Drew Adams
2019-09-28 13:44                 ` Stefan Kangas
2019-09-28 13:49                   ` Stefan Kangas
2019-09-29  0:42                   ` Drew Adams
2020-01-16  2:06                   ` Stefan Kangas
2020-01-16 14:49                     ` Eli Zaretskii
2020-01-16 14:55                       ` Stefan Kangas
2020-01-16 15:16                         ` Eli Zaretskii
2020-01-16 20:36                           ` Stefan Kangas
2019-08-21 21:38       ` Lars Ingebrigtsen
2019-09-13 19:29         ` Stefan Kangas
2019-09-14  6:41           ` Eli Zaretskii
2019-09-14 12:06             ` Stefan Kangas
2019-09-14 12:11           ` Lars Ingebrigtsen
2019-09-28 13:39             ` Stefan Kangas

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CADwFkmm3a8+Y92t-tWDfm0t6pbkUVK541+yd58i50YcJU-z=UA@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=20697@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /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 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).