aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | ; Revert "Publicize behavior of log-view-diff at beginning/end of active region"Dmitry Gutov2019-06-103-27/+2
| | | | | | | | | | | | | | | | | | | | | This reverts commit 82db17d0d1231c4aa26e837f37428c44a67663ea. Undo the half-baked implementation of the new feature in Git log buffers until we can do it better (bug#35624).
* | | Omit the misplaced and unnecessary shyness qualifierDmitry Gutov2019-06-101-1/+1
| | | | | | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-find-library-file): Omit the misplaced and unnecessary shyness qualifier. Suggested by Mattias Engdegård <mattiase@acm.org>.
* | | Unbreak saving xref--original-window, etcDmitry Gutov2019-06-101-2/+2
| | | | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref--show-xref-buffer) (xref--show-defs-buffer-at-bottom): Move major mode calls earlier. So that local variable values are not lost.
* | | Add tests for mail/uudecode.elStefan Kangas2019-06-094-4/+125
| | | | | | | | | | | | | | | | | | | | | * lisp/mail/uudecode.el: Remove redundant :group usage. * test/lisp/mail/uudecode-resources/uudecoded.txt, test/lisp/mail/uudecode-resources/uuencoded.txt, test/lisp/mail/uudecode-tests.el: New files.
* | | Fig grammar of count-lines-pagePaul Eggert2019-06-091-1/+3
| | | | | | | | | | | | | | | * lisp/textmodes/page.el (count-lines-page): Say "Page has 1 line", not "Page has 1 lines" (Bug#35981).
* | | Make bookmark-old-default-file variable obsoleteStefan Kangas2019-06-092-13/+8
| | | | | | | | | | | | | | | | | | | | | * lisp/bookmark.el (bookmark-old-default-file): Redefine as obsolete variable alias for 'bookmark-default-file'. (bookmark-maybe-load-default-file): Don't try to rename file 'bookmark-old-default-file' (~/.emacs-bkmrks) to new name (Bug#35940).
* | | Make bookmark-maybe-message obsolete (Bug#35918)Stefan Kangas2019-06-091-76/+72
| | | | | | | | | | | | | | | | | | | | | * lisp/bookmark.el (bookmark-maybe-message): Redefine as obsolete function alias for 'message'. (bookmark-write-file): Use a progress reporter. (bookmark-load-file): Use a progress reporter.
* | | Make `bookmark-file' variable obsoleteStefan Kangas2019-06-092-8/+8
| | | | | | | | | | | | | | | * lisp/bookmark.el (bookmark-file): Redefine as obsolete variable alias for `bookmark-default-file'. (Bug#35917)
* | | * make-dist: Doc fix for --help re --snapshot (since 201612 change).Glenn Morris2019-06-091-1/+1
| | |
* | | Remove interactive spec from bookmark-set-internal (bug#36121)Stefan Kangas2019-06-091-1/+0
| | | | | | | | | | | | * lisp/bookmark.el (bookmark-set-internal): Remove interactive spec.
* | | Pacify compiler in paragraphs.el after lexical-bindingStefan Kangas2019-06-091-0/+3
| | | | | | | | | | | | * lisp/textmodes/paragraphs.el: Pacify byte compiler.
* | | Use lexical-binding in password-cache.el and add testsStefan Kangas2019-06-093-3/+78
| | | | | | | | | | | | | | | * lisp/password-cache.el: Use lexical-binding. * test/lisp/password-cache-tests.el: New file.
* | | * src/fns.c (cmpfn_eql): Simplify.Paul Eggert2019-06-091-21/+14
| | |
* | | Use lexical binding for ediffAlex Branham2019-06-0910-22/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/ediff-diff.el: * lisp/vc/ediff-help.el: * lisp/vc/ediff-hook.el: * lisp/vc/ediff-init.el: * lisp/vc/ediff-merg.el: * lisp/vc/ediff-vers.el: * lisp/vc/ediff-wind.el: * lisp/vc/ediff-mult.el: * lisp/vc/ediff-ptch.el: * lisp/vc/ediff.el: Use lexical binding. (ediff-version): Increase. (ediff-date): Remove.
* | | Rename xref--pop-to-location to xref-pop-to-locationDmitry Gutov2019-06-091-5/+5
| | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-pop-to-location): Rename from xref-pop-to-location. So that third-party xref-show-definitions-function implementations can use it safely (bug#36144). Update all callers.
* | | Add a built-in alternative for xref-show-definitions-functionDmitry Gutov2019-06-091-13/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref--transient-buffer-mode-map): New variable. (xref--transient-buffer-mode): New major mode. (xref--button-map): Remove the RET binding (it was unnecessary in the first place). (xref--show-common-initialize): Extract from xref--show-xref-buffer. (xref--show-defs-buffer-at-bottom): New function.
* | | Fix TODO to convert defvar with leading '*' to defcustomStefan Kangas2019-06-097-14/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/TODO: Remove done TODO to remove '*' from defvar. * doc/misc/gnus.texi: Remove leading '*' from defvar example. * lisp/kermit.el (kermit-esc-char): Convert to defcustom. * lisp/desktop.el (desktop-header): * lisp/obsolete/cc-compat.el (c-indent-level) (c-brace-imaginary-offset, c-brace-offset, c-argdecl-indent) (c-label-offset, c-continued-statement-offset) (c-continued-brace-offset): Remove leading '*' from docstring. * lisp/progmodes/dcl-mode.el: Remove leading '*' from docstring in comment. * test/manual/cedet/tests/test.el: Add comment asking if example of defvar with leading '*' should be removed. (Bug#35994) (The previous commit is also for the same bug.)
* | | Fix TODO to remove leading '*' from defcustomStefan Kangas2019-06-092-4/+1
| | | | | | | | | | | | | | | | | | | | | * etc/TODO: Remove done TODO to remove leading '*' from defcustom doc-strings. * lisp/ibuffer.el (ibuffer-inline-columns): Remove leading '*' from doc-string.
* | | Mark define-widget-keywords as obsoleteStefan Kangas2019-06-091-0/+1
| | | | | | | | | | | | | | | * lisp/widget.el (define-widget-keywords): Mark as obsolete. (Bug#36065)
* | | Use lexical-binding in underline.el and add testsStefan Kangas2019-06-092-1/+43
| | | | | | | | | | | | | | | | | | * lisp/textmodes/underline.el: Use lexical-binding. * test/lisp/textmodes/underline-tests.el: New file. (Bug#36063)
* | | Checkdoc fixes in lisp/bookmark.elStefan Kangas2019-06-091-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/bookmark.el (bookmark-bmenu-inline-header-height) (bookmark-bmenu-marks-width, bookmark-map, bookmark-quit-flag) (bookmark-name-from-full-record, bookmark-set-internal) (bookmark-insert-annotation, bookmark--jump-via) (bookmark-bmenu-set-header, bookmark-show-annotation) (bookmark-bmenu-other-window-with-mouse, bookmark-bmenu-relocate): Checkdoc docstring fixes. (Bug#35916)
* | | Fix int overflow bug in ‘equal’Paul Eggert2019-06-081-2/+1
| | | | | | | | | | | | | | | * src/fns.c (internal_equal): Fix bug when vector lengths exceed INT_MAX.
* | | Tune base64 decodingPaul Eggert2019-06-081-97/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This improves performance of base64-decode-region by about 7.5% on my platform, and gets rid of some macros. * src/fns.c (IS_ASCII, IS_BASE64, IS_BASE64_IGNORABLE) (READ_QUADRUPLET_BYTE): Remove. (base64_value_to_char, base64_char_to_value): Now an array of two arrays. All uses changed. (base64url_value_to_char, base64url_char_to_value): Remove. All uses changed to the other array. (base64_char_to_value): Entries are now of type signed char, not short, since we can assume C99. Use C99 initializers; this is clearer and caters to the (theoretical) possibility of systems that do not use ASCII or do not have 8-bit bytes. Allow any index in the range 0..UCHAR_MAX instead of limiting it to 0..127, so that uses need not check for in-range indexes. Also record padding chars. All uses changed. (base64_decode_1): Always store number of chars in *NCHARS_RETURN, for simplicity. All callers changed. Speed up the byte-fetching.
* | | Fix out-of-source make-dist problemsPaul Eggert2019-06-082-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem with jisx2131-filter reported by Phillip Lord in: https://lists.gnu.org/r/emacs-devel/2019-06/msg00147.html * admin/charsets/Makefile.in (SED_SCRIPT): Put it in $(srcdir), which is not necessarily the working directory. ($(SED_SCRIPT)): Rename from jisx2131-filter. All uses changed. (clean): Do not remove SED_SCRIPT. (extraclean): Remove it here instead. * make-dist (possibly_non_vc_files): Remove src/emacs-module.h. Although it is portable and could be distributed in the tarball, it's too much hassle to do that, so let each builder make it.
* | | ; Fix recent maintainer header removalsGlenn Morris2019-06-089-0/+9
| | | | | | | | | | | | The convention is that no "Maintainer" means "Author" is the maintainer.
* | | ; * lisp/eshell/esh-util.el (eshell-get-path): Doc fix.Eli Zaretskii2019-06-081-2/+2
| | |
* | | Fix path for current directory in eshell on MS-WindowsBernhard Rotter2019-06-083-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | On MS-Windows, PATH implicitly includes the current directory. Do it right for Eshell by adding "./" instead of ".", to avoid finding .FOO instead of ./FOO. * lisp/eshell/esh-util.el (eshell-get-path): New function. * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): * lisp/eshell/esh-ext.el (eshell-search-path): Use eshell-get-path.
* | | Minor fixes for the last commitsEli Zaretskii2019-06-082-46/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/fns.c (Fbase64url_encode_region) (Fbase64url_encode_string, Fbase64_decode_region) (Fbase64_decode_string): Fix doc strings. (base64_decode_1): Minor stylistic code changes. * doc/lispref/text.texi (Base 64): Fix typos and improve wording of the last committed text.
* | | ; * etc/NEWS: NEWS entry for the last commit.Eli Zaretskii2019-06-081-0/+9
| | |
* | | Add support for base64url variant of base-64 encoding/decodingPierre Téchoueyres2019-06-083-32/+355
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the RFC4648 variant of base64 encoding used by URLs. * doc/lispref/text.texi (base64url-encode-region, base64url-encode-string): Document new functions. (base64-decode-region, base64-decode-string): Document new optional parameter 'base64url' used to use url variant when decoding data. * src/fns.c (base64url-encode-region, base64url-encode-region): New functions to manage url variant. (base64-decode-region, base64-decode-string): Add optional parameter to indicate use of url-variant. (base64_encode_region_1, base64_encode_string_1): Internal functions with extracted code from 'base64_encode_region' and 'base64_encode_string' and optional parameters to manage padding and url variant. (base64-encode-region, base64-encode-string) : Use base64_encode_region_1 and base64_encode_string_1. (base64-encode-1): Add parameters to manage padding and url variant. (base64-decode-1): Add parameter to manage url variant. * test/src/fns-tests.el (fns-tests--with-region): New helper macro to test region variant of base64 encode / decode functions. (fns-tests--string-repeat): Helper function used in base64 tests. (fns-tests-base64-encode-region, fns-tests-base64-encode-string): Tests for standard base64 function. (fns-test-base64url-encode-region, fns-test-base64url-encode-string): Tests for url variant. (fns-tests-base64-decode-string): Tests for decoding part.
* | | Support X core font driver on cairo (Bug#28236)YAMAMOTO Mitsuharu2019-06-085-90/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (HAVE_X_WINDOWS): Add xfont.o to FONT_OBJ if HAVE_CAIRO. * doc/lispref/frames.texi (Font and Color Parameters): Mention X core font driver with Cairo drawing. * src/font.c (syms_of_font) [HAVE_X_WINDOWS && USE_CAIRO]: Call syms_of_xfont. * src/xfns.c (x_create_tip_frame) [USE_CAIRO]: Register xfont_driver. * src/xterm.c (x_cr_gc_clip) [USE_CAIRO]: New function extracted from x_begin_cr_clip. (x_begin_cr_clip) [USE_CAIRO]: Use it. (xlib_surface_key, saved_drawable_key) [USE_CAIRO]: New variables. (x_cr_destroy_xlib_surface, x_try_cr_xlib_drawable) (x_end_cr_xlib_drawable) [USE_CAIRO]: New functions. (x_draw_composite_glyph_string_foreground) (x_draw_glyph_string_foreground) [USE_CAIRO]: Get Xlib surface when drawing text with X core fonts into bitmap surfaces. Add fallback code for drawing into outline surfaces.
* | | Implement native image rotation and cropping on cairoYAMAMOTO Mitsuharu2019-06-084-46/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/dispextern.h (struct image) [USE_CAIRO]: * src/image.c (free_image, image_clear_image_1) (image_set_crop, image_set_size, image_set_rotation) (image_create_x_image_and_pixmap) [USE_CAIRO]: #ifdef out HAVE_XRENDER part. * src/image.c (cr_create_surface_from_pix_containers) [USE_CAIRO]: Rename from cr_create_surface_from_pix_containers. Change arguments to pair of Emacs_Pix_Container:s. Move block_input and unblock_input to caller. (cr_put_image_to_cr_data) [USE_CAIRO]: New function. (prepare_image_for_display) [USE_CAIRO]: Use it. (image_set_transform) [USE_CAIRO]: Create dummy solid color pattern equipped with transformation matrix and set it to img->cr_data. * src/xterm.c (fringe_bmp) [USE_CAIRO]: Change type to cairo_pattern_t **. (x_cr_define_fringe_bitmap, x_cr_destroy_fringe_bitmap) [USE_CAIRO]: Create or destroy cairo pattern. (x_cr_draw_image) [USE_CAIRO]: Remove arguments image_width and image_height. Change type of image to cairo pattern. All callers changed. * src/gtkutil.c (xg_get_image_for_pixmap) [USE_CAIRO]: Get cairo surface from img->cr_data, which is of cairo pattern now.
* | | Make icalendar-import-buffer not show diary file bufferThomas Fitzsimmons2019-06-072-33/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calendar/diary-lib.el (diary-make-entry): Add omit-trailing-space parameter. Add do-not-show parameter to allow not showing diary file buffer. * lisp/calendar/icalendar.el (icalendar--add-diary-entry): Remove workaround to omit trailing space in diary entry. Have diary-make-entry not display the diary file buffer. (Bug#35645)
* | | Fix commentary about fixnums and hashes.Paul Eggert2019-06-072-24/+18
| | |
* | | Fix minor ssize_t / ptrdiff_t confusionPaul Eggert2019-06-071-1/+2
| | | | | | | | | | | | | | | * src/fileio.c (Fcopy_file): This limit is because of ssize_t, so use TYPE_MAXIMUM (ssize_t) not PTRDIFF_MAX.
* | | Use machine pointer width for face hashesPaul Eggert2019-06-072-9/+7
| | | | | | | | | | | | | | | | | | | | | * src/dispextern.h (struct face): * src/xfaces.c (hash_string_case_insensitive, lface_hash) (cache_face, lookup_face): Use uintptr_t for face hashes instead of discarding the upper pointer bits on 64-bit machines.
* | | * lisp/gnus: Further reduce assumptions about gnus-data formatStefan Monnier2019-06-073-36/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-registry.el (gnus-registry-fetch-message-id-fast) (gnus-registry-fetch-simplified-message-subject-fast) (gnus-registry-fetch-sender-fast, gnus-registry-fetch-recipients-fast) (gnus-registry--set/remove-mark): Don't hardcode assoc for gnus-data-find-in. * lisp/gnus/gnus-sum.el (gnus-data-update-list): Don't hardcode `nth 2` for gnus-data-pos. (gnus-summary-insert-old-articles, gnus-summary-insert-new-articles) (gnus-summary-first-article-p): Don't hardcode `car` for `gnus-data-number`. (gnus-summary-move-article, gnus-summary-expire-articles) (gnus-summary-delete-article): Don't hardcode assoc for gnus-data-find-in. * lisp/gnus/spam.el (spam-fetch-article-header): Don't hardcode `nth 3` for gnus-data-header.
* | | Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacsEli Zaretskii2019-06-0718-104/+139
|\ \ \
| * | | Make mouse-wheel-scroll-amount consistent among platformsTak Kunihiro2019-06-071-4/+0
| | | | | | | | | | | | | | | | | | | | * lisp/term/ns-win.el (mouse-wheel-scroll-amount): Do not put any values on mouse-wheel-scroll-amount on ns.
| * | | Merge from origin/emacs-26Glenn Morris2019-06-0716-99/+136
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9254885 (origin/emacs-26) Resurrect display-line-number-mode in clien... aecbbd5 * src/fns.c (Fmapconcat): Doc fix. (Bug#35710) 8e5fc38 Fix typo ee21b40 * lisp/term/w32-win.el ([noname]): Bind to 'ignore'. (Bug#36... f68b33f Fix styling of Unicode codepoints in manuals ff7ec6f Fix a few uses of quotes in user manual b67042b More minor copyedits in the Emacs manual 9734b5c Fix minor issues in the Emacs manual c153250 Try to improve text on atomic windows in Elisp manual fb314ba Don't recommend insert-before-markers in process filters
| | * | Resurrect display-line-number-mode in client framesEli Zaretskii2019-06-072-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/linum.el (linum-on): Mention bug#35726 in a comment. * lisp/display-line-numbers.el (display-line-numbers--turn-on): Don't check for daemon. (Bug#35726)
| | * | * src/fns.c (Fmapconcat): Doc fix. (Bug#35710)Eli Zaretskii2019-06-071-2/+6
| | | |
| | * | Fix typoPhillip Lord2019-06-071-1/+1
| | | | | | | | | | | | | | | | * nt/README.W32:
| | * | * lisp/term/w32-win.el ([noname]): Bind to 'ignore'. (Bug#36083)Eli Zaretskii2019-06-061-0/+9
| | | |
| | * | Fix styling of Unicode codepoints in manualsEli Zaretskii2019-06-055-27/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/nonascii.texi (Character Properties): * doc/lispref/display.texi (Glyphless Chars) (Bidirectional Display): * doc/emacs/search.texi (Lax Search): * doc/emacs/text.texi (Quotation Marks): * doc/emacs/basic.texi (Inserting Text): Canonicalize the style of "U+NNNN CHARACTER NAME". (Bug#35885)
| | * | Fix a few uses of quotes in user manualEli Zaretskii2019-06-043-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/text.texi (Quotation Marks): * doc/emacs/display.texi (Text Display): * doc/emacs/basic.texi (Inserting Text): Fix some more quotes. (Bug#35885)
| | * | More minor copyedits in the Emacs manualEli Zaretskii2019-06-034-17/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/basic.texi (Arguments): * doc/emacs/display.texi (Recentering, Text Display): * doc/emacs/regs.texi (Text Registers, Rectangle Registers): * doc/emacs/mark.texi (Disabled Transient Mark): Fix inaccuracies and typos. (Bug#35885)
| | * | Fix minor issues in the Emacs manualEli Zaretskii2019-06-032-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/search.texi (Regexp Replace, Regexps): * doc/emacs/kmacro.texi (Keyboard Macro Query) (Save Keyboard Macro): Fix inaccuracies and typos. (Bug#35885)
| | * | Try to improve text on atomic windows in Elisp manualMartin Rudalics2019-06-031-34/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Deleting Windows): Mention how 'delete-window' and 'delete-other-windows' handle atomic windows. Minor rewrite. (Quitting Windows): Mention how 'quit-restore-window' handles atomic windows and that it tries to avoid raising an error. (Atomic Windows): Tell how to dissolve atomic windows.
| | * | Don't recommend insert-before-markers in process filtersNoam Postavsky2019-06-011-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See <https://lists.gnu.org/r/emacs-devel/2019-05/msg00062.html> and Bug#35334. * doc/lispref/processes.texi (Filter Functions): Go back to using plain insert in the example filter. Add note about updating window point.