]> git.eshelyaron.com Git - emacs.git/log
emacs.git
9 years agoxref--insert-xrefs: Tweak the faces
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).

9 years agoelisp-completion-at-point: Prioritize being quoted over funpos
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.

9 years agoStop vc-print-log from jumping to the top
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.

9 years agoFix display of keyboard layouts for right-to-left scripts
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.

9 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
K. Handa [Sat, 2 May 2015 13:39:54 +0000 (22:39 +0900)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

9 years ago* cmds.c (internal_self_insert): When we insert spaces for
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.

9 years ago* lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
Nicolas Petton [Sat, 2 May 2015 12:26:37 +0000 (14:26 +0200)]
* lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.

9 years agoFix etags-xref-find for references
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).

9 years agoUpdate the options in whitespace-style defcustom
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)

9 years agoFix error diagnostics of c-macro-expand
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.

9 years agoDon't require Texinfo 5.0 for Emacs documentation
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.

9 years ago; * xref.el (xref-collect-references): Simplify.
Dmitry Gutov [Fri, 1 May 2015 22:03:56 +0000 (01:03 +0300)]
; * xref.el (xref-collect-references): Simplify.

9 years ago* lisp/files.el (pwd):
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.

9 years ago* lisp/isearch.el (isearch-mode-map): Allow backspace remapping
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).

9 years agoImplement xref-find-references in etags and elisp-mode
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.

9 years ago; ede-locate-create/update-root-database: Fix docstring typo
Dmitry Gutov [Fri, 1 May 2015 17:36:23 +0000 (20:36 +0300)]
; ede-locate-create/update-root-database: Fix docstring typo

9 years agoPrefer plain characters to Texinfo circumlocutions
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.

9 years agoFix single-quoting style in PDF manuals
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.

9 years ago* test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix 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.

9 years ago* lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
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.

9 years ago* lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
Glenn Morris [Fri, 1 May 2015 17:39:23 +0000 (13:39 -0400)]
* lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.

9 years ago; Add cl-adjoin tests
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.

9 years ago* lisp/simple.el (blink-matching-open): Better behavior in minibuffer
Pontus Michael [Fri, 1 May 2015 17:20:18 +0000 (13:20 -0400)]
* lisp/simple.el (blink-matching-open): Better behavior in minibuffer

9 years ago; Add class name to error message
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.

9 years ago* lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
Glenn Morris [Fri, 1 May 2015 15:29:18 +0000 (08:29 -0700)]
* lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.

9 years ago* lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
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).

9 years ago* mule-cmds.el (input-method-use-echo-area): Change :type to
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.

9 years agoStart using proportional fonts in eww by default
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.

9 years agoFix links in tables in shr
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.

9 years ago; Auto-commit of loaddefs files.
Glenn Morris [Fri, 1 May 2015 10:17:48 +0000 (06:17 -0400)]
; Auto-commit of loaddefs files.

9 years ago(ns-get-cut-buffer-internal): Remove this alias.
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.

9 years ago* lisp/emacs-lisp/ert.el (ert--special-operator-p):
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.

9 years ago* lisp/term/ns-win.el (ns-get-selection-internal):
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.

9 years ago* lisp/dom.el: Load subr-x when compiling, for when-let.
Glenn Morris [Fri, 1 May 2015 00:09:50 +0000 (20:09 -0400)]
* lisp/dom.el: Load subr-x when compiling, for when-let.

9 years agoSilence some compilation warnings
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..

9 years agoFunction declaration updates prompted by 'make check-declare'
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.

9 years agoRemove compatibility code for 20-year old function renaming
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.

9 years agoAdd ace-window face config
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.

9 years agoUnclutter 'make doc' output a bit
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.

9 years agoMerge from gnulib
Paul Eggert [Thu, 30 Apr 2015 15:48:53 +0000 (08:48 -0700)]
Merge from gnulib

* doc/misc/texinfo.tex: Update from gnulib.

9 years ago* lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh
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.

9 years ago* lisp/emacs-lisp/package.el (package--message): inhibit-message
Artur Malabarba [Thu, 30 Apr 2015 00:19:01 +0000 (01:19 +0100)]
* lisp/emacs-lisp/package.el (package--message): inhibit-message

9 years agoOmit -Wstrict-overflow workaround in GCC 5
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.

9 years agoMerge from gnulib
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.

9 years agoSet next-error-* in xref--xref-buffer-mode
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)

9 years agopython.el: Fix warnings on looking-back calls missing LIMIT
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.

