- 23 Sep, 2019 3 commits
-
-
Paul Eggert authored
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.
-
Stephen Gildea authored
* 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.
-
Lars Ingebrigtsen authored
* lisp/emacs-lisp/debug.el (debug): Mention that inhibit-redisplay will inhibit the function.
-
- 22 Sep, 2019 17 commits
-
-
Lars Ingebrigtsen authored
* lisp/gnus/message.el (message-check-recipients): Warn about invalid email addresses (bug#32639).
-
Lars Ingebrigtsen authored
* doc/misc/gnus.texi (Posting Styles): Remove bit about message-reply-headers, because it has never worked.
-
Lars Ingebrigtsen authored
* lisp/gnus/gnus-win.el (gnus-use-atomic-windows): Default to nil.
-
Lars Ingebrigtsen authored
* doc/misc/gnus.texi (Posting Styles): Update the type of the message-reply-headers object.
-
Lars Ingebrigtsen authored
* lisp/mail/mailclient.el (mailclient-send-it): Warn about trying to send attachments (bug#34992).
-
Jackson Ray Hamilton authored
* lisp/progmodes/js.el (js-syntax-propertize): Ignore comments and strings. * test/manual/indent/jsx-comment-string.jsx: New test.
-
Jackson Ray Hamilton authored
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.
-
Paul Eggert authored
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.
-
Stefan Monnier authored
-
Lars Ingebrigtsen authored
* doc/misc/gnus-faq.texi (FAQ 7-1): * doc/misc/gnus.texi (Maildir): * lisp/gnus/nnmaildir.el: qmail.org no longer exists.
-
Lars Ingebrigtsen authored
* lisp/auth-source.el (authinfo--hide-passwords): Ensure that we only hit actual "password" entries and not "foo-password" and the like.
-
Lars Ingebrigtsen authored
* doc/misc/gnus.texi (Window Layout): Use @pxref in parentheses.
-
Lars Ingebrigtsen authored
-
Lars Ingebrigtsen authored
* lisp/image-mode.el (image-toggle-display-image): Get the orientation from the Exif data, if any.
-
Lars Ingebrigtsen authored
* 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.
-
Andreas Schwab authored
* src/pdumper.c (dump_buffer): Update hash of struct buffer.
-
Eric Abrahamsen authored
* 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.
-
- 21 Sep, 2019 19 commits
-
-
Stefan Kangas authored
-
Juri Linkov authored
* 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.
-
Eric Abrahamsen authored
Continued fixes for a81223ae * lisp/gnus/gnus-registry.el (gnus-registry-article-marks-to-names, gnus-registry-article-marks-to-chars): object-p is obsolete.
-
Stefan Kangas authored
* 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)
-
Paul Eggert authored
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.
-
Eli Zaretskii authored
-
Noam Postavsky authored
* 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.
-
Lars Ingebrigtsen authored
* lisp/image/exif.el (exif--parse-exif-chunk) (exif--parse-directory): Commentary typo fixes.
-
Lars Ingebrigtsen authored
* lisp/image/exif.el: New file (bug#23070). * test/lisp/image/exif-tests.el: Add some basic tests.
-
Alan Mackenzie authored
* 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.
-
Lars Ingebrigtsen authored
-
Lars Ingebrigtsen authored
* 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.
-
Lars Ingebrigtsen authored
* lisp/reveal.el (reveal-open-new-overlays): Allow also toggling `displa' overlay properties (bug#28785).
-
Eli Zaretskii authored
-
Lars Ingebrigtsen authored
* src/image.c (Fimage_size): Mention that this function caches images, and what to do about that (bug#33275).
-
Lars Ingebrigtsen authored
* src/process.c (Fmake_network_process): Mention how to listen to all interfaces (bug#34617).
-
Michael Albinus authored
-
Eli Zaretskii authored
-
Eric Abrahamsen authored
* 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.
-
- 20 Sep, 2019 1 commit
-
-
Lars Ingebrigtsen authored
* lisp/gnus/message.el (message-encode-message-body): Pass in the content type if the user has given one. * lisp/gnus/mml.el (mml-parse-1): Remove bogus peek at Content-type (there are no headers here) (bug#36527). * lisp/gnus/mml.el (mml-generate-mime): Respect that.
-