summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Allow `process-contact' not to blockLars Ingebrigtsen2019-09-204-7/+26
| | | | | | | | | | * doc/lispref/processes.texi (Process Information): Document it. * lisp/simple.el (list-processes--refresh): Don't wait for contact information for non-setup processes. * src/process.c (Fprocess_contact): Take an optional parameter to avoid blocking (bug#37408).
* Make number-at-point recognize some hex numbersLars Ingebrigtsen2019-09-202-4/+15
| | | | | * lisp/thingatpt.el (number-at-point): Also return common hex numbers (bug#37458).
* Change default value of message-make-forward-subject-functionDamien Cassou2019-09-201-5/+7
| | | | | | | * lisp/gnus/message.el (message-make-forward-subject-function): Change default value to be a list so it's easier for users to add functions. Change the type so the customize interface allows selecting multiple provided functions instead of just one (bug#37470).
* Recommend using https for package-archivesStefan Kangas2019-09-201-1/+4
| | | | | * lisp/emacs-lisp/package.el (package-archives): Recommend using https sources where possible. (Bug#33825)
* ; Improve wording of last Tramp commit, suggested by Robert PluimMichael Albinus2019-09-202-19/+26
|
* Fix the previous imenu commitMatthew Newton2019-09-201-1/+2
| | | | | | | * lisp/imenu.el (imenu--make-index-alist): Always return the alist (bug#30449). Copyright-paperwork-exempt: yes
* Some Tramp methods allow to change the remote login shellMichael Albinus2019-09-204-99/+145
| | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Inline methods) <sshx, plink, plinkx>: (External methods) <scpx, pscp, psftp>: Mention, that the remote login shell could be changed. (Remote shell setup): Remove description of properties "remote-shell-login" and "remote-shell-args", they don't matter here. Changing the default remote shell works only for some methods. (Frequently Asked Questions): Refer to alternative approach fixing zsh problems. * etc/NEWS: Some Tramp methods allow to change the remote login shell. * lisp/net/tramp-sh.el (tramp-default-remote-shell): New defconst. (tramp-methods): Use it. (tramp-get-sh-extra-args): New defun. (tramp-open-shell, tramp-maybe-open-connection): Use it. * lisp/net/tramp.el (tramp-methods): Adapt docstring.
* * lisp/window.el (walk-windows): Simplify to use WINDOW arg of window-list-1Juri Linkov2019-09-191-6/+10
| | | | instead of calling select-window (bug#35385).
* Only use Gnus registry for formatting when registry is loadedEric Abrahamsen2019-09-191-12/+16
| | | | | | | | | | | See bug #36903 * lisp/gnus/gnus-registry.el (gnus-registry-article-marks-to-chars): (gnus-registry-article-marks-to-names): In some circumstances it's possible for the user's summary line format spec to include registry-specific code, while the registry itself isn't actually loaded. Make sure the database is actually a hashtable before accessing it.
* Fix calls to insert-*-hooks when JIT font lock is activeEli Zaretskii2019-09-193-4/+18
| | | | | | | | * src/insdel.c (signal_after_change): Save and restore interval_insert_behind_hooks and interval_insert_in_front_hooks across calls to various other hooks, to prevent their clobbering by those other hooks. (Bug#37455)
* Minor svg wrap tweakLars Ingebrigtsen2019-09-191-1/+1
| | | | | * lisp/net/shr.el (svg--wrap-svg): Add the size to the wrapper to avoid having the SVG images shrink (bug#37159).
* Further fix-ups for SVG wrapping in shrLars Ingebrigtsen2019-09-191-9/+9
| | | | | * lisp/net/shr.el (svg--wrap-svg): Add the size to the wrapper to avoid having the SVG images shrink (bug#37159).
* Fix :version in recent commitLars Ingebrigtsen2019-09-191-6/+3
| | | | * lisp/pcmpl-gnu.el (pcmpl-gnu-makefile-includes): Fix :version.
* Fix a bug in callback functions in align-areasLars Ingebrigtsen2019-09-191-3/+6
| | | | | | * 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>.
* Also prefer .emacs.d if .emacs existsPaul Eggert2019-09-192-2/+10
| | | | | | Problem reported by Katsumi Yamaoka (Bug#37456). * lisp/startup.el (startup--xdg-or-homedot): Also prefer .emacs.d if a traditional .emacs file exists.
* Default PICKY_ACCESS to false on non-MSPaul Eggert2019-09-191-4/+8
| | | | * src/fileio.c (PICKY_EACCES) [!DOS_NT]: Default to false.
* Omit some overenthusiastic file-truename callsPaul Eggert2019-09-182-13/+12
| | | | | | | | | | | | | | | | | 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.
* Fix ignored Motif scrollbar resources (Bug#37359)Matt Bisson2019-09-191-2/+4
| | | | | | | | | | | | * 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
* lisp/*.el, src/*.c: Fix typos in docstringsJuanma Barranquero2019-09-1947-82/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Merge commit '107ce3050fc37b9a13d8304ae1bb73fac9de5f61'Stephen Leake2019-09-18104-1374/+2190
|\
| * * lisp/isearch.el (isearch-lazy-highlight-update): Remember timer objectJuri Linkov2019-09-191-3/+3
| | | | | | | | | | | | | | | | | | 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.
| * Fix loading .elc files on MS-WindowsEli Zaretskii2019-09-181-3/+4
| | | | | | | | | | * src/lread.c (Fload): Don't clobber 'found' if the .el file was not found, as it is used by WINDOWSNT later on.
| * Improve logic for dependencies checkingPhillip Lord2019-09-181-28/+75
| | | | | | | | * admin/nt/dist-build/build-dep-zips.py:
| * Fix up the previous mh-mime warning suppressionLars Ingebrigtsen2019-09-182-61/+65
| | | | | | | | | | | | | | | | * 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.
| * 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