Stefan Monnier
09ffa822f8
* emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
...
of :smie-open/close-alist.
(smie-next-sexp): Make it accept a "start token" as argument.
(smie-indent-keyword): Be careful not to misidentify tokens that span
more than one line, as empty lines. Add argument `token'.
2010-11-26 16:33:21 -05:00
Stefan Monnier
e2f454c4be
* emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
...
that are both openers (resp. closers) and something else.
(smie-grammar): Loosen definition of valid values.
(smie-next-sexp, smie-down-list, smie-blink-matching-open)
(smie-indent--parent, smie-rule-parent, smie-indent-keyword)
(smie-indent-after-keyword): Adjust users.
(smie-indent-keyword): Don't indent empty lines.
2010-11-17 14:59:16 -05:00
Glenn Morris
4c0eb0d3db
autoload.el fix for bug#7414.
...
* lisp/emacs-lisp/autoload.el (autoload-find-destination): The
function coding-system-eol-type may return non-numeric values.
2010-11-16 19:47:16 -08:00
Stefan Monnier
10b40d2ef6
* lisp/emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
...
when filling the remaining "unconstrained" values.
2010-11-11 20:33:28 -05:00
Stefan Monnier
acef0722fc
* lisp/files.el (safe-local-variable-p): Gracefully handle errors.
...
* lisp/emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
safety predicate.
2010-11-11 17:19:01 -05:00
Stefan Monnier
7bea8c7a92
* lisp/emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
...
Use smie-indent-virtual when indenting relative to an opener.
(smie-rule-separator): Use smie-rule-parent.
(smie-indent-keyword): Consult rules, even for openers at bol.
(smie-indent-comment-close): Try to align closer's content.
2010-11-11 00:08:25 -05:00
Stefan Monnier
7f925a67c1
* lisp/emacs-lisp/smie.el: New package.
2010-11-07 10:52:33 -05:00
Chong Yidong
a8c41b4c0d
Don't allow functions that display messages in unsafep.
...
* emacs-lisp/unsafep.el: Don't mark functions that display
messages as safe. Suggested by Johan Bockgård.
2010-10-18 13:28:20 -04:00
Stefan Monnier
a7769c3060
(regexp-opt-group, regexp-opt-charset): Turn comments into docstrings
2010-10-17 14:59:58 -04:00
Juanma Barranquero
c0943d3db2
Fix typos in docstrings, comments and ChangeLogs.
...
* etc/tutorials/TUTORIAL.es: Fix typos.
* lisp/cedet/semantic/symref/list.el (semantic-symref-list-rename-open-hits):
Fix typo in message.
(semantic-symref-list-map-open-hits): Fix typo in docstring.
* lisp/erc/erc-xdcc.el (erc-xdcc-help-text): Fix typo in docstring.
* lisp/gnus/nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring.
* lisp/international/mule.el (define-coding-system):
* lisp/international/titdic-cnv.el (quail-cxterm-package-ext-info):
* composite.el (compose-region): Fix typo in docstring.
* lisp/org/org-agenda.el (org-prefix-category-length)
(org-prefix-category-max-length): Fix typos in docstrings.
* src/font.c (Ffont_variation_glyphs):
* ccl.c (Fccl_execute_on_string): Fix typo in docstring.
2010-10-13 01:25:19 +02:00
Stefan Monnier
4c5281974f
* lisp/emacs-lisp/lisp.el (lisp-completion-at-point):
...
Use emacs-lisp-mode-syntax-table for the whole function.
2010-10-09 17:43:43 +02:00
Glenn Morris
d15f9a2b49
Rename another shadow.el function.
...
* lisp/emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
(load-path-shadows-find): ... to this.
(list-load-path-shadows): Update for above change.
2010-10-08 17:44:53 -07:00
Glenn Morris
5823f53fc2
* emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2010-10-07 20:08:32 -07:00
Glenn Morris
e5d495899c
Rename some shadow.el things.
...
* lisp/emacs-lisp/shadow.el (lisp-shadow): Change prefix.
(shadows-compare-text-p): Make it an obsolete alias for...
(load-path-shadows-compare-text): ... new name.
(find-emacs-lisp-shadows): Update for above name change.
(load-path-shadows-same-file-or-nonexistent): New name for the old
shadow-same-file-or-nonexistent.
2010-10-07 20:05:09 -07:00
Andreas Schwab
c19f76a18b
* emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Avoid
...
infinite recursion on erroneous lambda form. (Bug#7114)
2010-09-27 19:14:58 +02:00
Stefan Monnier
9e0d4f9ef1
* lisp/emacs-lisp/float-sup.el (float-pi): New name for `pi'.
...
(float-e): New name for `e'.
(degrees-to-radians, radians-to-degrees):
* lisp/calendar/solar.el (solar-longitude):
* lisp/calculator.el (calculator-registers, calculator-funcall):
* lisp/textmodes/artist.el (artist-spray-random-points):
* lisp/play/bubbles.el (bubbles--initialize-images): Use new names.
2010-09-19 11:49:21 +02:00
Eric M. Ludlam
a2930e438b
Update to CEDET 1.0's version of EIEIO.
...
* emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key): New
function.
(eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
(eieio-default-eval-maybe): Eval val instead of unquoting only.
(class-precedence-list): If class is nil, return nil.
(eieio-generic-call): If class of first input arg is nil, don't
look up static methods, and do check for primary methods.
(initialize-instance): See if the default needs to be evaluated
during the constructor.
(eieio-perform-slot-validation-for-default): Don't do the check
for values that will eventually be evaluated.
(eieio-eval-default-p): New function.
(eieio-default-eval-maybe): Use it.
* emacs-lisp/eieio.el (eieio-defclass): Allow :c3
method-invocation-order.
(eieio-c3-candidate, eieio-c3-merge-lists): New functions.
(eieio-class-precedence-dfs): Compute class precedence list using
dfs algorithm.
(eieio-class-precedence-bfs): Compute class precedence list using
bfs algorithm.
(eieio-class-precedence-c3): compute class precedence list using
c3 algorithm.
(class-precedence-list): New function.
(eieiomt-method-list, eieiomt-sym-optimize): Use it.
(inconsistent-class-hierarchy): New error symbol.
(call-next-method): Stow the replacement argument list for future
call-next-method invocations.
2010-09-19 00:23:57 -04:00
Stefan Monnier
f3a30a50fa
* subr.el (unintern): Declare the obarray arg mandatory.
...
* emacs-lisp/byte-run.el (set-advertised-calling-convention):
Add `when' argument. Update callers.
2010-09-14 13:11:44 +02:00
Stefan Monnier
19fe13dfd1
* emacs-lisp/rx.el (rx-any): Don't explode ranges that end in - or ].
...
(rx-any-condense-range): Explode 2-char ranges.
Fixes: debbugs:6984
2010-09-05 11:44:55 +02:00
Chong Yidong
bc7d7ea63b
Doc fix for define-minor-mode (Bug#6880).
...
* doc/lispref/modes.texi (Defining Minor Modes): Doc fix (Bug#6880).
* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
2010-08-22 15:30:26 -04:00
MON KEY
9aea20c9f8
* lisp/emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): Fix typo in docstring.
...
Fixes: debbugs:6747
2010-08-01 02:24:55 +02:00
Leo Liu
a354ac6a0c
emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
2010-06-29 14:09:07 +02:00
Andreas Schwab
15b72850c1
Update cl-loaddefs.el
2010-06-26 20:49:18 +02:00
Helmut Eller
37a7e764e8
Close bug#6408.
...
* lisp/emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
used by cl-do-arglist.
2010-06-12 00:06:15 -07:00
Stefan Monnier
989bc97f04
* lisp/emacs-lisp/advice.el (ad-compile-function):
...
Define warning-suppress-types before we let-bind it.
Fixes: debbugs:6275
2010-06-08 21:18:31 -04:00
Stefan Monnier
dd9b52a693
* emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
...
Add delete-backward-char.
2010-05-24 17:01:10 -04:00
Glenn Morris
0ca1259846
* emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
2010-04-20 00:54:28 -07:00
Juanma Barranquero
c8de140b34
Fix typos in docstrings.
...
* image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
(image-dired-read-comment): Doc fix.
* json.el (json-object-type, json-array-type, json-key-type, json-false)
(json-null, json-read-number):
* minibuffer.el (completion-in-region-functions):
* calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
(cal-tex-cursor-week):
* emacs-lisp/trace.el (trace-function):
* eshell/em-basic.el (eshell/printnl):
* eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
(eshell-read-last-dir-ring, eshell-write-last-dir-ring):
* obsolete/levents.el (allocate-event, event-key, event-object)
(event-point, event-process, event-timestamp, event-to-character)
(event-window, event-x, event-x-pixel, event-y, event-y-pixel):
* textmodes/reftex-vars.el (reftex-index-macros-builtin)
(reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
(reftex-cite-punctuation, reftex-search-unrecursed-path-first)
(reftex-highlight-selection): Fix typos in docstrings.
2010-03-22 17:50:29 +01:00
Glenn Morris
eb123b1295
Close bug#4427.
...
* emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
* emacs-lisp/cl-loaddefs.el: Regenerate.
2010-03-11 19:19:17 -08:00
Chong Yidong
de3a1fe935
Fix more save-excursion warnings.
...
* textmodes/reftex-toc.el (reftex-toc-promote-prepare):
* emacs-lisp/elint.el (elint-add-required-env):
* cedet/semantic/db-find.el (semanticdb-find-translate-path-brutish-default):
* cedet/ede/make.el (ede-make-check-version):
* calendar/icalendar.el (icalendar--add-diary-entry):
* calc/calcalg2.el (math-tracing-integral): Use with-current-buffer instead of save-excursion.
2010-02-27 20:22:44 -05:00
Glenn Morris
b788a98d13
* emacs-lisp/authors.el (authors-renamed-files-alist):
...
Add entries for INSTALL.CVS.
2010-02-17 22:05:45 -08:00
Stefan Monnier
ad10faa16f
(ad-compile-function): Fix last change.
2010-02-15 15:03:22 -05:00
Stefan Monnier
2b8c974a6f
(ad-compile-function): Suppress byte-compiler warnings, since it is annoying
...
for the user to see them each time he runs the code.
2010-02-15 14:55:51 -05:00
Juanma Barranquero
fa5f7c5f63
Fix typos in docstrings.
...
* outline.el (outline-head-from-level):
* simple.el (with-wrapper-hook):
* cedet/ede.el (ede-run-target, project-delete-target)
(project-dist-files, ede-name, ede-documentation, ede-parent-project)
(ede-adebug-project, ede-adebug-project-parent)
(ede-adebug-project-root):
* emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
(elint-defun, elint-buffer-env, elint-top-form-logged)
(elint-unbound-variable):
* textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
2010-02-14 18:28:10 +01:00
Glenn Morris
ac59f99d91
(aelement): Fix typo in previous.
2010-01-23 19:58:14 -08:00
Chong Yidong
02c6d0d0f2
* emacs-lisp/advice.el (ad-set-orig-definition): Fix typo (Bug#3541).
2010-01-23 18:05:16 -05:00
Chong Yidong
245e0fafb7
* emacs-lisp/assoc.el (aelement): Doc fix.
2010-01-23 17:46:32 -05:00
Chong Yidong
064eee0324
* emacs-lisp/assoc.el (aput, adelete, amake): Use lexical-let (Bug#5450).
2010-01-23 17:44:03 -05:00
Juanma Barranquero
db9e401b3b
Fix typos in docstrings, error messages, etc.
2010-01-18 05:39:40 +01:00
Chong Yidong
bbdc98eff1
* emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
2010-01-16 16:20:43 -05:00
Chong Yidong
c7dc1ac114
* emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
2010-01-16 15:04:29 -05:00
Mario Lang
045b9da787
Mario Lang <mlang@delysid.org>: Remove some duplicated words.
...
* cedet/ede/cpp-root.el (ede-cpp-root-project):
* cedet/ede/files.el (ede-expand-filename):
* cedet/ede/simple.el (ede-simple-project):
* cedet/semantic/complete.el (semantic-complete-read-tag-engine)
(semantic-complete-inline-tag-engine):
* cedet/semantic/db-el.el (semanticdb-equivalent-mode):
* cedet/semantic/db-global.el (semanticdb-equivalent-mode):
* cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
* cedet/semantic/db.el (semanticdb-equivalent-mode):
* cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
* cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
* emacs-lisp/chart.el (chart-translate-namezone):
* textmodes/artist.el (artist-compute-popup-menu-table):
Remove duplicated words in doc-strings.
* srecode/doc-cpp.srt, srecode/doc-default.srt:
* srecode/doc-java.srt: Remove duplicated words.
* ede.texi (ede-target):
* org.texi (Refiling notes): Remove duplicated words.
2010-01-15 18:51:50 -08:00
Juanma Barranquero
d1f18ec092
Fix typos in docstrings.
2010-01-14 19:59:31 +01:00
Juanma Barranquero
d77b5977da
Update autoload checksums.
2010-01-13 13:34:53 +01:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Eli Zaretskii
af414f10d8
emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Make
...
the lines in the generated doc string shorter. (Bug#4668)
2010-01-02 19:33:54 +02:00
Andreas Schwab
3616e0b970
(batch-update-autoloads): Only exclude
...
unconditionally preloaded files.
2009-12-17 00:21:47 +00:00
Glenn Morris
fe03f49a4a
(emacs-lisp-mode-map): Standardize the capitalization of some menu entries.
2009-12-11 01:20:04 +00:00
Stefan Monnier
1c67aeaafb
Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
...
* emacs-lisp/autoload.el (autoload-generate-file-autoloads):
Disregard autoload-excludes.
(update-directory-autoloads): Obey autoload-excludes here instead.
But don't store its contents in no-autoloads and remove entries that
refer to excludes files.
2009-12-10 08:46:54 +00:00
Stefan Monnier
51ef56c47f
* minibuffer.el (completion-at-point-functions): New var.
...
(completion-at-point): New command.
* indent.el (indent-for-tab-command): Handle the new `complete' behavior.
* progmodes/python.el (python-mode-map): Use completion-at-point.
(python-completion-at-point): Rename from python-partial-symbol and
adjust for use in completion-at-point-functions.
(python-mode): Setup completion-at-point for Python completion.
* emacs-lisp/lisp.el (lisp-completion-at-point): New function
extracted from lisp-complete-symbol.
(lisp-complete-symbol): Use it.
* emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
setup completion-at-point for Elisp completion.
(emacs-lisp-mode-map, lisp-interaction-mode-map): Use completion-at-point.
* ielm.el (ielm-map): Use completion-at-point.
(inferior-emacs-lisp-mode): Setup completion-at-point for Elisp completion.
* progmodes/sym-comp.el: Move to...
* obsolete/sym-comp.el: Move from progmodes.
2009-12-07 20:06:26 +00:00