Commit graph

63733 commits

Author SHA1 Message Date
Artur Malabarba
5329208baf emacs-lisp/package.el (package-install): Rename ARG to MARK-SELECTED. 2015-02-01 20:34:16 -02:00
Artur Malabarba
0ade763b74 emacs-lisp/package.el (package-selected-packages): Fix :type 2015-02-01 20:28:21 -02:00
Thierry Volpiatto
e2f0f263df emacs-lisp/package.el: Don't allow deleting dependencies. 2015-02-01 20:17:51 -02:00
Paul Eggert
241260cc28 Revert changes installed by xwidgets merge 2015-02-01 11:45:15 -08:00
Glenn Morris
e8e483a974 # Auto-commit of loaddefs files. 2015-02-01 06:24:33 -05:00
Joakim Verona
9fe732a02a Better changelog for xwidgets 2015-02-01 01:30:02 +01:00
Joakim Verona
69815dfe37 Merge branch 'master' into xwidget 2015-02-01 00:37:46 +01:00
Joakim Verona
4edad429ca Fix compile warnings xwidget.el 2015-01-31 21:09:11 +01:00
Stefan Monnier
e0be229d5f EIEIO: Simplify help hyperlinks; Try and reduce hardcoding in .elc
* lisp/emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.

* lisp/emacs-lisp/eieio-core.el (eieio--check-type): Remove.
Use cl-check-type everywhere instead.
(eieio-class-object): Remove, use find-class instead when needed.
(class-p): Don't inline.
(eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
such as eieio classes, as objects.  Don't inline.
(object-p): Mark as obsolete.
(eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
(eieio--generic-tagcode): Avoid `class-p'.
(eieio-make-class-predicate, eieio-make-child-predicate): New functions.
(eieio-defclass-internal): Use current-load-list rather than
`class-location'.

* lisp/emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
Use find-lisp-object-file-name, help-fns-short-filename and new calling
convention for eieio-class-def.
(eieio-build-class-list): Remove function, unused.
(eieio-method-def): Remove button type, unused.
(eieio-class-def): Inherit from help-function-def.
(eieio--defclass-regexp): New constant.
(find-function-regexp-alist): Use it.
(eieio--specializers-apply-to-class-p): Handle eieio--static as well.
(eieio-help-find-method-definition, eieio-help-find-class-definition):
Remove functions.

* lisp/emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
and eieio-make-child-predicate.
(eieio-class-parents): Use eieio--class-object.
(slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
(slot-exists-p): Use find-class.

* test/automated/eieio-tests.el (eieio-test-23-inheritance-check): Simplify.
2015-01-31 00:48:14 -05:00
Stefan Monnier
d5e3922e08 * lisp/emacs-lisp/backquote.el: Fix bug with unoptimized exp.
Fixes: debbugs:19734

* lisp/emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
since it may be "equivalent" in some sense, yet different.
* test/automated/core-elisp-tests.el (core-elisp-tests-3-backquote): New test.
2015-01-30 16:00:29 -05:00
Oleh Krehel
adebc14b9c lisp/outline.el: Improve docstrings. 2015-01-30 17:45:05 +01:00
Oleh Krehel
ac79251493 lisp/outline.el: Add namespace prefixes.
* outline.el (outline-hide-entry): Rename from `hide-entry'.
(outline-show-entry): rename from `show-entry'
(outline-hide-body): Rename from `hide-body'.
(outline-hide-region-body): Rename from `hide-region-body'.
(outline-show-all): Rename from `show-all'.
(outline-hide-subtree): Rename from `hide-subtree'.
(outline-hide-leaves): Rename from `hide-leaves'.
(outline-show-subtree): Rename from `show-subtree'.
(outline-hide-sublevels): Rename from `hide-sublevels'.
(outline-hide-other): Rename from `hide-other'.
(outline-show-children): Rename from `show-children'.
(outline-show-branches): Rename from `show-branches'.
2015-01-30 17:44:03 +01:00
Oleh Krehel
5a1b8a1179 lisp/outline.el (outline-mode): Clean up docstring
* lisp/outline.el (font-lock-warning-face): Remove unused declare.
(outline-mode-prefix-map): Remove obsolete comment.
(outline-font-lock-face): Remove obsolete comment.
2015-01-30 17:41:49 +01:00
Oleh Krehel
58aa0dad36 lisp/custom.el (defface): Set indent to 1. 2015-01-30 17:35:51 +01:00
Oleh Krehel
b1e3d14845 lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1. 2015-01-30 17:32:29 +01:00
Michal Nazarewicz
5a971bd302 files.el: avoid asking whether to kill Emacs multiple times
* lisp/files.el (save-buffers-kill-emacs): If `confirm-kill-emacs' is
set, but user has just been asked whether they really want to kill Emacs
(for example with a ‘Modified buffers exist; exit anyway?’ prompt) , do
not ask them for another confirmation.
2015-01-30 11:43:04 +01:00
Glenn Morris
c9d238316c Tweak recent gnus-registry.el changes
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg01748.html

* lisp/gnus/gnus-registry.el (gnus-registry-max-pruned-entries)
(gnus-registry-prune-factor, gnus-registry-default-sort-function):
Fix :version.
(gnus-registry-default-sort-function): Improve :type.
2015-01-30 00:08:40 -08:00
Glenn Morris
041d53a4a6 # ChangeLog fix
That's not the right format for multi-file changes,
and such things don't need ChangeLog entries anyway.
2015-01-30 00:04:52 -08:00
Glenn Morris
2b9b98bdb7 # ChangeLog fixes
Merged ChangeLog entries go to the top, with the date of the merge.
It's a simple rule.
2015-01-30 00:01:24 -08:00
Paul Eggert
d7adc7d90f Spelling fix 2015-01-29 19:52:15 -08:00
Lars Magne Ingebrigtsen
0c7b0967d2 lisp/gnus/nnimap.el (nnimap-request-group): Make it possible to enter nnimap groups again 2015-01-29 14:02:04 +00:00
Lars Magne Ingebrigtsen
cfb1887189 lisp/gnus/nnimap.el (nnimap-request-group): nnimap group activation problems fixed 2015-01-29 09:20:48 +00:00
Jay Belanger
4ba343984f * lisp/calc/calc-units.el (calc-convert-exact-units): Improve the
simplification.
2015-01-28 21:37:24 -06:00
Jay Belanger
43fdb2a080 * lisp/calc/calc-units.el (math-consistent-units-p): Strengthen the
test for consistent units.
2015-01-28 21:29:58 -06:00
Jay Belanger
d1cb2f7855 * lisp/calc/calc-units.el (calc-convert-exact-units): New function.
(calc-convert-units): Check for missing units.

* lisp/calc/calc-ext.el (calc-init-extensions):  Autoload
`calc-convert-exact-units' and assign it a keybinding.

* lisp/calc/calc-help (calc-u-prefix-help): Add help for the
"un" keybinding.
2015-01-28 21:17:10 -06:00
Lars Magne Ingebrigtsen
212c818940 lisp/gnus/message.el (message-smtpmail-send-it): Make non-standard mail header separators work with smtpmail 2015-01-29 02:22:21 +00:00
Stefan Monnier
9a17d246ea * lisp/emacs-lisp/cl.el (cl--function-convert): Simplify. 2015-01-28 08:18:50 -05:00
Tassilo Horn
8a8bd38fed Fix issues with BibTeX entries containing ")".
* textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
punctuation syntax since to allow bibtex fields with values such
as {Test 1) and 2)} (bug#19205, bug#19707).
(reftex--prepare-syntax-tables): New function.
(reftex-mode): Use it.
2015-01-28 10:36:17 +01:00
Lars Ingebrigtsen
173ac1caac lisp/gnus/nnimap.el (nnimap-request-group): nnimap group request bug fix 2015-01-28 06:59:06 +00:00
Paul Eggert
39c2fa3f4e Merge from gnulib and try to repair bad merge
This attempts to repair problems introduced by the bad merge
5491fd1098.  The easiest way for me
to fix the badly-merged gnulib files was to run
'admin/merge-gnulib', so I did that, which also imported the
following changes:
* build-aux/update-copyright, m4/gnulib.m4:
Update from gnulib, incorporating:
2015-01-15 time: port to MinGW32 3.21
2015-01-15 update-copyright: apply to self
2015-01-11 update-copyright: recognize groff's \(co marker
2015-01-27 22:24:47 -08:00
Elias Oltmanns
0cdd599c54 nnimap `never' expiration fix
* nnimap.el (nnimap-find-expired-articles): Fix handling of
(expiry-wait . never).
2015-01-28 16:35:59 +11:00
Fabián Ezequiel Gallina
5491fd1098 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2015-01-28 01:31:15 -03:00
Fabián Ezequiel Gallina
028ddef7a2 Cleanup lisp/ChangeLog 2015-01-28 01:31:06 -03:00
Fabián Ezequiel Gallina
95a2cb24b0 Merge from origin/emacs-24
9664def Signal a file-error from directory-files on MS-Windows  (Bug#19701)
fd4e65e Added missing test for previous commit
5485e3e5 python.el: New non-global state dependent indentation engine.
3b23e6a Fix the description of --insert command-line option  (Bug#19694)
7a7e594 Add a cross-reference in ELisp manual.  (Bug#19668)
b4f4075 Fixes: debbugs:19660
83b3c31 * test/automated/regexp-tests.el: Require regexp-opt

Conflicts:
	lisp/progmodes/python.el
2015-01-28 01:08:18 -03:00
Fabián Ezequiel Gallina
33ab7ee0ed Merge from origin/emacs-24
8ee825c doc/emacs/programs.texi (Custom C Indent): Fix a typo.  (Bug#19647)
88ba49f Fix coding.c subscript error
3ea1b31 Prevent artist-mode from creating runaway timers (Bug#6130).
2015-01-28 01:03:46 -03:00
Fabián Ezequiel Gallina
294127e7d5 Merge from origin/emacs-24
24aacfc Improve documentation of buttons  (Bug#19628)
52ae3db doc/lispref/text.texi (Clickable Text): Improve indexing.  (Bug#19629)
310f707 lisp/button.el (button-activate, push-button): Doc fix.  (Bug#19628)
3ee38f2 Disallow w32 builds --without-toolkit-scroll-bars.
e6518fc Fix display of images in R2L screen lines
b0af674 Use u+05f4 in TUTORIAL.he.
2015-01-28 01:03:45 -03:00
Fabián Ezequiel Gallina
4d0108a132 Merge from origin/emacs-24
a3505cb doc/lispref/variables.texi (Creating Buffer-Local): Improve indexing (Bug#19608)
d132c7b erc-backend.el: Give hook-name a default value of nil and add-to-list unconditionally. Fixes debbugs:19363
61cc7bf Fix support of non-ASCII frame titles on MS-Windows  (Bug#19590)
1e5902a * filenotify.el (file-notify--descriptor): Do not cons for remote files.
b1ea160 Handle watching of several files in the same directory for inotify.
2015-01-28 01:03:45 -03:00
Fabián Ezequiel Gallina
b0edd7c69d Merge from origin/emacs-24
b544ab5 Fix return value of vertical-motion at ZV  (Bug#19553)
1f179ea Fix encoding of I/O in net-utils.el for MS-Windows.  (Bug#19458)
70f298f Fix the description of -nl in --help text.  (Bug#19542)
2015-01-28 01:03:44 -03:00
Fabián Ezequiel Gallina
e57f766d3c Merge from origin/emacs-24
2a57b7e Fixes: debbugs:18756

Conflicts:
	lisp/ChangeLog
2015-01-28 01:03:22 -03:00
Fabián Ezequiel Gallina
d7a89815b6 Merge from origin/emacs-24
d279e66 Fix assertion violations in try_window_id (Bug#19511)
031eadc Fix dired quoting bug with "Hit`N`Hide"
5981b4b More doc fixes for bug#19502 -- make documentation less X-specific.
143516c src/emacs.c (syms_of_emacs) <system-configuration>: Doc fix.  (Bug#19502)
2015-01-28 00:59:34 -03:00
Stefan Monnier
2668ac1aae Tighten up the tagcode used for eieio and cl-struct objects
* lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
slot of the tag symbol to :quick-object-witness-check.
(eieio-object-p): Use :quick-object-witness-check.
(eieio--generic-tagcode): Use cl--generic-struct-tag.
* lisp/emacs-lisp/cl-preloaded.el: New file.
* lisp/emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
(cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
(cl--make-usage-args): Strip away &aux args.
(cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
(cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
(cl-defstruct): Use `declare' and cl-struct-define.
* lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
(cl--generic-struct-tagcode): Use it to tighten the tagcode.
* lisp/loadup.el: Load cl-preloaded.
* src/lisp.mk (lisp): Add cl-preloaded.
2015-01-27 22:41:31 -05:00
Lars Magne Ingebrigtsen
7f4f16b3ae Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2015-01-28 14:21:33 +11:00
Fabián Ezequiel Gallina
8e9166c92c Merge from origin/emacs-24
a012c7b Fix copyright years by hand
732fd4c Update copyright year to 2015

Conflicts:
	INSTALL.REPO
	admin/notes/lel-TODO
	doc/man/grep-changelog.1
	doc/misc/eww.texi
	etc/CONTRIBUTE
	etc/GNU
	etc/NEWS
	etc/refcards/emacsver.tex
	etc/refcards/ru-refcard.tex
	lib-src/grep-changelog
	lib-src/test-distrib.c
	lib/alloca.in.h
	lib/binary-io.h
	lib/c-ctype.h
	lib/c-strcasecmp.c
	lib/c-strncasecmp.c
	lib/careadlinkat.c
	lib/close-stream.c
	lib/dosname.h
	lib/dup2.c
	lib/filemode.h
	lib/fpending.c
	lib/fpending.h
	lib/getgroups.c
	lib/getloadavg.c
	lib/getopt.in.h
	lib/getopt1.c
	lib/getopt_int.h
	lib/gettext.h
	lib/gettime.c
	lib/gettimeofday.c
	lib/group-member.c
	lib/md5.c
	lib/md5.h
	lib/memrchr.c
	lib/sha1.c
	lib/sig2str.c
	lib/stdarg.in.h
	lib/stdbool.in.h
	lib/stdlib.in.h
	lib/strftime.c
	lib/strtoimax.c
	lib/strtol.c
	lib/strtoll.c
	lib/strtoull.c
	lib/tempname.c
	lib/time_r.c
	lib/unsetenv.c
	lib/xalloc-oversized.h
	lisp/gnus/gnus-setup.el
	lisp/progmodes/cap-words.el
	lisp/w32-common-fns.el
	m4/alloca.m4
	m4/dup2.m4
	m4/filemode.m4
	m4/getgroups.m4
	m4/getloadavg.m4
	m4/gettime.m4
	m4/gettimeofday.m4
	m4/gnulib-common.m4
	m4/group-member.m4
	m4/manywarnings.m4
	m4/memrchr.m4
	m4/mktime.m4
	m4/pathmax.m4
	m4/pthread_sigmask.m4
	m4/sig2str.m4
	m4/ssize_t.m4
	m4/st_dm_mode.m4
	m4/stat-time.m4
	m4/stdarg.m4
	m4/stdbool.m4
	m4/stddef_h.m4
	m4/stdio_h.m4
	m4/strftime.m4
	m4/strtoimax.m4
	m4/strtoll.m4
	m4/strtoull.m4
	m4/strtoumax.m4
	m4/time_h.m4
	m4/timer_time.m4
	m4/timespec.m4
	m4/unistd_h.m4
	m4/utimbuf.m4
	nextstep/README
	nt/addsection.c
	src/insdel.c
	src/w32heap.c
	test/automated/package-x-test.el
2015-01-28 00:09:39 -03:00
Joakim Verona
ac94737e8d First attempt at bookmark support 2015-01-28 01:02:43 +01:00
Katsumi Yamaoka
be2d23e587 lisp/emacs-lisp/cl.el (cl--function-convert): Merge cache that cl--labels-convert adds (bug#19699) 2015-01-27 23:55:26 +00:00
Ivan Shmakov
a56eab8259 Allow for adding new members to Tar archives.
* lisp/tar-mode.el: Allow for adding new archive members.
(tar-new-regular-file-header, tar--pad-to, tar--put-at)
(tar-header-serialize): New functions.
(tar-current-position): Split from tar-current-descriptor.
(tar-current-descriptor): Use it.
(tar-new-entry): New command.
(tar-mode-map): Bind it.
* doc/emacs/files.texi (File Archives): Document "I" for tar-new-entry.
* etc/NEWS: Mention the new tar-new-entry command.

Fixes: debbugs:19274
2015-01-27 21:56:57 +00:00
Joakim Verona
2a9de01372 Merge branch 'master' into xwidget 2015-01-27 20:38:56 +01:00
Sam Steingold
bd7a1e1564 minor tweaks for `python-check'
* lisp/progmodes/python.el (python-check-custom-command): Buffer local
because it usually includes the buffer name.
(python-check-command): Set to epylint when pyflakes is not available.
2015-01-27 13:20:57 -05:00
Thomas Fitzsimmons
3a546663b9 EUDC: New maintainer
* net/eudcb-bbdb.el, net/eudcb-ldap.el, net/eudcb-mab.el,
net/eudc-bob.el, net/eudcb-ph.el, net/eudc.el, net/eudc-export.el,
net/eudc-hotlist.el, net/eudc-vars.el: New maintainer.
2015-01-27 10:17:24 -05:00
Artur Malabarba
98715c6c24 isearch.el (isearch-process-search-char): Add docstring. 2015-01-27 11:39:27 -02:00