summaryrefslogtreecommitdiff
path: root/lisp/mail/emacsbug.el
Commit message (Collapse)AuthorAgeFilesLines
* Don't use `format' on strings without % format directivesLars Ingebrigtsen2021-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/ediff-init.el (ediff-BAD-INFO): * lisp/url/url-ldap.el (url-ldap): * lisp/url/url-http.el (url-http--user-agent-default-string): * lisp/textmodes/reftex.el (reftex-access-parse-file): * lisp/textmodes/reftex-index.el (reftex-index-phrases-info): * lisp/textmodes/ispell.el (ispell-create-debug-buffer): * lisp/term.el (serial-read-speed): * lisp/progmodes/verilog-mode.el (verilog-scan-debug): * lisp/progmodes/idlwave.el (idlwave-find-module): * lisp/progmodes/compile.el (compilation-revert-buffer): * lisp/org/org-agenda.el (org-search-view): * lisp/net/telnet.el (telnet-revert-buffer): * lisp/net/soap-inspect.el (soap-sample-value-for-xs-simple-type): * lisp/net/newst-backend.el (newsticker--cache-read): * lisp/mh-e/mh-seq.el (mh-msg-is-in-seq): * lisp/mail/smtpmail.el (smtpmail-via-smtp): * lisp/mail/emacsbug.el (report-emacs-bug): * lisp/jsonrpc.el (jsonrpc-error): * lisp/help-fns.el (describe-variable): * lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): * lisp/gnus/gnus.el (gnus-group-startup-message): (gnus-group-startup-message): * lisp/gnus/gnus-group.el (gnus-group-restart): * lisp/frame.el (make-frame-on-display): * lisp/emulation/viper-ex.el (ex-help): * lisp/calendar/icalendar.el (icalendar--convert-ical-to-diary): (icalendar--add-diary-entry): * lisp/calendar/cal-tex.el (cal-tex-end-document): * lisp/calc/calcalg3.el (math-ninteg-romberg): Don't use `format' on strings that have no % format directives in them.
* Merge remote-tracking branch 'savannah/master' into native-compAndrea Corallo2021-03-121-15/+13
|\
| * * lisp/mail/: Use lexical-bindingStefan Monnier2021-03-111-15/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove some redundant `:group` args as well. * lisp/mail/supercite.el: Use lexical-binding. (completer-disable): Declare var. (sc-set-variable): Don't rely on dynbind to access `help` variable. * lisp/mail/mail-extr.el: Use lexical-binding. (mail-extract-address-components): Avoid use of dynamic scoping to refer to local vars. * lisp/mail/mailabbrev.el: Use lexical-binding. (mail-abbrev-make-syntax-table): Rename `_` variable to `syntax-_`. * lisp/mail/mailheader.el: Use lexical-binding. (headers): Don't declare as dynbound globally. (mail-header-set, mail-header-merge): Declare `headers` as dynbound locally, instead. Mark those functions as obsolete. (mail-header-format): Use `alist-get` instead of `mail-header`. * lisp/mail/binhex.el (binhex-decode-region-external): Remove always-nil var `firstline`. * lisp/mail/emacsbug.el: Use lexical-binding. (report-emacs-bug): Remove always-nil var `message-end-point`. * lisp/mail/rmail-spam-filter.el: Use lexical-binding. (bbdb/mail_auto_create_p): Declare variable. * lisp/mail/rmail.el (rmail-get-new-mail): Remove always-nil var `delete-files`. * lisp/mail/rmailout.el: Use lexical-binding. (rmail-output-read-file-name): Remove unused var `err`. (rmail-convert-to-babyl-format): Remove unused var `count`. (rmail-output-as-mbox): Remove unused vars `from` and `date`. * lisp/mail/rmailsort.el: Use lexical-binding. (rmail-sort-messages): Remove unused var `msginfo`. * lisp/mail/rfc822.el: Use lexical-binding. * lisp/mail/rmailedit.el: Use lexical-binding. * lisp/mail/mailclient.el: Use lexical-binding. * lisp/mail/blessmail.el: Use lexical-binding. * lisp/mail/mail-hist.el: Use lexical-binding. * lisp/mail/rmailkwd.el: Use lexical-binding. * lisp/mail/rmailmsc.el: Use lexical-binding. * lisp/mail/uce.el: Use lexical-binding. * lisp/mail/unrmail.el: Use lexical-binding.
* | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2021-02-101-4/+2
|\|
| * Prefer defvar-local in mail/*.elStefan Kangas2021-01-311-4/+2
| | | | | | | | | | | | | | | | | | * lisp/mail/emacsbug.el (report-emacs-bug-send-command) (report-emacs-bug-send-hook): * lisp/mail/reporter.el (reporter-initial-text): * lisp/mail/supercite.el (sc-mail-info, sc-attributions): * lisp/mail/rmail.el (rmail-buffer-swapped, rmail-view-buffer): Prefer defvar-local.
* | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2021-01-021-1/+1
|\|
| * Update copyright year to 2021Paul Eggert2021-01-011-1/+1
| | | | | | | | Run "TZ=UTC0 admin/update-copyright".
* | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-12-061-5/+4
|\|
| * Prefer setq-local in mail/*.elStefan Kangas2020-12-051-5/+4
| | | | | | | | | | | | | | | | | | | | | | * lisp/mail/emacsbug.el (report-emacs-bug): * lisp/mail/rfc822.el (rfc822-addresses): * lisp/mail/rmail.el (rmail-perm-variables, rmail-show-message-1): * lisp/mail/rmailedit.el (rmail-edit-mode): (rmail-edit-current-message, rmail-cease-edit): * lisp/mail/rmailsum.el (rmail-new-summary-1, rmail-summary-mode): (rmail-summary-update-highlight): * lisp/mail/sendmail.el (mail-mode): Prefer setq-local.
* | Add 'EMACSNATIVELOADPATH' env variable support (bug#44726)Andrea Corallo2020-11-201-1/+1
|/ | | | | | | * lisp/startup.el (normal-top-level): Read 'EMACSNATIVELOADPATH' and add entries too `comp-eln-load-path'. * lisp/mail/emacsbug.el (report-emacs-bug): Dump also 'EMACSNATIVELOADPATH'.
* Remove Debbugs 'thanks' from submit-emacs-patchBasil L. Contovounesios2020-10-301-1/+1
| | | | | | * lisp/mail/emacsbug.el (submit-emacs-patch): Remove unneeded 'thanks' following Debbugs pseudo-header, which leaves other pseudo-headers entered by the user unprocessed (bug#44322).
* Modify only local send hook in submit-emacs-patchBasil L. Contovounesios2020-10-291-1/+1
| | | | | * lisp/mail/emacsbug.el (submit-emacs-patch): Don't modify global message-send-hook.
* Fix the patch tagging in submit-emacs-patchLars Ingebrigtsen2020-09-261-1/+5
| | | | | | * lisp/mail/emacsbug.el (submit-emacs-patch): Put the tags in the debbugs pseudo-headers because X-Debbugs-Tags is not a thing that exists.
* Tweak previous report-emacs-bug-hook changeLars Ingebrigtsen2020-09-161-1/+2
| | | | | | * lisp/mail/emacsbug.el (report-emacs-bug-hook): Add to the hook locally so sending stuff from Message afterwards won't trigger the same question.
* Fix regression in non-querying about mail addresses in "emacs -Q"Lars Ingebrigtsen2020-09-151-6/+9
| | | | | * lisp/mail/emacsbug.el (report-emacs-bug-hook): Don't query about the mail address if using an external mailer (bug#43386).
* Fix up report-emacs-bug action on invalid From headersLars Ingebrigtsen2020-09-141-55/+57
| | | | | * lisp/mail/emacsbug.el (report-emacs-bug-hook): Move point to the From header if the user has to edit the From header.
* Add the (hopefully) correct debbugs header for patchesLars Ingebrigtsen2020-09-091-0/+1
| | | | | * lisp/mail/emacsbug.el (submit-emacs-patch): Mark the submission as a patch.
* Implement a new `submit-emacs-patch' commandLars Ingebrigtsen2020-09-091-24/+66
| | | | | | | | | | | * doc/emacs/trouble.texi (Checklist): Mention the new command. * doc/lispref/intro.texi (Caveats): Ditto. * lisp/mail/emacsbug.el (emacs-bug--system-description): Factor out into own function. (report-emacs-bug): ... from here. (submit-emacs-patch): New command.
* Remove the "Recent message" section from the bug reportsStefan Kangas2020-08-181-12/+0
| | | | | | | | * lisp/mail/emacsbug.el (report-emacs-bug): Don't include "Recent messages" since it has privacy implications. Problem reported by Lars Ingebrigtsen in: https://lists.gnu.org/archive/html/emacs-devel/2019-11/msg01099.html (bug#39185).
* Mention the Emacs bug tracker in the bug reporting doc stringsLars Ingebrigtsen2020-07-191-2/+6
| | | | | | | * lisp/gnus/gnus-msg.el (gnus-bug): Mention the Emacs bug tracker. * lisp/mail/emacsbug.el (report-emacs-bug): Link directly to the Emacs portion of the bug reports (bug#41109).
* Update copyright year to 2020Paul Eggert2020-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* (message-sendmail-envelope-from): Obey `mail-envelope-from` even if set laterStefan Monnier2019-12-031-2/+2
| | | | | | | * lisp/gnus/message.el (message-sendmail-envelope-from): Change default. (message--sendmail-envelope-from): New function. (message-sendmail-envelope-from): Use it. * lisp/mail/emacsbug.el (report-emacs-bug): Use it.
* Bury the help buffer after sending a bug reportLars Ingebrigtsen2019-10-091-1/+5
| | | | | * lisp/mail/emacsbug.el (report-emacs-bug-hook): Bury the help buffer after sending the bug report (bug#22712).
* Have emacsbug only warn the user when sending to the bug addressLars Ingebrigtsen2019-07-281-3/+4
| | | | | | | * lisp/mail/emacsbug.el (report-emacs-bug-hook): Only ask for confirmation if we're really sending the bug report to the bug address. If the user is sending it somewhere else (to themselves, for instance), the warning is misleading.
* Allow the user to send a bug report after initially saying "no"Lars Ingebrigtsen2019-07-281-5/+0
| | | | | | | * lisp/mail/emacsbug.el (report-emacs-bug-hook): Don't remove the address in the To: header (or the hook) after the user has said "no" (bug#23799). This made it impossible for the user to do touch-ups and then resent the bug report.
* Go back to "Maintainer: emacs-devel@gnu.org"Paul Eggert2019-05-251-0/+1
| | | | | | Restore lines saying "Maintainer: emacs-devel@gnu.org" when there is no special maintainer for a file. Although this wasn't documented it was common practice and removing the lines didn't have consensus.
* Fixes for "Maintainer:" and related linesPaul Eggert2019-05-191-1/+0
| | | | | | Mostly, this just removes "Maintainer: emacs-devel@gnu.org" lines, which are not that useful. It also cleans up and regularizes a few similar lines.
* Merge from origin/emacs-26Paul Eggert2018-12-311-1/+1
|\ | | | | | | | | | | 2fcf2df Fix copyright years by hand 26bed8b Update copyright year to 2019 2814292 Fix value of default frame height. (Bug#33921)
| * Update copyright year to 2019Paul Eggert2019-01-011-1/+1
| | | | | | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* | Avoid byte-compilation warning in emacsbug.elEli Zaretskii2018-11-131-0/+1
| | | | | | | | | | | | * lisp/mail/emacsbug.el (w32--os-description): Declare it, to avoid byte-compilation warning. Reported by Live System User <nyc4bos@aol.com>.
* | Provide branch information for both Emacs and Tramp (Bug#33328)Michael Albinus2018-11-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/intro.texi (Version Info): Document `emacs-repository-version' and `emacs-repository-branch'. * etc/NEWS: Mention `emacs-repository-branch'. * lisp/loadup.el: Initialize `emacs-repository-branch'. * lisp/version.el (emacs-repository-branch): New variable. (emacs-repository-branch-git, emacs-repository-get-branch): New defuns. * lisp/mail/emacsbug.el (report-emacs-bug): Insert `emacs-repository-branch'. * lisp/net/tramp.el (tramp-get-local-gid): Use `group-name' if available. (tramp-debug-message): * lisp/net/tramp-cmds.el (tramp-bug): Report also `tramp-repository-branch' and `tramp-repository-version'. * lisp/net/trampver.el (tramp-repository-branch) (tramp-repository-version): New defconst. (tramp-repository-get-version): Remove.
* | Read Windows OS info for report-emacs-bug from RegistryEli Zaretskii2018-09-071-16/+1
| | | | | | | | | | | | | | | | * lisp/w32-fns.el (w32--os-description): New function. * lisp/mail/emacsbug.el (report-emacs-bug--os-description): Use 'w32--os-description' instead of launching the 'systeminfo' program, which can be very slow, and is also missing on versions of Windows before XP Professional.
* | * lisp/mail/emacsbug.el (report-emacs-bug--os-description): Add BSD.Glenn Morris2018-08-281-2/+14
| |
* | * lisp/mail/emacsbug.el (report-emacs-bug--os-description):Glenn Morris2018-08-281-1/+21
| | | | | | | | Add MS Windows.
* | Recognize more system descriptions in report-emacs-bugGlenn Morris2018-01-291-24/+66
| | | | | | | | | | | | | | * lisp/mail/emacsbug.el (report-emacs-bug--os-description): New function, split from report-emacs-bug. Also parse the standard /etc files that can contain release information. (report-emacs-bug): Call report-emacs-bug--os-description.
* | Replace (default-value 'enable-multibyte-characters) with tStefan Monnier2018-01-251-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Emacs-24, (default-value 'enable-multibyte-characters) can't be changed any more, so we can remove all code which checks this value. * lisp/x-dnd.el (x-dnd-handle-file-name): * lisp/w32-fns.el (w32-set-default-process-coding-system): * lisp/textmodes/ispell.el (ispell-send-string): * lisp/term/internal.el (dos-codepage-setup): * lisp/tar-mode.el (tar-header-block-tokenize, tar--extract): * lisp/startup.el (command-line): * lisp/server.el (server-process-filter): * lisp/net/browse-url.el (browse-url-file-url): * lisp/menu-bar.el (menu-bar-options-menu, menu-bar-describe-menu): * lisp/mail/sendmail.el (mail-setup): * lisp/mail/rmail.el (rmail-mode, rmail-get-new-mail): * lisp/mail/rfc2047.el (rfc2047-encode-message-header): * lisp/mail/emacsbug.el (report-emacs-bug): * lisp/international/mule-diag.el (mule-diag): * lisp/files.el (find-file-noselect-1): * lisp/dos-fns.el (dos-set-default-process-coding-system): * lisp/arc-mode.el (archive-mode): * lisp/international/mule-cmds.el (mule-menu-keymap) (set-default-coding-systems, set-language-info) (set-language-environment, standard-display-european-internal) (set-locale-environment): Simplify code.
* | Merge from origin/emacs-26Paul Eggert2018-01-011-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63b04c11d5 Fix copyright years by hand 5c7dd8a783 Update copyright year to 2018 220a9ecba1 Merge from Gnulib 312c565566 Don't add empty keyboard macro to macro ring (Bug#24992) 39ca289a7a Allow customization of decoding of "man" command f8240815ea * etc/NEWS: Add security consideration note on passphrase ... 0c78822c70 Fix subtle problem with scroll-down when scroll-margin is ... acd289c5a4 Fix problems with indexing in User manual b240c7846b * lisp/help.el (describe-key): Only (copy-sequence elt) wh... e879a5444a * src/buffer.c (Frestore_buffer_modified_p): Fix bug#29846 81b1028b63 Improve documentation of 'inhibit-modification-hooks' and ... 7175496d7a Fix doc string of 'enable-recursive-minibuffers' 5b38406491 Fix documentation of delsel and of killing text # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex
| * Update copyright year to 2018Paul Eggert2018-01-011-1/+1
| | | | | | | | Run admin/update-copyright.
* | * lisp/mail/emacsbug.el (report-emacs-bug): Try "sw_vers" on Darwin.Glenn Morris2017-12-111-7/+26
|/
* maint: shorten https://lists.gnu.org/archive/html/... linksPaul Eggert2017-11-251-1/+1
|
* Prefer HTTPS to HTTP for gnu.orgPaul Eggert2017-10-011-1/+1
| | | | | | | | | This fixes some URLs I omitted from my previous pass, notably those in lists.gnu.org. Although lists.gnu.org does not yet support TLS 1.1, TLS 1.0 is better than nothing. * lisp/erc/erc.el (erc-official-location): * lisp/mail/emacsbug.el (report-emacs-bug): Use https:, not http:.
* Prefer HTTPS to FTP and HTTP in documentationPaul Eggert2017-09-131-2/+2
| | | | | | | | | | | | | Most of this change is to boilerplate commentary such as license URLs. This change was prompted by ftp://ftp.gnu.org's going-away party, planned for November. Change these FTP URLs to https://ftp.gnu.org instead. Make similar changes for URLs to other organizations moving away from FTP. Also, change HTTP to HTTPS for URLs to gnu.org and fsf.org when this works, as this will further help defend against man-in-the-middle attacks (for this part I omitted the MS-DOS and MS-Windows sources and the test tarballs to keep the workload down). HTTPS is not fully working to lists.gnu.org so I left those URLs alone for now.
* Simplify checks for xdg-open and xdg-emailPaul Eggert2017-03-091-25/+4
| | | | | | | | | | | | | | | browse-url's xdg-open detection was too picky on some GNU/Linux desktops; see Bug#25778. Simplify the code by assuming xdg-open works if it is executable, as nowadays this is more likely to be correct than trying to use heuristics from a few years ago. Don't test for nohup: it is ineffective nowadays, as xdg-open's child uses the default action for SIGHUP even if xdg-open's invoker ignores SIGHUP. While we're at it, allow for Wayland here, as "emacs -nw" might be running in a non-X Wayland terminal. * lisp/mail/emacsbug.el (report-emacs-bug-can-use-xdg-email): * lisp/net/browse-url.el (browse-url-can-use-xdg-open): Simplify to a test for DISPLAY and whether the helper program is executable. Allow WAYLAND_DISPLAY as an option.
* Remove the build number from emacs-version variableGlenn Morris2017-02-171-4/+1
| | | | | | | | | | | | | | | It's a largely internal detail that can confuse users. (Bug#25590) * lisp/version.el (emacs-build-number): New constant. (emacs-version): Use emacs-build-number. * lisp/loadup.el (top-level): When dumping, increment emacs-build-number rather than emacs-version. * src/emacs.c (emacs-version): Doc fix. * doc/lispref/intro.texi (Version Info): Update emacs-version details. Mention emacs-build-number. * lisp/gnus/gnus-util.el (gnus-emacs-version): * lisp/mail/emacsbug.el (report-emacs-bug): * admin/admin.el (set-version): Update for emacs-version change. ; * etc/NEWS: Mention this.
* Merge from origin/emacs-25Paul Eggert2017-01-011-1/+1
|\ | | | | | | | | 2e2a806 Fix copyright years by hand 5badc81 Update copyright year to 2017
| * Update copyright year to 2017Paul Eggert2016-12-311-1/+1
| | | | | | | | Run admin/update-copyright.
* | Merge from origin/emacs-25Paul Eggert2016-11-191-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4af5981 Add a comment in generated refcards about the source ef880a5 ; * etc/refcards/calccard.tex: Remove obsolete comment. 4887e7c js-mode: Fix indent problem after a regexp e992ac0 Fix sluggish display of symbols in UTF-8 language environment 1fc101b Don't confuse how Texinfo outputs @var with the input 91aa5d1 * doc/lispref/display.texi (Scroll Bars): * doc/lispref/frame... f758fcd * doc/emacs/cmdargs.texi (Initial Options): Copyedit for --da... 5b0cddd More fixes in copyright notices in etc/refcards/ f994c20 Update copyright text in refcards 9ad2ae7 Fix Outline command names 26c3554 Send text received by bracketed paste to process db0b58d Correct the statement about programming modes always running ... 78aece4 Improve documentation of 'occur' eb364fd Do call debugger on failed cl-assert 3ef4ee8 Avoid infloop in python 8da810f Don't refer to obsolete FEATURE-unload-hook 4f478ca Improve documentation of dabbrevs 7272e5d * lisp/chistory.el (list-command-history): Doc fix. (Bug#24890) 89b7482 * lisp/simple.el (set-mark-command): Doc fix. (Bug#24890) 3b199f7 Improve documentation of some Help commands 93d3a0e Fix documentation of yes-or-no prompts af04919 Fix documentation of partial completion style ed80184 Fix documentation of the mode line on emacsclient frames e6be855 Fix description of 'C-z' in User manual 16f7007 Improve and clarify documentation of Outline Mode 31d93aa Add Emacs version number to nt/README.W32 0b6b815 Fix python-mode hideshow regexp dc152c5 Modernize usage of 'macOS' in doc and comments 84c5343 Prefer comments /* like this */ in C code bb61e50 * doc/lispref/loading.texi (Autoload): Better link (Bug#24845). 3ef86fd Clarify documentation of face attribute functions de51d59 ; * nt/README.W32: Minor copyedits. db436e9 Don't call debug on failed cl-assert # Conflicts: # doc/emacs/cmdargs.texi # etc/NEWS # etc/PROBLEMS # lisp/auth-source.el # lisp/net/tramp-sh.el
| * Modernize usage of 'macOS' in doc and commentsPaul Eggert2016-11-061-2/+2
| | | | | | | | | | | | | | | | Apple changed the spelling of its operating system again, to "macOS", effective with macOS 10.12 Sierra (2016-09-20). Change Emacs documentation and comments to match this. Stick with older OS spellings ("OS X", "Mac OS X") when talking about older releases where the older names are more correct.
* | Move "Recent messages" earlier in report-emacs-bugLars Ingebrigtsen2016-05-091-15/+13
|/ | | | | | * lisp/mail/emacsbug.el (report-emacs-bug): Move the "Recent messages" part earlier so that users can see it and remove it if they want.
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.