aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Remove commented out XEmacs compat code from po.elStefan Kangas2019-10-171-6/+0
| | | | | | | | * lisp/textmodes/po.el: Remove commented out XEmacs compat code.
* | Improve documentation of shell-command-prompt-show-cwdStefan Kangas2019-10-172-0/+7
| | | | | | | | | | | | * doc/emacs/misc.texi (Single Shell): * lisp/simple.el (shell-command): Document 'shell-command-prompt-show-cwd'. (Bug#4987)
* | Allow vc-sccs-diff to work with TRAMPPeter Oliver2019-10-171-2/+2
| | | | | | | | | | | | | | | | * lisp/vc/vc-sccs.el (vc-sccs-diff): If the diff command is to be run remotely, then the temporary files it's acting on must be remote too (bug#37777). Copyright-paperwork-exempt: yes
* | Add ui.report_untrusted=0 to vc-hg log commandsAndrii Kolomoiets2019-10-171-2/+4
| | | | | | | | | | | | | | | | | | * lisp/vc/vc-hg.el (vc-hg-state-slow, vc-hg-merge-branch) (vc-hg-command): Add "--config" "ui.report_untrusted=0" to the log commands to avoid "Hg-not trusting file " messages in the mode line (bug#31497). Copyright-paperwork-exempt: yes
* | lisp/*.el, src/*.c: Doc fixes related to returning t vs non-nilJuanma Barranquero2019-10-1712-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/flymake-proc.el (flymake-proc--find-buffer-for-file): Doc fix; return value is a buffer, not t. * lisp/progmodes/ebrowse.el (ebrowse-member-display-p): Doc fix; return value is the MEMBER argument, not nil. * lisp/files.el (hack-one-local-variable-eval-safep): * lisp/play/doctor.el (doctor-nounp, doctor-pronounp): * lisp/progmodes/flymake-proc.el (flymake-proc--check-include): * lisp/progmodes/js.el (js--broken-arrow-terminates-line-p): Doc fix; a non-nil return value is not always t. * lisp/image.el (image-type-available-p): * lisp/simple.el (region-active-p): * lisp/window.el (frame-root-window-p): * src/buffer.c (Fbuffer_live_p): * src/image.c (Finit_image_library): * src/window.c (Fwindow_minibuffer_p): Doc fix; a non-nil return value is always t. * doc/lispref/minibuf.texi (Minibuffer Windows): Doc fix.
* | lisp/*.el: Force non-nil result to t, to match docstringJuanma Barranquero2019-10-179-27/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lock.el (emacs-lock-live-process-p): * lisp/shadowfile.el (shadow-file-match): * lisp/emacs-lisp/edebug.el (edebug-basic-spec): * lisp/mail/rmail.el (rmail-expunge-confirmed): * lisp/net/soap-client.el (soap-should-encode-value-for-xs-element): * lisp/progmodes/idlwave.el (idlwave-quoted): * lisp/progmodes/idlw-shell.el (idlwave-shell-filename-string): * lisp/textmodes/refbib.el (r2b-isa-proceedings): * lisp/textmodes/texnfo-upd.el (texinfo-find-lower-level-node): Normalize boolean result.
* | * lisp/wid-edit.el (widget-default-active): Normalize boolean result.Juanma Barranquero2019-10-161-1/+2
| |
* | Add/fix documentation for widget-applyJuanma Barranquero2019-10-162-0/+7
| | | | | | | | | | | | | | * doc/misc/widget.texi (Widget Properties): Document `widget-apply'. * src/fns.c (Fwidget_apply): Document return value (used in many places).
* | Adapt Tramp's sudo method for non-default shells (Bug#31924)Michael Albinus2019-10-162-29/+2
| | | | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Change template. (tramp-maybe-open-connection): Remove `tramp-login-env'. (Bug#31924) * lisp/net/tramp.el (tramp-methods): Remove docstring for `tramp-login-env'.
* | lisp/speedbar.el: Fix computation of boolean return valuesJuanma Barranquero2019-10-161-3/+5
| | | | | | | | | | | | | | * lisp/speedbar.el (speedbar-check-vc-this-line): Normalize boolean result. (speedbar-this-file-in-vc): Use `run-hook-with-args-until-success' to check for files under versin control. Doc fix.
* | * etc/NEWS: Apply "user option" when possible. Fix other oddities.Michael Albinus2019-10-161-140/+141
| |
* | Handle top margin change in adjust_frame_sizeMartin Rudalics2019-10-162-9/+9
| | | | | | | | | | | | | | | | * src/frame.c (adjust_frame_size): Handle case where only pseudo windows changed height so the top margin has to be adjusted. * src/window.c (Fset_window_configuration): Call adjust_frame_size with inhibit 4.
* | Expand <<- heredocs in shLars Ingebrigtsen2019-10-161-2/+4
| | | | | | | | | | * lisp/progmodes/sh-script.el (sh--maybe-here-document): Make <<- expansion work, too.
* | Allow event description to be emptyRobert Pluim2019-10-161-1/+1
| | | | | | | | | | | | | | The previous fix for this was incomplete. * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event->org-entry): Allow description to be nil.
* | Fix some &rest body edebug specsLars Ingebrigtsen2019-10-165-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/ses.el (ses--letref): * lisp/emacs-lisp/crm.el (crm--completion-command): Fix edebug &rest body spec (bug#28747). * lisp/emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): * lisp/emacs-lisp/inline.el (inline--leteval) (inline--letlisteval, inline-letevals):
* | Tweak heredoc expansion in shell-script-modeLars Ingebrigtsen2019-10-161-20/+22
| | | | | | | | | | * lisp/progmodes/sh-script.el (sh--maybe-here-document): Allow expanding <<E, too.
* | Declare tab-bar-tabs the single source of truth in regard to current tab nameJuri Linkov2019-10-161-27/+29
| | | | | | | | | | | | | | | | | | * lisp/tab-bar.el: Replace all calls of tab-bar-tabs with '(funcall tab-bar-tabs-function)'. (tab-bar-tabs): Update the current tab name here instead of tab-bar-make-keymap-1. (tab-bar-make-keymap-1): Move the current tab name updating to tab-bar-tabs.
* | Allow tabs to have consistent given namesRobert Cochran2019-10-162-20/+77
| | | | | | | | | | | | | | | | | | | | | | * lisp/tab-bar.el (tab-bar--tab): Pull automatic name information from current tab (tab-bar--current-tab): Pull automatic name information from current tab, or from new optional template argument (tab-bar-select-tab): Pass the target tab as a template when setting it as current tab (tab-bar-rename-tab, tab-bar-rename-tab-by-name): New functions * doc/emacs/frames.texi (Tab Bars): Document new tab rename functionality.
* | * lisp/tab-bar.el (tab-bar-select-tab-modifiers): New defcustom.Juri Linkov2019-10-151-4/+42
| | | | | | | | | | | | | | (tab-bar-mode): Use tab-bar-select-tab-modifiers to bind tab-bar-select-tab. Don't override user customized key bindings of C-TAB, C-S-TAB. On disabling tab-bar-mode, unset only keys bound by tab-bar.
* | Don't use expand-file-name to find images for tabs.Juri Linkov2019-10-152-22/+14
| | | | | | | | | | | | * lisp/tab-bar.el (tab-bar-mode): * lisp/tab-line.el (tab-line-new-button, tab-line-close-button): Remove expand-file-name with data-directory.
* | New variable tab-bar-positionJuri Linkov2019-10-153-4/+21
| | | | | | | | | | | | * lisp/cus-start.el: Add customization for tab-bar-position. * src/dispnew.c (syms_of_display): New variable Vtab_bar_position. (adjust_frame_glyphs_for_window_redisplay): Use it.
* | * lisp/rect.el (string-rectangle): Inherit input method in minibufferStefan Monnier2019-10-151-2/+3
| |
* | Fix test data broken by removing trailing whitespace.Eric Ludlam2019-10-151-4/+2
| |
* | Adapt the CEDET SRecoder getset tests to use ERTEric Ludlam2019-10-151-0/+177
| | | | | | | | | | These tests were copied from CEDET from SourceForge. Author: Eric Ludlam <zappo@gnu.org>
* | Adapt the CEDET SRecoder template test to use ERTEric Ludlam2019-10-153-2/+490
| | | | | | | | | | These tests were copied from CEDET from SourceForge. Author: Eric Ludlam <zappo@gnu.org>
* | Copy CEDET/Semantic's tag formatter test suite to be anEric Ludlam2019-10-153-0/+302
| | | | | | | | | | | | automated test. These tests were copied from CEDET on Sourceforge and adapted to use ERT. Author: Eric Ludlam <zappo@gnu.org>
* | Update CEDET manual tests so that they run.Eric Ludlam2019-10-154-24/+53
| | | | | | | | | | | | | | To run visit test/manual/cedet/cedet-utests.el M-x eval-buffer M-x cedet-utest Author: Eric Ludlam <zappo@gnu.org>
* | Convert manual CEDET tests from test/manual/cedet to beEric Ludlam2019-10-154-422/+370
| | | | | | | | | | automated tests in test/lisp/cedet. Author: Eric Ludlam <zappo@gnu.org>
* | Fix duplicated words in lisprefRobert Pluim2019-10-152-2/+2
| | | | | | | | | | | | * doc/lispref/text.texi (Base 64): * doc/lispref/internals.texi (Window Internals): Remove duplicated words.
* | Fix duplicated words in commentsRobert Pluim2019-10-155-7/+7
| | | | | | | | | | | | | | | | * src/coding.c (encode_string_utf_8): * src/keyboard.c (syms_of_keyboard): * src/mini-gmp.c (gmp_lucas_mod, mpz_export): * src/pdumper.c (dump_set_referrer, dump_queue_compute_score): * src/timefns.c (Ftime_convert): Remove duplicated words.
* | Fix recording keyboard macros in CalcEli Zaretskii2019-10-151-1/+6
| | | | | | | | | | | | | | | | * lisp/calc/calc.el (calc-unread-command): Prevent recording key twice when defining a keyboard macro. Patch by Christoph Arenz <tiga.arenz@web.de>. Copyright-paperwork-exempt: yes
* | auth-source: Fix wrong-type-argument when searching plstoreDaiki Ueno2019-10-151-3/+3
| | | | | | | | | | | | | | | | | | `auth-source-search' can be called with an integer port number from `network-stream-certificate`, while the backend implementation doesn't allow non-string attributes. * lisp/auth-source.el (auth-source-plstore-search): Ensure attributes are string.
* | Revert "Remove XEmacs code from tetris.el"Lars Ingebrigtsen2019-10-151-0/+11
| | | | | | | | | | | | This reverts commit 68b91333d5a070c84afeadc273fd5c44df70f0a6. This should be ported to Emacs instead.
* | Revert "Remove XEmacs-only code from snake.el"Lars Ingebrigtsen2019-10-151-0/+11
| | | | | | | | | | | | This reverts commit 7174a2b59f4cb883beb70bb3d182d59ab425e2f1. This should be ported to Emacs instead.
* | ; Minor copyedits in recently installed documentation changesEli Zaretskii2019-10-152-3/+3
| | | | | | | | | | * lisp/files.el (require-final-newline): * etc/NEWS: Improve wording in recent documentation changes.
* | Make auth-source work with non-ASCII passwords againLars Ingebrigtsen2019-10-151-9/+12
| | | | | | | | | | | | * lisp/auth-source.el (auth-source--obfuscate): Convert the string to bytes before obfuscating. (auth-source--deobfuscate): Convert back into a string (bug#37758).
* | Add new macro `benchmark-progn'Lars Ingebrigtsen2019-10-153-3/+33
| | | | | | | | | | | | * doc/lispref/debugging.texi (Profiling): Mention it. * lisp/emacs-lisp/benchmark.el (benchmark-progn): New macro.
* | Fix python-shell font-lock cleanup for unclosed quotes (Bug#32390)Carlos Pita2019-10-141-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem originating this report was: ------------- In [15]: " File "<ipython-input-15-3b7a06bb1102>", line 1 " ^ SyntaxError: EOL while scanning string literal In [16]: string face still here" ------------- This happens because python-shell-font-lock-comint-output-filter-function is called twice, first for the error output and then for the "In [16]: " part. The first time python-shell-comint-end-of-output-p returns nil since we're *not* at the end of an input prompt. The second time it returns 0 since we're at the end of *just* an input prompt. So we don't call python-shell-font-lock-cleanup-buffer either time. The current code is relying in a very weak rule: it considers "just an input prompt" to be a continuation prompt. Another unreliable aspect of the current rule is that sometimes (python-shell-comint-end-of-output-p (ansi-color-filter-apply output)) returns 1 and not 0 for continuation prompts. In short, the rule does a very poor job identifying continuations. * lisp/progmodes/python.el (python-shell-font-lock-cleanup-buffer): Don't check for empty OUTPUT since python-shell-comint-end-of-output-p returns nil for that anyway. Don't check for python-shell-comint-end-of-output-p returning a specific number because it's unreliable, just check for any non-nil. Identify continuation prompts by looking for "...".
* | Add images on tab-bar buttons the first time the tab bar is activatedJuri Linkov2019-10-151-14/+24
| | | | | | | | | | | | | | | | * lisp/tab-bar.el (tab-bar-mode): Set display property with image files on tab-bar-new-button and tab-bar-close-button when tab-bar-mode is enabled the first time. (tab-bar-new-button, tab-bar-close-button): Use default values without display image properties. (Bug#37685)
* | lisp/*.el: Force non-nil result to t, to match docstringJuanma Barranquero2019-10-149-15/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/ido.el (ido-ignore-item-p): * lisp/simple.el (use-region-p): * lisp/whitespace.el (whitespace-style-face-p) (whitespace-style-mark-p): * lisp/calendar/cal-islam.el (calendar-islamic-leap-year-p): * lisp/mail/rmail.el (rmail-is-text-p): * lisp/mh-e/mh-alias.el (mh-alias-for-from-p): * lisp/net/imap.el (imap-message-flag-permanent-p): * lisp/progmodes/tcl.el (tcl-real-comment-p): * lisp/textmodes/table.el (table--point-in-cell-p): Normalize boolean result.
* | Set tab-line face height to 0.9.Juri Linkov2019-10-152-1/+1
| | | | | | | | | | * lisp/tab-line.el (tab-line): Set :height to 0.9. * lisp/tab-bar.el (tab-bar): Remove :height.
* | Remove the find-file-visit-truename safe-local-variableLars Ingebrigtsen2019-10-141-1/+0
| | | | | | | | | | | | * lisp/files.el (find-file-visit-truename): Remove the safe-local-variable put, because the variable is checked too late to actually make a difference (bug#36830).
* | quail/py-b5: Use U+3007 for ideographic zero (bug#3179)Štěpán Němec2019-10-141-1/+1
| | | | | | | | | | | | * leim/leim-ext.el ("quail/PY-b5"): Use U+3007 instead of U+25CB for ideographic zero. U+25CB (used previously) is only one of the several lookalikes (bug#3179).
* | require-final-newline doc string clarificationLars Ingebrigtsen2019-10-141-1/+5
| | | | | | | | | | * lisp/files.el (require-final-newline): Mention that the variable applies to visited files (bug#34986).
* | Use variable-pitch fonts in tab-bar and tab-line facesJuri Linkov2019-10-142-4/+9
| | | | | | | | | | | | * lisp/tab-bar.el (tab-bar): * lisp/tab-line.el (tab-line): Inherit face from variable-pitch.
* | Clarify C void type description in semanticStefan Kangas2019-10-141-1/+1
| | | | | | | | * admin/grammars/c.by: Clarify void type. (Bug#9222)
* | dired-do-shell-command doc string fixLars Ingebrigtsen2019-10-141-1/+5
| | | | | | | | | | * lisp/dired-aux.el (dired-do-shell-command): Mention the guesser variables (bug#16562).
* | Fix initial value of frame-inhibit-implied-resizeJuri Linkov2019-10-141-13/+8
| | | | | | | | | | * src/frame.c (syms_of_frame): Update doc string and default value of frame-inhibit-implied-resize in NS to include 'tab-bar-lines.
* | Minor fixes in Introduction to Emacs LispEli Zaretskii2019-10-141-8/+7
| | | | | | | | | | * doc/lispintro/emacs-lisp-intro.texi (if, save-excursion): 'defun' is a macro, not a special form anymore. (Bug#37747)
* | * lisp/tab-bar.el (tab-bar-tab-name-current): Fix with buffer-name.Juri Linkov2019-10-141-1/+1
| |