summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Fix a previous commitTino Calancha2018-09-211-13/+9
| | | | | | | | | | Suggested by Stefan Monnier here: https://lists.gnu.org/archive/html/emacs-devel/2018-09/msg00783.html * lisp/replace.el (occur--parse-occur-buffer): Since point is at the beginning of the buffer, use `point'. (occur-revert-function): Prefer `pcase-let' and `point-min'. Check whether `region-start' or `region-end' are non-nil.
* Merge from origin/emacs-26Glenn Morris2018-09-206-74/+81
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d28d54c (origin/emacs-26) More accurate docs for 'text-char-description' b3baf99 Document synchronous behavior of eshell/make (Bug#32513) 98544ea Fix bs-show with wide characters (Bug#17822) 85af51b Improve Custom menu labels for 2 options 72a2a36 Improve wording of last change in dired-x.texi d4fa83b Fix GnuTLS test suite with GnuTLS versions 3.4.x b5bee6b Fix build with gnutls versions 3.0 to 3.2 (Bug#32446) 67eb80e ; * etc/enriched.txt (hanging-indents): Remove extra indent. c71cfb7 Fix the Bubbles game on TTY frames 3bbf21b Add choice to reshow certificate information (Bug#31877) 6f2c471 * src/alloc.c (Fbool_vector, Flist, Fvector): Doc tweak. 39eecb3 * src/alloc.c (vector): Fix grammatical error in doc string: ...
| * Document synchronous behavior of eshell/make (Bug#32513)Noam Postavsky2018-09-191-1/+2
| | | | | | | | | | | | * doc/misc/eshell.texi (Built-ins): * lisp/eshell/em-unix.el (eshell/make): Mention that it falls back to the external 'make' command when called synchronously.
| * Fix bs-show with wide characters (Bug#17822)Shigeru Fukaya2018-09-191-2/+2
| | | | | | | | | | * lisp/bs.el (bs--insert-one-entry, bs-show-in-buffer): Use string-width instead of length.
| * Improve Custom menu labels for 2 optionsEli Zaretskii2018-09-192-14/+19
| | | | | | | | | | | | * lisp/dired.el (dired-use-ls-dired): * lisp/progmodes/xref.el (xref-prompt-for-identifier): Improve the doc string and the defcustom menu/tags text. (Bug#32756)
| * Fix the Bubbles game on TTY framesEli Zaretskii2018-09-171-34/+30
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/play/bubbles.el (bubbles--col-offset) (bubbles--row-offset): Doc fixes. (bubbles--compute-offsets): Conflate the GUI and TTY code into a single common version. Set the offsets to simple numbers, not to lists. (bubbles--initialize, bubbles--show-scores): Wrap offset values in a list, so that they are interpreted as pixel values, not as units of character width. This fixes the game on TTY frames. (Bug#32744)
| * Add choice to reshow certificate information (Bug#31877)Allen Li2018-09-161-23/+28
| | | | | | | | | | | | | | | | | | | | In various situations, the window displaying the certificate information can be hidden (such as if the user accidentally presses ?, which causes the read-multiple-choice help window to replace it). Instead of leaving the user to make a choice blindly, add a choice to reshow the certification information. * lisp/net/nsm.el (nsm-query-user): Add reshow choice.
* | New input methods hawaiian-postfix and hawaiian-prefixBob Newell2018-09-202-0/+96
| | | | | | | | | | | | | | * lisp/leim/quail/latin-pre.el ("hawaiian-prefix"): * lisp/leim/quail/latin-post.el ("hawaiian-postfix"): New input methods. (Bug#32714) * etc/NEWS: Mention the new input methods.
* | Fix bug 32543Tino Calancha2018-09-181-3/+36
| | | | | | | | | | | | | | | | | | | | | | Store the region and orig line into the *Occur* header line. Retrieve this information in `occur-revert-function'. * lisp/replace.el (occur--parse-occur-buffer): New defun. (occur-revert-function): Use it. (occur-engine): Store region and original position as text properties into the *Occur* header line. * lisp/replace.el (occur-engine): Add sensible default values for (occur--orig-line and nlines.
* | * lisp/emacs-lisp/advice.el: Only use defmacro when neededStefan Monnier2018-09-171-48/+45
| | | | | | | | | | | | | | | | | | | | | | (ad-get-advice-info): Mark it inlinable. (ad-get-advice-info-macro): Make it an obsolete alias. (ad-copy-advice-info, ad-is-advised, ad-get-advice-info-field) (ad-find-advice, ad-macrofy, ad-lambdafy, ad-lambda-p, ad-advice-p) (ad-compiled-p, ad-compiled-code, ad-get-cache-definition) (ad-get-cache-id, ad-set-cache): Turn macros into defsubsts. (ad-defadvice-flags): Make it into a plain list. (ad-set-advice-info-field): Apply a bit of CSE.
* | * lisp/emacs-lisp/advice.el (ad-advised-functions): Make it a plain listStefan Monnier2018-09-171-13/+8
| | | | | | | | | | | | (ad-read-advised-function, ad-do-advised-functions): Adjust accordingly. (ad-pushnew-advised-function, ad-pop-advised-function): Also make them into functions.
* | * lisp/delsel.el (minibuffer-keyboard-quit): Remove old redundant code.Stefan Monnier2018-09-161-8/+0
| | | | | | | | | | The various minibuffer maps all inherit from minibuffer-local-map nowadays, so a single binding in it is all it takes.
* | ; Add FIXME regarding previous changeNoam Postavsky2018-09-161-0/+2
| |
* | Update pconf for compile.el mode-line-process changesPierre Lorenzon2018-09-161-1/+1
| | | | | | | | | | | | | | * lisp/cedet/ede/pconf.el (ede-proj-configure-synchronize): Check the first list element of mode-line-process (Bug#32564). Copyright-paperwork-exempt: yes
* | Go back to old method for nnmaildir namesPaul Eggert2018-09-151-1/+1
| | | | | | | | | | | | | | * lisp/gnus/nnmaildir.el (nnmaildir-request-accept-article): Omit leading 0s after "M" in file name. Problem reported by Glenn Morris in: https://lists.gnu.org/r/emacs-devel/2018-09/msg00660.html
* | Merge from origin/emacs-26Glenn Morris2018-09-153-22/+19
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e133b63 (origin/emacs-26) Avoid adverse side effects of fixing bug#21824 cc8f334 Document changes called out in NEWS 20ecc52 ; * etc/NEWS: Document recent change in 'thing-at-point'. 1fc5283 ; INSTALL: Fix a typo in the last commit. 24f240d Tiny doc updates re yum/dnf etc 41c2d25 Remove unused variable 1e3b3fa Fix (thing-at-point 'list) regression (Bug#31772) 219893a Clarify meaning of '*' 41cdda2 * etc/PROBLEMS: Document Ubuntu 16.04 issue. 1c22f03 Increase default value for imenu-auto-rescan-maxout ee84389 Improve recent change to ELisp manual ff374e4 * doc/lispref/display.texi (SVG Images): Improve wording. 3a0caf6 * doc/lispref/display.texi (SVG Images): Fix a typo. (Bug#32... Conflicts: doc/lispref/lists.texi etc/NEWS
| * Remove unused variableLeo Liu2018-09-141-6/+0
| | | | | | | | * lisp/progmodes/prolog.el (prolog-hungry-delete-key-flag): Remove.
| * Fix (thing-at-point 'list) regression (Bug#31772)Leo Liu2018-09-141-12/+15
| | | | | | | | | | | | | | | | | | | | * lisp/thingatpt.el (thing-at-point-bounds-of-list-at-point): Revert to pre 26.1 behavior. Return whole sexp at point if no enclosing list. (list-at-point): New optional arg to ignore comments and strings. * test/lisp/thingatpt-tests.el (thing-at-point-bounds-of-list-at-point): Fix and augment tests.
| * Increase default value for imenu-auto-rescan-maxoutAlex Branham2018-09-121-4/+4
| | | | | | | | | | | | | | | | | | * lisp/imenu.el (imenu-auto-rescan-maxout): Increase default value to 600000. (Bug#18426) * doc/emacs/programs.texi (imenu-auto-rescan-maxout): Add documentation for imenu-auto-rescan-maxout. Copyright-paperwork-exempt: yes
* | Make 'filesets-save-config' save filesets added by 'filesets-add-buffer'Wenjamin Petrenko2018-09-151-2/+1
| | | | | | | | | | | | | | | | * lisp/filesets.el (filesets-set-config): Use 'customize-set-variable' so that filesets are saved by 'customize-save-customized' in 'filesets-save-config'. (Bug#20630) Copyright-paperwork-exempt: yes
* | * lisp/progmodes/idlw-shell.el: Use lexical-bindingStefan Monnier2018-09-141-115/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (idlwave-shell-source-frame): Remove unused var 'frame'. (idlwave-shell): Remove unused arg 'quick'. (idlwave-shell-complete-filename, idlwave-shell-edit-default-command-line) (idlwave-shell-retall, idlwave-shell-closeall): Remove unused arg 'arg'. (idlwave-shell-move-to-bp): Remove unused var 'got-bp'. (zmacs-regions): Declare. (idlwave-shell-update-bp-overlays): Remove unused var 'win'. (idlwave-shell-delete-expression-overlay) (idlwave-shell-mouse-nop): Delete function. Use 'ignore' instead. (idlwave-shell-delete-output-overlay): Ignore 'ignore' commands rather than idlwave-shell-mouse-nop commands. (idlwave-shell-mode-map, idlwave-shell-electric-debug-mode-map): Move (part of) the initialization into the declaration. (idlwave-shell-electric-debug-mode-on-hook) (idlwave-shell-electric-debug-mode-off-hook): Keep them empty, move code into the minor mode's definition instead. (idlwave-shell-electric-debug-mode): Don't use advice needlessly.
* | * lisp/progmodes/ada-mode.el (comment-region): Avoid defadviceStefan Monnier2018-09-141-10/+12
| | | | | | | | Don't load 'advice' if it won't be used!
* | * lisp/eshell/em-dirs.el (eshell-expand-multiple-dots): Avoid defadvice.Stefan Monnier2018-09-141-4/+6
| |
* | * lisp/mail/feedmail.el: Use lexical-bindingStefan Monnier2018-09-141-39/+35
| | | | | | | | | | | | (feedmail-queue-buffer-file-name): Improve advising example. (feedmail-vm-mail-mode): Improve auto-mode-alist example. (feedmail-queue-runner-prompt): Remove unused function.
* | * lisp/progmodes/js.el (js--fill-c-advice): New functionStefan Monnier2018-09-141-18/+17
| | | | | | | | | | (c-forward-sws, c-backward-sws, c-beginning-of-macro): Use it. (js-fill-paragraph): Rename from js-c-fill-paragraph.
* | Simplify use of timestampsPaul Eggert2018-09-132-8/+4
| | | | | | | | | | | | | | | | * lisp/calendar/icalendar.el (icalendar--create-uid): * lisp/gnus/nnmaildir.el (nnmaildir-request-accept-article): Simplify by using format-time-string. * lisp/gnus/nnmaildir.el (nnmaildir--scan): Simplify by using float-time and time-less-p.
* | Fix wdired handling of symlinks when restoring filename propertyStephen Berman2018-09-131-9/+16
| | | | | | | | | | | | | | * lisp/wdired.el (wdired--restore-dired-filename-prop): Use dired-permission-flags-regexp instead of dired-filename to test whether the file is a symlink, since calling file-symlink-p on the latter may fail in wdired-mode (bug#32673).
* | (viper-read-key, viper-read-key-sequence): RemoveStefan Monnier2018-09-125-166/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ever since the time-dependent ESC handling was moved to input-decode-map, viper-read-key-sequence has been obsolete. Clean up accordingly. * lisp/emulation/viper-keym.el: Use lexical-binding. (viper-overriding-map): Remove. * lisp/emulation/viper-macs.el: Use lexical-binding and 'read-key'. * lisp/emulation/viper-util.el: Use lexical-binding. (viper-read-key, viper-read-key-sequence): Remove. * lisp/emulation/viper.el (viper-non-hook-settings): Remove obsolete advice.
* | No need to run gnus-article-highlight (bug#32706)Katsumi Yamaoka2018-09-131-2/+0
| | | | | | | | | | * lisp/gnus/deuglify.el (gnus-outlook-display-article-buffer): No need to run gnus-article-highlight (bug#32706).
* | * lisp/vc/vc-git.el (vc-git-grep): Set dir to default-directoryJuri Linkov2018-09-131-2/+3
| | | | | | | | | | when it's not available (like it's implemented in lgrep/rgrep) to prevent error in case of `C-u C-u vc-git-grep'.
* | * lisp/dired-x.el (dired-jump): Support archive-subfile-modeJuri Linkov2018-09-131-3/+8
| | | | | | | | exactly like tar-subfile-mode is already supported.
* | * lisp/simple.el (next-error-no-select): Set display-buffer-overriding-actionJuri Linkov2018-09-131-1/+5
| | | | | | | | to display-buffer-reuse-window (bug#32607).
* | Don't highlight article if gnus-visual-p is nil (bug#32706)Katsumi Yamaoka2018-09-121-2/+8
| | | | | | | | | | * lisp/gnus/deuglify.el (gnus-outlook-display-article-buffer): Don't highlight article if gnus-visual-p is nil (bug#32706).
* | Fix incorrect spelling of dabbrev-ignored-buffer-regexps in docstrings.Filipp Gunbin2018-09-111-2/+2
| | | | | | | | * lisp/dabbrev.el (dabbrev-check-all-buffers, dabbrev-expand): Fix docstrings.
* | Merge from origin/emacs-26Glenn Morris2018-09-107-41/+34
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7efcdf7 (origin/emacs-26) Clarify completion text in the ELisp manual 30b0b0e Fix handling of abbreviated control command in gdb-mi.el 5cf282d Clarify documentation of functions reading character events 96281c5 Record :version for built-in variables while dumping 82160cf * src/process.c (connect_network_socket): Fix memory leak. (... 6c616e4 * Makefile.in (appdatadir): Use the non-obsolete location "me... 9618e16 Better fix for bug#32550 30d94e4 Fix Bug#32550 57bcdc7 Don't call XGetGeometry for frames without outer X window (Bu... 82fc6b6 * lisp/calculator.el: Fix doc typo. ddc7c64 Standardize calc bug reporting instructions Conflicts: lisp/cus-start.el
| * Fix handling of abbreviated control command in gdb-mi.elEli Zaretskii2018-09-101-2/+3
| | | | | | | | | | * lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp): Support unambiguous abbreviations of commands. (Bug#32576)
| * Record :version for built-in variables while dumpingEli Zaretskii2018-09-071-1/+2
| | | | | | | | | | | | | | * lisp/cus-start.el (standard): Record the ':version; of the symbols when dumping, so that 'describe-variable' could tell which built-in variables were added/changed in recent versions.
| * Better fix for bug#32550Stefan Monnier2018-09-042-5/+11
| | | | | | | | | | | | | | | | * lisp/rfn-eshadow.el (rfn-eshadow-overlay): Give it a global default. * lisp/net/tramp.el (rfn-eshadow-overlay): Declare it as dynamically scoped. (tramp-rfn-eshadow-update-overlay): Revert the corresponding part of last change.
| * Fix Bug#32550Michael Albinus2018-09-041-19/+14
| | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use `symbol-value'. (tramp-rfn-eshadow-update-overlay): Do not use `symbol-value'. Do not let-bind `rfn-eshadow-overlay', assign it directly (due to lexical binding). (Bug#32550)
| * * lisp/calculator.el: Fix doc typo.Paul Eggert2018-09-031-1/+1
| |
| * Standardize calc bug reporting instructionsGlenn Morris2018-09-032-15/+5
| | | | | | | | | | | | | | * doc/misc/calc.texi (Reporting Bugs): Use standard commands. * lisp/calc/calc-misc.el (report-calc-bug, calc-report-bug): * lisp/calc/calc.el (calc-bug-address): Change to be obsolete aliases for standard Emacs bug reporting items.
| * ; Auto-commit of loaddefs files.Glenn Morris2018-09-011-1/+5
| |
* | * lisp/thread.el: Remove more useless runtime requires.Glenn Morris2018-09-101-2/+2
| |
* | Remove useless requires of subr-x at runtimeGlenn Morris2018-09-103-3/+3
| | | | | | | | | | * lisp/thread.el, lisp/net/nsm.el, lisp/erc/erc.el: Don't require subr-x at runtime.
* | Fix build error: use string :version in defcustomKarl Fogel2018-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/flyspell.el (flyspell-case-fold-duplications): Use a string value for the :version keyword to `defcustom'. Otherwise, building Emacs will fail with an error like this: Scanning ./textmodes for custom Scanning ./url for custom Scanning ./vc for custom Generating ./cus-load.el... Version must be a string make[2]: *** [Makefile:152: cus-load.el] Error 255 This follows up to Reuben Thomas's commit 61f3a4b4fc of 10 Sep 2018.
* | Add flyspell option to ignore duplicates of different caseReuben Thomas2018-09-101-1/+8
| | | | | | | | | | * lisp/textmodes/flyspell.el (flyspell-case-fold-duplications): Add option.
* | Use thread-live-p instead of obsolete thread-alive-pGemini Lasswell2018-09-091-6/+6
| | | | | | | | | | | | | | | | * lisp/thread.el (thread-list--get-status) (thread-list--send-signal, thread-list-pop-to-backtrace) (thread-list-backtrace--revert-hook-function) (thread-list-backtrace--insert-header): Use thread-live-p instead of thread-alive-p.
* | Add check in list-threads for --without-threads configurationGemini Lasswell2018-09-091-0/+3
| | | | | | | | | | * lisp/thread.el (list-threads): Signal an error if the Emacs configuration doesn't have threads.
* | Show backtraces of threads from thread list bufferGemini Lasswell2018-09-091-6/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/eval.c (backtrace_thread_p, backtrace_thread_top) (backtrace_thread_next, Fbacktrace_frames_from_thread): New functions. * lisp/thread.el (thread-list-mode-map): Add keybinding and menu item for 'thread-list-pop-to-backtrace'. (thread-list-mode): Make "Thread Name" column wide enough for the result of printing a thread with no name with 'prin1'. (thread-list--get-entries): Use 'thread-list--name'. (thread-list--send-signal): Remove unnecessary calls to 'threadp'. (thread-list-backtrace--thread): New variable. (thread-list-pop-to-backtrace): New command. (thread-list-backtrace--revert-hook-function) (thread-list--make-backtrace-frame) (thread-list-backtrace--insert-header, thread-list--name): New functions.
* | Make list-threads refresh the *Threads* buffer if it already existsGemini Lasswell2018-09-091-1/+3
| | | | | | | | | | * lisp/thread.el (list-threads): Call revert-buffer instead of waiting for the timer function to do it.