summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | soap-client.el: Prevent some invalid encoding warningsThomas Fitzsimmons2020-09-251-0/+1
| | | | | | | | | | * lisp/net/soap-client.el (soap-encode-xs-complex-type): Do not warn about missing non-nillable slot if type iself is optional.
* | Fix out-of-tree make checkGlenn Morris2020-09-251-1/+5
| | | | | | | | | | * test/lisp/custom-tests.el (custom-test-admin-cus-test): New const. (check-for-wrong-custom-types): Use it.
* | Tidy up NS color handlingAlan Third2020-09-253-34/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/nsimage.m (COLORSPACE_NAME): New macro to find the current colorspace. ([EmacsImage initFromXBM:width:height:fg:bg:reverseBytes:]): ([EmacsImage initForXPMWithDepth:width:height:]): Use the current colorspace. * src/nsterm.h (NSAppKitVersionNumber10_7): (NSAppKitVersionNumber10_10): Define for macOS version checks. * src/nsterm.m ([NSColor colorForEmacsRed:green:blue:alpha:]): Tidy up the version checking. ([NSColor colorUsingDefaultColorSpace]): Tidy the version checking and use [NSColor colorUsingColorSpace:] with GNUstep.
* | Remove obsolete macOS support for NS font backendAlan Third2020-09-253-264/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ns font backend is has been disabled on macOS for a long time and doesn't work correctly even if re-enabled. * src/nsfont.m: (ns_char_width): (ns_ascii_average_width): (ns_get_covering_families): (nsfont_open): (nsfont_close): (nsfont_draw): (ns_uni_to_glyphs): (ns_glyph_metrics): (EmacsGlyphStorage): Remove all Cocoa only code. * src/nsterm.h (EmacsGlyphStorage): Remove. (struct nsfont_info): Make GNUstep only. * src/nsterm.m (ns_compute_glyph_string_overhangs): Remove GNUstep only code from Cocoa builds.
* | Implement internal border colors on NS (bug#41071)Alan Third2020-09-251-5/+59
| | | | | | | | | | | | * src/nsterm.m (ns_clear_under_internal_border): New function. (ns_after_update_window_line): Use the correct background color. (ns_redisplay_interface): Add ns_clear_under_internal_border.
* | string-search robustness and documentation improvement (bug#43598)Mattias Engdegård2020-09-254-9/+46
| | | | | | | | | | | | | | | | * src/fns.c (Fstring_search): Check START-POS argument range. Simplify logic. Improve doc string. * test/src/fns-tests.el (string-search): Add test cases. * doc/lispref/strings.texi (Text Comparison): Elaborate. * lisp/emacs-lisp/byte-opt.el (pure-fns): Mark string-search as pure.
* | * CONTRIBUTE: Don't recommend action stampsNoam Postavsky2020-09-251-5/+4
| | | | | | | | * CONTRIBUTE: Remove mention of the "action stamp" thing (bug#20609).
* | Partially revert previous prolog.el cleanupLars Ingebrigtsen2020-09-251-1/+1
| | | | | | | | | | | | * lisp/progmodes/prolog.el (prolog-font-lock-keywords): Partially revert previous patch -- we want the prolog-warning-face symbol, not its value.
* | Fix defcustom type in sql.el for sql-postgres-login-paramsLars Ingebrigtsen2020-09-251-2/+1
| | | | | | | | | | * lisp/progmodes/sql.el (sql-login-params): Fix defcustom type to match sql-postgres-login-params value.
* | Fix a defcustom type in gdb-mi.elLars Ingebrigtsen2020-09-251-1/+1
| | | | | | | | | | * lisp/progmodes/gdb-mi.el (gdb-display-source-buffer-action): Fix defcustom type to match the value.
* | Fix defcustom type in whitespace.elLars Ingebrigtsen2020-09-251-3/+3
| | | | | | | | | | | | * lisp/whitespace.el (whitespace-space-after-tab-regexp) (whitespace-indentation-regexp): The first string here isn't a regexp, it's a string (that's expanded with format to be a regexp).
* | Fix the defcustom type fix in python.elLars Ingebrigtsen2020-09-251-1/+1
| | | | | | | | | | * lisp/progmodes/python.el (python-pdbtrack-exit-command): Fix defcustom type (bug#30990).
* | Fix some defcustom typesLars Ingebrigtsen2020-09-2510-10/+17
| | | | | | | | | | | | | | | | | | | | * lisp/whitespace.el (whitespace-style): * lisp/gnus/message.el (message-screenshot-command): * lisp/progmodes/compile.el (compilation-transform-file-match-alist): * lisp/progmodes/gdb-mi.el (gdb-default-window-configuration-file): * lisp/progmodes/python.el (python-pdbtrack-exit-command): Fix the defcustom types. * lisp/progmodes/sql.el (sql-password-wallet): Fix the value.
* | Add an expensive test for defcustom typesLars Ingebrigtsen2020-09-252-3/+13
| | | | | | | | | | | | | | * admin/cus-test.el (cus-test-opts): Return the tests. * test/lisp/custom-tests.el (check-for-wrong-custom-types): Test custom types (bug#30990).
* | Mark string-search as being side effect freeLars Ingebrigtsen2020-09-251-1/+2
| | | | | | | | | | * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Add string-search.
* | Make the Man completion code work better if man -k failsNoam Postavsky2020-09-251-8/+11
| | | | | | | | | | | | * lisp/man.el (Man-completion-table): Check the return code for "man -k" and assume it failed if there's a non-zero exit code (bug#16722).
* | Use the char history in zap-up-to-charTino Calancha2020-09-252-1/+10
| | | | | | | | | | * lisp/misc.el (zap-up-to-char): Use read-char-from-minibuffer (bug#39154).
* | Fix replace-in-string infloop with empty pattern string (bug#43598)Mattias Engdegård2020-09-252-1/+5
| | | | | | | | | | | | * lisp/subr.el (replace-in-string): Raise an error if FROMSTRING is empty. * test/lisp/subr-tests.el (replace-in-string): Add test case.
* | Tweak updating the process mark in set-process-bufferLars Ingebrigtsen2020-09-251-2/+5
| | | | | | | | | | * src/process.c (Fset_process_buffer): Only update the process mark if we actually change the buffer.
* | Remove more compat code from prolog.elLars Ingebrigtsen2020-09-251-9/+7
| | | | | | | | | | * lisp/progmodes/prolog.el (prolog-font-lock-keywords): Remove compat test for a face that's always defined.
* | * lisp/progmodes/ruby-mode.el (ruby-use-smie): Declare obsoleteStefan Monnier2020-09-242-19/+26
| | | | | | | | | | | | | | (ruby-mode-map, ruby-mode-menu): Don't use ruby-for/backward-sexp any more. (ruby-mode-variables): Always setup SMIE navigation. Still obey `ruby-use-smie` for indentation. (ruby-forward-sexp, ruby-backward-sexp): Mark as obsolete.
* | Remove some XEmacs compat code from prolog.elLars Ingebrigtsen2020-09-251-46/+26
| | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/prolog.el (prolog-replace-in-string): Remove XEmacs compat code and make obsolete. (prolog-guess-fill-prefix): Adjust callers. (prolog-uncomment-region): Make obsolete. (prolog-mode-syntax-table): syntax-propertize-rules is always defined. (prolog-syntax-propertize-function): Ditto. (prolog-face-name-p): Make into obsolete alias. (prolog-font-lock-keywords): Adjust callers.
* | Clean up replace-in-string slightlyLars Ingebrigtsen2020-09-251-1/+2
| | | | | | | | * lisp/subr.el (replace-in-string): Clean up previous fix slightly.
* | Fix previous replace-in-string rewriteLars Ingebrigtsen2020-09-252-4/+4
| | | | | | | | | | * lisp/subr.el (replace-in-string): Fix logic errors in previous patch.
* | Fix replace-in-string multibyteness problems with string-searchLars Ingebrigtsen2020-09-252-32/+21
| | | | | | | | | | * lisp/subr.el (replace-in-string): Simplify by using the new string-search function (bug#43598).
* | Add a new function 'string-search'Lars Ingebrigtsen2020-09-254-0/+82
| | | | | | | | | | * doc/lispref/strings.texi (Text Comparison): Document it. * src/fns.c (Fstring_search): New function.
* | * lisp/help-fns.el (help-fns--first-release): Use etc/NEWS as wellStefan Monnier2020-09-241-1/+1
| |
* | Update a failing lisp testGlenn Morris2020-09-241-1/+1
| | | | | | | | | | * test/lisp/emacs-lisp/lisp-tests.el (up-list-no-cross-string): Update for recent "Don't signal scan-error" change.
* | Horizontal scrolling for mouse wheel with Shift modifier (bug#43568)Juri Linkov2020-09-244-16/+33
| | | | | | | | | | | | | | | | | | | | * lisp/mwheel.el (mouse-wheel-scroll-amount): Change 'shift' default value from 5 to 'hscroll'. Add new option "Scroll horizontally" for 'hscroll'. (mwheel-scroll): Handle value 'hscroll' and call mwheel-scroll-left-function or mwheel-scroll-right-function. * doc/emacs/frames.texi (Mouse Commands): Update for horizontal scrolling with Shift modifier.
* | Set mwheel default scroll value to 1 (bug#43380)Theodor Thornhill2020-09-243-7/+8
| | | | | | | | | | | | * lisp/mwheel.el (mouse-wheel-scroll-amount): Change default value 5 to 1 and shift default value from 1 to 5. Default value is changed as discussed in etc/TODO.
* | * lisp/simple.el (goto-line-read-args): More relevant default line number.Juri Linkov2020-09-241-1/+5
| |
* | Add skip condition for some dbus testsGlenn Morris2020-09-241-11/+15
| | | | | | | | | | | | * test/lisp/net/dbus-tests.el (dbus-test01-type-conversion) (dbus-test01-basic-types): Add skip for hydra.nixos.org failures. ; Standardize license notice
* | Make set-process-buffer also update the process markLars Ingebrigtsen2020-09-243-10/+17
| | | | | | | | | | * src/process.c (Fset_process_buffer): Update the process mark (bug#43573).
* | Refactor process mark settingLars Ingebrigtsen2020-09-241-18/+14
| | | | | | | | | | | | * src/process.c (update_process_mark): Make into its own function. (Fmake_process, Fmake_pipe_process, Fmake_serial_process) (connect_network_socket): Use it.
* | Add sanity check for Gnus groups that belong to no topicdickmao2020-09-241-3/+1
| | | | | | | | | | * lisp/gnus/gnus-topic.el (gnus-topic-change-level): Do not change gnus-topic-alist when group is outside "topology" (bug#43582).
* | Fix last change in resize_mini_windowEli Zaretskii2020-09-241-0/+3
| | | | | | | | | | * src/xdisp.c (resize_mini_window): Prevent recentering the mini-window once its start position is computed. (Bug#43572)
* | Fix recent simple.el compilation warningLars Ingebrigtsen2020-09-241-1/+2
| | | | | | | | | | * lisp/simple.el (goto-line-relative): Suppress byte compilation warning about goto-line.
* | Minor Tramp cleanupMichael Albinus2020-09-242-38/+44
| | | | | | | | | | | | | | | | * doc/misc/tramp.texi: Some stylistic changes. (Frequently Asked Questions): Mention ProxyCommand and ProxyJump. * lisp/net/tramp-sh.el (tramp-use-ssh-controlmaster-options): Fix docstring.
* | Write Gnus active files with quotes around group namesEric Abrahamsen2020-09-231-1/+1
| | | | | | | | | | | | * lisp/gnus/gnus-util.el (gnus-write-active-file): In case of group names with spaces in them (see Bug#42823). Names are later read with `read', so this should be quite robust.
* | New command goto-line-relative (bug#5042, bug#9917)Juri Linkov2020-09-235-33/+73
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/simple.el (goto-line-read-args): New function with code from goto-line. (goto-line): New arg RELATIVE. Also use 'widen-automatically' to leave all lines accessible in the narrowed buffer. (goto-line-relative): New command. * lisp/info.el (Info-mode-map): Remap 'goto-line' to 'goto-line-relative'. * doc/emacs/basic.texi (Moving Point): * doc/emacs/display.texi (Optional Mode Line): Mention goto-line-relative.
* | Remove TODO to convert files to unit testsStefan Kangas2020-09-232-4/+0
| | | | | | | | | | | | | | * test/lisp/textmodes/css-mode-tests.el: * test/lisp/progmodes/ruby-mode-tests.el: Remove TODO to convert test files into unit tests. The files are still useful for debugging. Ref: https://lists.gnu.org/r/emacs-devel/2020-09/msg01906.html
* | Convert some completion.el tests to ERTStefan Kangas2020-09-232-121/+170
| | | | | | | | | | * test/lisp/completion-tests.el: New file. * lisp/completion.el: Move commented out tests to completion-tests.el.
* | Convert allout unit tests to ERTStefan Kangas2020-09-234-230/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/allout-tests.el: New file. * lisp/allout.el (allout-run-unit-tests-on-load) (allout-run-unit-tests): Remove. (allout-tests-obliterate-variable) (allout-tests-globally-unbound, allout-tests-globally-true) (allout-tests-locally-true, allout-test-resumptions): Move to allout-tests.el * test/lisp/allout-widgets-tests.el: New file. * lisp/allout-widgets.el (allout-widgets-run-unit-tests-on-load) (allout-widgets-run-unit-tests): Remove. (allout-test-range-overlaps): Move to allout-widgets-tests.el.
* | * lisp/repeat.el: Remove obsolete comment.Stefan Kangas2020-09-231-4/+0
| |
* | * test/lisp/net/dbus-tests.el (dbus-test01-basic-types): Adapt test.Michael Albinus2020-09-231-5/+6
| |
* | ; * lisp/emacs-lisp/lisp.el: rename parameter in last changeMattias Engdegård2020-09-231-28/+28
| |
* | Don't signal scan-error when moving by sexp interactivelyMattias Engdegård2020-09-231-45/+95
| | | | | | | | | | | | | | * lisp/emacs-lisp/lisp.el (forward-sexp, backward-sexp, forward-list) (backward-list, down-list, up-list, mark-sexp, kill-sexp) (backward-kill-sexp): Remove unsightly scan-error when running interactively and no further movement by sexp can be made (bug#43489).
* | Allow the newline character in the character widget (Bug#15925)Mauro Aranda2020-09-232-4/+23
| | | | | | | | | | | | | | | | | | | | * lisp/wid-edit.el (widget-specify-field): Extend check for adding the boundary overlay. Plus, a minor comment indentation fix. (character widget): Tweak the valid-regexp to allow the newline character. * test/lisp/wid-edit-tests.el (widget-test-character-widget-value) (widget-test-editable-field-widget-value): New tests (bug#15925).
* | Improve mark handling in gnus nnselectAndrew G Cohen2020-09-231-75/+142
| | | | | | | | | | | | * lisp/gnus/nnselect.el (numbers-by-group, nnselect-request-update-info, nnselect-push-info): Handle all three mark types ('tuple, 'range, 'list) and general speedups.
* | Handle escaped comment enders correctly in syntax.c, fixing bug #43558Alan Mackenzie2020-09-231-0/+7
| | | | | | | | | | | | | | This fixes forward-comment, scan-lists, and parse-partial-sexp. * src/syntax.c (forw_comment): Detect and skip an escaped comment ender (e.g. \*/ in C) when comment-end-can-be-escaped is non-nil.