Paul Eggert [Tue, 5 May 2015 19:25:18 +0000 (12:25 -0700)]
Spelling fixes
(tiny change) Pierre Lorenzon [Tue, 5 May 2015 18:47:58 +0000 (14:47 -0400)]
* eieio-custom.el (eieio-object-value-get): Add missing increment
Fixes: debbugs:20467
(tiny change) Pierre Lorenzon [Tue, 5 May 2015 18:43:48 +0000 (14:43 -0400)]
(eieio-object-value-create): Adjust to new slots representation
Fixes: debbugs:20467
* eieio-custom.el (eieio-object-value-create):
Fix missed adjustment to new representation of slots metadata.
Dmitry Gutov [Tue, 5 May 2015 12:28:41 +0000 (15:28 +0300)]
Work around "Attempt to modify read-only object"
* lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
elisp--xref-find-definitions, to work around "Attempt to modify
read-only object" error.
Dmitry Gutov [Tue, 5 May 2015 12:11:14 +0000 (15:11 +0300)]
Only skip some variables that have function counterparts
* lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
Only skip minor-mode-named variable if it's defined in a Lisp
file, and it's in minor-mode-list (bug#20506).
* test/automated/elisp-mode-tests.el
(elisp-xref-finds-both-function-and-variable)
(elisp-xref-finds-only-function-for-minor-mode): New tests.
Dmitry Gutov [Tue, 5 May 2015 02:17:14 +0000 (05:17 +0300)]
; Update a comment
Dmitry Gutov [Tue, 5 May 2015 02:05:02 +0000 (05:05 +0300)]
Buttonize the whole line, including the number at the beginning
* lisp/progmodes/xref.el (xref--location-at-point): Revert the
previous change.
(xref--insert-xrefs): Buttonize the whole line, including the
number at the beginning.
Dmitry Gutov [Tue, 5 May 2015 01:54:01 +0000 (04:54 +0300)]
Make sure we're inside the let bindings
* lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
Make sure we're inside the let bindings.
* test/automated/elisp-mode-tests.el
(elisp-completes-functions-after-let-bindings): New test.
Glenn Morris [Tue, 5 May 2015 00:46:47 +0000 (20:46 -0400)]
* lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
(eldoc-docstring-format-sym-doc, eldoc-last-data-store)
(eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
Remove outdated declarations.
Glenn Morris [Tue, 5 May 2015 00:38:16 +0000 (20:38 -0400)]
Replace instances of "(eval-when-compile (autoload ...))"
* lisp/gnus/gnus-art.el (nneething-get-file-name):
Declare rather than autoload.
* lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
Remove pointless autoload.
* lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
(gnus-topic-create-topic, gnus-topic-enter-dribble):
Declare rather than autoload.
* lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
(mailcap-extension-to-mime): Autoload at run-time.
* lisp/gnus/mm-util.el (latin-unity-massage-name)
(latin-unity-maybe-remap, latin-unity-representations-feasible-region)
(latin-unity-representations-present-region):
Declare rather than autoload.
* lisp/gnus/mml-smime.el (epg-make-context)
(epg-passphrase-callback-function): Autoload at run-time.
(epg-context-set-signers, epg-context-result-for)
(epg-new-signature-digest-algorithm)
(epg-verify-result-to-string, epg-list-keys, epg-verify-string)
(epg-sign-string, epg-encrypt-string)
(epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
(epg-configuration, epg-expand-group, epa-select-keys):
Declare rather than autoload.
* lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
Autoload at run-time.
(gnus-group-topic-name, nnimap-buffer, nnimap-command)
(gnus-registry-get-id-key, gnus-registry-action):
Declare rather than autoload.
* lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
* lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
(spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
(spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
(spam-stat-split-fancy): Remove pointless autoloads.
* lisp/net/mairix.el: Load gnus-util when compiling.
(gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
(message-field-value): Declare rather than autoload.
(mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
Check gnus-alive-p is fbound.
(vm-quit, vm-visit-folder, vm-select-folder-buffer)
(vm-check-for-killed-summary, vm-error-if-folder-empty)
(vm-get-header-contents, vm-select-marked-or-prefixed-messages):
Declare rather than autoload.
Glenn Morris [Tue, 5 May 2015 00:34:09 +0000 (20:34 -0400)]
* lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
Glenn Morris [Tue, 5 May 2015 00:33:01 +0000 (20:33 -0400)]
* lisp/gnus/mml-smime.el (epg-key-sub-key-list)
(epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
Glenn Morris [Tue, 5 May 2015 00:22:52 +0000 (20:22 -0400)]
* lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
Glenn Morris [Tue, 5 May 2015 00:22:15 +0000 (20:22 -0400)]
* lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
Glenn Morris [Tue, 5 May 2015 00:21:47 +0000 (20:21 -0400)]
* lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
* lisp/emacs-lisp/package.el (epg-signature-status):
Fix declarations.
Glenn Morris [Tue, 5 May 2015 00:20:40 +0000 (20:20 -0400)]
* lisp/play/gametree.el (gametree-show-children-and-entry)
(gametree-apply-layout, gametree-mouse-show-subtree)
(gametree-mouse-hide-subtree): Replace obsolete outline aliases.
Glenn Morris [Tue, 5 May 2015 00:17:35 +0000 (20:17 -0400)]
* lisp/emacs-lisp/check-declare.el (check-declare-verify):
Handle cl-defgeneric, cl-defmethod.
Dmitry Gutov [Mon, 4 May 2015 23:58:02 +0000 (02:58 +0300)]
Highlight both type and symbol name
* lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
Highlight both type and symbol name.
Dmitry Gutov [Mon, 4 May 2015 23:44:20 +0000 (02:44 +0300)]
Insert, highlight and align line numbers in xref output
* lisp/progmodes/etags.el (xref-location-line): Specialize for
xref-etags-location.
* lisp/progmodes/xref.el (xref-location-line): New generic method.
(xref-file-location): Add reader for the line slot.
(xref--location-at-point): Skip to the `xref-location' property.
(xref--collect-reference): Drop the line number from description.
(xref--insert-xrefs): Insert, highlight and align line numbers.
Daniel Colascione [Mon, 4 May 2015 22:40:55 +0000 (15:40 -0700)]
Fix previous commit
Dmitry Gutov [Mon, 4 May 2015 20:16:12 +0000 (23:16 +0300)]
Don't pulse the indentation, or the newline
* lisp/cedet/pulse.el (pulse-lighten-highlight)
(pulse-reset-face): Fall back to the inherited background
attribute in FACE.
(pulse-momentary-highlight-region): Add autoload cookie.
* lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
indentation, or the newline, if the line's non-empty
(http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
Daniel Colascione [Mon, 4 May 2015 18:46:12 +0000 (11:46 -0700)]
Add `save-mark-and-excursion', which has the old `save-excursion' behavior
* doc/lispref/positions.texi (Excursions): Document
`save-mark-and-excursion'.
* lisp/font-lock.el (font-lock-fontify-block): Use
`save-mark-and-excursion' instead of `save-excursion', restoring
Emacs 24 behavior.
* lisp/simple.el (save-mark-and-excursion--save)
(save-mark-and-excursion--restore): New functions.
(save-mark-and-excursion): New user macro.
* src/editfns.c (Fsave_excursion): Mention
`save-mark-and-excursion' in `save-excursion' documentation.
Dmitry Gutov [Mon, 4 May 2015 15:50:44 +0000 (18:50 +0300)]
Classify lone symbol inside let varlist as variable
* lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
Classify lone symbol inside let varlist as variable.
* test/automated/elisp-mode-tests.el (completest-variables-in-let-bindings):
New test.
Dmitry Gutov [Mon, 4 May 2015 15:09:33 +0000 (18:09 +0300)]
Add xref-pulse-on-jump
* lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
Add autoload cookie.
* lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
(xref--maybe-pulse): New function.
(xref-pop-marker-stack, xref--pop-to-location)
(xref--display-position): Use it.
(xref--location-at-point): Use back-to-indentation.
Stefan Monnier [Mon, 4 May 2015 15:32:39 +0000 (11:32 -0400)]
* lisp/org/org-{macs,list}.el: Fix lexical warnings
* lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
(org-list-get-next-item, org-list-get-prev-item)
(org-list-get-children): Mark unused arg `struct'.
(org-list-use-alpha-bul-p): Remove unused var `bul'.
(org-toggle-checkbox): Mark unused var.
(org-update-checkbox-count): Remove unused var `box-num'.
(org-adapt-indentation): Declare.
(org-list-parse-list): Declare var instead of adding a dummy duplicate.
(org-list-send-list): Remove unused var `txt'.
(org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
(org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
* lisp/org/org-macs.el: Use `declare'.
(org-with-limited-levels): Declare dyn-bound vars.
Eli Zaretskii [Mon, 4 May 2015 14:46:30 +0000 (17:46 +0300)]
Fix minor issues with CEDET on MS-Windows
* lisp/cedet/semantic/symref/idutils.el
(semantic-symref-parse-tool-output-one-line): Fix the search
regexp to match MS-Windows file names with drive letters.
(Bug#19468)
* lisp/cedet/semantic/symref/grep.el
(semantic-symref-grep-use-template): Remove "--color=always" from
Grep switches on MS-Windows.
(semantic-symref-grep-shell): Use shell-file-name as the default
value, so this works not only on Posix platforms.
(semantic-symref-perform-search): Use shell-quote-argument instead
of literal '..' for portable quoting of Grep command-line
argument. Use shell-command-switch instead of a literal "-c".
* lisp/cedet/semantic/bovine/gcc.el
(semantic-gcc-get-include-paths): Use file-name-absolute-p to test
for an absolute file name in a portable way.
Artur Malabarba [Mon, 4 May 2015 13:09:29 +0000 (14:09 +0100)]
* lisp/emacs-lisp/package.el: Remove `package--silence' variable
(package-import-keyring, package-refresh-contents)
(package-compute-transaction, package--save-selected-packages)
(package-install-from-archive, package-delete)
(package-menu--perform-transaction): Use `inhibit-message'
instead.
(package--compile): Set `warning-minimum-level' to :error.
Stefan Monnier [Mon, 4 May 2015 02:24:20 +0000 (22:24 -0400)]
* lisp/term/screen.el (xterm-screen-extra-capabilities): New custom
(terminal-init-screen): Use it (bug#20356).
* lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
(xterm--extra-capabilities-type): New const.
(xterm-extra-capabilities): Use it.
(xterm--version-handler): Lower the pseudo-version for `screen'.
Dmitry Gutov [Sun, 3 May 2015 23:52:16 +0000 (02:52 +0300)]
; xref--insert-xrefs: Add (require 'compile)
Dmitry Gutov [Sun, 3 May 2015 21:39:06 +0000 (00:39 +0300)]
xref--insert-xrefs: Tweak the faces
* lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
Always insert a newline at the end (to avoid mouse-face background
tail at the last line).
Dmitry Gutov [Sun, 3 May 2015 20:57:38 +0000 (23:57 +0300)]
elisp-completion-at-point: Prioritize being quoted over funpos
* lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
Only consider function position when not inside quoted form
(bug#20425).
* test/automated/elisp-mode-tests.el: New file.
Dmitry Gutov [Sun, 3 May 2015 18:32:40 +0000 (21:32 +0300)]
Stop vc-print-log from jumping to the top
* lisp/vc/vc.el (vc-print-log-internal): Pass nil
GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
is not specified.
(vc-incoming-outgoing-internal): Always pass nil.
(vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
call it, and don't set vc-sentinel-movepoint (bug#15322).
(vc-print-root-log): Don't fetch the root working revision, nor
pass it to vc-print-log-internal.
Michael Vehrs [Sat, 2 May 2015 14:08:54 +0000 (17:08 +0300)]
Fix display of keyboard layouts for right-to-left scripts
* lisp/international/quail.el (quail-insert-kbd-layout): Force
left-to-right paragraph direction.
K. Handa [Sat, 2 May 2015 13:39:54 +0000 (22:39 +0900)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
K. Handa [Sat, 2 May 2015 13:38:36 +0000 (22:38 +0900)]
* cmds.c (internal_self_insert): When we insert spaces for
padding, set point before the padding spaces, not after them.
Nicolas Petton [Sat, 2 May 2015 12:26:37 +0000 (14:26 +0200)]
* lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
Dmitry Gutov [Sat, 2 May 2015 10:11:07 +0000 (13:11 +0300)]
Fix etags-xref-find for references
* lisp/progmodes/elisp-mode.el (elisp--xref-find-references): Use `cl-mapcan'.
* lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for
directory if no tags tables are loaded (bug#19468).
Philipp Stephani [Sat, 2 May 2015 09:15:46 +0000 (12:15 +0300)]
Update the options in whitespace-style defcustom
* lisp/whitespace.el (whitespace-style): Use `set' instead of a
`repeat' because the option is really set-like. Add missing
options. Reorder options to match the order in the
documentation. (Bug#20346)
Eli Zaretskii [Sat, 2 May 2015 09:01:04 +0000 (12:01 +0300)]
Fix error diagnostics of c-macro-expand
* lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
too early if no start-marker string was found -- that generally
means cpp exited abnormally, and we still want to show its error
messages to the user.
Eli Zaretskii [Sat, 2 May 2015 06:58:22 +0000 (09:58 +0300)]
Don't require Texinfo 5.0 for Emacs documentation
* doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
"@set txicodequotebacktick" instead of "@codequotebacktick on" and
"@codequoteundirected on", respectively, to avoid requiring
Texinfo 5.x for Emacs documentation.
Dmitry Gutov [Fri, 1 May 2015 22:03:56 +0000 (01:03 +0300)]
; * xref.el (xref-collect-references): Simplify.
Simen Heggestøyl [Fri, 1 May 2015 21:24:10 +0000 (23:24 +0200)]
* lisp/files.el (pwd):
When called with a prefix argument, insert the current default
directory at point.
Stefan Monnier [Fri, 1 May 2015 21:11:19 +0000 (17:11 -0400)]
* lisp/isearch.el (isearch-mode-map): Allow backspace remapping
* lisp/isearch.el (isearch-mode-map): Don't inhibit
function-key-map remapping for backspace (bug#20466).
Dmitry Gutov [Fri, 1 May 2015 18:54:33 +0000 (21:54 +0300)]
Implement xref-find-references in etags and elisp-mode
* lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
(elisp-xref-find): Use it.
* lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
* lisp/progmodes/xref.el (xref-collect-references):
(xref--collect-reference): New functions.
Dmitry Gutov [Fri, 1 May 2015 17:36:23 +0000 (20:36 +0300)]
; ede-locate-create/update-root-database: Fix docstring typo
Paul Eggert [Fri, 1 May 2015 19:57:44 +0000 (12:57 -0700)]
Prefer plain characters to Texinfo circumlocutions
For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
Paul Eggert [Fri, 1 May 2015 19:05:53 +0000 (12:05 -0700)]
Fix single-quoting style in PDF manuals
The PDF versions of the GNU manuals used curved single quotes to
represent grave accent and apostrophe, which made it a pain to cut
and paste code examples from them. Fix the PDF versions to use
grave accent and apostrophe for Lisp source code, keystrokes, etc.
This change does not affect the info files, nor does it affect
ordinary uses of curved single quotes in PDF.
* doc/emacs/docstyle.texi: New file, which specifies treatment for
grave accent and apostrophe, as well as the document encoding.
* doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
* doc/lispintro/emacs-lisp-intro.texi:
* doc/lispref/back.texi, doc/lispref/book-spine.texi:
* doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
* doc/misc/ada-mode.texi, doc/misc/auth.texi:
* doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
* doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
* doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
* doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
* doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
* doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
* doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
* doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
* doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
* doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
* doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
* doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
* doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
* doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
* doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
* doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
* doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
* doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
* doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
* doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
* doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
* doc/misc/woman.texi:
Use it instead of '@documentencoding UTF-8', to lessen the need for
global changes like this in the future.
* doc/emacs/Makefile.in (EMACS_XTRA):
* doc/lispintro/Makefile.in (srcs):
* doc/lispref/Makefile.in (srcs):
Add dependency on docstyle.texi.
* doc/misc/Makefile.in (style): New macro.
(${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
(${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
Use it.
Glenn Morris [Fri, 1 May 2015 18:09:06 +0000 (14:09 -0400)]
* test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
Glenn Morris [Fri, 1 May 2015 17:40:31 +0000 (13:40 -0400)]
* lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
(help-fns--signature): Declare.
Glenn Morris [Fri, 1 May 2015 17:39:23 +0000 (13:39 -0400)]
* lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
Przemysław Wojnowski [Thu, 30 Apr 2015 21:48:49 +0000 (23:48 +0200)]
; Add cl-adjoin tests
* test/automated/cl-lib-tests.el (cl-lib-adjoin-test): New tests.
Pontus Michael [Fri, 1 May 2015 17:20:18 +0000 (13:20 -0400)]
* lisp/simple.el (blink-matching-open): Better behavior in minibuffer
Przemysław Wojnowski [Tue, 28 Apr 2015 16:13:18 +0000 (18:13 +0200)]
; Add class name to error message
* lisp/emacs-lisp/eieio-core.el (eieio-oref): Add class name to error
message to ease finding offending code.
Glenn Morris [Fri, 1 May 2015 15:29:18 +0000 (08:29 -0700)]
* lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
Artur Malabarba [Fri, 1 May 2015 14:23:52 +0000 (15:23 +0100)]
* lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
This reverts commit
9a7ddde977378cb5276a81476ae458889c403267.
This reverts commit
3c0ea587daf8b17960b90603a70e3ac4057d883d.
With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
(Bug#20445).
K. Handa [Fri, 1 May 2015 13:45:27 +0000 (22:45 +0900)]
* mule-cmds.el (input-method-use-echo-area): Change :type to
'boolean.
Lars Magne Ingebrigtsen [Fri, 1 May 2015 13:28:08 +0000 (15:28 +0200)]
Start using proportional fonts in eww by default
* lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
it seems to work well.
Lars Magne Ingebrigtsen [Thu, 30 Apr 2015 19:07:07 +0000 (21:07 +0200)]
Fix links in tables in shr
* lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
makes (some) links in tables not work.
Glenn Morris [Fri, 1 May 2015 10:17:48 +0000 (06:17 -0400)]
; Auto-commit of loaddefs files.
Jan D [Fri, 1 May 2015 08:22:29 +0000 (10:22 +0200)]
(ns-get-cut-buffer-internal): Remove this alias.
* lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
Glenn Morris [Fri, 1 May 2015 01:18:52 +0000 (21:18 -0400)]
* lisp/emacs-lisp/ert.el (ert--special-operator-p):
Update for 2015-02-08 change to indirect-function.
Glenn Morris [Fri, 1 May 2015 00:12:34 +0000 (20:12 -0400)]
* lisp/term/ns-win.el (ns-get-selection-internal):
Remove declaration for function deleted 2014-10-21.
Glenn Morris [Fri, 1 May 2015 00:09:50 +0000 (20:09 -0400)]
* lisp/dom.el: Load subr-x when compiling, for when-let.
Glenn Morris [Fri, 1 May 2015 00:09:02 +0000 (20:09 -0400)]
Silence some compilation warnings
* lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
* lisp/emulation/cua-base.el (delete-active-region):
* lisp/net/net-utils.el (w32-get-console-output-codepage):
* lisp/term/ns-win.el (ns-own-selection-internal)
(ns-disown-selection-internal, ns-selection-owner-p)
(ns-selection-exists-p, ns-get-selection):
Declare for compiler..
Glenn Morris [Fri, 1 May 2015 00:06:15 +0000 (20:06 -0400)]
Function declaration updates prompted by 'make check-declare'
* lisp/emacs-lisp/package.el (lm-homepage):
* lisp/gnus/gnus-util.el (iswitchb-read-buffer):
* lisp/gnus/mm-decode.el (libxml-parse-html-region):
* lisp/gnus/mml.el (libxml-parse-html-region):
* lisp/gnus/nnrss.el (libxml-parse-html-region):
* lisp/net/eww.el (libxml-parse-html-region):
* lisp/net/shr.el (libxml-parse-html-region):
* lisp/vc/vc-bzr.el (vc-annotate-convert-time):
* lisp/vc/vc-cvs.el (vc-annotate-convert-time):
* lisp/vc/vc-git.el (vc-annotate-convert-time):
* lisp/vc/vc-hg.el (vc-annotate-convert-time):
* lisp/vc/vc-mtn.el (vc-annotate-convert-time):
* lisp/vc/vc-rcs.el (vc-annotate-convert-time):
Update declaration.
Glenn Morris [Fri, 1 May 2015 00:00:23 +0000 (20:00 -0400)]
Remove compatibility code for 20-year old function renaming
* lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
Make it an obsolete alias.
(idlwave-shell-filter): Change all uses to comint-output-filter.
Tassilo Horn [Thu, 30 Apr 2015 21:00:06 +0000 (23:00 +0200)]
Add ace-window face config
* etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
configuration.
Paul Eggert [Thu, 30 Apr 2015 16:17:57 +0000 (09:17 -0700)]
Unclutter 'make doc' output a bit
* Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
Use make subst rather than sh IFS to split target string apart.
This makes 'make' output easier to follow.
Paul Eggert [Thu, 30 Apr 2015 15:48:53 +0000 (08:48 -0700)]
Merge from gnulib
* doc/misc/texinfo.tex: Update from gnulib.
Artur Malabarba [Thu, 30 Apr 2015 01:27:10 +0000 (02:27 +0100)]
* lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh
(package-menu--print-info): Obsolete.
(package-menu--print-info-simple): New function.
(package-menu--refresh): Use it, simplify code, and improve
performance.
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
Tiny performance improvement.
Artur Malabarba [Thu, 30 Apr 2015 00:19:01 +0000 (01:19 +0100)]
* lisp/emacs-lisp/package.el (package--message): inhibit-message
Paul Eggert [Thu, 30 Apr 2015 03:30:49 +0000 (20:30 -0700)]
Omit -Wstrict-overflow workaround in GCC 5
* src/process.c: Remove workaround for GCC -Wstrict-overflow bug
if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
Paul Eggert [Thu, 30 Apr 2015 03:11:59 +0000 (20:11 -0700)]
Merge from gnulib
This incorporates:
2015-04-29 extern-inline: no need for workaround in GCC 5.1
2015-04-26 file-has-acl: port to CentOS 6
* m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
Helmut Eller [Thu, 30 Apr 2015 00:41:34 +0000 (03:41 +0300)]
Set next-error-* in xref--xref-buffer-mode
* xref.el (xref--xref-buffer-mode): Set `next-error-function' and
`next-error-last-buffer'.
(xref--next-error-function): New function.
(http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
Fabián Ezequiel Gallina [Thu, 30 Apr 2015 00:09:58 +0000 (21:09 -0300)]
python.el: Fix warnings on looking-back calls missing LIMIT
* lisp/progmodes/python.el (python-shell-accept-process-output):
Pass LIMIT arg to looking-back.
Artur Malabarba [Wed, 29 Apr 2015 23:57:46 +0000 (00:57 +0100)]
* lisp/emacs-lisp/package.el: Use pushnew for downloads in progress
(package--download-and-read-archives): Use pushnew instead of
append. If something terrible happened during a previous
download, simply refreshing should now make things work again.
Dmitry Gutov [Wed, 29 Apr 2015 22:55:43 +0000 (01:55 +0300)]
Introduce etags-xref-find-definitions-tag-order
* lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
New variable.
(etags--xref-find-definitions): Use it (bug#19468).
Eli Zaretskii [Wed, 29 Apr 2015 17:52:02 +0000 (20:52 +0300)]
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.
Sam Steingold [Tue, 21 Apr 2015 12:54:04 +0000 (08:54 -0400)]
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
Glenn Morris [Wed, 29 Apr 2015 10:20:05 +0000 (06:20 -0400)]
; Auto-commit of loaddefs files.
Michael Albinus [Wed, 29 Apr 2015 09:18:25 +0000 (11:18 +0200)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Krzysztof Jurewicz [Wed, 29 Apr 2015 09:18:08 +0000 (11:18 +0200)]
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
Artur Malabarba [Wed, 29 Apr 2015 08:47:07 +0000 (09:47 +0100)]
* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'
(byte-compile--message): Use `inhibit-message' instead of hiding
the previous message with (message nil).
Oleh Krehel [Thu, 23 Apr 2015 10:36:22 +0000 (12:36 +0200)]
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.
Glenn Morris [Wed, 29 Apr 2015 06:32:09 +0000 (23:32 -0700)]
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.
Stefan Monnier [Wed, 29 Apr 2015 06:34:36 +0000 (02:34 -0400)]
* lisp/mail/rmailsum.el: Use lexical-binding.
Glenn Morris [Wed, 29 Apr 2015 06:24:48 +0000 (23:24 -0700)]
* test/automated/package-test.el (package-test-update-archives-async):
Skip test on hydra.nixos.org.
Glenn Morris [Wed, 29 Apr 2015 01:09:25 +0000 (21:09 -0400)]
* 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.
Glenn Morris [Wed, 29 Apr 2015 01:01:58 +0000 (21:01 -0400)]
* lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
Update for 2014-06-26 hideif.el change.
Glenn Morris [Tue, 28 Apr 2015 23:27:37 +0000 (19:27 -0400)]
* 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.
Glenn Morris [Tue, 28 Apr 2015 23:25:56 +0000 (19:25 -0400)]
* lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
Artur Malabarba [Tue, 28 Apr 2015 21:29:26 +0000 (22:29 +0100)]
* 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.
Paul Eggert [Tue, 28 Apr 2015 17:51:21 +0000 (10:51 -0700)]
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.
Eli Zaretskii [Tue, 28 Apr 2015 15:36:25 +0000 (18:36 +0300)]
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)
Glenn Morris [Tue, 28 Apr 2015 10:18:18 +0000 (06:18 -0400)]
; Auto-commit of loaddefs files.
Artur Malabarba [Tue, 28 Apr 2015 10:08:40 +0000 (11:08 +0100)]
* 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.
Glenn Morris [Tue, 28 Apr 2015 07:09:19 +0000 (00:09 -0700)]
* lisp/mail/rmail.el (rmail-copy-headers):
Handle rmail-nonignored-headers being nil. (Bug#18878)
Glenn Morris [Tue, 28 Apr 2015 06:46:09 +0000 (23:46 -0700)]
; Comments.
Glenn Morris [Tue, 28 Apr 2015 05:59:10 +0000 (22:59 -0700)]
* lisp/subr.el (delay-mode-hooks): Fix doc typo.
Glenn Morris [Tue, 28 Apr 2015 05:15:12 +0000 (22:15 -0700)]
* lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
Don't get confused by a bzrlib version mismatch warning.