Commit graph

239 commits

Author SHA1 Message Date
Lars Ingebrigtsen
cc26d239af Prompt in a more logical fashion when sending bug reports
* gnus/message.el (message-default-send-mail-function): Made into own
function for reuse by emacsbug.el.

* mail/emacsbug.el (report-emacs-bug-hook): Query the user first
about SMTP before checking the From header.

* mail/sendmail.el (sendmail-query-user-about-smtp): Refacored out
into own function for reuse by emacsbug.el.
2012-02-10 19:16:19 +01:00
Glenn Morris
3f88cd72e9 Doc fixes for emacsbug.el
* lisp/mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
(report-emacs-bug-can-use-xdg-email):
(report-emacs-bug-insert-to-mailer): Doc fixes.
(report-emacs-bug): Message fix.
* etc/NEWS: Related edit.

* lisp/net/browse-url.el: Comment.
2012-02-08 22:29:41 -05:00
Eli Zaretskii
4d4ec1f815 Fix bug #9924 with long display of system-configuration-options in emacsbug.el.
lisp/mail/emacsbug.el (report-emacs-bug): Fill the potentially long
 line that displays system-configuration-options.
2012-01-28 12:49:17 +02:00
Glenn Morris
acaf905b11 Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
Paul Eggert
333f9019e2 Spelling fixes. 2011-12-11 21:32:49 -08:00
Richard M. Stallman
19c3875245 Autoload report-emacs-bug-query-existing-bugs. 2011-09-23 19:47:27 -04:00
Chong Yidong
1176868d0a Tweaks to the report-emacs-bug preamble.
* mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
debbugs.gnu.org.  Mention acknowledgment email.
2011-06-28 14:10:11 -04:00
Glenn Morris
67a0931d39 Use derived-mode-p in previous change. 2011-05-31 20:50:20 -07:00
Glenn Morris
d1a5d56a0c * lisp/mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From. 2011-05-31 20:35:49 -07:00
Glenn Morris
5ec8a86217 * lisp/mail/emacsbug.el: Don't require url-util. 2011-05-26 21:58:50 -04:00
Glenn Morris
fc6c27276c Restrict regexp match in previous emacsbug.el change. 2011-05-26 09:14:53 -07:00
Glenn Morris
e4245494ba Adjust prompt in previous emacsbug.el change. 2011-05-25 19:57:08 -07:00
Glenn Morris
7d15102b76 Try to check From address in bug reports (bug#8038)
* lisp/mail/emacsbug.el (report-emacs-bug): Mention checking From address.
(report-emacs-bug-hook): Try to validate the From address.
2011-05-25 20:52:33 -04:00
Stefan Monnier
4f91a8160f Don't quote lambda expressions with `quote'. 2011-05-23 14:57:17 -03:00
Chong Yidong
f8b351c190 Remove the check for non-ASCII in report-emacs-bug-hook (Bug#7925).
* mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
non-ASCII characters.
2011-02-06 10:04:31 -05:00
Jan Djärv
253f7d1bc5 Implement C-c m in report-emacs-bug (insert to mailer) for OSX.
* mail/emacsbug.el (report-emacs-bug-insert-to-mailer): Check
report-emacs-bug-can-use-osx-open and use that if t.
(report-emacs-bug-can-use-osx-open): New function.
(report-emacs-bug): Rename can-xdg-email to can-insert-mail.
Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2011-01-30 19:59:58 +01:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Stefan Monnier
77ab81d054 Merge from emacs-23 2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Glenn Morris
e554b3f832 Small emacsbug.el stuff.
* lisp/mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
(report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2010-12-09 19:39:18 -08:00
Glenn Morris
5fe9ebd14e * mail/emacsbug.el (report-emacs-bug): Try to handle some other mail clients. 2010-12-07 19:47:27 -08:00
Glenn Morris
f62f063dd0 emacsbug.el trivia.
* lisp/mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
Remove more undefined cl functions.
2010-12-02 19:03:06 -08:00
Glenn Morris
a140ec5f5e Fix emacsbug.el errors clearly flagged by the byte-compiler.
* lisp/mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
Replace undefined CL functions.
2010-11-26 19:15:59 -08:00
Tassilo Horn
331460ac64 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Mention
that the keywords should be comma separated.
2010-11-23 09:00:56 +01:00
Tassilo Horn
7dcd777e14 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
(report-emacs-bug-parse-query-results)
(report-emacs-bug-create-existing-bugs-buffer): Pass through
keywords used for querying the bug database to show them in the
existing bugs buffer.
2010-11-20 18:32:57 +01:00
Tassilo Horn
614316a700 * mail/emacsbug.el (report-emacs-bug-tracker-url)
(report-emacs-bug-create-existing-bugs-buffer)
(report-emacs-bug-parse-query-results)
(report-emacs-bug-query-existing-bugs): Implemented a bug querying
mechanism.
2010-11-20 12:39:44 +01:00
Juanma Barranquero
220d91b834 Merge changes from emacs-23 branch. 2010-10-14 16:32:27 +02:00
Glenn Morris
7163badd35 * lisp/mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org. 2010-10-12 20:05:22 -07:00
Chong Yidong
bd78fa1d54 Add "Package:" file headers to denote built-in packages. 2010-08-29 12:17:13 -04:00
Jan Djärv
489cd5bd5a Add command C-c m in report-emacs-bug that puts the bug into preferred mailer.
Depends on xdg-email being available.

* lisp/mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
(report-emacs-bug-can-use-xdg-email): New functions.
(report-emacs-bug): Set can-xdg-email to result of
report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
\C-cm to report-emacs-bug-insert-to-mailer and add help text
about it.
2010-08-17 12:07:41 +02:00
Glenn Morris
27be0364aa Minor simplifications for emacsbug.el.
* mail/emacsbug.el (report-emacs-bug-pretest-address):
Make it an obsolete alias for report-emacs-bug-address.
(message-strip-special-text-properties): Declare.
(report-emacs-bug): Remove test for a pretest bug address.
Combine message-mode-specific code.
2010-03-17 23:18:47 -07:00
Glenn Morris
893db5bcf0 Replace emacs-pretest-bug with bug-gnu-emacs mailing list.
See http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00758.html

* emacs.c (REPORT_EMACS_BUG_PRETEST_ADDRESS): Set it to
bug-gnu-emacs rather than emacs-pretest-bug.

* mail/emacsbug.el (report-emacs-bug-pretest-address): Set
it to bug-gnu-emacs rather than emacs-pretest-bug.

* CONTRIBUTE, NEWS: Use bug-gnu-emacs rather than emacs-pretest-bug
for bug reports for development versions.

* trouble.texi (Checklist): Use bug-gnu-emacs rather than
emacs-pretest-bug for bug reports for development versions.

* emacs-pretesters, make-announcement: Use bug-gnu-emacs rather
than emacs-pretest-bug for bug reports for development versions.

* INSTALL.BZR, README: Use bug-gnu-emacs rather than emacs-pretest-bug
for bug reports for development versions.
2010-01-11 21:11:05 -08:00
Glenn Morris
2251f36277 Comment. 2009-12-14 06:39:39 +00:00
Glenn Morris
a0cefee5c1 (message-sort-headers): Define for compiler. 2009-12-14 03:28:34 +00:00
Glenn Morris
2f1b7dc4a2 (report-emacs-bug): In message-mode, sort manually before storing
original report text.  (Bug#5178)
Remove superfluous save-excursion.
2009-12-13 23:43:17 +00:00
Glenn Morris
850948552d No longer require sendmail.
Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
(report-emacs-bug-orig-text): Doc fix.
(report-emacs-bug-send-command, report-emacs-bug-send-hook):
New local variables, to adapt to different mail-user-agents.
(report-emacs-bug): Fix test for a gnu.org address.
Use overlays for emphasis, since font-lock defeats 'face property.
Pretest bugs also end up at the newsgroup these days.
Stop message-mode stripping text properties.
Set and use the new buffer-local variables.
(report-emacs-bug-hook): Add doc-string.
Remove some unnecessary save-excursions and simplify.
Use the appropriate hook and send-command.
2009-12-11 01:21:35 +00:00
Glenn Morris
d8194864bc (report-emacs-bug): Use whichever send command is appropriate for the
mail-user-agent in use.
2009-12-10 08:17:15 +00:00
Glenn Morris
31c615e404 Remove odd/obsolete header comment.
(report-emacs-bug): Request `emacs -Q' recipes.
2009-10-31 02:13:38 +00:00
Chong Yidong
3e42584538 * mail/emacsbug.el (report-emacs-bug): Clarify that the
keybindings apply to the mail buffer (Bug#4003).  Shrink help
window to buffer.
2009-10-24 22:09:08 +00:00
Chong Yidong
0000606683 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
to the DEBUG file (Bug#3781).
2009-10-23 16:17:17 +00:00
Glenn Morris
9656d87b30 (report-emacs-bug): Also print `features'. 2009-10-09 06:29:56 +00:00
Glenn Morris
597e2240ab Use default-value rather than default-enable-multibyte-characters. 2009-09-03 06:54:57 +00:00
Glenn Morris
0b9521973e (report-emacs-bug): Include any load-path shadows. 2009-07-22 02:34:51 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Glenn Morris
aa360da10d Add some compiler declarations, for builds without X. 2008-06-12 03:56:20 +00:00
Glenn Morris
b1fc2b5014 Switch to recommended form of GPLv3 permissions notice. 2008-05-06 07:25:26 +00:00
Glenn Morris
4d8da9a425 Update commentary.
Remove leading `*' from defcustom doc-strings.
(Info-menu, Info-goto-node): Remove declarations.
(report-emacs-bug-info): Use info rather than Info-goto-node.
2008-02-28 03:43:47 +00:00
Miles Bader
430d2ee291 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
2008-01-09 01:21:15 +00:00
Stefan Monnier
48d33090d0 * erc-ibuffer.el (erc-channel-modes):
* bs.el (bs--sort-by-mode, bs--get-mode-name):
* imenu.el (imenu-add-to-menubar):
* makesum.el (make-command-summary):
* mouse.el (mouse-major-mode-menu, mouse-popup-menubar, mouse-buffer-menu):
* msb.el (msb--mode-menu-cond):
* calc/calc-embed.el (calc-do-embedded):
* emacs-lisp/helper.el (Helper-describe-mode):
* mail/emacsbug.el (report-emacs-bug):
* progmodes/hideshow.el (hs-grok-mode-type):
* textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
* textmodes/table.el (*table--cell-describe-mode):
Pass mode-name through format-mode-line.
2008-01-04 06:29:12 +00:00
Miles Bader
0bd5084171 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
2007-12-06 09:51:45 +00:00