summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Improve support of the Tai-Viet scriptEli Zaretskii2019-09-182-13/+14
| | | | | | | | * lisp/language/tai-viet.el ("TaiViet"): Update the doc string. Suggested by Jim Brase <jim_brase@sil.org>. (Bug#5806) * etc/HELLO: Add a Tai Viet entry.
* Out-of-datedness .elc check is merely a file testPaul Eggert2019-09-184-3/+4
| | | | | | | * src/fileio.c (file_test_errno): Now extern. * src/lread.c (Fload): Use file_test_errno instead, since this is really just a file test (the attributes are not given to the user).
* Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacsEli Zaretskii2019-09-183-6/+34
|\
| * Simplify tramp-tests.el check for owncloud/nextcloudMichael Albinus2019-09-181-5/+2
| | | | | | | | | | * test/lisp/net/tramp-tests.el (tramp-test11-copy-file): Simplify check for owncloud/nextcloud connections.
| * Add extra args for zsh in TrampMichael Albinus2019-09-182-1/+32
| | | | | | | | | | | | | | * doc/misc/tramp.texi (Remote shell setup): New subsection "Changing the default remote shell". * lisp/net/tramp-sh.el (tramp-sh-extra-args): Add entry for zsh.
* | Fix the MS-Windows build broken by recent errno changesEli Zaretskii2019-09-181-1/+4
|/ | | | | | * src/fileio.c (file_directory_p): If the file exists, but is not a directory, set errno to ENOTDIR, like the Posix branch does; openp expects that.
* Be less picky about EACCES in file test predicatesPaul Eggert2019-09-181-1/+15
| | | | | | | | Problem reported by Tino Calancha (Bug#37445) and others. * src/fileio.c (PICKY_EACCES): New constant, false by default. (file_test_errno): Ignore EACCES if not picky. (check_file_access): Investigate EACCES problems further if picky.
* Fix permission-denied issue in MS-Windows startupPaul Eggert2019-09-181-5/+4
| | | | | * src/callproc.c (init_callproc): Use file_access_p rather than Ffile_exists_p during startup (Bug#37445).
* Improve reporting of I/O, access errorsPaul Eggert2019-09-178-223/+282
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signal an error for file-oriented errors that are not tame errors like ENOENT and ENOTDIR (Bug#37389). Do this for primitives exposed to Lisp; the lower level internal C API merely makes errno values available to higher-level C code. * doc/lispref/files.texi (Testing Accessibility) (File Attributes, Extended Attributes): Do not say that the functions return nil when the return value cannot be determined. * etc/NEWS: Mention the change. * src/dired.c (Ffile_attributes): Fix doc string confusion about opening a file vs getting its attributes. (file_attributes): Signal serious errors. * src/fileio.c (check_existing, check_executable) (check_writable): Remove. All callers changed to use check_file_access or file_access_p. (file_access_p, file_metadata_errno, file_attribute_errno) (file_test_errno, check_file_access, check_emacs_readlinkat): New functions. * src/fileio.c (Ffile_executable_p, Ffile_readable_p) (Ffile_name_case_insensitive_p, Frename_file, Ffile_exists_p): (Ffile_symlink_p, Ffile_directory_p) (Ffile_accessible_directory_p, Ffile_regular_p) (Ffile_selinux_context, Ffile_acl, Ffile_modes) (Ffile_newer_than_file_p, Fset_visited_file_modtime) (Ffile_system_info): * src/filelock.c (unlock_file, Ffile_locked_p): * src/lread.c (Fload): Signal serious errors. * src/fileio.c (Ffile_writable_p): Remove unnecessary CHECK_STRING. (emacs_readlinkat): Now static. * src/filelock.c (current_lock_owner, lock_if_free): Return a positive errno on error, and the negative of the old old value on success. All callers changed. * src/lread.c (openp): Propagate serious errno values to caller.
* Substituted deprecated WebKitGTK+ api.Jimmy Aguilar Mena2019-09-171-127/+92
| | | | | * src/xwidget.c : Substituted WebKitGTK+ API calls and use JavaScriptCore GLib API instead.
* Fix an assignment to free variable warningTino Calancha2019-09-171-1/+1
| | | | | | | | | | It fixes a bug introduced by commit 'query-replace-regexp undo: Update next-replacement after undo' (30c4f35a6fc8a6507930923766c3126ac1c2063f) See https://lists.gnu.org/archive/html/emacs-devel/2019-09/msg00364.html * lisp/replace.el(perform-replace): Rename variable to next-replacement-replaced.
* * src/w32fns.c (Fw32_read_registry): Doc fixJuanma Barranquero2019-09-171-2/+2
|
* Suppress some warnings about un-prefixed dynamic variablesLars Ingebrigtsen2019-09-171-55/+57
| | | | | | * lisp/mh-e/mh-mime.el (mh-insert-mime-security-button): Suppress warnings about un-prefixed dynamic variables. (mh-insert-mime-button): Ditto.
* Touch up naming of ipv6-expandLars Ingebrigtsen2019-09-171-4/+5
| | | | | | * lisp/net/net-utils.el (nslookup--ipv6-expand): Rename to avoid make prefix more regular. (nslookup-host-ipv6): Rename call.
* Updated to match more recent versions of Praat.W. Garrett Mitchener2019-09-171-12/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/leim/quail/ipa-praat.el ("ipa-praat"): Update to match more recent versions of Praat (bug#36198). - \rh was used for ram's horns (a vowel) and rhoticity hook (a diacritic). Praat uses \hr for the hook, so I made that changed. - \e3v for the slightly rounded diacritic seems to have been a typo related to the use of e in the example. Changed it to \3v to match Praat. - Added examples to the table of tone diacritics - Added \^h for superscript h - Added \^H for superscript h with hook - Added \^w for superscript w (labialization) - Added \^j for superscript j (palatalization) - Added \^g for superscript symbol (velarization) - Added \^9 for superscript symbol (pharyngealization)
* Update doc marker -- smtpmail-retries is documentedLars Ingebrigtsen2019-09-171-1/+1
|
* Improve font lookup on MS-WindowsEli Zaretskii2019-09-175-39/+300
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/w32font.c (struct font_callback_data): New member 'known_fonts'. (w32font_list_internal, w32font_match_internal): Set up match_data.known_fonts if the font spec includes :script that names one of the non-USB scripts. (add_font_entity_to_list): If font_matches_spec returns zero for a font, and we have some fonts in match_data->known_fonts, consider the font to be a match if it is named in known_fonts. (font_supported_scripts): Update the Unicode Subranges. In particular, map bit 74 to 'burmese', as this is the name Emacs uses, not 'myanmar'. Add a list of scripts that have no USBs defined for them. (syms_of_w32font) <Qburmese, Qcuneiform_numbers_and_punctuation> <Qaegean_number, Qw32_non_USB_fonts>: New symbols. * lisp/term/w32-win.el (w32-no-usb-subranges): New defconst. (w32--filter-USB-scripts, w32-find-non-USB-fonts): New functions. (w32-non-USB-fonts): New defvar. * lisp/international/fontset.el (setup-default-fontset): Add more scripts to automatic setup by representative characters. * doc/emacs/msdos.texi (Windows Fonts): Document 'w32-find-non-USB-fonts' and 'w32-non-USB-fonts'. * etc/NEWS: Mention 'w32-find-non-USB-fonts' and 'w32-non-USB-fonts'.
* Pacify GCC -Wmaybe-uninitializedPaul Eggert2019-09-171-1/+1
| | | | | * src/dired.c (directory_files_internal): Pacify GCC 7.4.0-1ubuntu1~18.04.1 x86-64.
* Don’t round file-system-info countsPaul Eggert2019-09-171-7/+9
| | | | | | * src/fileio.c (blocks_to_bytes): Convert the byte count to an integer, since we have bignums now. This avoids possible rounding errors for file systems containing more than 8 PiB or so.
* * doc/lispref/searching.texi (Rx Constructs): Fix typo.Mattias Engdegård2019-09-171-1/+1
|
* ; * etc/NEWS: Minor copyedits.Eli Zaretskii2019-09-171-5/+4
|
* Fix some file-mode racesPaul Eggert2019-09-165-16/+14
| | | | | | | | | * lisp/emacs-lisp/autoload.el (autoload-ensure-file-writeable): * lisp/files.el (after-find-file): * lisp/gnus/gnus-start.el (gnus-dribble-read-file): * lisp/htmlfontify.el (hfy-copy-and-fontify-file): * lisp/server.el (server-ensure-safe-dir): Avoid a race when getting file permissions.
* vc-cvs-revert: fix off-by-one file modePaul Eggert2019-09-161-1/+1
| | | | | | * lisp/vc/vc-cvs.el (vc-cvs-revert): 3950 (#o7556) is wrong as it keeps other-write but disables other-execute permissions. 3949 (#o7555) was intended here. Use octal notation for clarity.
* Fix imenu menu when we're auto-refreshingLars Ingebrigtsen2019-09-171-2/+3
| | | | | * lisp/imenu.el (imenu--make-index-alist): Don't add a *Refresh* item if we're auto-refreshing (bug#30449).
* Add a new variable smtpmail-retriesLars Ingebrigtsen2019-09-173-2/+17
| | | | | | | * doc/misc/smtpmail.texi (Server workarounds): Mention it (bug#34177). * lisp/mail/smtpmail.el (smtpmail-retries): New variable. (smtpmail-via-smtp): Use it.
* Allow `M-u' to work when editing fields in CustomizeMichał Kondraciuk2019-09-171-1/+6
| | | | | | | * lisp/cus-edit.el (custom-notify): Allow more editing commands to work in the Customize buffers (bug#31205). Copyright-paperwork-exempt: yes
* Try resending when getting a transient 4xx SMTP codeLars Ingebrigtsen2019-09-162-1/+24
| | | | | * lisp/mail/smtpmail.el (smtpmail-via-smtp): Try resending when getting a transient error message (bug#34177).
* Remove obsolete Lint directivesPaul Eggert2019-09-166-16/+0
| | | | | | | | | | | | | Most of the directives were wrong anyway. Apparently traditional lint hasn’t been used to check Emacs for years. * src/callint.c (Finteractive): * src/cm.c (evalcost): * src/emacs.c (main): * src/eval.c (call1, call2, call3, call4, call5, call6, call7, call8): * src/fns.c (concat2, concat3, nconc2): * src/term.c (calculate_ins_del_char_costs): Omit ARGSUSED comments. * src/eval.c (call1): Omit VARARGS comment.
* Add backquote testsTino Calancha2019-09-161-0/+47
| | | | * test/lisp/emacs-lisp/backquote-tests.el: New file (bug#37432).
* directory-files cleanup and speed tweakingPaul Eggert2019-09-161-80/+49
| | | | | | | | | | * src/dired.c (directory_files_internal): Check ‘match’ before doing anything heavyweight. Move decls closer to use. Remove obsolete comments about GC. No need to encode ‘directory’ or to call multibyte_chars_in_text. Remove no-longer-needed bug check. Skip finalname construction if file_attributes fails.
* mm-inline-large-images-proportion doc clarificationLars Ingebrigtsen2019-09-161-2/+3
| | | | | * lisp/gnus/mm-view.el (mm-inline-large-images-proportion): Doc clarification.
* Default to rescaling images in mm buffersLars Ingebrigtsen2019-09-163-11/+14
| | | | | | | * doc/misc/emacs-mime.texi (Display Customization): Document it. * lisp/gnus/mm-decode.el (mm-inline-large-images): Change default to `resize'.
* mm-inline-large-images doc string clarificationLars Ingebrigtsen2019-09-161-2/+3
| | | | * lisp/gnus/mm-decode.el (mm-inline-large-images): Clarify doc string.
* With tooltip-mode disabled, don't unconditionally clear the echo areaMauro Aranda2019-09-161-1/+4
| | | | | | * lisp/tooltip.el (tooltip-show-help-non-mode): Only clear the echo area when the current message displayed is a tooltip message (Bug#3192).
* Minor fix for previous maintaining.texi changeLars Ingebrigtsen2019-09-161-1/+1
| | | | | * doc/emacs/maintaining.texi (VC Directory Commands): Use @file for files.
* Document vc-dir-ignoreLars Ingebrigtsen2019-09-161-0/+6
| | | | | * doc/emacs/maintaining.texi (VC Directory Commands): Document vc-dir-ignore.
* Improve error reporting in file_accessible_directory_pEli Zaretskii2019-09-161-3/+26
| | | | | | * src/w32.c (w32_accessible_directory_p): Set errno, so that file_accessible_directory_p does on MS-Windows, to live up to its callers' expectations.
* Fix initialization of shared-game-score-directory on MS-WindowsEli Zaretskii2019-09-161-2/+13
| | | | | | | * src/callproc.c (init_callproc) [WINDOWSNT]: Run PATH_GAME through w32_relocate, to expand %emacs_dir%. [DOS_NT]: Accept EACCES as not "unusual" errno value. Reported by Richard Copley <rcopley@gmail.com>.
* ; Disable traces in shadowfile-testsMichael Albinus2019-09-161-1/+1
|
* Remove NEWS entry that talks about a change that was reverted (bug#37257)Lars Ingebrigtsen2019-09-161-4/+0
|
* Add bindings for ligature oe to iso-transl-char-mapRobert Pluim2019-09-161-0/+2
| | | | | * lisp/international/iso-transl.el (iso-transl-char-map): Add bindings for small and capital ligature oe. (Bug#23420)
* Fix some file-name-case-insensitive glitchesPaul Eggert2019-09-151-36/+50
| | | | | | | | | | | | | | | | | | * src/fileio.c (file_name_directory): New static function, broken out of Ffile_name_directory. (file_name_case_insensitive_err, Ffile_writable_p, Fdo_auto_save): Use it. (file_name_case_insensitive_err): Rename from file_name_case_insensitive_p. Accept an unencoded Lisp_Object rather than an encoded char *, so that platforms other than Cygwin and macOS need not encode the file name. Return an int -1, 0, errno rather than a bool (setting errno if false), so that the caller can distinguish an error from false. All callers changed. (Ffile_name_case_insensitive_p): Don’t issue system calls on platforms other than Cygwin and macOS. Fix bug that broke the attempt to move up the filesystem tree (it moved up only one level).
* ; * etc/NEWS: Fix typo.Stefan Kangas2019-09-161-1/+1
|
* Fix unknown-vs-nonexistent glitch for file timestampsPaul Eggert2019-09-151-1/+1
| | | | | * src/fileio.c (time_error_value): EACCES means the file timestamp is unknown, not that the file does not exist.
* Improve directory-access diagnosticsPaul Eggert2019-09-152-8/+14
| | | | | | | * src/callproc.c (init_callproc): Diagnose I/O errors, access errors, etc. for the game directory. * src/charset.c (init_charset): Improve quality of diagnostic when the charsets directory has I/O errors, access errors, etc.
* Merge from origin/emacs-26Glenn Morris2019-09-154-8/+30
|\ | | | | | | | | | | 30c4f35 (origin/emacs-26) query-replace-regexp undo: Update next-repl... c596be0 Amend the menu caption for page "Display Property" in the Eli... 13b9510 Add description of chinese-sisheng
| * query-replace-regexp undo: Update next-replacement after undoTino Calancha2019-09-092-7/+25
| | | | | | | | | | | | | | | | | | * lisp/replace.el (perform-replace): Rename the local binding to not shadow next-replacement. Update next-replacement after undo (Bug#37287). * test/lisp/replace-tests.el (query-replace-undo-bug37287): Add test. (query-replace-undo-bug37073): Tweak this test.
| * Amend the menu caption for page "Display Property" in the Elisp manual.Alan Mackenzie2019-09-071-1/+1
| | | | | | | | | | * doc/lispref/display.texi (Emacs Display): Replace a content-free menu caption with one mentioning images, margins and text size.
| * Add description of chinese-sishengRobert Pluim2019-09-041-0/+4
| | | | | | | | | | * doc/emacs/mule.texi (Input Methods): Add description of chinese-sisheng method for entering characters using pīnyīn.
* | ; Merge from origin/emacs-26Glenn Morris2019-09-150-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: 7e527af Fix non-deterministic process test