1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00
Commit Graph

121277 Commits

Author SHA1 Message Date
Eli Zaretskii
3c3eb1d5f2 PATH- and completion-related fixes in Eshell on MS-Windows
* lisp/eshell/esh-ext.el (eshell-search-path): When running on
MS-Windows, prepend "." to list of directories produced from PATH,
as Windows always implicitly searches the current directory first.
(eshell-force-execution): Make it have a non-nil default value on
MS-Windows and MS-DOS.
* lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
eshell-force-execution is non-nil, complete on readable files and
directories, not only executables.  When running on MS-Windows,
prepend "." to list of directories produced from PATH, as Windows
always implicitly searches the current directory first.
2015-04-29 20:52:02 +03:00
Sam Steingold
5e7ed98f7c bury RCIRC buffers when there is no activity
lisp/net/rcirc.el (rcirc-non-irc-buffer): remove
(rcirc-bury-buffers): new function
(rcirc-next-active-buffer): when there is no new activity, use
`rcirc-bury-buffers' to hide all RCIRC buffers
2015-04-29 08:24:51 -04:00
Glenn Morris
967f054bff ; Auto-commit of loaddefs files. 2015-04-29 06:20:05 -04:00
Michael Albinus
13cf735fb1 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2015-04-29 11:18:25 +02:00
Krzysztof Jurewicz
7fbdb57f80 Fix DBUS query result parsing for secrets-search-items
* lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
parsing.  The function assumed that return value of the
SearchItems method called on a collection is a list of two lists,
however this is true only when no collection is specified.  GNOME
had used to incorrectly return a list of two lists in both cases,
but this was already fixed:
https://bugzilla.gnome.org/show_bug.cgi?id=695115 .  Also fix an
incorrect information in the secrets-search-items’ docstring.
(Bug#20449)

Copyright-paperwork-exempt: yes
2015-04-29 11:18:08 +02:00
Artur Malabarba
3c0ea587da * lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'
(byte-compile--message): Use `inhibit-message' instead of hiding
the previous message with (message nil).
2015-04-29 09:48:07 +01:00
Oleh Krehel
f66b16c365 Remove the deprecated INTERNAL_FIELD macro by expanding it
* src/lisp.h (INTERNAL_FIELD): Remove.
(DEFVAR_KBOARD): Modify accordingly.

