summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Merge from trunk.Eli Zaretskii2013-04-194-38/+254
|\
| * * lisp/bookmark.el (bookmark-completing-read): Improve handling of emptyThierry Volpiatto2013-04-192-16/+16
| | | | | | | | | | | | string. Fixes: debbugs:14176
| * * lisp/vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.Stefan Monnier2013-04-192-1/+7
| |
| * New faster Imenu implementation.Fabián Ezequiel Gallina2013-04-182-21/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/python.el: (python-imenu-prev-index-position): (python-imenu-format-item-label-function) (python-imenu-format-parent-item-label-function) (python-imenu-format-parent-item-jump-label-function): New vars. (python-imenu-format-item-label) (python-imenu-format-parent-item-label) (python-imenu-format-parent-item-jump-label) (python-imenu--put-parent, python-imenu--build-tree) (python-imenu-create-index, python-imenu-create-flat-index) (python-util-popn): New functions. (python-mode): Set imenu-create-index-function to python-imenu-create-index. * test/automated/python-tests.el (python-imenu-prev-index-position-1): Removed test. (python-imenu-create-index-1, python-imenu-create-flat-index-1): New tests. Fixes: debbugs:14058
* | Merge from trunk.Eli Zaretskii2013-04-1818-747/+861
|\|
| * * lisp/winner.el (winner-active-region): Use region-active-p, activate-markStefan Monnier2013-04-183-5/+10
| | | | | | | | | | | | | | and deactivate-mark. * lisp/simple.el (deactivate-mark): Don't inline it. Fixes: debbugs:14225
| * * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".Michael Albinus2013-04-182-1/+5
| |
| * * files.el (auto-mode-alist): Delete OpenDocument and StarOfficeTassilo Horn2013-04-182-1/+7
| | | | | | | | | | file extensions from the archive-mode entry in order to prefer doc-view-mode-maybe with archive-mode as fallback (bug#14188).
| * Add an additional key ? for describe-prefix-bindingsLeo Liu2013-04-182-1/+5
| |
| * * lisp/subr.el (with-wrapper-hook): Declare obsolete.Stefan Monnier2013-04-1710-674/+702
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/simple.el (filter-buffer-substring-function): New hook. (filter-buffer-substring): Use it. (filter-buffer-substring-functions): Mark obsolete. * lisp/minibuffer.el (completion-in-region-function): New hook. (completion-in-region): Use it. (completion-in-region-functions): Mark obsolete. * lisp/mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function. * lisp/abbrev.el (abbrev-expand-function): New hook. (expand-abbrev): Use it. (abbrev-expand-functions): Mark obsolete. * lisp/emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args and :filter-return. * lisp/org/org-agenda.el (org-agenda-mode): * lisp/org/org-indent.el (org-indent-mode): Use the `local' arg of add-hook/remove-hook.
| * * lisp/progmodes/python.el (python-nav--syntactically): Fix cornercasesFabián Ezequiel Gallina2013-04-172-22/+31
| | | | | | | | | | | | | | | | and do not care about match data. * test/automated/python-tests.el (python-nav-backward-defun-2) (python-nav-backward-defun-3, python-nav-forward-defun-2) (python-nav-forward-defun-3): New tests.
| * * lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Provide specializedStefan Monnier2013-04-173-35/+73
| | | | | | | | | | | | | | | | completion tables when completing error conditions and `declare' arguments. (lisp-complete-symbol, field-complete): Mark as obsolete. (check-parens): Unmatched parens are user errors. * lisp/minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
| * textmodes/flyspell.el: Don't check pre-word if buffer was switched.Agustín Martín2013-04-172-14/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If command changed the buffer, the decision may be made based on the current buffer even though it should based on the previous one. This may lead to false positives and more importantly to errors since `flyspell-pre-point' is buffer local so it may have unsanitised value (such as nil) in previous buffer. To be honest, I'm not sure how this can happen since `flyspell-pre-point' is set in previous buffer, but nonetheless, I've been encountering the error for quite some time and finally decided to fix it. Interestingly, line making `flyspell-pre-point' a buffer-local variable has a very revealing "Why?? --Stef" comment. To avoid the problem, change flyspell-check-pre-word-p so that it does not allow checking of pre-word if command changed buffer (ie. `flyspell-pre-buffer' is not current buffer).
| * ispell.el: use `comment-normalize-vars' in ispell-add-per-file-word-list ↵Agustín Martín2013-04-172-2/+14
| | | | | | | | (Bug #14214).
* | Merge from trunk.Eli Zaretskii2013-04-176-45/+163
|\|
| * New defun movement commands.Fabián Ezequiel Gallina2013-04-172-0/+67
| | | | | | | | | | | | | | | | | | * lisp/progmodes/python.el (python-nav--syntactically) (python-nav--forward-defun, python-nav-backward-defun) (python-nav-forward-defun): New functions. * test/automated/python-tests.el (python-nav-backward-defun-1) (python-nav-forward-defun-1): New tests.
| * * progmodes/python.el (python-syntax--context-compiler-macro): New defun.Fabián Ezequiel Gallina2013-04-162-12/+20
| | | | | | | | | | (python-syntax-context): Use named compiler-macro for backwards compatibility with Emacs 24.x.
| * Fix last changeLeo Liu2013-04-171-1/+1
| |
| * * progmodes/octave-mod.el (octave-mode-map): Fix key binding toLeo Liu2013-04-172-2/+6
| | | | | | | | octave-hide-process-buffer.
| * * lisp/vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names.Stefan Monnier2013-04-162-1/+6
| | | | | | | | Fixes: debbugs:14216
| * * lisp/progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):Jean-Philippe Gravel2013-04-162-7/+17
| | | | | | | | | | | | Fix adjustment of offset when receiving incomplete responses from GDB. Fixes: debbugs:14129
| * * lisp/progmodes/python.el (python-mode-skeleton-abbrev-table): Rename fromStefan Monnier2013-04-163-22/+46
| | | | | | | | | | | | | | | | | | | | python-mode-abbrev-table. (python-skeleton-define): Adjust accordingly. (python-mode-abbrev-table): New table that inherits from it so that python-skeleton-autoinsert does not affect non-skeleton abbrevs. * lisp/abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol. (abbrev-symbol): Use it. (abbrev--before-point): Use it since we already handle inheritance.
* | Fixed loadup.el bug in finding the last build number on Unix.Eli Zaretskii2013-04-161-1/+1
| |
* | Merge from trunk.Eli Zaretskii2013-04-162-2/+5
|\|
| * * progmodes/octave-mod.el (octave-mode-map): Remove redundant keyLeo Liu2013-04-172-2/+5
| | | | | | | | binding to info-lookup-symbol.
* | Fixed hard link to emacs.exe in non-MSYS build.Eli Zaretskii2013-04-161-1/+6
| |
* | Support emacs-XX.YY.ZZ.n and DOC-XX.YY.ZZ.n on Windows.Eli Zaretskii2013-04-161-6/+11
| |
* | Merge from trunk.Eli Zaretskii2013-04-1612-85/+259
|\|
| * lisp/gnus/ChangeLog: Fix last changeKatsumi Yamaoka2013-04-161-1/+1
| |
| * lisp/gnus/shr.el: Support <img src="data:...">David Edmondson2013-04-162-0/+24
| |
| * Fix typos in ChangeLogs.Juanma Barranquero2013-04-161-15/+14
| |
| * Silence byte-compiler warnings.Juanma Barranquero2013-04-164-3/+9
| | | | | | | | | | | | lisp/minibuffer.el (completion--twq-all): lisp/term/ns-win.el (ns-initialize-window-system): lisp/term/w32-win.el (w32-initialize-window-system): Mark unused argument.
| * * lisp/emacs-lisp/nadvice.el (add-function): Default simple vars to theirStefan Monnier2013-04-152-4/+6
| | | | | | | | global bindings.
| * * lisp/doc-view.el (doc-view-start-process): Handle url-handler directories.Stefan Monnier2013-04-152-2/+6
| |
| * * lisp/progmodes/ruby-mode.el (ruby-beginning-of-defun)Dmitry Gutov2013-04-162-11/+27
| | | | | | | | | | | | | | | | | | | | | | | | (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search' to nil. (ruby-end-of-defun): Remove the unused arg, change the docstring to reflect that this function is only used as the value of `end-of-defun-function'. (ruby-beginning-of-defun): Remove "top-level" from the docstring, to reflect an earlier change that beginning/end-of-defun functions jump between methods in a class definition, as well as top-level functions.
| * * lisp/minibuffer.el (minibuffer-complete): Don't just scrollStefan Monnier2013-04-152-3/+13
| | | | | | | | | | | | a *Completions* that's been iconified. (minibuffer-force-complete): Make sure repetitions do cycle when going through completion-in-region -> minibuffer-complete.
| * Correct the placement of c-cpp-delimiters when there're #s not at col 0.Alan Mackenzie2013-04-153-7/+17
| | | | | | | | | | | | | | | | * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and place a submatch around the #. * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP): Start a search at BOL. Put the c-cpp-delimiter category text propertiy on the #, not BOL.
| * * lisp/emacs-lisp/nadvice.el: Properly test names when adding advice.Stefan Monnier2013-04-152-5/+13
| | | | | | | | | | | | | | (advice--member-p): New arg `name'. (advice--add-function, advice-member-p): Use it. Fixes: debbugs:14202
| * Reformulate java imenu-generic-expression.Alan Mackenzie2013-04-152-38/+133
| | | | | | | | | | | | | | | | | | | | | | The old expression contained ill formed regexps. * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp) (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp) (cc-imenu-java-method-arg-regexp): New defconsts. (cc-imenu-java-build-type-args-regex): New defun. (cc-imenu-java-generic-expression): Fixed, to remove "ambiguous" handling of spaces in the regexp.
* | Merge from trunk.Eli Zaretskii2013-04-158-19/+58
|\|
| * ispell.el: No longer mark as wrong-by-flyspell words just accepted by ispell ↵Agustín Martín2013-04-152-0/+9
| | | | | | | | | | | | | | (bug #14178). textmodes/ispell.el (ispell-command-loop): Remove flyspell highlighting of a word when ispell accepts it (bug #14178).
| * * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,Michael Albinus2013-04-152-10/+20
| | | | | | | | | | | | | | uses code from the previous `ange-ftp-run-real-handler'. (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler' only in case that function exist. This is needed for proper unloading of Tramp.
| * * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.Tassilo Horn2013-04-153-7/+21
| | | | | | | | * textmodes/reftex.el (reftex-compile-variables): Use it.
| * lisp/gnus/nnir.el (nnir-request-set-mark): Make sure we are in the right groupAndrew Cohen2013-04-142-1/+7
| |
| * Spelling fixes.Paul Eggert2013-04-141-1/+1
| |
* | Merge from trunk, resolve conflicts.Eli Zaretskii2013-04-1431-336/+802
|\|
| * * lisp/files.el (normal-mode): Only use default major-mode if no other modeStefan Monnier2013-04-132-4/+8
| | | | | | | | | | | | was specified. Fixes: debbugs:14089
| * * lisp/emacs-lisp/trace.el (trace-values): New function.Stefan Monnier2013-04-132-0/+13
| |
| * * lisp/files.el: Allow : in local variables.Stefan Monnier2013-04-132-19/+25
| | | | | | | | | | | | | | (hack-local-variable-regexp): New var. (hack-local-variables-prop-line, hack-local-variables): Use it. Fixes: debbugs:14089
| * lisp/textmodes/bibtex.el (bibtex-search-entries): Bug fixRoland Winkler2013-04-132-13/+21
| |