aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Tweak compilation face in the wheatgrass themeLars Ingebrigtsen2019-07-091-0/+1
| | | | | | | | | | | | | | | * etc/themes/wheatgrass-theme.el: The compilation info was too light to be readable (bug#36203).
* | | Don't set url-mime-charset-string from set-language-environmentLars Ingebrigtsen2019-07-091-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/url/url-vars.el (url-set-mime-charset-string): Make obsolete and don't add to set-language-environment-hook (bug#36268). If you loaded url-vars before calling set-language-environment, you would suddenly get an unusable long url-mime-charset-string.
* | | Remove compat code in url-mime-charset-stringLars Ingebrigtsen2019-07-091-13/+9
| | | | | | | | | | | | * lisp/url/url-vars.el (url-mime-charset-string): Remove compat code.
* | | Tweak messaging in re-builderLars Ingebrigtsen2019-07-091-1/+1
| | | | | | | | | | | | | | | * lisp/emacs-lisp/re-builder.el (reb-copy): Say what we copied to the kill ring.
* | | Mention {la,}tex-run-command in the TeX Print info nodeLars Ingebrigtsen2019-07-091-1/+2
| | | | | | | | | | | | | | | * doc/emacs/text.texi (TeX Print): Mention {la,}tex-run-command, too. Suggested by Sebastian Urban (bug#36400).
* | | Avoid some unnecessary stdio.h includesPaul Eggert2019-07-0819-21/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/atimer.c, src/callproc.c, src/coding.c, src/dired.c, src/eval.c: * src/fringe.c, src/ftcrfont.c, src/ftfont.c, src/ftxfont.c: * src/gfilenotify.c, src/indent.c, src/kqueue.c, src/menu.c: * src/scroll.c, src/terminal.c, src/unexcoff.c, src/window.c: * src/xfont.c, src/xftfont.c: Do not include stdio.h since it is unused.
* | | Use fewer locks when accessing stdioPaul Eggert2019-07-0829-282/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/alloc.c, src/bidi.c, src/emacs-module.c, src/pdumper.c: * src/regex-emacs.c, src/unexhp9k800.c, src/unexmacosx.c: * src/widget.c, src/xdisp.c, src/xselect.c, src/xterm.c: Include sysstdio.h instead of stdio.h, to avoid locking stdio streams in many cases. * src/alloc.c (test_setjmp): * src/bidi.c (bidi_dump_cached_states): * src/cm.c (calccost): * src/dispnew.c (init_display_interactive): * src/emacs.c (main): * src/image.c (convert_mono_to_color_image): * src/minibuf.c (read_minibuf_noninteractive): * src/nsfont.m (ns_descriptor_to_entity) (ns_dump_glyphstring): * src/nsterm.h (NSTRACE_MSG_NO_DASHES): * src/nsterm.m (ns_mouse_position) (sendEvent:, keyDown:, performDragOperation:): * src/pdumper.c (dump_fingerprint, print_paths_to_root_1): * src/print.c (debug_print): * src/regex-emacs.c (debug_putchar, print_fastmap) (print_partial_compiled_pattern, print_compiled_pattern) (print_double_string, regex_compile): * src/term.c (vfatal): * src/unexhp9k800.c (read_header): * src/unexmacosx.c (unexec_error): * src/widget.c (EmacsFrameInitialize): * src/xdisp.c (message_to_stderr, vmessage, dump_glyph_row) (Fdump_glyph_matrix, Fdump_frame_glyph_matrix, dump_glyph_string): * src/xfaces.c (Fdump_colors, Fdump_face): * src/xselect.c (x_clipboard_manager_error_2): * src/xterm.c (x_initialize): * src/xwidget.c (WEBKIT_FN_INIT): Prefer unlocked calls like fputs to locked calls like fprintf. * src/charset.c (read_hex): * src/cm.c (cmputc, cmcheckmagic): * src/dispnew.c (update_frame, update_frame_with_menu) (update_frame_1, Fsend_string_to_terminal, Fding) (bitch_at_user): * src/emacs.c (main, Fdump_emacs): * src/emacs-module.c (module_abort): * src/fileio.c (Fdo_auto_save): * src/image.c (slurp_file) (png_read_from_file, png_load_body, our_stdio_fill_input_buffer): * src/keyboard.c (record_char, kbd_buffer_get_event) (handle_interrupt): * src/lread.c (readbyte_from_stdio, read1): * src/minibuf.c (read_minibuf_noninteractive): * src/print.c (printchar_to_stream, strout) (Fredirect_debugging_output): * src/sysdep.c (reset_sys_modes, close_output_streams) (procfs_ttyname, procfs_get_total_memory): * src/term.c (tty_ring_bell, tty_send_additional_strings) (tty_set_terminal_modes, tty_reset_terminal_modes) (tty_update_end, tty_clear_end_of_line, tty_write_glyphs) (tty_write_glyphs_with_face, tty_insert_glyphs) (tty_menu_activate): * src/xfaces.c (Fx_load_color_file): Simplify by using ordinary calls like putc to explicitly-unlocked calls like putc_unlocked, since the ordinary calls are now unlocked anyway. * src/emacs.c (main, Fdump_emacs): * src/pdumper.c (Fdump_emacs_portable): Coalesce adjacent printfs. * src/nsterm.h: Include sysstdio.h as this file’s macros rely on it. * src/regex-emacs.c (print_compiled_pattern): Omit redundant fflush. * src/sysstdio.h: Include unlocked-io.h. (clearerr_unlocked, feof_unlocked, ferror_unlocked) (fflush_unlocked, fgets_unlocked, fputc_unlocked) (fputs_unlocked, fread_unlocked, fwrite_unlocked) (getc_unlocked, getchar_unlocked, putc_unlocked) (putchar_unlocked): Remove these macros; now done by unlocked-io.h. * src/xwidget.c: Include sysstdio.h.
* | | Tidy up sieve.el text formattingBasil L. Contovounesios2019-07-091-25/+25
| | | | | | | | | | | | | | | | | | | | | * lisp/net/sieve.el (sieve-edit-script, sieve-upload): Do not pass arbitrary string as first argument to 'message' (bug#25764). (sieve-help): Split long string across multiple lines. (sieve-refresh-scriptlist): Use ngettext. Fix grammar.
* | | Delegate to rectangle version in delim-col when appropriateStefan Kangas2019-07-092-45/+50
| | | | | | | | | | | | | | | | | | * lisp/delim-col.el (delimit-columns-region): Delegate to `delimit-columns-rectangle' when called with a rectangular region (bug#36453).
* | | Fix minor typo in org-capture-templatesIsmail S2019-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | * lisp/org/org-capture.el (org-capture-templates): Fix typo in doc string (bug#36491). Copyright-paperwork-exempt: yes
* | | Ensure that expand-file-name returns an absolute file nameKen Brown2019-07-082-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | * src/fileio.c (Fexpand_file_name): Don't directly use the current buffer's default-directory if it is relative. Instead replace it by its expansion relative to invocation-directory. (Bug#36502) * test/src/fileio-tests.el (fileio-tests--relative-default-directory): New test.
* | | Turn off bytecode jumptables to avoid Bug#36447Noam Postavsky2019-07-081-1/+2
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-use-jump-table): Set to nil. We can turn this back on again when Bug#36447 is solved and we handle dumped hash tables correctly.
* | | Remove mention of :group in define-minor-mode infoLars Ingebrigtsen2019-07-081-7/+4
| | | | | | | | | | | | | | | | | | | | | * doc/lispref/modes.texi (Defining Minor Modes): The :group stuff in the example and documentation isn't correct since this is not a global mode and `hunger-mode' therefore isn't customizable (bug#36501).
* | | Improvements to sieve script usabilityEric Abrahamsen2019-07-081-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/sieve-mode.el (sieve-mode-menu): Add `sieve-upload-and-kill' to the mode menu. * lisp/net/sieve.el (sieve-manage-mode-menu): Add `sieve-manage-quit' to the mode menu. (sieve-help): Mention quitting in mode help. (sieve-manage-mode): Directly derive from special-mode. (sieve-edit-script): Start off with unmodified buffer. (sieve-upload): Set buffer unmodified after successful upload. Changes are aimed at 1) increasing discoverability of commands and 2) using buffer modification to help users understand what's happening.
* | | Make sure gnus-group-set-info sets both the hashtable and alistEric Abrahamsen2019-07-081-1/+8
| | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-group.el (gnus-group-set-info): Apparently this method of updating the group info will only apply to the gnus-newsrc-hashtb, not gnus-newsrc-alist. Do the alist explicitly.
* | | * doc/misc/tramp.texi (Remote processes): Fix a typo.Michael Albinus2019-07-081-3/+3
| | |
* | | Fix coding error in c-forward-decl-or-cast-1. This fixes bug #36492.Alan Mackenzie2019-07-081-1/+2
| | | | | | | | | | | | | | | * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): While testing for, e.g., foo(), check we've found the ( before trying to go to its position.
* | | Allow chown/chgrp for remote directories on w32Michael Albinus2019-07-081-2/+4
| | | | | | | | | | | | | | | | | | * lisp/dired-aux.el (dired-do-chgrp, dired-do-chown): Allow them for remote directories, even when run on w32. See <https://emacs.stackexchange.com/questions/51477/chown-with-dired-over-tramp-from-windows-machine>.
* | | Fix bug #36474, such that CC Mode quotes work properly in electric-pair-modeAlan Mackenzie2019-07-081-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also finishes the fix for bug #36423. * lisp/progmodes/cc-mode.el (c-initialize-cc-mode): Add an `eval-after-load' to set electric-pair-inhibit-predicate for existing CC Mode buffers when elec-pair.elc gets loaded. (c-basic-common-init): Set electric-pair-inhibit-predicate when a CC Mode mode gets initialized. (c-electric-pair-inhibit-predicate): New function.
* | | * src/xselect.c: Fix comment.Paul Eggert2019-07-071-1/+1
| | |
* | | * src/dispnew.c (init_display_interactive): Fix comment to match code.Paul Eggert2019-07-071-1/+2
| | |
* | | * lisp/vc/vc-dir.el (vc-dir-view-file): New command for consistency with diredJuri Linkov2019-07-082-2/+5
| | | | | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-log-incoming, vc-git-log-outgoing): Remove interactive spec from non-command functions. (Bug#12492)
* | | Handle scroll-error-top-bottom in follow.el and view.el (bug#21893)Juri Linkov2019-07-082-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/follow.el (follow-scroll-up-arg, follow-scroll-up-window): Use scroll-up-command instead of scroll-up. (follow-scroll-down-arg, follow-scroll-down-window): Use scroll-down-command instead of scroll-down. (follow-scroll-up, follow-scroll-down): Handle scroll-error-top-bottom. * lisp/view.el (view-scroll-lines): Use scroll-down-command instead of scroll-down and scroll-up-command instead of scroll-up. (view-really-at-end): Handle scroll-error-top-bottom.
* | | * lisp/replace.el (perform-replace): Move save-match-data hereJuri Linkov2019-07-081-13/+14
| | | | | | | | | | | | from replace-highlight for isearch-lazy-highlight-new-loop (bug#36328).
* | | Avoid makeinfo error "@code expected braces"Glenn Morris2019-07-071-1/+1
| | | | | | | | | | | | * doc/lispref/searching.texi (Rx Constructs): Fix for makeinfo 4.13.
* | | Fix typo in previous patchPaul Eggert2019-07-071-1/+1
| | | | | | | | | | | | * src/editfns.c (styled_format): Fix stray ‘pMd’.
* | | Remove printmax_t etc.Paul Eggert2019-07-0719-100/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | printmax_t etc. were needed only for platforms that lacked support for printing intmax_t. These platforms are now so obsolete that they are no longer practical porting targets. * src/image.c (gs_load): Fix unlikely buffer overrun discovered while making these changes. It was introduced in 2011-07-17T00:34:43!eggert@cs.ucla.edu. * src/lisp.h (printmax_t, uprintmax_t, pMd, pMu, pMx): Remove. All uses replaced by their standard counterparts intmax_t, uintmax_t, PRIdMAX, PRIuMAX, PRIxMAX.
* | | Handle 'abbr' and 'acronym' tags in shr.elNick Drozd2019-07-072-1/+22
| | | | | | | | | | | | | | | | | | * lisp/net/shr.el (shr-tag-abbr, shr-tag-acronym): New functions handling 'abbr' and 'acronym' tags, respectively. * etc/NEWS: Announce change in shr behavior (bug#36475).
* | | Shorter `rx' doc string (bug#36496)Mattias Engdegård2019-07-071-321/+96
| | | | | | | | | | | | | | | * lisp/emacs-lisp/rx.el (rx): Replace long description with a condensed summary of the rx syntax, with reference to the manual section.
* | | Describe the rx notation in the elisp manual (bug#36496)Mattias Engdegård2019-07-073-0/+601
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The additions are excluded from the print version to avoid making it thicker. * doc/lispref/elisp.texi (Top): New menu entry. * doc/lispref/searching.texi (Regular Expressions): New menu entry. (Regexp Example): Add rx form of the example. (Rx Notation, Rx Constructs, Rx Functions): New nodes. * doc/lispref/control.texi (pcase Macro): Describe the rx pattern.
* | | Don’t ignore stderr failure when ADDRESS_SANITIZERPaul Eggert2019-07-063-20/+21
| | | | | | | | | | | | | | | | | | | | | * src/emacs.c (close_output_streams): Move from here ... * src/sysdep.c: ... to here, where it really belongs anyway. When ADDRESS_SANITIZER, fflush stderr and check for ferror, to catch stderr output errors even in this case.
* | | * lisp/emacs-lisp/nadvice.el: Make it a package separate from `emacs`.Stefan Monnier2019-07-062-2/+2
| | | | | | | | | | | | | | | * lisp/finder.el (finder-compile-keywords): Grab version from package--builtin-versions when available.
* | | Merge from origin/emacs-26Glenn Morris2019-07-066-13/+23
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1e6d8e0 (origin/emacs-26) ; * doc/emacs/killing.texi (Secondary Selec... e2344a7 * lisp/svg.el, lisp/progmodes/ada-mode.el: Fix bug#36360. ff738ab Minor copyedit of "Font Lock" in user manual faf99dc Improve description of image descriptors 21351cc ; * src/lread.c (Fread): Make the comment wording more accurate. d176090 Improve documentation of secondary selections 8910fe1 * src/fns.c (Fmapconcat): Doc fix. (Bug#36418) # Conflicts: # lisp/svg.el
| * | ; * doc/emacs/killing.texi (Secondary Selection): Fix last change.Eli Zaretskii2019-07-061-4/+3
| | |
| * | * lisp/svg.el, lisp/progmodes/ada-mode.el: Fix bug#36360.Stefan Monnier2019-07-062-0/+2
| | | | | | | | | | | | | | | Tell package.el their version number, for better behavior w.r.t the versions available in GNU ELPA
| * | Minor copyedit of "Font Lock" in user manualEli Zaretskii2019-07-061-4/+4
| | | | | | | | | | | | | | | * doc/emacs/display.texi (Font Lock): Make the wording about "enabling Font Lock" crystal clear. (Bug#36529)
| * | Improve description of image descriptorsEli Zaretskii2019-07-061-1/+4
| | | | | | | | | | | | | | | * doc/lispref/display.texi (Image Descriptors): More accurate description of where image files are looked up. (Bug#36523)
| * | ; * src/lread.c (Fread): Make the comment wording more accurate.Eli Zaretskii2019-07-061-1/+4
| | |
| * | Improve documentation of secondary selectionsEli Zaretskii2019-07-061-6/+10
| | | | | | | | | | | | | | | | | | * doc/emacs/killing.texi (Secondary Selection): Improve wording. Mention that 'M-mouse-1' can be used to cancel secondary selections. (Bug#36365)
| * | * src/fns.c (Fmapconcat): Doc fix. (Bug#36418)Eli Zaretskii2019-07-061-1/+1
| | |
* | | ; Merge from origin/emacs-26Glenn Morris2019-07-060-0/+0
|\ \ \ | |/ / | | | | | | | | | | | | The following commit was skipped: f0db687 Avoid crash inside CFCharacterSetIsLongCharacterMember (Bug#3...
| * | Avoid crash inside CFCharacterSetIsLongCharacterMember (Bug#36507)YAMAMOTO Mitsuharu2019-07-061-1/+4
| | | | | | | | | | | | | | | | | | * src/macfont.m (macfont_supports_charset_and_languages_p) (macfont_has_char): Don't pass integers outside the Unicode codespace to CFCharacterSetIsLongCharacterMember. Do not merge to master.
* | | Merge from origin/emacs-26Glenn Morris2019-07-066-8/+24
|\ \ \ | |/ / | | | | | | | | | | | | | | | e97c043 Fix python.el docstring (Bug#36458) e660801 ; Add thing-at-point-looking-at test (Bug#35708) f5b4846 ; Fix typo, insure -> ensure in ChangeLogs cb8fb59 * lisp/hi-lock.el (hi-lock-line-face-buffer): Doc fix. (Bug3...
| * | Fix python.el docstring (Bug#36458)Noam Postavsky2019-07-051-1/+1
| | | | | | | | | | | | | | | | | | * lisp/progmodes/python.el (python-shell--prompt-calculated-output-regexp): python-shell-set-prompt-regexp doesn't exist, presumably python-shell-prompt-set-calculated-regexps was meant.
| * | ; Add thing-at-point-looking-at test (Bug#35708)Noam Postavsky2019-07-051-0/+12
| | | | | | | | | | | | * test/lisp/thingatpt-tests.el (thing-at-point-looking-at): New test.
| * | ; Fix typo, insure -> ensure in ChangeLogsNoam Postavsky2019-07-053-6/+6
| | |
| * | * lisp/hi-lock.el (hi-lock-line-face-buffer): Doc fix. (Bug36448)Eli Zaretskii2019-07-031-1/+5
| | |
* | | ; Merge from origin/emacs-26Glenn Morris2019-07-060-0/+0
|\ \ \ | |/ / | | | | | | | | | | | | The following commit was skipped: dc5ed2c (emacs-26) ; Auto-commit of loaddefs files.
| * | ; Auto-commit of loaddefs files.Glenn Morris2019-07-011-15/+5
| | |
* | | Merge from origin/emacs-26Glenn Morris2019-07-064-37/+44
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | 316f5a3 Fix typo in doc string of file-exists-p (bug#36408) bfc7c6e * test/lisp/url/url-file-tests.el (url-file): Fix for POSIX f... 13b95e1 Fix typo in windows.texi 8b775c3 Clarify & update (elisp) Writing Emacs Primitives 7648c12 Clarify a subtle issue in the Internals chapter of lispref