summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Miscellaneous amendments to the scratch/correct-warning-pos branchAlan Mackenzie2022-01-226-30/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/cedet/semantic/fw.el (semantic-alias-obsolete) (semantic-varalias-obsolete): Replace calls to byte-compile-warn with calls to byte-compile-warn-x (when it exists). * lisp/emacs-lisp/bytecomp.el (byte-compile-log-warning-function) (byte-compile--log-warning-for-byte-compile): Make the POSITION parameter no longer &optional (for the benefit of flymake on *.el). (byte-compile-log-warning): Replace a nil POSITION argument with an actual position. (byte-compile-file-form-require): Push the required symbol onto byte-compile-form-stack, for the benefit of `do-after-load-evaluation'. * lisp/keymap.el (define-keymap--compile): Replace four calls to byte-compile-warn with byte-compile-warn-x. * doc/lispref/elisp.texi (master menu): Add entries for Shorthands and Symbols with position. * doc/lispref/streams.texi (Input Functions): Document read-positioning-symbols. * doc/lispref/symbols.texi (Symbols): Add new menu entry. (Symbols with Position): New @section.
* Remove the remnants of old position mechanism from scratch/correct-warning-posAlan Mackenzie2022-01-153-123/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also correct one or two positions in macroexp-warn-and-return invocations. * lisp/emacs-lisp/bytecomp.el (byte-compile-read-position) (byte-compile-last-position, byte-compile-set-symbol-position): Remove. (byte-compile-warning-prefix, byte-compile-function-warn) (byte-compile-emit-callargs-warn, byte-compile-arglist-warn) (byte-compile-warn-about-unresolved-functions, compile-defun) (byte-compile-from-buffer, byte-compile-from-buffer) (byte-compile-file-form-defmumble, byte-compile-check-lambda-list) (byte-compile-lambda, byte-compile-form, byte-compile-normal-call) (byte-compile-check-variable, byte-compile-push-constant) (byte-compile-subr-wrong-args, byte-compile-negation-optimizer) (byte-compile-condition-case, byte-compile-defvar, byte-compile-autoload) (byte-compile-lambda-form): Remove the remnants of the old warning position mechanism. (byte-compile-function-warn): Replace byte-compile-last-position by a symbol-with-pos-pos call. (compile-defun): Use local variable start-read-position to fulfil purpose of old byte-compile-read-position. Push the just read FORM onto byte-compile-form-stack. * lisp/emacs-lisp/eieio.el (defclass): New mechanism to get the correct source warning position to macroexp-warn-and-return. * lisp/emacs-lisp/macroexp (macroexp--unfold-lambda): Correct the position argument given to macroexp-warn-and-return.
* Merge branch 'master' into scratch/correct-warning-posAlan Mackenzie2022-01-1473-310/+3247
|\ | | | | | | | | | | | | | | | | | | Merge branch: commit d29291d665e808307126bf52c3e748fef78f0f9c (HEAD -> master, origin/master, origin/HEAD) Author: Stefan Monnier <monnier@iro.umontreal.ca> Date: Fri Jan 14 12:26:30 2022 -0500 (macroexp--expand-all): Fix bug#53227 and bug#46636
| * (macroexp--expand-all): Fix bug#53227 and bug#46636Stefan Monnier2022-01-141-2/+6
| | | | | | | | | | * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Don't mis-expand invalid funcalls.
| * image-dired: Use MD5 for thumb filename generationStefan Kangas2022-01-141-3/+1
| | | | | | | | | | * lisp/image-dired.el (image-dired-thumb-name): Revert back to MD5 for file name generation to preserve backwards-compatibility. (Bug#53229)
| * * src/xterm.c: Add a small writeup on input handling on X.Po Lu2022-01-141-0/+66
| | | | | | | | | | Hopefully I will extend this section with details about more aspects of X11 support in the future.
| * Regenerate ldefs-boot.elLars Ingebrigtsen2022-01-141-55/+148
| |
| * Skip ffap test on some systemsLars Ingebrigtsen2022-01-141-0/+2
| |
| * Make function-alias-p use a better error symbolLars Ingebrigtsen2022-01-141-1/+1
| | | | | | | | | | * lisp/subr.el (function-alias-p): Use the same error symbol as `indirect-function'.
| * Don't have ffap interpret ":/bin" as the current directoryLars Ingebrigtsen2022-01-142-4/+22
| | | | | | | | | | * lisp/ffap.el (ffap-file-at-point): Don't interpret :/bin as the current directory (bug#52441).
| * Add a `shortdoc' convenience aliasLars Ingebrigtsen2022-01-141-0/+3
| | | | | | | | | | * lisp/emacs-lisp/shortdoc.el (shortdoc): Add a convenience alias (bug#52968).
| * Fix leak when refs are sent to a frame during destruction on HaikuPo Lu2022-01-141-1/+4
| | | | | | | | | | * src/haikuterm.c (haiku_read_socket): Free b->ref if it was sent from a frame that was destroyed.
| * Make sure the X mouse position hook always looks at an X framePo Lu2022-01-141-2/+1
| | | | | | | | * src/xterm.c (XTmouse_position): Check that f1 is an X frame.
| * spelling-tests.el: use ert-with-temp-directoryRobert Pluim2022-01-141-3/+3
| | | | | | | | | | | | | | * test/lisp/so-long-tests/spelling-tests.el (so-long-spelling): Use ;ert-with-temp-directory' instead of passing :directory to 'ert-with-temp-file', and restore the prefix/suffix values used originally with 'make-temp-file'.
| * spelling-tests.el: ignore errors when checking for ispellRobert Pluim2022-01-141-6/+5
| | | | | | | | | | | | | | | | | | | | ispell-valid-dictionary-list can signal an error, eg when the local hunspell installation cannot find any dictionaries, so it's best to ignore that error. * test/lisp/so-long-tests/spelling-tests.el (so-long-spelling): Wrap ispell check in ignore-errors, as ispell-valid-dictionary-list can signal an error.
| * Add new context menu functions to the context-menu-functions typeLars Ingebrigtsen2022-01-143-0/+5
| | | | | | | | | | * lisp/mouse.el (context-menu-functions): Add new menu functions to the defcustom type list (bug#52973).
| * Add command to invoke a search enginePhilip Kaludercic2022-01-141-0/+30
| | | | | | | | | | | | * mouse.el (context-menu-online-search): Add new function (eww-search-prefix): Declare variable from eww.el (mouse-online-search-at-point): Add new command
| * Implement context-menu-mode support for hi-lockPhilip Kaludercic2022-01-141-0/+19
| | | | | | | | | | * hi-lock.el (hi-lock-symbol-at-mouse): Add new command (hi-lock-context-menu): Add new function
| * Implement context-menu-mode support for man pagesPhilip Kaludercic2022-01-141-0/+23
| | | | | | | | | | * man.el (Man-at-mouse): Add new command (Man-context-menu): Add new function
| * Fix @item in the Emacs manualJuri Linkov2022-01-142-2/+1
| | | | | | | | | | | | * doc/emacs/maintaining.texi (Identifier Search): Replace @itemx with @item. * doc/emacs/search.texi (Special Isearch): Remove @item.
| * Fix mailcap setup when no mailcap files existLars Ingebrigtsen2022-01-141-3/+4
| | | | | | | | | | | | * lisp/net/mailcap.el (mailcap-parse-mailcaps): Ensure that we populate mailcap--computed-mime-data even if none of the files exist (bug#53009).
| * (battery-status-function) Fix errors in TermuxLucien Cartier-Tilet2022-01-141-0/+2
| | | | | | | | | | | | | | | | | | * lisp/battery.el (battery-status-function): In Termux, neither /sys/ or /proc/ are readable on phones that are not rooted. This patch makes Emacs verify if they are readable before it attemps reading them (bug#53026). Copyright-paperwork-exempt: yes
| * Improve some nntp/nnimap error messagesRobert Pluim2022-01-142-5/+5
| | | | | | | | | | | | | | | | | | * lisp/gnus/nntp.el (nntp-send-string): (nntp-wait-for): (nntp-accept-process-output): (nntp-possibly-change-group): * lisp/gnus/nnimap.el (nnimap-retrieve-headers): Improve error messages (bug#53070).
| * * lisp/progmodes/xref.el (xref-query-replace-in-results): Fix prefix-arg.Juri Linkov2022-01-141-2/+2
| | | | | | | | Use current-prefix-arg.
| * * doc/emacs/search.texi (Special Isearch): Put related items together.Juri Linkov2022-01-141-8/+8
| | | | | | | | Move isearch-char-by-name closer to isearch-emoji-by-name.
| * Update docs of 'xref-query-replace-in-results'Eli Zaretskii2022-01-141-7/+11
| | | | | | | | | | * doc/emacs/maintaining.texi (Identifier Search): Update the documentation of 'xref-query-replace-in-results'.
| * Use assq_no_quit on all local_var_alist accessesSergey Vinokurov2022-01-142-11/+7
| | | | | | | | | | | | | | | | | | * src/data.c (Fkill_local_variable): * src/buffer.c (buffer_local_value): Use assq_no_quit instead of Fassoc/Fassq on local_var_alist (bug#53242). * src/data.c (Flocal_variable_p): Use assq_no_quit instead of open-coding the search on local_var_alist.
| * Improve documentation of 'xref-find-references-and-replace'Eli Zaretskii2022-01-142-1/+10
| | | | | | | | | | | | | | * etc/NEWS: Clarify the 'xref-find-references-and-replace' entry. * doc/emacs/maintaining.texi (Identifier Search): Document 'xref-find-references-and-replace'.
| * Fix python-eldoc affecting unrelated comint processesMiha Rihtaršič2022-01-141-5/+7
| | | | | | | | | | | | | | * lisp/progmodes/python.el (python-shell-send-string-no-output): Don't let-bind comint-preoutput-filter-functions globally for all comint processes. Modify the behaviour of only the current python process (bug#53219).
| * ; * INSTALL (Alternative window systems): Improve wording.Eli Zaretskii2022-01-141-14/+15
| |
| * Improve function-alias-p documentationRobert Pluim2022-01-141-5/+4
| | | | | | | | * doc/lispref/functions.texi (Defining Functions): Improve the text.
| * Try to make sure an XKB desc is always availablePo Lu2022-01-141-0/+14
| | | | | | | | | | | | * src/xterm.c (handle_one_xevent): Re-retrieve XKB map if it's unavailable for some reason upon handling an XKB map or keyboard notify event.
| * Fix byte-compilation warning in pcvs-infoLars Ingebrigtsen2022-01-141-0/+2
| | | | | | | | | | * lisp/vc/pcvs-info.el (cvs-mode-toggle-mark): Fix byte-compilation warning.
| * Merge from origin/emacs-28Stefan Kangas2022-01-143-4/+11
| |\ | | | | | | | | | | | | 34ca4ff9a5 Fix Edebug specification for inline functions (Bug#53068). 3c06c37a8b Remove mention of removed `gnus-treat-play-sounds' variabl...
| | * Fix Edebug specification for inline functions (Bug#53068).Philipp Stephani2022-01-132-1/+11
| | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/inline.el (inline-quote): Fix Edebug specification. * test/lisp/emacs-lisp/edebug-tests.el (edebug-tests-inline): New unit test.
| | * Remove mention of removed `gnus-treat-play-sounds' variable from manualN. Jackson2022-01-131-3/+0
| | | | | | | | | | | | | | | | | | * info/gnus.info: Remove `gnus-treat-play-sounds' from manual. According to lisp/gnus/ChangeLog.3 this variable was removed in 2010 (bug#53192).
| * | * INSTALL: Document using Emacs on alternative window systems.Po Lu2022-01-141-0/+26
| | |
| * | ; Tweak the NEWS entryDmitry Gutov2022-01-141-3/+3
| | |
| * | xref-find-references-and-replace: New commandDmitry Gutov2022-01-142-0/+18
| | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-find-references-and-replace): New command.
| * | Steamline xref-query-replace-in-resultsDmitry Gutov2022-01-142-4/+17
| | | | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-query-replace-in-results): Steamline the most common scenario (https://lists.gnu.org/archive/html/emacs-devel/2022-01/msg00864.html).
| * | Fix out of bounds bitmap access on HaikuPo Lu2022-01-141-1/+1
| | | | | | | | | | | | | | | * src/haiku_draw_support.cc (BView_DrawBitmapWithEraseOp): Fix out of bounds access to bitmap data.
| * | Refresh keyboard mapping upon receiving new XKB mapPo Lu2022-01-141-0/+2
| | | | | | | | | | | | | | | * src/xterm.c (handle_one_xevent): Call XkbRefreshKeyboardMapping where required.
| * | Prefer defvar-keymap to easy-mmode-defmapStefan Kangas2022-01-133-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/gud.el (gud-minibuffer-local-map): * lisp/vc/pcvs-info.el (cvs-status-map): Use defvar-keymap. * lisp/emacs-lisp/easy-mmode.el (easy-mmode-defmap): Document as deprecated.
| * | ; tweak docSam Steingold2022-01-131-1/+1
| | |
| * | Improve documentation of 'isearch-emoji-by-name'Eli Zaretskii2022-01-133-16/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/isearch.el (isearch-menu-bar-map, isearch-emoji-by-name): Fix wording of documentation. * etc/NEWS: Fix wording of the 'isearch-emoji-by-name' entry. * doc/emacs/search.texi (Special Isearch): Fix wording of the documentation of 'isearch-emoji-by-name'; move it out of the enumeration that deals with non-ASCII characters in general.
| * | Fix frame-undeletion menu itemsEli Zaretskii2022-01-131-3/+4
| | | | | | | | | | | | | | | | | | * lisp/menu-bar.el (menu-bar-file-menu): Fix wording of the new menu items and their help-echo. Don't show "Undelete Frame" in the menu unless there is a frame to undelete.
| * | Avoid scrolling display when point moves into invisible textEli Zaretskii2022-01-131-0/+14
| | | | | | | | | | | | | | | * src/xdisp.c (try_cursor_movement): Handle point moving into invisible text. (Bug#53215)
| * | * doc/lispref/functions.texi (Defining Functions): Fix thinko.Michael Albinus2022-01-131-1/+1
| | |
| * | Improve preserving X coordinate during scroll commandsEli Zaretskii2022-01-131-1/+2
| | | | | | | | | | | | | | | * src/window.c (window_scroll_pixel_based): Don't unnecessarily move the iterator. (Bug#53220)
| * | * lisp/jsonrpc.el (Version): Bump to 1.0.15.Stefan Kangas2022-01-131-1/+1
| | |