aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/gnus (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * test/lisp/gnus/message-tests.el (message-default-buffer-type): New test.Michael Albinus2025-03-251-0/+25
|
* Update copyright year to 2025Paul Eggert2025-01-0110-10/+10
| | | | Run "TZ=UTC0 admin/update-copyright".
* ; * test/lisp/gnus/gnus-icalendar-tests.el: remove unneeded unwind-protectRobert Pluim2024-09-111-29/+27
|
* Allow comments to organizer in icalendar event replies (Bug#72831)fpi2024-09-111-0/+72
| | | | | | | | | | | | | | | * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event--build-reply-event-body): Add optional COMMENT argument to be inserted into the reply. (gnus-icalendar-event-reply-from-buffer): Add COMMENT argument to be passed through to gnus-icalendar-event--build-reply-event-body (gnus-icalendar-reply-accept, gnus-icalendar-reply-tentative, gnus-icalendar-reply-decline): If interactively called with a prefix argument ask user for a COMMENT to add to the reply. * test/lisp/gnus/gnus-icalendar-tests.el (gnus-icalendar-accept-with-comment, gnus-icalendar-decline-without-changing-comment): New tests.
* Merge from savannah/emacs-29Po Lu2024-01-0210-10/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dc4e6b13296 ; Update copyright years in more files 64b37776318 ; Run set-copyright from admin.el 8e1c56ae467 ; Add 2024 to copyright years # Conflicts: # doc/misc/modus-themes.org # doc/misc/texinfo.tex # etc/NEWS # etc/refcards/ru-refcard.tex # etc/themes/modus-operandi-theme.el # etc/themes/modus-themes.el # etc/themes/modus-vivendi-theme.el # lib/alloca.in.h # lib/binary-io.h # lib/c-ctype.h # lib/c-strcasecmp.c # lib/c-strncasecmp.c # lib/careadlinkat.c # lib/cloexec.c # lib/close-stream.c # lib/diffseq.h # lib/dup2.c # lib/filemode.h # lib/fpending.c # lib/fpending.h # lib/fsusage.c # lib/getgroups.c # lib/getloadavg.c # lib/gettext.h # lib/gettime.c # lib/gettimeofday.c # lib/group-member.c # lib/malloc.c # lib/md5-stream.c # lib/md5.c # lib/md5.h # lib/memmem.c # lib/memrchr.c # lib/nanosleep.c # lib/save-cwd.h # lib/sha1.c # lib/sig2str.c # lib/stdlib.in.h # lib/strtoimax.c # lib/strtol.c # lib/strtoll.c # lib/time_r.c # lib/xalloc-oversized.h # lisp/auth-source-pass.el # lisp/emacs-lisp/lisp-mnt.el # lisp/emacs-lisp/timer.el # lisp/info-look.el # lisp/jit-lock.el # lisp/loadhist.el # lisp/mail/rmail.el # lisp/net/ntlm.el # lisp/net/webjump.el # lisp/progmodes/asm-mode.el # lisp/progmodes/project.el # lisp/progmodes/sh-script.el # lisp/textmodes/flyspell.el # lisp/textmodes/reftex-toc.el # lisp/textmodes/reftex.el # lisp/textmodes/tex-mode.el # lisp/url/url-gw.el # m4/alloca.m4 # m4/clock_time.m4 # m4/d-type.m4 # m4/dirent_h.m4 # m4/dup2.m4 # m4/euidaccess.m4 # m4/fchmodat.m4 # m4/filemode.m4 # m4/fsusage.m4 # m4/getgroups.m4 # m4/getloadavg.m4 # m4/getrandom.m4 # m4/gettime.m4 # m4/gettimeofday.m4 # m4/gnulib-common.m4 # m4/group-member.m4 # m4/inttypes.m4 # m4/malloc.m4 # m4/manywarnings.m4 # m4/mempcpy.m4 # m4/memrchr.m4 # m4/mkostemp.m4 # m4/mktime.m4 # m4/nproc.m4 # m4/nstrftime.m4 # m4/pathmax.m4 # m4/pipe2.m4 # m4/pselect.m4 # m4/pthread_sigmask.m4 # m4/readlink.m4 # m4/realloc.m4 # m4/sig2str.m4 # m4/ssize_t.m4 # m4/stat-time.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/stdio_h.m4 # m4/stdlib_h.m4 # m4/stpcpy.m4 # m4/strnlen.m4 # m4/strtoimax.m4 # m4/strtoll.m4 # m4/time_h.m4 # m4/timegm.m4 # m4/timer_time.m4 # m4/timespec.m4 # m4/unistd_h.m4 # m4/warnings.m4 # nt/configure.bat # nt/preprep.c # test/lisp/register-tests.el
| * ; Add 2024 to copyright yearsPo Lu2024-01-0210-10/+10
| |
* | Merge from origin/emacs-29Eli Zaretskii2023-10-281-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | aa253c533d2 ; Fix broken links to gmane.org cc3e436c822 Change news.gmane.org to news.gmane.io 297fe945c57 Fix minor defcustom issues in Gnus (Bug#66715) 3beb5f5e240 ; * doc/misc/gnus.texi: Fix unmatched quote in gnus doc. ... 85d08d5788e Minor connection-local variables fixes 79d8328ca4a Make Dired honor `insert-directory-program´ with globs 43127294e13 Fix typo in url-privacy-level :type 380f8574ef5 * lisp/vc/log-view.el (log-view-mode-menu): Quote derived...
| * Change news.gmane.org to news.gmane.ioStefan Kangas2023-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/notes/emba: * doc/misc/gnus.texi (Group Parameters) (Non-ASCII Group Names, Filling In Threads) (Selection Groups, Spam Package Configuration Examples) (Terminology): * lisp/gnus/gnus-group.el (gnus-useful-groups): * lisp/gnus/gnus-sum.el (gnus-fetch-old-headers): * lisp/gnus/spam-report.el (spam-report-gmane-use-article-number) (spam-report-gmane-internal): * test/lisp/gnus/gnus-group-tests.el (gnus-short-group-name): Change news.gmane.org to news.gmane.io. Ref: https://news.gmane.io/
* | Remove useless unwind-protect forms, or make them useful as intendedMattias Engdegård2023-04-071-28/+23
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/imenu.el (imenu--generic-function): * lisp/mail/yenc.el (yenc-decode-region): * lisp/textmodes/table.el (table-recognize-region): * test/lisp/dired-tests.el (dired-test-directory-files): * test/lisp/hl-line-tests.el (hl-line-tests-sticky): Fix unwind-protect bracketing mistakes that caused the unwind code to be misplaced. * lisp/strokes.el (strokes-read-stroke): Fix a bracketing mistake that misplaced the unwind code, and another one that misplaced the else-clause of an `if` form. * test/lisp/gnus/mml-sec-tests.el (mml-secure-test-fixture): Fix a bracketing mistake that misplaced the unwind code, and remove superfluous condition-case. * lisp/mwheel.el (mouse-wheel-global-text-scale): * lisp/speedbar.el (speedbar-stealthy-updates) (speedbar-fetch-dynamic-etags): * lisp/emacs-lisp/edebug.el (edebug--recursive-edit): * lisp/emacs-lisp/package.el (package--read-pkg-desc): * lisp/cedet/semantic.el (semantic-refresh-tags-safe): * lisp/emulation/viper-cmd.el (viper-escape-to-state): * lisp/emulation/viper-cmd.el (viper-file-add-suffix): * lisp/gnus/mail-source.el (mail-source-movemail): * lisp/mail/feedmail.el (feedmail-send-it-immediately) (feedmail-deduce-address-list): * lisp/mail/mailclient.el (mailclient-send-it): * lisp/mail/smtpmail.el (smtpmail-deduce-address-list): * lisp/mh-e/mh-print.el (mh-ps-print-range): * lisp/textmodes/reftex-index.el (reftex-index-this-phrase): * test/lisp/emacs-lisp/ert-tests.el (ert-test-run-tests-batch): (ert-test-run-tests-batch-expensive): Remove unwind-protect forms that are apparently useless, some since a prior edit that removed their purpose, some since their first appearance. * test/lisp/subr-tests.el (subr-test--frames-2): Insert dummy unwind form in backtrace test code.
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-0110-10/+10
|
* ; Fix typosStefan Kangas2022-12-261-1/+1
| | | | (cherry picked from commit a5d39e11443fa30c8e8bc58254a1a59550dcd99e)
* ; Fix typosStefan Kangas2022-12-081-1/+1
|
* Replace aging OpenPGP artifacts in gnus' mml-sec tests.Justus Winter2022-10-0651-43/+163
| | | | | | | | | This replaces the old OpenPGPv4 keys that are used in the test suite with more modern OpenPGPv4 keys. Having old cryptographic artifacts in the test suite presents a problem once the old algorithms are rejected by contemporary implementations (bug#58301).
* Prefer pos-bol and pos-eol in testsStefan Kangas2022-08-211-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/calendar/todo-mode-tests.el (todo-test-toggle-item-header02, todo-test-edit-item-date-month) (todo-test-multiline-item-indentation-1) (todo-test-multiline-item-indentation-2) (todo-test-multiline-item-indentation-3): * test/lisp/cedet/semantic-utest-ia.el (semantic-ia-utest-buffer) (semantic-sr-utest-buffer-refs): * test/lisp/cedet/semantic-utest.el (semantic-utest-kill-indicator) (semantic-utest-unkill-indicator): * test/lisp/dired-tests.el (dired-test-bug27968): * test/lisp/emacs-lisp/backtrace-tests.el (backtrace-tests--verify-single-and-multi-line): * test/lisp/emacs-lisp/find-func-tests.el (find-func-tests--find-library-verbose): * test/lisp/erc/erc-tests.el (erc-ring-previous-command) (erc-log-irc-protocol): * test/lisp/gnus/message-tests.el (message-mode-propertize): * test/lisp/info-xref-tests.el (info-xref-test-emacs-manuals): * test/lisp/mail/footnote-tests.el (footnote-tests-same-place): * test/lisp/progmodes/elisp-mode-tests.el (elisp-shorthand-completion-at-point): * test/lisp/progmodes/f90-tests.el (f90-test-bug38415): * test/lisp/progmodes/python-tests.el (python-indent-electric-comma-inside-multiline-string) (python-indent-electric-comma-after-multiline-string) (python-indent-electric-colon-1, python-indent-electric-colon-2) (python-indent-electric-colon-3, python-indent-electric-colon-4) (python-mark-defun-2, python-mark-defun-3, python-mark-defun-4) (python-mark-defun-5, python-nav-end-of-defun-2) (python-nav-end-of-statement-1, python-nav-end-of-block-1) (python-indent-dedent-line-backspace-2) (python-indent-dedent-line-backspace-3) (python-eldoc--get-symbol-at-point-1) (python-info-beginning-of-statement-p-1) (python-info-beginning-of-statement-p-2): * test/lisp/replace-tests.el (replace-occur-revert-bug32543) (replace-occur-revert-bug32987): * test/lisp/simple-tests.el (simple-delete-indentation-boundaries) (simple-delete-indentation-region) (line-number-at-pos-in-narrow-buffer) (line-number-at-pos-keeps-restriction): * test/lisp/textmodes/css-mode-tests.el (css-mode-test-selectors) (scss-mode-test-selectors): * test/lisp/textmodes/fill-tests.el (fill-test-unbreakable-paragraph) (fill-test-breakable-paragraph): * test/lisp/time-stamp-tests.el (time-stamp-custom-pattern): * test/src/lread-tests.el (lread-tests--last-message): * test/src/process-tests.el (set-process-filter-t): * test/src/undo-tests.el (undo-test-skip-invalidated-markers): Prefer pos-bol and pos-eol.
* Tag an mml-sec testGlenn Morris2022-01-251-0/+3
| | | | | * test/lisp/gnus/mml-sec-tests.el (mml-secure-en-decrypt-3): Tag unstable on hydra.nixos.org due to repeated intermittent failures.
* ; Add 2022 to copyright years.Eli Zaretskii2022-01-011-1/+1
|
* Merge from origin/emacs-28Eli Zaretskii2022-01-019-9/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 836be7a112 ; * etc/refcards/ru-refcard.tex: Update Copyright year. 86cbc6ee4a * lisp/net/tramp-sh.el: Adapt copyright year ebe8772f65 ; Minor fixes related to copyright years 23c1ee6989 ; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye... 8d3fc7ec89 * src/xfaces.c (face_for_font): Make 'hash' be uintptr_t. 19dcb237b5 ; Add 2022 to copyright years. # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex # lib/cdefs.h # lisp/erc/erc-dcc.el # lisp/erc/erc-imenu.el # lisp/erc/erc-replace.el # lisp/image-dired.el # lisp/progmodes/xref.el # m4/alloca.m4 # m4/byteswap.m4 # m4/errno_h.m4 # m4/getopt.m4 # m4/gnulib-common.m4 # m4/inttypes.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/sys_socket_h.m4
| * ; Add 2022 to copyright years.Eli Zaretskii2022-01-019-9/+9
| |
* | Add some gnus-short-group-name testsMorgan J. Smith2021-10-291-0/+52
| | | | | | | | | | * test/lisp/gnus/gnus-group-tests.el (gnus-short-group-name): Add some gnus-short-group-name tests (bug#51450).
* | gnus-icalendar: Missing attendees are not REQ-PARTICIPANTAlexandre Duret-Lutz2021-10-021-1/+1
|/ | | | | | | | | | | * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event--get-attendee-names) (gnus-icalendar-event-from-ical): Do not default to REQ-PARTICIPANT if the user was not found as an attendee. * test/lisp/gnus/gnus-icalendar-tests.el (gnus-icalendary-weekly-byday): Remove the ROLE property to test that it correctly defaults to REQ-PARTICIPANT. The case where the user is not listed is covered by gnus-icalendar-parse already (bug#50749).
* ; Minor stylistic checkdoc fixes in test/**/*.elStefan Kangas2021-09-263-3/+3
|
* Fix nnrss-get-namespace-prefix (bug#34685)Benjamin Riefenstahl2021-08-101-5/+5
| | | | | | | * lisp/gnus/nnrss.el (nnrss-get-namespace-prefix): Use the car of parameter el to match what dom-search expects. * test/lisp/gnus/nnrss-tests.el (test-nnrss-xml): Adjust to what xml-parse-region produces (bug#34685).
* Add test for nnrssBenjamin Riefenstahl2021-08-091-0/+16
| | | | * test/lisp/gnus/nnrss-tests.el (test-nnrss-xml): New test (bug#34685).
* Rewrite gnus-search-query-expand-keyEric Abrahamsen2021-07-101-1/+3
| | | | | | | | | * lisp/gnus/gnus-search.el (gnus-search-query-expand-key): There was a misunderstanding about how completion-all-completion works (if the test string can't be completed, the whole table is returned). Simplify to use try-completion. * test/lisp/gnus/gnus-search-tests.el (gnus-s-expand-keyword): Ensure that an unknown/uncompletable keyword is returned unmolested.
* Fix message-replace-header after recent changedickmao2021-06-231-0/+29
| | | | | * lisp/gnus/message.el (message-replace-header): Restore else branch removed by mistake in 989de3b824 (bug#49179).
* Remove the base64 Face header repadding in GnusAlex Bochannek2021-05-261-37/+0
| | | | | | * lisp/gnus/gnus-fun.el (gnus-convert-face-to-png): Remove call. * lisp/gnus/gnus-util.el (gnus-base64-repad): Remove.
* ; Normalize and add missing first and last linesStefan Kangas2021-04-191-1/+1
|
* ; Minor license statement fixesStefan Kangas2021-02-084-14/+17
|
* Revert recent mm-with-part changeLars Ingebrigtsen2021-01-101-16/+0
| | | | | | * lisp/gnus/mm-decode.el (mm-with-part): Revert 23a887e426f81033b0de2f4c93a8525cb31c28da -- this is the wrong place to handle this peculiarity.
* Add more mm-decode testsLars Ingebrigtsen2021-01-102-0/+73
|
* Add work-around for nnmaildir encoding problemLars Ingebrigtsen2021-01-071-1/+17
| | | | | * lisp/gnus/mm-decode.el (mm-with-part): Fix problem with multipart 8bit encoded posts from nnmaildir (bug#44307).
* Add tests for mm-decode.elLars Ingebrigtsen2021-01-072-0/+93
|
* Update copyright year to 2021Paul Eggert2021-01-018-8/+8
| | | | Run "TZ=UTC0 admin/update-copyright".
* Kill the scdaemon after doing the mml-sec testsLars Ingebrigtsen2020-12-261-1/+2
| | | | | * test/lisp/gnus/mml-sec-tests.el (mml-sec-test--kill-gpg-agent): Kill the scdaemon, too (bug#43358).
* Skip some mml tests that rely on CMS if that's not installedLars Ingebrigtsen2020-12-251-0/+4
|
* Fix gpg-agent killing in mml-sec-testsLars Ingebrigtsen2020-12-251-1/+2
| | | | | | * test/lisp/gnus/mml-sec-tests.el (mml-sec-test--kill-gpg-agent): Identify the gpg-agent more successfully after the resource dir makeover.
* New gnus-search libraryEric Abrahamsen2020-11-031-0/+96
| | | | | | | | | | | | | | | | | | | | | | | This library provides a fundamental reworking of the search functionality previously found in nnir.el. It uses class-based search engines to interface with external searching facilities, and a parsed search query syntax that can search multiple engines. * lisp/gnus/gnus-search.el: New library containing search functionality for Gnus. * doc/misc/gnus.texi: Document. * lisp/gnus/gnus-group.el (gnus-group-make-search-group, gnus-group-read-ephemeral-search-group): Remove references to nnir, change meaning of prefix argument, change values of nnselect-function and nnselect-args. * lisp/gnus/nnselect.el: Replace references to nnir (nnselect-request-article): Use gnus-search functions, and search criteria. (nnselect-request-thread, nnselect-search-thread): Use gnus-search thread search. (gnus-summary-make-search-group): Switch to use gnus-search function and arguments. * test/lisp/gnus/search-tests.el: Tests for new functionality.
* Disable mml-sec-tests on MacOSLars Ingebrigtsen2020-10-281-1/+4
| | | | | * test/lisp/gnus/mml-sec-tests.el (test-conf): Disable tests on MacOS (bug#44259).
* ; Prefer https to http in more URLsStefan Kangas2020-10-242-2/+2
| | | | These were all tested and confirmed working.
* Move mml-sec.el test data to follow our conventionsStefan Kangas2020-10-2435-4/+34
| | | | | | | | * test/lisp/gnus/mml-sec-tests.el (ert-x): Require. (mml-secure-test-fixture, mml-sec-test--kill-gpg-agent): Use ert-resource-directory. * test/lisp/gnus/mml-sec-resources/*: Moved from test/data/mml-sec/. * .gitignore: Update location of moved file "random_seed".
* Make Gnus more liberal when interpreting Face headers againLars Ingebrigtsen2020-10-151-2/+0
| | | | | | | * lisp/gnus/gnus-fun.el (gnus-convert-face-to-png): Do it. * lisp/gnus/gnus-util.el (gnus-base64-repad): Allow not checking anything, but just repadding.
* Remove mml-sec-test that assumes the first signatureLars Ingebrigtsen2020-10-011-31/+0
| | | | | This is no longer supported; the user is asked for what signature to use.
* Make gnus-base64-repad a bit stricter againAlex Bochannek2020-10-011-5/+8
| | | | | * lisp/gnus/gnus-util.el (gnus-base64-repad): Make the code a bit stricter again.
* Query for the signer when sending signed mail (with unknown signer)Robert Pluim2020-10-011-1/+0
| | | | | | | | | * lisp/gnus/mml-sec.el (mml-secure-sender-sign-query): New function (bug#40118). (mml-secure-epg-sign): Use it to determine the signer (bug#40118). * lisp/gnus/mml-sec.el (mml-secure-allow-signing-with-unknown-recipient): Remove.
* Fix gnus-base64-repad test failuresLars Ingebrigtsen2020-09-301-6/+3
|
* Repad the Face header in GnusAlex Bochannek2020-09-281-0/+98
| | | | | | * lisp/gnus/gnus-fun.el (gnus-convert-face-to-png): Use it. * lisp/gnus/gnus-util.el (gnus-base64-repad): New function (bug#43441).
* Fix Gnus parsing of weekly recurring icalendar eventsJan Tatarik2020-09-281-51/+74
| | | | | | | | | | | | | | * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event:recurring-interval): Fix parsing of weekly recurring events (bug#43669). Example: in the absence of explicit INTERVAL value in the calendar event, a weekly event with occurrences scheduled for Mondays and Wednesdays should receive the default recurring interval of "1" and the org mode timestamp repeater should be "+1w". Due to a bug in the current code we receive "WEEKLY" and "+WEEKLYw" instead. The patch fixes the issue.
* ; Fix typosStefan Kangas2020-09-211-1/+1
|
* Kill gpg-agents started by mml-sec-tests (bug#43358)Lars Ingebrigtsen2020-09-131-1/+15
|
* ; Fix copyright yearsGlenn Morris2020-09-121-1/+1
|