aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Bury the help buffer after sending a bug reportLars Ingebrigtsen2019-10-091-1/+5
| | | | | | | | | | * lisp/mail/emacsbug.el (report-emacs-bug-hook): Bury the help buffer after sending the bug report (bug#22712).
* | Fix up previous visit-tags-table changeHong Xu2019-10-091-14/+1
| | | | | | | | | | | | * lisp/progmodes/etags.el (visit-tags-table): Reimplement `tags--find-default-tags-dir-recursively' using the much simpler `locate-dominating-file'. Following up bug#37518.
* | Move point in the dired buffer with `n'/`p' in an image-mode bufferLars Ingebrigtsen2019-10-091-1/+13
| | | | | | | | | | | | * lisp/image-mode.el (image-next-file): If the image is in a dired buffer, then move point in that buffer when advancing (bug#21752). This makes it easier to select images.
* | Fix typos in lisp/*.elJuanma Barranquero2019-10-092-52/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/generator.el (cps--with-value-wrapper) (cps-inhibit-atomic-optimization, iter-close): * lisp/gnus/nnir.el (nnir-imap-search-arguments) (nnir-imap-search-argument-history, nnir-categorize) (nnir-ignored-newsgroups) (nnir-retrieve-headers-override-function) (nnir-imap-default-search-key, nnir-namazu-additional-switches) (gnus-group-make-nnir-group, nnir-add-result) (nnir-compose-result, nnir-run-imap, nnir-imap-make-query) (nnir-imap-query-to-imap, nnir-imap-expr-to-imap) (nnir-imap-next-term, nnir-run-swish-e, nnir-run-namazu) (nnir-read-parm, nnir-read-server-parm, nnir-search-thread): Trivial doc fixes.
* | Document `letrec'Lars Ingebrigtsen2019-10-092-1/+12
| | | | | | | | | | | | | | * doc/lispref/variables.texi (Local Variables): Document letrec (bug#21048). * lisp/subr.el (letrec): Expand the doc string slightly.
* | Make menu bar entries only point to named functions, not lambdasLars Ingebrigtsen2019-10-091-38/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/menu-bar.el () (menu-bar--display-line-numbers-mode-visual) (menu-bar--display-line-numbers-mode-relative) (menu-bar--display-line-numbers-mode-absolute) (menu-bar--display-line-numbers-mode-none) (menu-bar--visual-line-mode-enable) (menu-bar--toggle-truncate-long-lines) (menu-bar--wrap-long-lines-window-edge): Make lambdas into trivial wrapper functions so that `C-h k' on the menu items work (bug#13841). (menu-bar-showhide-line-numbers-menu) (menu-bar-line-wrapping-menu): Use them.
* | Add more sanity checks to help-fns--globalized-minor-modeLars Ingebrigtsen2019-10-091-1/+2
| | | | | | | | | | * lisp/help-fns.el (help-fns--globalized-minor-mode): FUNCTION can be a lambda, so protect against that.
* | Make add-face-text-property not be destructive on stringsLars Ingebrigtsen2019-10-091-9/+23
| | | | | | | | | | | | | | | | | | | | * src/textprop.c (add_properties): Take a parameter to say whether it's allowed to be destructive or not (bug#20153). (add_text_properties_1): Ditto. (Fadd_face_text_property): Use this to say that it shouldn't modify face properties on strings destructively. This avoids altering the face properties of one string when altering them on a copy of the string.
* | Make `info-display-manual' pop up the correct frameLars Ingebrigtsen2019-10-091-1/+10
| | | | | | | | | | * lisp/info.el (info-display-manual): If the buffer is already in a window, use that window (bug#20020).
* | Make a nil parameter switch variable-pitch-mode onLars Ingebrigtsen2019-10-091-1/+1
| | | | | | | | | | * lisp/face-remap.el (variable-pitch-mode): Make a nil parameter switch the mode on instead of toggling (bug#19384).
* | Remove XEmacs compat code from prolog.elLars Ingebrigtsen2019-10-091-36/+15
| | | | | | | | | | | | | | * lisp/progmodes/prolog.el (prolog-mode-syntax-table) (prolog-help-info, prolog-Info-follow-nearest-node) (prolog-menu-help, prolog-edit-menu-runtime) (prolog-inferior-menu-all): Remove XEmacs compat code.
* | Remove some XEmacs compat code from tree-widget.elLars Ingebrigtsen2019-10-091-55/+25
| | | | | | | | | | | | | | * lisp/tree-widget.el (tree-widget-themes-load-path) (tree-widget-use-image-p, tree-widget-create-image) (tree-widget-image-formats, tree-widget-image-properties) (tree-widget-lookup-image): Remove XEmacs compat code.
* | Remove some XEmacs compat code from newst*.elLars Ingebrigtsen2019-10-092-128/+124
| | | | | | | | | | | | | | * lisp/net/newst-plainview.el (newsticker--plainview-tool-bar-map): Remove XEmacs support. * lisp/net/newst-treeview.el (newsticker-treeview-tool-bar-map):
* | Filter packages by name in list-packages. (Bug#36981)Federico Tedin2019-10-084-17/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-menu-filter-by-name): New function to filter packages by name. (package-menu-clear-filter): New function to clear applied filters. (package-menu-filter-by-keyword): Rename function from package-menu-filter. (package-menu--generate): Don't change 'q' binding anymore. (package-menu-mode-map): Bind '/ n' to package-menu-filter-by-name, '/ k' to package-menu-filter-by-keyword and '/ /' to package-menu-clear-filter. (package-menu-mode-menu): Update menu entries for the three functions. * test/lisp/emacs-lisp/package-tests.el (package-test-list-filter-by-name) (package-test-list-clear-filter): New tests. * doc/emacs/package.texi: Document usage of package-menu-filter-by-name, package-menu-clear-filter and update reference to package-menu-filter-by-keyword. * etc/NEWS: Announce changes.
* | Search upward from current dir for the default TAGS fileHong Xu2019-10-082-11/+31
| | | | | | | | | | | | | | | | * doc/emacs/maintaining.texi (Select Tags Table): Update the doc of `visit-tags-table' (bug#37518). * lisp/progmodes/etags.el (tags--find-default-tags-dir-recursively) (visit-tags-table): Search upward from current dir for the default TAGS file.
* | Fix title inconsistencies in elisp intro bookStefan Kangas2019-10-081-3/+3
| | | | | | | | | | * doc/lispintro/emacs-lisp-intro.texi: Fix title inconsistencies. (Bug#31037)
* | Add some more commands to eshell-visual-commandsStefan Kangas2019-10-081-16/+10
| | | | | | | | | | * lisp/eshell/em-term.el (eshell-visual-commands): Add some more commonly used commands.
* | Fix crashes on TTY frames due to "C-x 6 f"Eli Zaretskii2019-10-082-2/+14
| | | | | | | | | | | | | | | | | | | | | | * src/xdisp.c (redisplay_internal): Revert the recent change regarding TTY frames' garbaged flag. It is not needed. * src/dispnew.c (adjust_frame_glyphs_for_frame_redisplay): When returning due to mismatch between the desired and actual dimensions of the glyph matrix, set the frame's garbaged flag for TTY frames. This avoids crashes when we are later called from redisplay. Reported by Ergus <spacibba@aol.com>.
* | * etc/PROBLEMS: Describe navigation problem from Nautilus. (Bug#37573)Michael Albinus2019-10-082-0/+20
| | | | | | | | * lisp/userlock.el (create-lockfiles): Set `safe-local-variable' property.
* | * lisp/emacs-lisp/package.el (package--get-deps): Fix thinkoStefan Monnier2019-10-082-18/+10
| | | | | | | | | | * test/lisp/emacs-lisp/package-tests.el (package-test-get-deps): Adjust test to new calling convention.
* | Fix aborts when opening a new font after face-cache resetEli Zaretskii2019-10-081-0/+4
| | | | | | | | | | | | * src/font.c (font_open_for_lface): Make sure the default face is realized before using its height for the font to be open. (Bug#37637)
* | * INSTALL: Describe installation of source and debug packages. (Bug#37527)Michael Albinus2019-10-081-1/+37
| |
* | Set default colors for tick facesJuanma Barranquero2019-10-081-2/+10
| | | | | | | | | | | | | | * lisp/faces.el (line-number-major-tick, line-number-minor-tick): Set default color different from `line-number' so after customizing the tick number variables, the ticks are immediately visible. Suggested by Juri Linkov <juri@linkov.net>.
* | Clarify docs on newline and auto-fill-modeBasil L. Contovounesios2019-10-082-11/+15
| | | | | | | | | | | | * doc/lispref/text.texi (Commands for Insertion): * lisp/simple.el (newline): Do not mention conditions specific to 'do-auto-fill' under documentation of 'newline' (bug#36702).
* | * lisp/tab-bar.el (tab-bar-tab-name-function): Turn defvar into defcustom.Juri Linkov2019-10-081-4/+20
| | | | | | | | | | (tab-bar-tab-name-all-windows): Rename from tab-bar-tab-name. (tab-bar-tab-name-selected-window): New function used by default.
* | Add "python3 -m twine" example to comint-password-prompt testsStefan Kangas2019-10-071-0/+1
| | | | | | | | | | * test/lisp/comint-tests.el (comint-testsuite-password-strings): Add new example for "python3 -m twine" to test suite. (Bug#37636)
* | Fix a crash in TTY sessions caused by recent changesEli Zaretskii2019-10-071-3/+5
| | | | | | | | | | | | * src/xdisp.c (redisplay_internal): Fix crashes in TTY sessions when turning on tab-mode. Reported by Ergus <spacibba@aol.com>.
* | Use text properties instead of truncating stringsLars Ingebrigtsen2019-10-072-5/+18
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag): Use this to allow using commands like `C-s' to search for even truncated bits. * lisp/international/mule-util.el (truncate-string-to-width): Allow using text properties to truncate strings instead of actually truncating strings (bug#17782).
* | dired-move-to-filename doc string fixLars Ingebrigtsen2019-10-071-1/+7
| | | | | | | | | | * lisp/dired.el (dired-move-to-filename): Document the parameters (bug#17566).
* | Improve recent doc fix for cl-reduceBasil L. Contovounesios2019-10-071-8/+10
| | | | | | | | | | | | | | * lisp/emacs-lisp/cl-seq.el: (cl-reduce): Clarify treatment of :INITIAL-VALUE when :FROM-END is non-nil. Improve wording when SEQ is empty and :INITIAL-VALUE is unspecified (bug#37400). Describe behavior when SEQ comprises a single element.
* | Make completion in the `E' command in *Ibuffer* workLars Ingebrigtsen2019-10-071-4/+1
| | | | | | | | | | * lisp/ibuf-ext.el (eval): Make completion (etc) work as normal (bug#16239).
* | Fix infloop in redisplay caused by a recent changeEli Zaretskii2019-10-071-1/+5
| | | | | | | | | | | | * src/xdisp.c (redisplay_internal): Avoid inflooping due to a frame's garbaged flag being set after update_frame. Reported by Michael Heerdegen <michael_heerdegen@web.de>.
* | Feval_buffer doc string lexical-binding clarificationLars Ingebrigtsen2019-10-071-0/+6
| | | | | | | | | | * src/lread.c (Feval_buffer): Mention that the lexical-binding variable is ignored in the doc string (bug#20139).
* | Make ido-display-buffer work interactively more like display-bufferLars Ingebrigtsen2019-10-071-3/+14
| | | | | | | | | | | | * lisp/ido.el (ido-display-buffer): Take an interactive parameter, like `display-buffer' (bug#14904). (ido-visit-buffer): Use it to emulate `C-u M-x display-buffer'.
* | Quadruple term-buffer-maximum-size (Bug#37584)Stefan Kangas2019-10-071-7/+7
| | | | | | | | * lisp/term.el (term-buffer-maximum-size): Quadruple to 8192.
* | Set correct svn:ignore property for relative filenamesWolfgang Scherer2019-10-071-4/+7
| | | | | | | | | | * lisp/vc/vc-svn.el: (vc-svn-ignore) Use svn:ignore property of immediate parent directory for wildcard specification (bug#37216).
* | Fix port of file-acl errno checking to non-GNUPaul Eggert2019-10-061-1/+1
| | | | | | | | | | | | I had misinterpreted the private email from Ashish Shukla. * src/fileio.c (Ffile_acl): Fix typo in previous change by negating the call to acl_errno_valid.
* | Fix the colours on Motif horizontal scroll barsLars Ingebrigtsen2019-10-071-2/+4
| | | | | | | | | | | | * src/xterm.c (x_create_horizontal_toolkit_scroll_bar): Use the same foreground/background colours as the vertical scroll bar (bug#37359).
* | cl-reduce doc fixLars Ingebrigtsen2019-10-071-0/+5
| | | | | | | | | | * lisp/emacs-lisp/cl-seq.el (cl-reduce): Clarify what happens when SEQ is the empty list (bug#37400).
* | tags-complete-tags-table-file doc string fixHong Xu2019-10-071-2/+7
| | | | | | | | | | * lisp/progmodes/etags.el (tags-complete-tags-table-file): Doc string fix (bug#37538).
* | Default FILE to the current buffer for list-tagsHong Xu2019-10-072-7/+22
| | | | | | | | | | | | | | | | * doc/emacs/maintaining.texi (List Identifiers): Update `list-tags' doc (bug#37611). * lisp/progmodes/etags.el (list-tags) (tags--get-current-buffer-name-in-tags-file): Default FILE to the current buffer for list-tags.
* | Make mailcap-prefer-mailcap-viewers work as documentedLars Ingebrigtsen2019-10-072-46/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/seq.el (seq-find): Autoload. * lisp/net/mailcap.el (mailcap-parse-mailcaps): Note where all the entries come from so that we can later distinguish between user values and system values (bug#36771). (mailcap-parse-mailcap): Take a source parameter. (mailcap-possible-viewers): No need to sort wildcards/exact matches; these are later sorted anyway. (mailcap-add-mailcap-entry): Remove `after' parameter. (mailcap-mime-info): Make mailcap-prefer-mailcap-viewers work as documented.
* | Only complete words inside of the string widgetMauro Aranda2019-10-071-1/+10
| | | | | | | | | | | | * lisp/wid-edit.el ('string widget): Peek the word that ispell-complete-word will try to complete, and only offer completions when the word is inside of the field (bug#11046).
* | ; * doc/misc/eww.texi (Advanced): Fix recent typo.Basil L. Contovounesios2019-10-071-3/+3
| |
* | Fix message when no completions available for editable fieldMauro Aranda2019-10-071-3/+4
| | | | | | | | | | | | | | * lisp/wid-edit.el (widget-completions-at-point): Detect here if point is not in an editable field. (widget-complete): And here say there are no completions available (bug#11562).
* | Allow using last_tab_bar_item on no-x builds.Juri Linkov2019-10-071-2/+0
| | | | | | | | | | * src/frame.h (struct frame): Remove HAVE_WINDOW_SYSTEM around last_tab_bar_item.
* | Implement tab-close-other bound to C-x 6 1 by analogy with C-x 5 1.Juri Linkov2019-10-072-0/+17
| | | | | | | | | | | | * lisp/tab-bar.el (tab-close-other): New command bound to C-x 6 1. * doc/emacs/frames.texi (Tab Bars): Document it.
* | Use tabs in EWW (bug#37592)Juri Linkov2019-10-074-3/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/eww.el (eww-open-in-new-buffer): Call tab-new when tab-bar-mode is enabled. (eww-browse-url): Add docstring. Call tab-new when tab-bar-mode is enabled. * lisp/net/shr.el (shr-map): Bind [C-down-mouse-1] to shr-mouse-browse-url-new-window. (shr-mouse-browse-url-new-window): New command. (shr-browse-url): Add optional arg new-window. * doc/misc/eww.texi (Basics): Mention opening tabs on M-RET.
* | * eieio-core.el (eieio--full-class-object): New function.Stefan Monnier2019-10-063-25/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | Rather than explicitly call eieio-class-un-autoload, the autoloading is now performed on-demand if you use eieio--full-class-object. * lisp/emacs-lisp/eieio-core.el (eieio-class-un-autoload): Remove. (eieio--full-class-object): New function, to replace it. (eieio-oref, eieio--class-precedence-list): * lisp/emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object): Use it instead of eieio-class-un-autoload. * lisp/emacs-lisp/eieio.el (eieio-class-parents, child-of-class-p): Load the class if needed.
* | Support changing font size using mouse wheelStefan Kangas2019-10-063-26/+71
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/mwheel.el (mouse-wheel-mode): Support changing font size (text scaling) using mouse wheel. (Bug#28182) (mouse-wheel-scroll-amount): Bind the Ctrl modifier to text scaling. (mwheel-installed-text-scale-bindings): New variable. (mouse-wheel--remove-bindings): New helper function for 'mouse-wheel-mode'. * doc/emacs/frames.texi (Mouse Commands): Document this feature. * etc/NEWS: Announce it.