9 years ago* lisp/emacs-lisp/package.el: Use pushnew for downloads in progress
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.

9 years agoIntroduce etags-xref-find-definitions-tag-order
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).

9 years agoPATH- and completion-related fixes in Eshell on MS-Windows
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.

9 years agobury RCIRC buffers when there is no activity
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

9 years ago; Auto-commit of loaddefs files.
Glenn Morris [Wed, 29 Apr 2015 10:20:05 +0000 (06:20 -0400)]
; Auto-commit of loaddefs files.

9 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Michael Albinus [Wed, 29 Apr 2015 09:18:25 +0000 (11:18 +0200)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

9 years agoFix DBUS query result parsing for secrets-search-items
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

9 years ago* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'
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).

9 years agoRemove the deprecated INTERNAL_FIELD macro by expanding it
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.

9 years agoReplace an obsolete function alias
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.

9 years ago* lisp/mail/rmailsum.el: Use lexical-binding.
Stefan Monnier [Wed, 29 Apr 2015 06:34:36 +0000 (02:34 -0400)]
* lisp/mail/rmailsum.el: Use lexical-binding.

9 years ago* test/automated/package-test.el (package-test-update-archives-async):
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.

9 years ago* lisp/foldout.el: Update for 2015-01-30 outline.el changes.
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.

9 years ago* lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
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.

9 years ago* lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
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.

9 years ago* lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
Glenn Morris [Tue, 28 Apr 2015 23:25:56 +0000 (19:25 -0400)]
* lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.

9 years ago* lisp/emacs-lisp/package.el: Fix priority-hiding corner case
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.

9 years agoUpdate source file encoding list
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.

9 years agoFix synchronous invocation of Ispell
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)

9 years ago; Auto-commit of loaddefs files.
Glenn Morris [Tue, 28 Apr 2015 10:18:18 +0000 (06:18 -0400)]
; Auto-commit of loaddefs files.

9 years ago* lisp/emacs-lisp/package.el: Skip space and comments in init file
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.

9 years ago* lisp/mail/rmail.el (rmail-copy-headers):
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)

9 years ago; Comments.
Glenn Morris [Tue, 28 Apr 2015 06:46:09 +0000 (23:46 -0700)]
; Comments.

9 years ago* lisp/subr.el (delay-mode-hooks): Fix doc typo.
Glenn Morris [Tue, 28 Apr 2015 05:59:10 +0000 (22:59 -0700)]
* lisp/subr.el (delay-mode-hooks): Fix doc typo.

9 years ago* lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
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.

9 years agoChange default location of EUDC options file
Thomas Fitzsimmons [Tue, 28 Apr 2015 02:26:56 +0000 (22:26 -0400)]
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.

9 years ago* test/automated/package-test.el (package-test-update-archives-async):
Glenn Morris [Tue, 28 Apr 2015 01:33:01 +0000 (21:33 -0400)]
* test/automated/package-test.el (package-test-update-archives-async):

Try to handle the test server script dying.

9 years ago* lisp/saveplace.el (save-place-mode): New minor mode.
Stefan Monnier [Mon, 27 Apr 2015 23:12:11 +0000 (19:12 -0400)]
* lisp/saveplace.el (save-place-mode): New minor mode.

(save-place): Redefine as an obsolete alias.

9 years ago* lisp/midnight.el: Make it a minor mode. Allow predicates.
Stefan Monnier [Mon, 27 Apr 2015 23:07:51 +0000 (19:07 -0400)]
* 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.

9 years agoBump version of seq.el to 1.5
Nicolas Petton [Mon, 27 Apr 2015 21:24:01 +0000 (23:24 +0200)]
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.

9 years ago* lisp/mail/rmail.el (rmail-reply):
Glenn Morris [Mon, 27 Apr 2015 21:18:39 +0000 (17:18 -0400)]
* lisp/mail/rmail.el (rmail-reply):