* alloc.c, buffer.c, buffer.h, category.c, keyboard.c, keyboard.h:
* syntax.c: Adjust users.
* src/buffer.c (compact_buffer): Use BVAR.
2015-04-29 08:53:55 +02:00
Glenn Morris
4594f894e6 Replace an obsolete function alias
* lisp/isearch.el (isearch-yank-x-selection):
* lisp/mouse-copy.el (mouse-drag-secondary-pasting)
(mouse-drag-secondary-moving):
* lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
Replace obsolete alias x-get-selection with gui-get-selection.
2015-04-28 23:40:27 -07:00
Stefan Monnier
b7352cb2fa * lisp/mail/rmailsum.el: Use lexical-binding. 2015-04-29 02:34:36 -04:00
Glenn Morris
56d487bdc2 * test/automated/package-test.el (package-test-update-archives-async):
Skip test on hydra.nixos.org.
2015-04-28 23:24:48 -07:00
Glenn Morris
438b6b1a52 * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
(foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
(foldout-mouse-hide-or-exit): Use new names for outline functions.
2015-04-28 21:09:25 -04:00
Glenn Morris
853941383f * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
Update for 2014-06-26 hideif.el change.
2015-04-28 21:01:58 -04:00
Glenn Morris
38167fb133 * lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
(rmail--decode-and-apply): New function.
(rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
2015-04-28 19:27:37 -04:00
Glenn Morris
6c5765e232 * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type. 2015-04-28 19:25:56 -04:00
Artur Malabarba
301514f2bf * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
(package-menu--refresh): Delegate obsolete-hiding to
`package--remove-hidden'.
(package--remove-hidden): Disregard high-priority package if it is
older than the installed one.
2015-04-28 22:29:50 +01:00
Paul Eggert
25166a91fd Update source file encoding list
Update admin/notes/unicode, along with coding system cookies in
other files, so that the two match each other better.
* admin/notes/unicode: lisp/language/ethio-util.el and
lisp/language/ethiopic.el also use utf-8-emacs.
* admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
* doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
* etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
* etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
* etc/refcards/sk-survival.tex:
Add "coding: utf-8" so that this file is not mishandled in a
Latin-1 or Big-5 locale.
* lisp/international/robin.el, lisp/org/ox-ascii.el:
Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
* lisp/language/ethio-util.el: Fix trailer.
2015-04-28 10:52:06 -07:00
Eli Zaretskii
e78aef0083 Fix synchronous invocation of Ispell
* lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
value to ispell-process-directory before calling ispell-init-process.
Don't call set-process-coding-system if ispell-async-processp is nil.
(Bug#20448)
2015-04-28 18:36:25 +03:00
Glenn Morris
f23d716a0c ; Auto-commit of loaddefs files. 2015-04-28 06:18:18 -04:00
Artur Malabarba
fecd155703 * lisp/emacs-lisp/package.el: Skip space and comments in init file
(package--ensure-init-file): Insert snippet at first
non-whitespace non-comments line.  Respects local-vars at the top
of the file.
2015-04-28 11:08:40 +01:00
Glenn Morris
f660f36090 * lisp/mail/rmail.el (rmail-copy-headers):
Handle rmail-nonignored-headers being nil.  (Bug#18878)
2015-04-28 00:09:19 -07:00
Glenn Morris
e82fd952f1 ; Comments. 2015-04-27 23:46:09 -07:00
Glenn Morris
9eca163f17 * lisp/subr.el (delay-mode-hooks): Fix doc typo. 2015-04-27 22:59:10 -07:00
Glenn Morris
704ce9aeb6 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
Don't get confused by a bzrlib version mismatch warning.
2015-04-27 22:15:12 -07:00
Thomas Fitzsimmons
7d947e84f3 Change default location of EUDC options file
* NEWS: Document change to EUDC options file's default location.
* lisp/net/eudc-vars.el (eudc-options-file): Use
`locate-user-emacs-file' to change default options file location.
2015-04-27 22:27:59 -04:00
Glenn Morris
b09deaa5a9 * test/automated/package-test.el (package-test-update-archives-async):
Try to handle the test server script dying.
2015-04-27 21:33:01 -04:00
Stefan Monnier
9c3e1e4e5b * lisp/saveplace.el (save-place-mode): New minor mode.
(save-place): Redefine as an obsolete alias.
2015-04-27 19:12:11 -04:00
Stefan Monnier
c603274f26 * lisp/midnight.el: Make it a minor mode. Allow predicates.
* lisp/midnight.el: Use lexical-binding.
(midnight-mode): Make it a proper minor mode.
(midnight-buffer-display-time): Make arg non-optional.
(midnight-find): Remove.
(clean-buffer-list-kill-never-regexps)
(clean-buffer-list-kill-regexps): Tweak type for new function choice.
(clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
contain functions.
(clean-buffer-list): Use cl-find.
Allow clean-buffer-list-kill-never-regexps to contain functions.
2015-04-27 19:07:51 -04:00
Nicolas Petton
66fec8bec4 Bump version of seq.el to 1.5
* lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
  from seq-doseq.  Bump version number of seq.el.
2015-04-27 23:26:33 +02:00
Glenn Morris
579db5085b * lisp/mail/rmail.el (rmail-reply):
Decode subject before matching "Re:" prefix.  (Bug#20396)
2015-04-27 17:18:39 -04:00
Artur Malabarba
f3b43fca47 * lisp/emacs-lisp/package.el: Small improvements
(package--with-work-buffer-async): More informative error.
(package-install-user-selected-packages): Rename to
`package-install-selected-packages'.
2015-04-27 22:06:32 +01:00
Stefan Monnier
d320ec576d * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
* lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
(eieio--class-make): Remove leftover `tag'.
2015-04-27 16:01:39 -04:00
Glenn Morris
009e380e05 * lisp/gnus/message.el (gnus-extract-address-components):
Remove bogus declaration that was masking previous problem.
2015-04-27 15:48:29 -04:00
Nicolas Graner
e9036b1d84 * lisp/gnus/message.el (message-insert-formatted-citation-line):
Fix typo.  (Bug#20318)

Copyright-paperwork-exempt: yes
2015-04-27 15:45:04 -04:00
Stefan Monnier
d92e0c58e8 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc. 2015-04-27 15:33:43 -04:00
Stefan Monnier
1c7f0cdc4c * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
* lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
the buffer in yet another frame.
(reftex-toc-visit-location): Make sure toc-window has focus at the end
when `final' is nil.
(reftex--rebuilding-toc): Defvar to avoid `boundp' and
silence warnings.  Use `--' to clarify that it's internal.
(reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
(reftex-toc-promote): Clarify unused argument.
(reftex--pro-or-de, reftex--start-line, reftex--mark-line):
Add `reftex--' prefix.  Fix all users.
(reftex-toc-promote-prepare): Use _ for dummy variable.
(reftex-toc-restore-region): Rename `m
2015-04-27 12:59:11 -04:00
Eli Zaretskii
08dad2f84d Fix a typo in bibtex.el
* lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
last change.  (Bug#20429)
2015-04-27 18:21:13 +03:00
Eli Zaretskii
d89687b1ba Fix redisplay of frame after loading new fonts
* src/xdisp.c (redisplay_internal): When retrying redisplay of a
frame because new fonts were loaded, disable all redisplay
optimizations on that frame by calling SET_FRAME_GARBAGED.
(Bug#20410)
2015-04-27 18:15:52 +03:00
Stefan Monnier
def0df01fb * lisp/info.el (Info-menu): Properly provide the `default'
Fixes: debbugs:20391
2015-04-27 00:52:46 -04:00
Stefan Monnier
d32d0fae2a * elisp-mode.el: Catch errors from `documentation'
Fixes: debbugs:20418

* lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
Catch errors from documentation.
(emacs-lisp-mode-abbrev-table): Remove redundant defvar.
2015-04-27 00:01:36 -04:00
Stefan Monnier
0b72388293 lisp/emacs-lisp/package.el: Move variables to silence byte-compiler
Remove redundant ":group 'package".
2015-04-26 17:03:21 -04:00
Eli Zaretskii
33cb25bdc0 Fix a typo in rmail.el
* lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
last commit.  (Bug#20429)
2015-04-26 22:18:13 +03:00
Dmitry Gutov
2f3b409a28 Introduce xref-prompt-for-identifier
* lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
(xref--read-identifier): Use it
(http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
2015-04-26 18:08:56 +03:00
João Távora
a40869789f tex-insert-quote' after single '' opens quotes instead of closing
Without this, it's very hard to precede double quotes with the
apostrophe character, i.e. insert the sequence '``
(quote-backquote-backquote), commonly useful in portuguese, for
instance.

* tex-mode.el (tex-insert-quote): Add ?' to the list of preceding
chars making `tex-insert-quote' be in the "opening" context.
2015-04-26 11:44:41 +01:00
Dmitry Gutov
fddff05e88 Pass id' to completing-read' as def instead of initial input
* xref.el (xref--read-identifier): Pass `id' to `completing-read'
as the default value instead of initial input
(http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
2015-04-26 06:39:34 +03:00
Paul Eggert
a0f634a5cd ; Fix ChangeLog typo (Bug#20400) 2015-04-25 16:40:05 -07:00
Paul Eggert
75e039b67e ; make change-history-commit 2015-04-25 16:40:05 -07:00
Paul Eggert
2c1b860494 Don't freeze with unreadable processes
Don't freeze if an exiting process can't be read from. (Bug#19860).
This fixes a bug I introduced in
2014-07-08T07:24:07Z@eggert@cs.ucla.edu
"* process.c: Add sanity checks for file descriptors."
Dmitry Gutov did most of the legwork in finding the problem.
* src/process.c (wait_reading_process_output):
Treat non-running processes that can't be read from
the same as other non-running processes.
2015-04-25 16:17:50 -07:00
Alan Mackenzie
45e571035b Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
* lisp/subr.el (remove-yank-excluded-properties): put
`with-silent-modifications' around only the last three lines of code.
2015-04-25 20:49:44 +00:00
Artur Malabarba
864573cafe * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
(package--all-keywords): Deleted variable.
2015-04-25 17:04:02 +01:00
Artur Malabarba
f8d660280d * etc/NEWS: Document package-hiding functionality 2015-04-25 17:04:02 +01:00