aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Use lexical-binding in tabify.el and add testsStefan Kangas2019-05-252-1/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/tabify.el: Use lexical-binding. * test/lisp/tabify-tests.el: New file.
* | | | | | * CONTRIBUTE: Split git configuration from fetch-and-buildPaul Eggert2019-05-251-1/+4
| | | | | |
* | | | | | ; Minor docstring changeDmitry Gutov2019-05-261-1/+1
| | | | | |
* | | | | | Document ‘Maintainer: emacs-devel@gnu.org’Paul Eggert2019-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/tips.texi (Library Headers): Document that the Maintainer: line now says ‘emacs-devel@gnu.org’ rather than ‘FSF’.
* | | | | | Go back to "Maintainer: emacs-devel@gnu.org"Paul Eggert2019-05-25327-0/+342
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restore lines saying "Maintainer: emacs-devel@gnu.org" when there is no special maintainer for a file. Although this wasn't documented it was common practice and removing the lines didn't have consensus.
* | | | | | ; etc/NEWS: Consolidate the Xref entriesDmitry Gutov2019-05-261-16/+14
| | | | | |
* | | | | | ; xref--create-fetcher: Add some further clarificationDmitry Gutov2019-05-261-0/+6
| | | | | |
* | | | | | Expand some xref documentationDmitry Gutov2019-05-261-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-show-xrefs-function) (xref-show-definitions-function, xref--create-fetcher): Add or extend the docstring.
* | | | | | Implement and document XDG-style startup files under ~/.config.Eric S. Raymond2019-05-253-20/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/startup.el (command-line): Allow XDG-style as well as old style init paths. * doc/startup.texi: Document the above change.
* | | | | | Remove redundants "See" before @xref or @pxref (Bug#35793)Mauro Aranda2019-05-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/gnus.texi (Group Parameters): Remove redundant "See" before cross reference, add comma after it.
* | | | | | * doc/misc/tramp.texi (Obtaining Tramp): Tramp is available via GNU ELPA.Michael Albinus2019-05-251-5/+9
| | | | | |
* | | | | | ; Add NEWS entries for recent Xref changesDmitry Gutov2019-05-251-0/+11
| | | | | |
* | | | | | Rename xref--revert-xref-buffer to xref-refresh-resultsDmitry Gutov2019-05-252-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-refresh-results): Rename from xref--revert-xref-buffer (bug#35702).
* | | | | | Support reverting in xref-find-definitions results as wellDmitry Gutov2019-05-251-29/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref--show-xref-buffer): Expect the first argument to always be a function (bug#35702). Handle a FETCHED-XREFS entry in ALIST. (xref--show-defs-buffer): Update accordingly. (xref--create-fetcher): Extract from xref--find-xrefs. (xref--find-definitions): Use it.
* | | | | | * lisp/emacs-lisp/package.el (package-install-from-archive): Fix last changeStefan Monnier2019-05-241-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't place the unibyte content of of the downloaded file into a multibyte buffer.
* | | | | | Merge branch 'master' of git.sv.gnu.org:/srv/git/emacsMichael Albinus2019-05-242-2/+4
|\ \ \ \ \ \
| * | | | | | Add "Enter Auth" prompt handling for OpenVPN (Bug#35724)Matthew Bauer2019-05-242-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/comint.el (comint-password-prompt-regexp): Allow "Enter Auth" at the beginning.
* | | | | | | Fix Bug#35769Michael Albinus2019-05-242-4/+10
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-connection-local-default-profile): * lisp/net/tramp-integration.el (tramp-connection-local-default-profile): Do not set it on w32 systems. (Bug#35769)
* | | | | | Merge branch 'master' of git.sv.gnu.org:/srv/git/emacsDmitry Gutov2019-05-24449-1934/+2260
|\ \ \ \ \ \
| * | | | | | Undo use of Emacs_Pixmap over Pixmap for x_kill_gs_processYAMAMOTO Mitsuharu2019-05-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/dispextern.h (x_kill_gs_process): * src/image.c (x_kill_gs_process): Undo use of Emacs_Pixmap over Pixmap. * src/dispextern.h (x_kill_gs_process): Move extern inside HAVE_X_WINDOWS.
| * | | | | | Improve documentation of the 'function' special formMichael Heerdegen2019-05-242-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Point out that 'function' quoting is beneficial also for symbols. * src/eval.c (function): Enhance docstring. * doc/lispref/functions.texi (Anonymous Functions): Improve documentation.
| * | | | | | * lisp/emacs-lisp/cl-macs.el (cl-callf): Tweak in docstringMichael Heerdegen2019-05-241-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Say that lambdas are also allowed as FUNC argument.
| * | | | | | Avoid backslash-newline-newline in source codePaul Eggert2019-05-229-19/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/refcards/Makefile (PDF_FRENCH): * lib-src/etags.c (LOOP_ON_INPUT_LINES): * lisp/dabbrev.el (dabbrev-check-other-buffers): * lisp/org/org-id.el (org-id-link-to-org-use-id): * lisp/org/org.el (org-support-shift-select, org-file-apps): * src/alloc.c (CHECK_ALLOCATED_AND_LIVE) (CHECK_ALLOCATED_AND_LIVE_SYMBOL): * src/frame.h (FRAME_PIXEL_WIDTH_TO_TEXT_COLS): * src/regex-emacs.c (PREFETCH_NOLIMIT): * src/window.h (WINDOW_BUFFER): Remove backslash-newline that immediately precedes another newline, as this is not the usual style and is confusing.
| * | | | | | Unbreak display of characters on MS-WindowsEli Zaretskii2019-05-231-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/w32font.c (w32font_draw): Convert the glyph_string's char2b array to 16-bit WCHAR data that ExtTextOutW needs.
| * | | | | | * lisp/cedet/srecode/insert.el: Use lexical-bindingStefan Monnier2019-05-221-19/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (srecode-insert-method): No need for lexical-let any more.
| * | | | | | * lisp/allout.el, lisp/allout-widgets.el: Use cl-lib and pcaseStefan Monnier2019-05-222-72/+63
| | |_|_|/ / | |/| | | |
| * | | | | Make Cairo build obey hint-style font setting (Bug#35781)YAMAMOTO Mitsuharu2019-05-234-328/+433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/ftfont.h (ftfont_open2): Remove extern. (ftfont_fix_match, ftfont_add_rendering_parameters) (ftfont_entity_pattern): Add externs. (struct font_info): Remove member bitmap_strike_index. (struct font_info) [USE_CAIRO]: Remove member ft_size_draw. All uses removed. Add member bitmap_position_unit. * src/xftfont.c (xftfont_fix_match, xftfont_add_rendering_parameters): Move functions from here ... * src/ftfont.c (ftfont_fix_match, ftfont_add_rendering_parameters): ... to here. All uses changed. * src/xftfont.c (xftfont_open): Extract FcPattern creation from font entity from here ... * src/ftfont.c (ftfont_entity_pattern): ... to here. * src/xftfont.c (syms_of_xftfont): Move DEFSYMs for Fontconfig's rendering parameters from here ... * src/ftfont.c (syms_of_ftfont): ... to here. * src/ftfont.c (ftfont_open, ftfont_open2): Undo introduction of bitmap_strike_index. Merge functions into ftfont_open. * src/ftcrfont.c (ftcrfont_open): Align code with xftfont_open rather than ftfont_open. (ftcrfont_close): Likewise. (ftcrfont_has_char, ftcrfont_encode_char): (ftcrfont_otf_capability) [HAVE_LIBOTF]: (ftcrfont_variation_glyphs) [HAVE_OTF_GET_VARIATION_GLYPHS]: New functions. (ftcrfont_driver): Register them. (ftcrfont_get_bitmap, ftcrfont_anchor_point): (ftcrfont_shape) [HAVE_M17N_FLT && HAVE_LIBOTF]: Use bitmap_position_unit instead of bitmap_strike_index to screen bitmap fonts. (ftcrfont_get_bitmap, ftcrfont_anchor_point): (ftcrfont_otf_capability) [HAVE_LIBOTF]: (ftcrfont_shape) [HAVE_M17N_FLT && HAVE_LIBOTF]: (ftcrfont_variation_glyphs) [HAVE_OTF_GET_VARIATION_GLYPHS]: Temporarily assign ftcrfont_info->ft_size and call corresponding ftfont functions. (ftcrfont_draw): Don't flush cairo surface when exporting.
| * | | | | Fix url-copy-file argument handlingBasil L. Contovounesios2019-05-231-83/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For discussion, see the following thread: https://lists.gnu.org/archive/html/emacs-devel/2019-05/msg00500.html * lisp/url/url-handlers.el: Update autoloaded docstrings. Quote function symbols as such. (url-handler-regexp): Make grouping construct shy. (url-file-handler, url-insert-buffer-contents) (url-handlers-create-wrapper, url-handlers-set-buffer-mode): Simplify. (url-file-handler-identity): Clarify calling convention. (file-name-absolute-p, url-file-local-copy): Mark ignored arguments as such. (url-handler-directory-file-name): Prefer string comparison over regexp match where either will do. (url-copy-file): Handle integer as third argument as per copy-file.
| * | | | | * lisp/textmodes/sgml-mode.el: Fix lone `>` in sgml textStefan Monnier2019-05-222-6/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (sgml--syntax-propertize-ppss):New variable and function. (sgml-syntax-propertize-rules): Use it. Don't ignore quotes not followed by a matching quote or a '>' or '<'. (sgml-syntax-propertize): Set up sgml--syntax-propertize-ppss. * test/lisp/textmodes/sgml-mode-tests.el (sgml-tests--quotes-syntax): Add test for lone '>'.
| * | | | | Remove fixnum restriction on some display varsPaul Eggert2019-05-228-110/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a minor patch to remove some fixnum restrictions. Many more such patches are needed, but one thing at a time. * doc/emacs/custom.texi (Examining): Update fill-column example. * src/buffer.c (fill-column, left-margin, tab-width) (buffer-saved-size, left-margin-width, right-margin-width) (left-fringe-width, right-fringe-width, scroll-bar-width) (scroll-bar-height, buffer-display-count): Allow any integer; do not restrict to fixnums. * src/character.h (SANE_TAB_WIDTH): Do not assume tab_width is a nonnegative fixnum. (sanitize_tab_width): Take a Lisp_Object integer, not an EMACS_INT. Only use changed. * src/data.c (store_symval_forwarding): Remove unnecessary SYMBOLP since the predicate (e.g., Qintegerp) is always a symbol (leave the test in as an eassert). Avoid assignments inside if-conditions. * src/fileio.c (Fdo_auto_save): Do not assume buffer-saved-size is a fixnum. Avoid undefined behavior on EMACS_INT overflow by multiplying a fixnum by at most 4, not by at most 13. * src/window.c (set_window_buffer): When buffer-display-count is too large for a fixnum, make it a bignum. * src/xdisp.c (FILL_COLUMN_INDICATOR_NEEDED): Remove macro, ... (fill_column_indicator_column): ... replacing with this new function. All uses changed. The function is a bit pickier, to prevent problems with non-character fixnums and columns out of range for int, and to remove the assumption that integers are in fixnum range. (append_space_for_newline, extend_face_to_end_of_line): Avoid undefined behavior with signed integer overflow. Simplify.
| * | | | | Merge from origin/emacs-26Glenn Morris2019-05-2210-10/+57
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b0da915 (origin/emacs-26, emacs-26) Fix a typo in ELisp manual 400907b Add option to disable help completion autoloading (Bug#28607) 122ba16 Don't segfault on force-window-update of deleted window 015b12e Fix typo in ELisp manual eadf044 Remove repeated function call in picture.el 1228a90 ; Fix mm-destroy-parts docstring typo 6cfd68d Fix Hideshow key binding typo in Emacs manual
| | * | | | Fix a typo in ELisp manualTom Levy2019-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/sequences.texi (Sequence Functions): Fix a typo. (Bug#35817) Copyright-paperwork-exempt: yes
| | * | | | Add option to disable help completion autoloading (Bug#28607)Noam Postavsky2019-05-214-4/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/help-fns.el (help-enable-completion-auto-load): New option. (help--symbol-completion-table): Consult it. * doc/emacs/building.texi (Lisp Libraries): Document it. * etc/NEWS: Announce it. * doc/lispref/loading.texi (Autoload by Prefix): New section. (Autoload): Reference it.
| | * | | | Don't segfault on force-window-update of deleted windowNoam Postavsky2019-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/window.c (Fforce_window_update): Do nothing for deleted windows (Bug#35784).
| | * | | | Fix typo in ELisp manualMauro Aranda2019-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/variables.texi (Directory Local Variables): Fix typo in dir-locals-set-class-variables description. (Bug#35799)
| | * | | | Remove repeated function call in picture.elMauro Aranda2019-05-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/picture.el (picture-mode-map): Remove repeated define-key call. (Bug#35772)
| | * | | | ; Fix mm-destroy-parts docstring typoBasil L. Contovounesios2019-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/mm-decode.el (mm-destroy-parts): Fix typo in docstring copy-pasted from mm-remove-parts.
| | * | | | Fix Hideshow key binding typo in Emacs manualBasil L. Contovounesios2019-05-191-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/programs.texi (Hideshow): Add missing function and key index entries. Fix hs-toggle-hiding binding typo. (bug#35798)
| * | | | | ; Merge from origin/emacs-26Glenn Morris2019-05-220-0/+0
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | The following commit was skipped: 7ce4b35 Backport: Fix name of gnus-summary-sort-by-mark(s)
| | * | | | Backport: Fix name of gnus-summary-sort-by-mark(s)Eric Abrahamsen2019-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-sort-by-marks): Needs the "s", according to docs and keymap both. (bug#35765) (cherry picked from commit 13248f7444630508cfc3b78a07e8d96613af11c8)
| * | | | | Merge from origin/emacs-26Glenn Morris2019-05-224-11/+49
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5d24af8 Remove from docs references to obsolete MULE variables 2bdc419 Do potentially destructive operations in prepare-commit-msg # Conflicts: # src/search.c
| | * | | | Remove from docs references to obsolete MULE variablesEli Zaretskii2019-05-172-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/search.c (search_buffer): Remove obsolete text from a comment. * src/fns.c (Fstring_make_unibyte): Remove obsolete text from a doc string.
| | * | | | Do potentially destructive operations in prepare-commit-msgKonstantin Kharlamov2019-05-162-1/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * build-aux/git-hooks/prepare-commit-msg: If someone occasionally puts Signed-off line, it will likely get there through -s option of git. Exploit this fact to abort before a user got a chance to type commit message. (Bug#35368)
| * | | | | * src/xfont.c (xfont_draw): Allocate the XChar2b array (Bug#35814)Alexander Gramiak2019-05-211-8/+18
| | | | | |
| * | | | | Fix some deprecation notices on macOS 10.14Alan Third2019-05-217-92/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/nsimage.m ([EmacsImage setXBMColor:]): Replace colorSpaceName code. * src/nsmenu.m ([EmacsDialogPanel initWithContentRect:styleMask:]): Remove reference to oneShot. * src/nsterm.h (ns_enable_screen_updates): Remove function prototype. (NSPasteboardTypeString): (NSPasteboardTypeTabularText): (NSControlStateValueOn): (NSControlStateValueOff): (NSBezelStyleRounded): (NSPasteboardTypeURL): Define new names and replace all callers. * src/nsterm.m ([EmacsColor colorUsingDefaultColorSpace]): Replace calls to colorUsingColorSpaceName on macOS > 10.7. ([EmacsView performDragOperation:]): Add FIXME about deprecation. (ns_disable_screen_updates): (ns_enable_screen_updates): Remove functions and all callers. (disable_screen_updates_count): Remove variable. * src/macfont.m (macfont_draw): Use CGContext instead of graphicsPort on macOS >= 10.10
| * | | | | Pacify libpng on interlaced images (Bug#35843)Paul Eggert2019-05-211-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/image.c (png_set_interlace_handling) [WINDOWSNT]: New function to link. (init_png_functions): Link it. (png_load_body): Call it before calling png_read_update_info.
| * | | | | Remove time-date debugging scaffoldingPaul Eggert2019-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem reported by Lars Ingebrigtsen in: https://lists.gnu.org/r/emacs-devel/2019-05/msg00721.html * lisp/calendar/time-date.el (date-to-time): Use plain condition-case, not condition-case-unless-debug.
| * | | | | Use lexical-binding in tempo.el and add testsFederico Tedin2019-05-212-23/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For discussion, see the following thread: https://lists.gnu.org/archive/html/emacs-devel/2019-05/msg00395.html * lisp/tempo.el: Use lexical-binding. (tempo-define-template): Expand documentation to mention `tempo-user-elements'. (tempo-local-tags, tempo-collection, tempo-dirty-collection) (tempo-marks, tempo-match-finder): Define with defvar-local. (tempo-named-insertions, tempo-region-start, tempo-region-stop): Make them automatically buffer-local. * test/lisp/tempo-tests.el: Add tests for tempo.el.
| * | | | | C Mode: Fix indentation of DEFUN's function's argument list.Alan Mackenzie2019-05-211-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Formally, when DEFUNs still used knr argument lists, these were indented by the syntactic context knr-argdecl-intro (5 columns). Since this is no longer the case, we now just use c-basic-offset (2 columns in "gnu" style). * lisp/progmodes/cc-align.el (c-indent-gnu-DEFUN-intro-cont): Modernize the indentation. Amend the doc string accordingly.
| * | | | | * src/ftcrfont.c (ftcrfont_open): Skip zero glyph index.YAMAMOTO Mitsuharu2019-05-211-1/+1
| | | | | |