Decode subject before matching "Re:" prefix.  (Bug#20396)

9 years ago* lisp/emacs-lisp/package.el: Small improvements
Artur Malabarba [Mon, 27 Apr 2015 21:04:38 +0000 (22:04 +0100)]
* 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'.

9 years ago* lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
Stefan Monnier [Mon, 27 Apr 2015 20:01:39 +0000 (16:01 -0400)]
* 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'.

9 years ago* lisp/gnus/message.el (gnus-extract-address-components):
Glenn Morris [Mon, 27 Apr 2015 19:48:29 +0000 (15:48 -0400)]
* lisp/gnus/message.el (gnus-extract-address-components):

Remove bogus declaration that was masking previous problem.

9 years ago* lisp/gnus/message.el (message-insert-formatted-citation-line):
Nicolas Graner [Mon, 27 Apr 2015 19:45:04 +0000 (15:45 -0400)]
* lisp/gnus/message.el (message-insert-formatted-citation-line):

Fix typo.  (Bug#20318)

Copyright-paperwork-exempt: yes

9 years ago* lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
Stefan Monnier [Mon, 27 Apr 2015 19:33:43 +0000 (15:33 -0400)]
* lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.

9 years ago* lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
Stefan Monnier [Mon, 27 Apr 2015 16:59:11 +0000 (12:59 -0400)]
* 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

9 years agoFix a typo in bibtex.el
Eli Zaretskii [Mon, 27 Apr 2015 15:21:13 +0000 (18:21 +0300)]
Fix a typo in bibtex.el

* lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
last change.  (Bug#20429)

9 years agoFix redisplay of frame after loading new fonts
Eli Zaretskii [Mon, 27 Apr 2015 15:15:52 +0000 (18:15 +0300)]
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)

9 years ago* lisp/info.el (Info-menu): Properly provide the `default'
Stefan Monnier [Mon, 27 Apr 2015 04:52:46 +0000 (00:52 -0400)]
* lisp/info.el (Info-menu): Properly provide the `default'

Fixes: debbugs:20391
9 years ago* elisp-mode.el: Catch errors from `documentation'
Stefan Monnier [Mon, 27 Apr 2015 04:01:36 +0000 (00:01 -0400)]
* 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.

9 years agolisp/emacs-lisp/package.el: Move variables to silence byte-compiler
Stefan Monnier [Sun, 26 Apr 2015 21:03:21 +0000 (17:03 -0400)]
lisp/emacs-lisp/package.el: Move variables to silence byte-compiler

Remove redundant ":group 'package".

9 years agoFix a typo in rmail.el
Eli Zaretskii [Sun, 26 Apr 2015 19:18:13 +0000 (22:18 +0300)]
Fix a typo in rmail.el

* lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
last commit.  (Bug#20429)

9 years agoIntroduce xref-prompt-for-identifier
Dmitry Gutov [Sun, 26 Apr 2015 15:08:56 +0000 (18:08 +0300)]
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).

9 years ago`tex-insert-quote' after single `'' opens quotes instead of closing
João Távora [Sun, 26 Apr 2015 10:44:41 +0000 (11:44 +0100)]
`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.

9 years agoPass `id' to `completing-read' as def instead of initial input
Dmitry Gutov [Sat, 25 Apr 2015 16:23:41 +0000 (19:23 +0300)]
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).

9 years ago; Fix ChangeLog typo (Bug#20400)
Paul Eggert [Sat, 25 Apr 2015 23:38:15 +0000 (16:38 -0700)]
; Fix ChangeLog typo (Bug#20400)

9 years ago; make change-history-commit
Paul Eggert [Sat, 25 Apr 2015 23:36:59 +0000 (16:36 -0700)]
; make change-history-commit

9 years agoDon't freeze with unreadable processes
Paul Eggert [Sat, 25 Apr 2015 23:16:58 +0000 (16:16 -0700)]
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.

9 years agoFix change from 2015-04-22 "On C-y, stop some text property entries ..."
Alan Mackenzie [Sat, 25 Apr 2015 20:49:44 +0000 (20:49 +0000)]
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.

9 years ago* lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
Artur Malabarba [Sat, 25 Apr 2015 16:03:32 +0000 (17:03 +0100)]
* lisp/emacs-lisp/package.el (package-all-keywords): Don't cache

(package--all-keywords): Deleted variable.

9 years ago* etc/NEWS: Document package-hiding functionality
Artur Malabarba [Sat, 25 Apr 2015 15:12:43 +0000 (16:12 +0100)]
* etc/NEWS: Document package-hiding functionality

9 years agolisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
Eli Zaretskii [Sat, 25 Apr 2015 14:51:21 +0000 (17:51 +0300)]
lisp/window.el (recenter-last-op): Doc fix.  (Bug#20419)

9 years agoClarify the doc string of 'replace-regexp-in-string'
Eli Zaretskii [Sat, 25 Apr 2015 09:38:07 +0000 (12:38 +0300)]
Clarify the doc string of 'replace-regexp-in-string'

* lisp/subr.el (replace-regexp-in-string): Doc fix.  (Bug#20395)