aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Signal errors if EPA can't verify dataLars Ingebrigtsen2019-09-231-1/+4
| | | | | | | | | | | | | | | | | | | | | * lisp/epa.el (epa-verify-region): Signal an error if the region couldn't be verified (bug#14720). (epa-verify-file): Say that the file couldn't be verified instead of just "...done".
* | | Make "Show Hidden Headers" in Message buffers more obviousLars Ingebrigtsen2019-09-231-1/+7
| | | | | | | | | | | | | | | | | | * lisp/gnus/message.el (message-widen-and-recenter): New command to ensure that we show most of the headers (bug#23252). (message-mode-field-menu): Use it.
* | | Add a NEWS entry for message citation levelsLars Ingebrigtsen2019-09-231-0/+4
| | |
* | | Add different faces for different citation levels in Message modeHong Xu2019-09-231-46/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * message.el (message-font-lock-keywords) (message-font-lock-make-cited-text-matcher): Add support for different faces for different citation levels. The faces are defined in the faces named `message-cited-text-N': N of the Mth citation level will be M mod 4. (message-cited-text-1, message-cited-text-2) (message-cited-text-3, message-cited-text-4): Add customization for the faces of 4 different citation level. In the future, the number of faces may increase, as the code is flexible enough to automatically deal with that. (message-cite-level-function): Add a function to customize the determination of cite levels given the prefix of the cited text (bug#25022).
* | | ; Enable traces for shadowfile-tests on hydraMichael Albinus2019-09-231-1/+1
| | |
* | | Add an `authinfo-hidden' variableLars Ingebrigtsen2019-09-232-7/+15
| | | | | | | | | | | | | | | | | | * lisp/auth-source.el (authinfo-hidden): New variable. (authinfo--hide-passwords): Use it to allow users to decide what to hide.
* | | "]" is not a standard citation prefix characternitishch2019-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/mail/sendmail.el (mail-citation-prefix-regexp): Don't regard "]" as a citation prefix character (bug#25150). This allows some motion commands (like forward-sexp) to behave more as expected in Message mode buffers. Copyright-paperwork-exempt: yes
* | | Keep a cache of encoded Message contents to avoid re-GPG-in dataLars Ingebrigtsen2019-09-232-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-msg.el (gnus-inews-do-gcc): Use it to avoid re-encoding. * lisp/gnus/message.el (message-encoded-mail-cache): New variable. * lisp/gnus/message.el (message-send-mail): Store encoded. (message--cache-encoded): New function. (message-do-fcc): Store encoded (bug#25155).
* | | * lisp/gnus/message.el (message-send-mail): Remove misleading comment.Lars Ingebrigtsen2019-09-231-1/+0
| | |
* | | Fix arg name of `text-property-search-{forward|backward}' (bug#37488)Juanma Barranquero2019-09-231-5/+5
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/text-property-search.el (text-property-search-forward, text-property-search-backward): Rename arg NOT-IMMEDIATE to NOT-CURRENT. Also fix docstring.
* | | Update some URLsPaul Eggert2019-09-2382-251/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This mostly changes http: to https: in URLs. It also updates some URLs that have moved, removes some URLs that no longer work, recommends against using procmail (procmail.org no longer works), and removes some mentions of the no-longer-existing Gmane, LPF and VTW. It doesn't update all URLs, just the ones I had time for. * GNUmakefile (help): * admin/admin.el (manual-doctype-string): * admin/charsets/Makefile.in (${charsetdir}/ALTERNATIVNYJ.map): * admin/charsets/mapconv: * lisp/net/soap-client.el (soap-create-envelope): * lisp/org/org.el (org-doi-server-url): * lisp/textmodes/bibtex.el (bibtex-generate-url-list): Prefer https: to http: un URLs.
* | | Update from GnulibPaul Eggert2019-09-2250-185/+281
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This incorporates: 2019-09-22 Update some URLs 2019-09-15 fcntl-h: fix compilation error of creat.c on MSVC 2019-09-15 creat: new module 2019-09-15 access: new module 2019-09-09 Add option to assume best, not worst, when cross-compiling. * build-aux/config.guess, build-aux/config.sub, doc/misc/texinfo.tex: * lib/careadlinkat.c, lib/careadlinkat.h, lib/count-leading-zeros.h: * lib/count-trailing-zeros.h, lib/diffseq.h, lib/fcntl.in.h: * lib/ftoastr.c, lib/get-permissions.c: * lib/ieee754.in.h, lib/inttypes.in.h, lib/mktime.c, lib/open.c: * lib/pathmax.h, lib/pipe2.c, lib/stddef.in.h, lib/stdint.in.h: * lib/stdlib.in.h, lib/str-two-way.h, lib/string.in.h, lib/time.in.h: * lib/timegm.c, lib/unistd.in.h, m4/canonicalize.m4: * m4/extern-inline.m4, m4/fcntl_h.m4, m4/fdopendir.m4: * m4/getgroups.m4, m4/getopt.m4, m4/gettimeofday.m4: * m4/gnulib-common.m4, m4/largefile.m4: * m4/lstat.m4, m4/memmem.m4, m4/mktime.m4, m4/nocrash.m4, m4/open.m4: * m4/pselect.m4, m4/putenv.m4, m4/readlink.m4, m4/regex.m4: * m4/symlink.m4, m4/unistd_h.m4, m4/utimens.m4, m4/utimes.m4: Copy from Gnulib. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. * m4/open-slash.m4: New file, copied from Gnulib.
* | | Expand time-stamp unit tests to cover all formatting optionsStephen Gildea2019-09-222-13/+289
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * time-stamp-tests.el: Expand unit tests to cover all formatting options. These tests validate time-stamp-pattern formatting that has existed since at least Emacs 22 (released in 2007). The tests cover both documented behavior and behavior implemented to support future migrations. * time-stamp.el (time-stamp-string): Add a second argument (TIME) to open a testing seam. Have the unit tests call this public function. * time-stamp.el (time-stamp-string, time-stamp-string-preprocess): Remove the second pass through time-string--format. (Previously both functions called it.) It was used only to handle "%", but this is now handled by having time-stamp-string-preprocess not double it. Not doubling the "%" in time-stamp-string-preprocess fixes the padding of "%2%", which was discovered by the new unit tests to be wrong.
* | | Clarify `debug' doc stringLars Ingebrigtsen2019-09-231-1/+4
| | | | | | | | | | | | | | | * lisp/emacs-lisp/debug.el (debug): Mention that inhibit-redisplay will inhibit the function.
* | | Make Message warn about invalid addressesLars Ingebrigtsen2019-09-231-0/+8
| | | | | | | | | | | | | | | * lisp/gnus/message.el (message-check-recipients): Warn about invalid email addresses (bug#32639).
* | | Remove Gnus posting style reference to message-reply-headersLars Ingebrigtsen2019-09-231-6/+1
| | | | | | | | | | | | | | | * doc/misc/gnus.texi (Posting Styles): Remove bit about message-reply-headers, because it has never worked.
* | | gnus-use-atomic-windows should default to nilLars Ingebrigtsen2019-09-231-1/+1
| | | | | | | | | | | | * lisp/gnus/gnus-win.el (gnus-use-atomic-windows): Default to nil.
* | | message-reply-headers doc fixLars Ingebrigtsen2019-09-231-2/+2
| | | | | | | | | | | | | | | * doc/misc/gnus.texi (Posting Styles): Update the type of the message-reply-headers object.
* | | mailclient can't send attachmentsLars Ingebrigtsen2019-09-231-0/+9
| | | | | | | | | | | | | | | * lisp/mail/mailclient.el (mailclient-send-it): Warn about trying to send attachments (bug#34992).
* | | Ignore comments and strings when recognizing JSXJackson Ray Hamilton2019-09-222-1/+21
| | | | | | | | | | | | | | | | | | * lisp/progmodes/js.el (js-syntax-propertize): Ignore comments and strings. * test/manual/indent/jsx-comment-string.jsx: New test.
* | | Make js-jsx-regexps case-sensitiveJackson Ray Hamilton2019-09-221-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The regexp in this list used a capitalized “React” because it actually should be capitalized like that. Otherwise, the following code would produce a false positive match: import Thing from './react/Thing' * lisp/progmodes/js.el (js-jsx-regexps): Update docstring. (js-jsx--detect-and-enable): Match case-sensitively when determining whether JSX should be enabled.
* | | Avoid crashes when casifying noncontiguous regionsPaul Eggert2019-09-227-75/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a followon fix for Bug#37477. * lisp/simple.el (region-extract-function): Use setq here, since the var is now defined in C code. * src/casefiddle.c (casify_pnc_region): New function. (Fupcase_region, Fdowncase_region, Fcapitalize_region) (Fupcase_initials_region): Use it. (Fupcase_initials_region): Add region-noncontiguous-p flag for consistency with the others. All uses changed. (syms_of_casefiddle): Define Qbounds, Vregion_extract_function. * src/insdel.c (prepare_to_modify_buffer_1): * src/keyboard.c (command_loop_1): Use Vregion_extraction_function. * src/insdel.c (syms_of_insdel): No need to define Qregion_extract_function. * test/src/casefiddle-tests.el (casefiddle-oldfunc): New var. (casefiddle-loopfunc, casefiddle-badfunc): New functions. (casefiddle-invalid-region-extract-function): New test.
* | | * lisp/help-fns.el: Fix missing dependencyStefan Monnier2019-09-221-0/+1
| | |
* | | Remove references to domain that no longer existsLars Ingebrigtsen2019-09-223-10/+6
| | | | | | | | | | | | | | | | | | * doc/misc/gnus-faq.texi (FAQ 7-1): * doc/misc/gnus.texi (Maildir): * lisp/gnus/nnmaildir.el: qmail.org no longer exists.
* | | Fix "password" detection in authinfo modeLars Ingebrigtsen2019-09-221-2/+2
| | | | | | | | | | | | | | | | | | * lisp/auth-source.el (authinfo--hide-passwords): Ensure that we only hit actual "password" entries and not "foo-password" and the like.
* | | Fix warning about @xref in parenthesisLars Ingebrigtsen2019-09-221-1/+1
| | | | | | | | | | | | * doc/misc/gnus.texi (Window Layout): Use @pxref in parentheses.
* | | Note that image-mode automatically rotatesLars Ingebrigtsen2019-09-221-3/+7
| | |
* | | Automatically rotate images in image-mode based on Exif dataLars Ingebrigtsen2019-09-221-7/+16
| | | | | | | | | | | | | | | * lisp/image-mode.el (image-toggle-display-image): Get the orientation from the Exif data, if any.
* | | Adjust the exif.el interface functionsLars Ingebrigtsen2019-09-221-38/+100
| | | | | | | | | | | | | | | | | | | | | * lisp/image/exif.el (exif-parse-buffer): New function. (exif-orientation): Ditto. (exif-error): New error symbol, and adjust all error signalling to only use that signal.
* | | Fix compilation with CHECK_STRUCTSAndreas Schwab2019-09-221-1/+1
| | | | | | | | | | | | * src/pdumper.c (dump_buffer): Update hash of struct buffer.
* | | New option for making Gnus window layouts atomicEric Abrahamsen2019-09-213-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-win.el (gnus-use-atomic-windows): New boolean customization option. (gnus-configure-windows): When removing old window layouts, check for and remove atomicity. (gnus-configure-windows): When gnus-use-atomic-windows is non-nil, make Gnus window layouts atomic. * doc/misc/gnus.texi (Window Layout): Document.
* | | * src/fns.c (Fbuffer_hash): Improve doc string.Stefan Kangas2019-09-221-1/+8
| | |
* | | Support rectangular regions in capitalize-region and capitalize-dwim.Juri Linkov2019-09-223-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/simple.el (capitalize-dwim): Add arg region-noncontiguous-p in capitalize-region call. * src/casefiddle.c (Fcapitalize_region): Add arg region-noncontiguous-p. If non-nil, operate on multiple chunks. (Bug#37477) (Fdowncase_region): Use builtin symbol Qregion_extract_function rather than calling intern.
* | | Use eieio-object-p, not obsolete object-pEric Abrahamsen2019-09-211-2/+2
| | | | | | | | | | | | | | | | | | | | | Continued fixes for a81223aeaa * lisp/gnus/gnus-registry.el (gnus-registry-article-marks-to-names, gnus-registry-article-marks-to-chars): object-p is obsolete.
* | | Several doc fixes in package.elStefan Kangas2019-09-211-26/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (top-level) (package-check-signature, package--from-builtin) (package-desc-full-name, package-desc-suffix) (package-desc--keywords, package--bi-desc) (package-process-define-package, package-archive-base) (package-install-from-archive, package-install-from-buffer) (package-install-file, package-autoremove, describe-package-1) (package-install-button-action, package-delete-button-action) (package-keyword-button-action, package-make-button) (package--print-email-button, package-list-unversioned) (package--emacs-version-list, package-menu-toggle-hiding) (package-hidden-regexps, package-menu-hide-package) (package-menu-get-status, package-menu--find-upgrades) (package-menu--post-refresh): Doc fixes. (Bug#37410)
* | | Revert too-picky file-access testsPaul Eggert2019-09-216-109/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem reported by Andreas Schwab (Bug#37475). * doc/lispref/files.texi (Writing to Files) (Testing Accessibility, Kinds of Files): Document that accessibility and file-type predicates return nil if there is trouble determining accessibility or type. * etc/NEWS: Adjust, and list the affected primitives. * src/callproc.c (init_callproc): Go back to Ffile_exists_p. * src/fileio.c (PICKY_EACCES, file_test_errno): Remove. All uses removed. (Ffile_name_case_insensitive_p, Ffile_exists_p, Ffile_symlink_p) (Ffile_directory_p, Ffile_regular_p): Document that these functions return nil if there is trouble. (Ffile_name_case_insensitive_p, check_file_access) (Ffile_writable_p, Ffile_symlink_p, Ffile_directory_p) (Ffile_accessible_directory_p, Ffile_regular_p) * src/lread.c (Fload): Go back to treating trouble in determining the answer as if the file were missing. * src/fileio.c (Ffile_newer_than_file_p): Use file_attribute_errno not file_test_errno, since returning nil is not appropriate when there are two files to test; e.g., in the rare cases where both file timestamps have overflowed then neither t nor nil is correct.
* | | ; * etc/NEWS: Tweak recently added entries.Eli Zaretskii2019-09-211-2/+4
| | |
* | | Remove lisp/erc/ file-local indent-tabs-mode settingsNoam Postavsky2019-09-2129-57/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/erc/erc-autoaway.el: * lisp/erc/erc-backend.el: * lisp/erc/erc-button.el: * lisp/erc/erc-compat.el: * lisp/erc/erc-dcc.el: * lisp/erc/erc-fill.el: * lisp/erc/erc-ibuffer.el: * lisp/erc/erc-identd.el: * lisp/erc/erc-imenu.el: * lisp/erc/erc-join.el: * lisp/erc/erc-list.el: * lisp/erc/erc-log.el: * lisp/erc/erc-match.el: * lisp/erc/erc-menu.el: * lisp/erc/erc-netsplit.el: * lisp/erc/erc-networks.el: * lisp/erc/erc-notify.el: * lisp/erc/erc-page.el: * lisp/erc/erc-pcomplete.el: * lisp/erc/erc-replace.el: * lisp/erc/erc-ring.el: * lisp/erc/erc-services.el: * lisp/erc/erc-sound.el: * lisp/erc/erc-speedbar.el: * lisp/erc/erc-stamp.el: * lisp/erc/erc-track.el: * lisp/erc/erc-truncate.el: * lisp/erc/erc-xdcc.el: * lisp/erc/erc.el: Remove indent-tabs-mode setting, so that we follow Emacs' global indent-tabs-mode=nil setting (and much of the indentation in these fails is already spaces anyway). Also remove tab-width=8 settings, since those are redundant with the setting in the top-level .dir-locals.el.
* | | Fix some commentary typos in exif.elLars Ingebrigtsen2019-09-211-3/+3
| | | | | | | | | | | | | | | * lisp/image/exif.el (exif--parse-exif-chunk) (exif--parse-directory): Commentary typo fixes.
* | | Add an Exif parsing libraryLars Ingebrigtsen2019-09-214-0/+272
| | | | | | | | | | | | | | | | | | * lisp/image/exif.el: New file (bug#23070). * test/lisp/image/exif-tests.el: Add some basic tests.
* | | CC Mode: Fix wrong fontification of FOO in ASSERT (FOO && !BAR)Alan Mackenzie2019-09-211-1/+2
| | | | | | | | | | | | | | | * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't recognize the construct in CASE 18, unless additionally at-decl-end is set.
* | | Fix two ` characters in NEWSLars Ingebrigtsen2019-09-211-2/+2
| | |
* | | Hide passwords in .authinfo and .netrc filesLars Ingebrigtsen2019-09-213-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/auth-source.el (authinfo-mode): New mode (bug#28785). (authinfo--hide-passwords, authinfo--toggle-display): New functions. * lisp/files.el (auto-mode-alist): Use authinfo-mode for .authinfo and .netrc files.
* | | Allow reveal.el to toggle `display' propertiesLars Ingebrigtsen2019-09-212-9/+30
| | | | | | | | | | | | | | | * lisp/reveal.el (reveal-open-new-overlays): Allow also toggling `displa' overlay properties (bug#28785).
* | | ; * etc/TODO: Update.Eli Zaretskii2019-09-211-4/+56
| | |
* | | Mention image caching in the `image-size' doc stringLars Ingebrigtsen2019-09-211-1/+6
| | | | | | | | | | | | | | | * src/image.c (Fimage_size): Mention that this function caches images, and what to do about that (bug#33275).
* | | Mention how to listen to all interfaces in make-network-processLars Ingebrigtsen2019-09-211-2/+3
| | | | | | | | | | | | | | | * src/process.c (Fmake_network_process): Mention how to listen to all interfaces (bug#34617).
* | | * lisp/net/tramp.el (tramp-handle-file-modes): Check for nil file-attributes.Michael Albinus2019-09-211-4/+4
| | |
* | | * lisp/completion.el (completion-kill-region): Doc fix.Eli Zaretskii2019-09-211-1/+1
| | |
* | | Fix to a81223aeaaEric Abrahamsen2019-09-201-2/+2
| | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-registry.el (gnus-registry-article-marks-to-chars): (gnus-registry-article-marks-to-names): The registry is an object, not a hash table.