Commit graph

70480 commits

Author SHA1 Message Date
Alex Branham
643df633ea Avoid byte-compiler warning in em-rebind.el
* lisp/eshell/em-rebind.el (eshell-delete-backward-char): Use
'delete-char' instead of delete-backward-char.  (Bug#32945)
2018-10-12 11:39:02 +03:00
Eric Abrahamsen
a108eaa13c Fix bug with precious entries in Gnus registry
* lisp/registry.el (registry-collect-prune-candidates): This `cdr' was
  an error: it meant that the last key in the precious list, would be
  considered a nil. Since the precious list only contains the symbol
  'mark by default, marks were never considered precious.
* doc/misc/gnus.texi (Store arbitrary data): Fix typo: "marks" should
  be "mark".
2018-10-11 11:20:29 -07:00
Tino Calancha
a7ebc6bf63 dired-do-shell-command: Notify users after abort the command
* lisp/dired-aux.el (dired-do-shell-command):  Notify users that
the command have aborted when they answer 'n' to the prompt (Bug#32969).
2018-10-11 17:23:30 +09:00
Michael Albinus
0d2bf76d3d Adapt Tramp version. Do not merge with master
* lisp/net/trampver.el: Change version to "2.3.5.26.2".
(customize-package-emacs-version-alist): Add Tramp version
integrated in Emacs 26.2.
2018-10-11 09:39:12 +02:00
Charles A. Roelli
b99192fe24 * lisp/simple.el (transient-mark-mode): Correct documentation. (Bug#32956) 2018-10-06 21:24:32 +02:00
Eli Zaretskii
7e4229411b Update the locale and language database
* lisp/international/mule-cmds.el (locale-language-names):
Update the list of supported locales.  Use existing language
names where available.
2018-10-06 12:38:36 +03:00
Eli Zaretskii
8c53d9fede Fix a typo in a doc string.
* lisp/window.el (display-buffer-alist): Fix a typo in a doc string.
Reported by Michael Heerdegen <michael_heerdegen@web.de>.
2018-10-05 16:51:17 +03:00
Katsumi Yamaoka
79bda3bc47 Make nneething allow CRLF-encoded files (bug#32940)
* lisp/gnus/nneething.el (nneething-request-article):
Bind coding system to raw-text instead of binary when reading a file,
that may be CRLF-encoded (bug#32940).
2018-10-05 00:22:20 +00:00
Eric Abrahamsen
2cae1cf6f8 Further fix to eieio-persistent
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
  Make handling of hash tables and vectors recursive. This is
  necessary because the write process, in `eieio-override-prin1' is
  also recursive. With any luck, this will be the last fix of its
  kind. If that's true, cherry-pick to Emacs 26.2 later on.
2018-10-04 12:10:58 -07:00
Alan Mackenzie
99f45ee42c In follow mode, prevent the cursor resting on a partially displayed line
Don't merge to master.  This fixes bug #32848

* lisp/follow.el (follow-adjust-window): If point ends up in a partially
displayed line in a left hand or middle window, move it one line
forward, to
prevent unwanted scrolling should make-cursor-line-fully-visible be
non-nil.
2018-10-03 15:57:15 +00:00
Alan Mackenzie
ea77c6594e Revert "Temporary workaround for bug #32848 for branch emacs-26"
This reverts commit 6650751ce7.
2018-10-03 15:20:34 +00:00
Michael Albinus
508c40ef1d Comple fix for Bug#32550
* lisp/net/tramp.el (tramp-rfn-eshadow-update-overlay):
Use `save-excursion'.  This completes the fix of Bug#32550.
2018-10-01 14:17:27 +02:00
Glenn Morris
35b56a24a0 ; Auto-commit of loaddefs files. 2018-10-01 06:23:16 -04:00
Eli Zaretskii
9c028d6965 * lisp/savehist.el (savehist-mode): Doc fix. (Bug#32889) 2018-10-01 10:45:33 +03:00
Eli Zaretskii
3a2b5a713f ; * lisp/bindings.el (bindings--define-key): Doc fix. (Bug#32885) 2018-10-01 10:19:27 +03:00
Alan Mackenzie
6650751ce7 Temporary workaround for bug #32848 for branch emacs-26
Do not merge with master.

* lisp/follow.el (follow-mode): Set make-cursor-line-fully-visible to nil
buffer locally whilst follow-mode is active.
2018-09-30 10:46:26 +00:00
Tino Calancha
7296b6fbf2 Improve cl-do, cl-do* docstrings
* lisp/emacs-lisp/cl-macs.el(cl-do, cl-do*):
Improve docstring (Bug#32803).
2018-09-29 18:06:15 +09:00
Eli Zaretskii
d416109f06 Avoid returning early in 'while-no-input' due to subprocesses
* src/keyboard.c (kbd_buffer_store_buffered_event): Support
also the internal buffer-switch events.
(syms_of_keyboard) <Qbuffer_switch>: New DEFSYM.

* lisp/subr.el (while-no-input-ignore-events): Ignore
'buffer-switch' events.  Reported by Michael Heerdegen
<michael_heerdegen@web.de>.

* etc/NEWS: Mention the change in behavior of 'while-no-input'
2018-09-29 10:11:08 +03:00
Glenn Morris
41fa88b99b ; Fix some doc typos 2018-09-28 14:02:52 -04:00
Michael Albinus
1908173a4d Fix Bug#32828
* lisp/net/dbus.el (dbus-init-bus): Return number of connections,
as promised by the docstring.  (Bug#32828)
2018-09-28 12:51:25 +02:00
Noam Postavsky
7f5086da05 * lisp/net/shr.el (shr-copy-url): Fix docstring. 2018-09-27 19:37:25 -04:00
Charles A. Roelli
25cdd65c4e ; Spellcheck two more documentation strings
* lisp/files.el (hack-local-variables):
* src/keymap.c (Ftext_char_description): Spellcheck documentation.
2018-09-25 21:33:00 +02:00
Charles A. Roelli
c8bda0555c ; * lisp/simple.el (save-interprogram-paste-before-kill): Fix documentation. 2018-09-25 21:29:29 +02:00
Eli Zaretskii
17766a14cc Improve docs of functions/variables related to 'display-buffer'
* lisp/window.el (display-buffer, pop-to-buffer-same-window)
(display-buffer-same-window, display-buffer-in-side-window)
(same-window-p, display-buffer-overriding-action)
(display-buffer-base-action)
(display-buffer--same-window-action)
(display-buffer--other-frame-action)
(with-current-buffer-window, with-displayed-buffer-window)
(display-buffer-alist, display-buffer-assq-regexp)
(display-buffer-other-frame): Clarify and improve the doc
strings.  (Bug#32798)
2018-09-24 18:07:02 +03:00
Stefan Monnier
a3639317bc * lisp/mouse.el (tear-off-window): Fix non-mouse use (bug#32799) 2018-09-22 19:16:55 -04:00
Eli Zaretskii
8b8a4c0aeb Improve documentation of directory-local variables
* lisp/files.el (hack-local-variables, normal-mode)
(after-find-file, find-file-hook): Mention directory-local
variables in the doc strings.  Suggested by Marcin Borkowski
<mbork@mbork.pl>.

* doc/emacs/custom.texi (File Variables, Directory Variables):
Clarify that directory-local variables are overridden by
file-local ones.
2018-09-22 12:06:51 +03:00
Mark A. Hershberger
ca208e8388 Use save-place-mode instead of save-place
* lisp/menu-bar.el (menu-bar-options-save, menu-bar-options-menu):
* lisp/saveplace.el (save-place-to-alist, save-places-to-alist)
(save-place-find-file-hook, save-place-dired-hook): Use
save-place-mode instead of the obsolete save-place.
2018-09-22 10:41:22 +03:00
Noam Postavsky
b3baf997c8 Document synchronous behavior of eshell/make (Bug#32513)
* 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.
2018-09-19 18:57:37 -04:00
Shigeru Fukaya
98544ea3ea Fix bs-show with wide characters (Bug#17822)
* lisp/bs.el (bs--insert-one-entry, bs-show-in-buffer): Use
string-width instead of length.
2018-09-19 18:48:07 -04:00
Eli Zaretskii
85af51bab1 Improve Custom menu labels for 2 options
* 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)
2018-09-19 10:54:41 +03:00
Eli Zaretskii
c71cfb79c3 Fix the Bubbles game on TTY frames
* 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)
2018-09-17 17:34:31 +03:00
Allen Li
3bbf21b913 Add choice to reshow certificate information (Bug#31877)
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.
2018-09-16 21:15:21 -04:00
Leo Liu
41c2d25912 Remove unused variable
* lisp/progmodes/prolog.el (prolog-hungry-delete-key-flag): Remove.
2018-09-14 22:44:09 +08:00
Leo Liu
1e3b3fa615 Fix (thing-at-point 'list) regression (Bug#31772)
* 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.
2018-09-14 22:38:58 +08:00
Alex Branham
1c22f037fd Increase default value for imenu-auto-rescan-maxout
* 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
2018-09-12 15:20:25 +02:00
Eli Zaretskii
30b0b0e2e2 Fix handling of abbreviated control command in gdb-mi.el
* lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp):
Support unambiguous abbreviations of commands.  (Bug#32576)
2018-09-10 16:11:05 +03:00
Eli Zaretskii
96281c5ee1 Record :version for built-in variables while dumping
* 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.
2018-09-07 10:35:59 +03:00
Stefan Monnier
9618e16efa Better fix for bug#32550
* 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.
2018-09-04 12:03:52 -04:00
Michael Albinus
30d94e4b92 Fix Bug#32550
* 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)
2018-09-04 11:59:39 +02:00
Paul Eggert
82fc6b6313 * lisp/calculator.el: Fix doc typo. 2018-09-03 12:57:10 -07:00
Glenn Morris
ddc7c648d2 Standardize calc bug reporting instructions
* 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.
2018-09-03 10:28:07 -07:00
Glenn Morris
f9efbb599f ; Auto-commit of loaddefs files. 2018-09-01 06:23:14 -04:00
Noam Postavsky
f088817923 Fix math-imaginary-i check
Reported by Bastian Erdnüß at
<https://lists.gnu.org/archive/html/emacs-devel/2018-08/msg00300.html>.
* lisp/calc/calc-cplx.el (math-imaginary-i): Check for a value
of (polar 1 <quarter-circle>).
2018-08-28 08:04:17 -04:00
Glenn Morris
d0d162c2d6 Small checkdoc quoting fix (bug#32546)
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
Fix quoting thinko.
2018-08-27 18:27:01 -04:00
Wenjamin Petrenko
9a613d3ed0 Prevent `modify-file-local-variable-prop-line' from adding extra ';'
* lisp/files-x.el (modify-file-local-variable-prop-line): Handle
whitespace when checking if there's already a ';' before the
variable (Bug#23294).

Copyright-paperwork-exempt: yes
2018-08-24 21:54:16 -04:00
Eli Zaretskii
6e08019af7 Recognize codepage 65001 as a valid encoding
* lisp/international/mule-conf.el (cp65001): Define it as an
alias for UTF-8.
2018-08-21 19:35:31 +03:00
Basil L. Contovounesios
7bc9ce7431 Fix duplicate custom group names in bibtex.el
* lisp/textmodes/bibtex.el (bibtex-BibTeX-entry-alist):
Change :group from BibTeX to bibtex.  (bug#32436)
2018-08-17 15:22:06 -04:00
Tino Calancha
e73e6838aa Ibuffer: Add toggle ibuffer-do-toggle-lock
Toggle the locked status in marked buffers or the buffer
at point (Bug#32421).
* lisp/ibuffer.el (ibuffer-do-toggle-lock): New command.
(ibuffer-mode-map): Bind it to 'L'.
(ibuffer-mode-operate-map): Add entries for
`ibuffer-do-toggle-read-only' and `ibuffer-do-toggle-lock'.
* etc/NEWS (Changes in Specialized Modes and Packages in Emacs 26.2):
Announce the change.
2018-08-13 19:24:31 +09:00
Tino Calancha
12f7116714 Ibuffer: Detect correctly the buffers running a process
* lisp/ibuffer.el (filename-and-process): Store the process buffer
as a text property; check for such property to detect a buffer
with a process (Bug#32420).
2018-08-13 19:22:49 +09:00
Charles A. Roelli
614cc65f2d ; * lisp/simple.el (line-move-visual): Fix typo. 2018-08-12 13:05:27 +02:00