1. 19 Sep, 2019 11 commits
    • Lars Ingebrigtsen's avatar
      Minor svg wrap tweak · 7156b0ef
      Lars Ingebrigtsen authored
      * lisp/net/shr.el (svg--wrap-svg): Add the size to the wrapper to
      avoid having the SVG images shrink (bug#37159).
      7156b0ef
    • Lars Ingebrigtsen's avatar
      Further fix-ups for SVG wrapping in shr · 2d8c8950
      Lars Ingebrigtsen authored
      * lisp/net/shr.el (svg--wrap-svg): Add the size to the wrapper to
      avoid having the SVG images shrink (bug#37159).
      2d8c8950
    • Lars Ingebrigtsen's avatar
      Fix :version in recent commit · c5e1ed9a
      Lars Ingebrigtsen authored
      * lisp/pcmpl-gnu.el (pcmpl-gnu-makefile-includes): Fix :version.
      c5e1ed9a
    • Lars Ingebrigtsen's avatar
      Fix a bug in callback functions in align-areas · b82f34f9
      Lars Ingebrigtsen authored
      * lisp/align.el (align-areas): When given a callback function and
      JUSTIFY, pick out the correct parameters (bug#30139).  Suggested
      by "John Wiegley" <johnw@gnu.org>.
      b82f34f9
    • Paul Eggert's avatar
      Also prefer .emacs.d if .emacs exists · d38110ef
      Paul Eggert authored
      Problem reported by Katsumi Yamaoka (Bug#37456).
      * lisp/startup.el (startup--xdg-or-homedot): Also
      prefer .emacs.d if a traditional .emacs file exists.
      d38110ef
    • Paul Eggert's avatar
      Default PICKY_ACCESS to false on non-MS · 30026cfe
      Paul Eggert authored
      * src/fileio.c (PICKY_EACCES) [!DOS_NT]: Default to false.
      30026cfe
    • Paul Eggert's avatar
      Omit some overenthusiastic file-truename calls · dff4f9c7
      Paul Eggert authored
      Problem reported by Tino Calancha (Bug#37445).
      * src/emacs.c (init_cmdargs): Call file-truename only if
      needed, i.e., if invocation-directory ends in "/i386/" on
      WINDOWSNT.
      * src/lread.c (readevalloop): If the sourcename is not
      absolute, make it absolute.  There is no need to convert
      non-absolute files into truenames, since absolute files are
      not converted into truenames.
      (init_lread): Do not convert source-directory into a truename
      at startup.  There is no need to do so in a dumped Emacs since
      an absolute file name suffices.  The source directory might
      not even exist any more, or might have been replaced by an
      interloper who takes advantage of the truename calculation.
      (syms_of_lread): Remove Qfile_truename; no longer needed.
      dff4f9c7
    • Matt Bisson's avatar
      Fix ignored Motif scrollbar resources (Bug#37359) · 6eb122c8
      Matt Bisson authored
      * src/xterm.c (x_create_toolkit_scroll_bar): On Motif
      scrollbars, "foreground" has no meaning, while "background"
      means the truck and arrow colors, and "trough" means the
      background of the entire widget.  This fix hooks up the Emacs
      scrollbar "foreground" color to the XmNbackground resource
      and the "background" color to XmNtroughColor which is more in
      line with how Xaw scrollbars behave.
      
      Copyright-paperwork-exempt: yes
      6eb122c8
    • Juanma Barranquero's avatar
      lisp/*.el, src/*.c: Fix typos in docstrings · 79a01866
      Juanma Barranquero authored
      * lisp/apropos.el (apropos-do-all):
      * lisp/auth-source-pass.el (auth-source-pass--select-from-entries):
      * lisp/auth-source.el (auth-source-user-or-password):
      * lisp/calc/calc-forms.el (math-tzone-names):
      * lisp/calendar/diary-lib.el (diary-face-attrs)
      (diary-mark-entries-1):
      * lisp/cedet/cedet-files.el (cedet-files-list-recursively):
      * lisp/cedet/ede.el (ede-constructing, ede-deep-rescan):
      * lisp/cedet/ede/cpp-root.el (ede-cpp-root-header-file-p):
      * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
      * lisp/cedet/inversion.el (inversion-check-version)
      (inversion-test):
      * lisp/cedet/mode-local.el (mode-local-map-file-buffers):
      * lisp/cedet/semantic/complete.el (semantic-displayer-ghost):
      * lisp/cedet/semantic/db-find.el (semanticdb-find-translate-path-default):
      * lisp/cedet/semantic/db.el (semanticdb-table)
      (semanticdb-search-system-databases):
      * lisp/cedet/semantic/imenu.el (semantic-imenu-index-directory):
      * lisp/cedet/semantic/java.el (semantic-java-doc-keywords-map):
      * lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-use-headers-flag):
      * lisp/cedet/semantic/lex.el (semantic-lex-make-keyword-table)
      (semantic-lex-make-type-table, semantic-lex-debug-analyzers):
      * lisp/cedet/semantic/tag-ls.el (semantic-tag-abstract-p)
      (semantic-tag-leaf-p, semantic-tag-static-p)
      (semantic-tag-prototype-p):
      * lisp/dnd.el (dnd-open-remote-file-function, dnd-open-local-file):
      * lisp/emacs-lisp/eieio-opt.el (eieio-build-class-alist)
      (eieio-read-class, eieio-read-subclass):
      * lisp/emacs-lisp/generator.el (cps--replace-variable-references)
      (cps--handle-loop-for):
      * lisp/erc/erc-dcc.el (erc-dcc-list, erc-dcc-member, erc-dcc-server)
      (erc-dcc-auto-mask-p, erc-dcc-get-file, erc-dcc-chat-accept):
      * lisp/eshell/em-pred.el (eshell-pred-file-type):
      * lisp/faces.el (defined-colors-with-face-attributes):
      * lisp/font-core.el (font-lock-mode):
      * lisp/frame.el (frame-restack):
      * lisp/net/shr.el (shr-image-animate):
      * lisp/org/org-agenda.el (org-agenda-change-all-lines)
      (org-agenda-today-p):
      * lisp/org/org-id.el (org-id-get):
      * lisp/org/org.el (org-highlight-latex-and-related)
      (org--valid-property-p):
      * lisp/org/ox-beamer.el (org-beamer--get-label):
      * lisp/org/ox-latex.el (org-latex--caption-above-p):
      * lisp/org/ox-odt.el (org-odt--copy-image-file)
      (org-odt--copy-formula-file):
      * lisp/org/ox.el (org-export-with-timestamps):
      * lisp/progmodes/verilog-mode.el (verilog-indent-declaration-macros):
      * lisp/ses.el (ses-file-format-extend-parameter-list):
      * lisp/term.el (ansi-term):
      * lisp/textmodes/bibtex.el (bibtex-no-opt-remove-re)
      (bibtex-beginning-of-first-entry, bibtex-autokey-get-title)
      (bibtex-read-key, bibtex-initialize):
      * lisp/textmodes/flyspell.el (flyspell-word):
      * lisp/view.el (view-mode-exit):
      * src/composite.c:
      * src/floatfns.c (Fisnan): Fix typos in docstrings.
      79a01866
    • Stephen Leake's avatar
      Merge commit '107ce305' · 34f1035e
      Stephen Leake authored
      34f1035e
    • Stephen Leake's avatar
      Enhance 'pcomplete/make' to complete on targets in included makefiles · b4784440
      Stephen Leake authored
      * lisp/pcmpl-gnu.el (pcmpl-gnu-makefile-includes): New.
      (pcmpl-gnu-make-targets): New, factored out of pcmpl-gnu-make-all-targets.
      (pcmpl-gnu-make-includes): New.
      (pcmpl-gnu-make-all-targets): Use new functions.
      b4784440
  2. 18 Sep, 2019 13 commits
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-lazy-highlight-update): Remember timer object · 107ce305
      Juri Linkov authored
      in isearch-lazy-highlight-timer to cancel it in lazy-highlight-cleanup.
      
      (isearch-done): No need to set isearch-lazy-highlight-start to nil -
      it used to reset lazy-highlight loop like isearch-lazy-highlight-window-start,
      but now other packages set isearch-lazy-highlight-last-string to nil to reset
      lazy-highlight loop.
      107ce305
    • Eli Zaretskii's avatar
      Fix loading .elc files on MS-Windows · 617f4f31
      Eli Zaretskii authored
      * src/lread.c (Fload): Don't clobber 'found' if the .el file
      was not found, as it is used by WINDOWSNT later on.
      617f4f31
    • Phillip Lord's avatar
      Improve logic for dependencies checking · 61c2183a
      Phillip Lord authored
      * admin/nt/dist-build/build-dep-zips.py:
      61c2183a
    • Lars Ingebrigtsen's avatar
      Fix up the previous mh-mime warning suppression · 37a4233a
      Lars Ingebrigtsen authored
      * lisp/mh-e/mh-acros.el (mh-dlet*): Suppress warnings about
      prefix-less bindings.
      * lisp/mh-e/mh-mime.el (mh-insert-mime-security-button): Remove
      the warning removal here.
      (mh-insert-mime-button): And here.
      37a4233a
    • Eli Zaretskii's avatar
      Improve support of the Tai-Viet script · a39652b4
      Eli Zaretskii authored
      * 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.
      a39652b4
    • Paul Eggert's avatar
      Out-of-datedness .elc check is merely a file test · 9597ee68
      Paul Eggert authored
      * 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).
      9597ee68
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Fix the MS-Windows build broken by recent errno changes · 7ff2eef9
      Eli Zaretskii authored
      * 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.
      7ff2eef9
    • Michael Albinus's avatar
      Simplify tramp-tests.el check for owncloud/nextcloud · ffcec7cd
      Michael Albinus authored
      * test/lisp/net/tramp-tests.el (tramp-test11-copy-file):
      Simplify check for owncloud/nextcloud connections.
      ffcec7cd
    • Michael Albinus's avatar
      Add extra args for zsh in Tramp · 5ec42d5c
      Michael Albinus authored
      * 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.
      5ec42d5c
    • Paul Eggert's avatar
      Be less picky about EACCES in file test predicates · 735940f4
      Paul Eggert authored
      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.
      735940f4
    • Paul Eggert's avatar
      Fix permission-denied issue in MS-Windows startup · 94ca934a
      Paul Eggert authored
      * src/callproc.c (init_callproc): Use file_access_p rather
      than Ffile_exists_p during startup (Bug#37445).
      94ca934a
    • Paul Eggert's avatar
      Improve reporting of I/O, access errors · 9dc306b1
      Paul Eggert authored
      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.
      9dc306b1
  3. 17 Sep, 2019 14 commits
    • Jimmy Aguilar Mena's avatar
      Substituted deprecated WebKitGTK+ api. · ae3edf0a
      Jimmy Aguilar Mena authored
      * src/xwidget.c : Substituted WebKitGTK+ API calls and use
      JavaScriptCore GLib API instead.
      ae3edf0a
    • Tino Calancha's avatar
      Fix an assignment to free variable warning · cbc10ec7
      Tino Calancha authored
      It fixes a bug introduced by commit
      'query-replace-regexp undo: Update next-replacement after undo'
      (30c4f35a)
      
      See https://lists.gnu.org/archive/html/emacs-devel/2019-09/msg00364.html
      * lisp/replace.el(perform-replace): Rename variable
      to next-replacement-replaced.
      cbc10ec7
    • Juanma Barranquero's avatar
      746b20c2
    • Lars Ingebrigtsen's avatar
      Suppress some warnings about un-prefixed dynamic variables · 57fd3709
      Lars Ingebrigtsen authored
      * lisp/mh-e/mh-mime.el (mh-insert-mime-security-button): Suppress
      warnings about un-prefixed dynamic variables.
      (mh-insert-mime-button): Ditto.
      57fd3709
    • Lars Ingebrigtsen's avatar
      Touch up naming of ipv6-expand · 4b73a937
      Lars Ingebrigtsen authored
      * lisp/net/net-utils.el (nslookup--ipv6-expand): Rename to avoid
      make prefix more regular.
      (nslookup-host-ipv6): Rename call.
      4b73a937
    • W. Garrett Mitchener's avatar
      Updated to match more recent versions of Praat. · 0e5e816a
      W. Garrett Mitchener authored
      * 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)
      0e5e816a
    • Lars Ingebrigtsen's avatar
      f52c13ff
    • Eli Zaretskii's avatar
      Improve font lookup on MS-Windows · 8054935c
      Eli Zaretskii authored
      * 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'.
      8054935c
    • Paul Eggert's avatar
      Pacify GCC -Wmaybe-uninitialized · 01c929bc
      Paul Eggert authored
      * src/dired.c (directory_files_internal):
      Pacify GCC 7.4.0-1ubuntu1~18.04.1 x86-64.
      01c929bc
    • Paul Eggert's avatar
      Don’t round file-system-info counts · c108d8ec
      Paul Eggert authored
      * 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.
      c108d8ec
    • Mattias Engdegård's avatar
    • Eli Zaretskii's avatar
      ; * etc/NEWS: Minor copyedits. · e80e037e
      Eli Zaretskii authored
      e80e037e
    • Paul Eggert's avatar
      Fix some file-mode races · bc1c2cf0
      Paul Eggert authored
      * 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.
      bc1c2cf0
    • Paul Eggert's avatar
      vc-cvs-revert: fix off-by-one file mode · b124cb8f
      Paul Eggert authored
      * 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.
      b124cb8f
  4. 16 Sep, 2019 2 commits