aboutsummaryrefslogtreecommitdiffstats
path: root/lisp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* lisp/progmodes/python.el: Updated Copyright years.old-branches/pythonFabián Ezequiel Gallina2012-06-141-1/+1
|
* Merge from trunkFabián Ezequiel Gallina2012-06-14222-9334/+12632
|\
| * * lisp/emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.Stefan Monnier2012-06-143-23/+14
| | | | | | | | | | (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro): Use `cl-function' instead.
| * lisp/makefile.w32-in (COMPILE_FIRST): Remove subr.el.Juanma Barranquero2012-06-152-1/+5
| | | | | | | | Suggested by Stefan Monnier while discussing bug#11657.
| * * lisp/files.el (abort-if-file-too-large): Use `file-size-human-readable'.Sam Steingold2012-06-142-2/+6
| |
| * Fixes: debbugs:11708Andreas Schwab2012-06-142-37/+45
| | | | | | | | | | | | * play/doctor.el (doctor-doc): Remove parameter and use doctor-sent instead of sent. (doctor-read-print): Use doctor-sent instead of sent.
| * Auto-commit of loaddefs files.Glenn Morris2012-06-141-1/+1
| |
| * * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.Stefan Monnier2012-06-133-12/+22
| | | | | | | | | | * lisp/files.el: Require cl-lib. (file-name-non-special): Replace case -> cl-case.
| * lisp/url/url-handlers.el (url-handler-regexp): Declare.Juanma Barranquero2012-06-132-0/+6
| |
| * * lisp/emacs-lisp/edebug.el (edebug-read-function): Remove old incorrectStefan Monnier2012-06-132-2/+6
| | | | | | | | mapping from #' to function*.
| * Do not set mark on single mouse-1 clicks.Chong Yidong2012-06-132-6/+14
| | | | | | | | | | | | | | * mouse.el (mouse-drag-track): Do not set the mark if the user releases the mouse without selecting anything. Fixes: debbugs:11588
| * * lisp/textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB.Stefan Monnier2012-06-132-1/+6
| | | | | | | | Fixes: debbugs:11646
| * * lisp/loadup.el: Count byte-code functions as well.Stefan Monnier2012-06-132-2/+6
| |
| * * lisp/emacs-lisp/byte-opt.el (featurep): Move compiler-macro...Stefan Monnier2012-06-133-10/+13
| | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (featurep): ...here. Fixes: debbugs:11692
| * * lisp/emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt.Stefan Monnier2012-06-132-2/+8
| | | | | | | | | | | | Add cl-defun and cl-defmacro. Fixes: debbugs:11649
| * * lisp/help-mode.el (help-bookmark-make-record, help-bookmark-jump):Drew Adams2012-06-132-29/+33
| | | | | | | | Fix last change.
| * * net/dbus.el (dbus-call-method): Use timeout for `read-event'.Michael Albinus2012-06-132-1/+6
| | | | | | | | Otherwise, it blocks in batch mode.
| * lisp/help-mode.el (bookmark-make-record-default): Declare.Juanma Barranquero2012-06-132-0/+6
| |
| * Auto-commit of loaddefs files.Glenn Morris2012-06-131-1/+1
| |
| * In the Package Menu, indicate packages that are newly-available.Chong Yidong2012-06-132-27/+58
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (list-packages): Compute a list of packages that are newly-available since the last list-packages invocation. (package-menu--new-package-list): New var. (package-menu--generate, package-menu--print-info) (package-menu--status-predicate, package-menu-mark-install): Handle new status label "new".
| * * lisp/emacs-lisp/cl-macs.el (cl-remf): Fix error in recentStefan Monnier2012-06-122-1/+6
| | | | | | | | conversion to backquotes.
| * * url-handlers.el: Re-order file to avoid recursive load.Chong Yidong2012-06-122-15/+18
| |
| * Various minor variable/hook cleanups.Chong Yidong2012-06-1214-63/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings): Rename from gud-inhibit-global-bindings. * lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix. * lisp/erc/erc-dcc.el (erc-dcc-chat-filter-functions): Rename from erc-dcc-chat-filter-hook, since this is an abnormal hook. * lisp/nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal hook from nxml-glyph-set-hook. * lisp/progmodes/cwarn.el (cwarn-mode): Remove redundant variable declaration. * lisp/progmodes/pascal.el (pascal-toggle-completions): Doc fix. * lisp/textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path): Convert to defcustom. * lisp/url/url-handlers.el (url-handler-regexp): * lisp/url/url-nfs.el (url-nfs-automounter-directory-spec): * lisp/url/url-vars.el (url-load-hook): Convert to defcustom.
| * New input method vietnamese-vni.Nguyen Thai Ngoc Duy2012-06-121-1/+1
| | | | | | | | | | | | * leim/quail/vnvi.el: New file. Fixes: debbugs:11660
| * * lisp/help-mode.el (help-bookmark-make-record, help-bookmark-jump): New funs.Drew Adams2012-06-112-1/+41
| | | | | | | | (help-mode): Use them.
| * Merge bugfixes done in Gnus trunkGnus developers2012-06-112-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Those changes fix only the bugs having appeared in the bug list. Many other Gnus changes not yet merged to Emacs are in: ftp://ftp.jpl.org/pub/tmp/MaGnus-to-Emacs.patch (or http://www.jpl.org/ftp/pub/tmp/MaGnus-to-Emacs.patch) 2012-06-11 Lars Magne Ingebrigtsen <larsi@gnus.org> * gnus.texi (Group Timestamp): Mention where to find documentation for the `gnus-tmp-' variables (bug#11601). 2012-04-14 Wolfgang Jenkner <wjenkner@inode.at> * gnus-agent.el (gnus-agent-retrieve-headers): Recalculate the range of articles when fetch-old is non-nil (bug#11370).
| * Change face used for fortran.el directivesGlenn Morris2012-06-112-2/+8
| | | | | | | | | | | | * lisp/progmodes/fortran.el (fortran-font-lock-keywords-3): Use preprocessor face for directives. (fortran-directive-re): Doc fix.
| * * lisp/emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recentStefan Monnier2012-06-112-1/+5
| | | | | | | | | | | | conversion to backquotes. Fixes: debbugs:11652
| * Fix compiler-expansion of CL's cXXr functions.Stefan Monnier2012-06-115-80/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * emacs-lisp/cl-lib.el (cl--defalias): New function. (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first) (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it. (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth) (cl-ninth, cl-tenth): Mark them as inlinable. (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr) (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr) (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr) (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr): Add a compiler-macro declaration to use cl--compiler-macro-cXXr. (cl-list*, cl-adjoin): Don't put an autoload manually. * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin) (cl--compiler-macro-list*): Add autoload cookie. (cl--compiler-macro-cXXr): New function. * help-fns.el (help-fns--compiler-macro): New function extracted from describe-function-1; follow aliases and use `compiler-macro' property. (describe-function-1): Use it. Fixes: debbugs:11673
| * Tweak startup image choice logic.Chong Yidong2012-06-112-1/+7
| | | | | | | | | | * startup.el (fancy-splash-head): Use splash.svg even if librsvg is uninstalled, if imagemagick is installed.
| * Use lexical-binding for all of CL, and clean up its namespace.Stefan Monnier2012-06-1110-342/+339
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-lib.el: Use lexical-binding. (cl-map-extents, cl-maclisp-member): Remove. (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring) (cl--set-substring, cl--block-wrapper, cl--block-throw) (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix. * lisp/emacs-lisp/cl-extra.el: Use lexical-binding. (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals) (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save) (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf) (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix. * lisp/emacs-lisp/cl-seq.el: Use lexical-binding. (cl--parsing-keywords, cl--check-key, cl--check-test-nokey) (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes. (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec): * lisp/emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix. * lisp/edmacro.el (edmacro-mismatch): Simplify to remove dependence on CL's internals.
| * Sync with Tramp 2.2.6-pre.Michael Albinus2012-06-1111-667/+1230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind `print-length' and `print-level' to nil, in order to avoid truncation. Reported by Christopher Schmidt <christopher@ristopher.com>. * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process. * net/tramp-compat.el (tramp-compat-condition-case-unless-debug): New defmacro. (tramp-compat-copy-directory): Add optional argument COPY-CONTENTS. It is not handled yet. * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring. (tramp-ftp-file-name-p): Simplify. * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): * net/tramp-gw.el (tramp-gw-open-connection): Add hop to connection vector. * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring. (tramp-methods): Do not use `tramp-password-end-of-line'. (tramp-completion-function-alist-putty): Handle UNIX case. (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin". (tramp-do-file-attributes-with-stat) (tramp-do-directory-files-and-attributes-with-stat) Return uid and gid as real numbers. They could run out of integer range on cygwin. (tramp-do-copy-or-rename-file-out-of-band): Better trace format. (tramp-sh-handle-expand-file-name): Handle hops. (tramp-open-connection-setup-interactive-shell): Use `tramp-cleanup'. Move check for busyboxes ... (tramp-find-shell): ... here. Simplify implementation. Set "remote-shell" property also for alternative shells. (tramp-remote-coding-commands): Check "test -c /dev/stdout". If failing, a regular file would be written otherwise. Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>. (tramp-find-inline-encoding): Cache the coding commands in the process cache. Apply test command on the remote side, if defined. (tramp-find-inline-compress): Cache the compress commands in the process cache. (tramp-compute-multi-hops): Save `tramp-default-proxies-alist' when requested. Handle hops. (tramp-current-connection): New defvar. (tramp-maybe-open-connection): Use `tramp-cleanup'. Throw `suppress', if there was a failed connection shortly before. Handle user interrupt. (Bug#10187) (tramp-get-inline-compress, tramp-get-inline-coding): Read connection properties from the process cache. * net/tramp-smb.el (tramp-smb-server-version) (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar): New defconsts. (tramp-smb-prompt): Extend for powershell prompt. (tramp-smb-file-name-handler-alist): Add handlers for `process-file', `shell-command' and `start-file-process'. (tramp-smb-winexe-program, tramp-smb-winexe-shell-command) (tramp-smb-winexe-shell-command-switch): New defcustoms. (tramp-smb-file-name-p): Simplify. (tramp-smb-action-with-tar, tramp-smb-handle-process-file) (tramp-smb-kill-winexe-function, tramp-smb-call-winexe) (tramp-smb-shell-quote-argument): New defuns. (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument. Implement using "tar". By this, time-stamps are preserved. (tramp-smb-handle-copy-file): Handle also the case of directories. (tramp-smb-do-file-attributes-with-stat) (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities): Use `tramp-get-connection-buffer'). (tramp-smb-handle-rename-file): Use "rename", when source and target are on the same share. (tramp-smb-maybe-open-connection): Handle wrong passwords. Use `tramp-smb-server-version'. (tramp-smb-wait-for-output): Remove prompt. * net/tramp.el (top): Require 'cl. (tramp-methods, tramp-rsh-end-of-line): Remove `tramp-password-end-of-line' from docstring. (tramp-save-ad-hoc-proxies): New defcustom. (tramp-completion-function-alist): Adapt docstring. (tramp-default-password-end-of-line): Remove defcustom. (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065) (tramp-user-regexp, tramp-file-name-regexp-unified) (tramp-file-name-regexp-url): Extend regexp by hop separator. (tramp-postfix-hop-format, tramp-postfix-hop-regexp) (tramp-remote-file-name-spec-regexp): New defconst. (tramp-file-name-structure): Extend structure for hops. (tramp-get-method-parameter): Move up. (tramp-file-name-p, tramp-dissect-file-name) (with-parsed-tramp-file-name): Handle hops. (tramp-file-name-hop): New defun. (tramp-make-tramp-file-name): New optional arg HOP. (tramp-message-show-progress-reporter-message): New defvar. (tramp-with-progress-reporter): Use it. We cannot use `tramp-message-show-message' here, because this suppresses also error buffers. (tramp-error-with-buffer): Suppress buffer view, if `tramp-message-show-message' is nil. Use `tramp-get-connection-buffer'. (tramp-cleanup): New defun. (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'. (tramp-file-name-handler): If `debug-on-error' is set, propagate an error unchanged. (tramp-completion-handle-file-name-all-completions): Handle hops. Fix an error when called from ido. (tramp-completion-dissect-file-name): Use better local variable name. Add hop to the vector. (tramp-handle-insert-file-contents): Use progress-reporter for the whole scenario. (tramp-action-password): Let-bind `enable-recursive-minibuffers' to `t'. (tramp-check-for-regexp): Simplify search. (tramp-enter-password): Remove it. Move implementation ... (tramp-action-password): ... here. (tramp-mode-string-to-int, tramp-local-host-p) (tramp-make-tramp-temp-file, tramp-read-passwd) (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff): Set tramp-autoload cookie. * net/trampver.el: Update release number. * net/tramp.el (tramp-set-completion-function): Fix docstring. (tramp-parse-group, tramp-parse-file) (tramp-parse-shostkeys-sknownhosts): New defuns. (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts) (tramp-parse-shosts-group, tramp-parse-sconfig) (tramp-parse-sconfig-group, tramp-parse-shostkeys) (tramp-parse-sknownhosts, tramp-parse-hosts) (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc): Use them. (tramp-parse-passwd-group, tramp-parse-netrc-group) (tramp-parse-putty-group): Don't narrow. (tramp-parse-putty): Make a loop. (tramp-file-name-handler): Catch the `suppress' signal.
| * Give ImageMagick lowest priority in image-type-file-name-regexps.Chong Yidong2012-06-112-1/+9
| | | | | | | | | | * lisp/image.el (imagemagick-register-types): Put the ImageMagick entry at the end of image-type-file-name-regexps.
| * * lisp/emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.Johan Bockgård2012-06-102-3/+29
| | | | | | | | (pcase, pcase-let*, pcase-dolist): Use them.
| * * lisp/emacs-lisp/pcase.el (pcase--let*): New function.Stefan Monnier2012-06-102-72/+96
| | | | | | | | | | (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions. (pcase--expand): Use macroexp-let².
| * Merge bugfixes done in Gnus trunkGnus developers2012-06-103-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Those changes fix only the bugs having appeared in the bug list. Many other Gnus changes not yet merged to Emacs are in: ftp://ftp.jpl.org/pub/tmp/MaGnus-to-Emacs.patch (or http://www.jpl.org/ftp/pub/tmp/MaGnus-to-Emacs.patch) 2012-06-10 Lars Magne Ingebrigtsen <larsi@gnus.org> * gnus-group.el (gnus-group-get-new-news): Respect `gnus-group-use-permanent-levels', as documented (bug#11638). 2012-06-10 Dave Abrahams <dave@boostpro.com> * gnus-int.el (gnus-warp-to-article): Limit registry warping to real groups (bug#11641).
| * Reduce use of cl in lisp/emacs-lisp/.Stefan Monnier2012-06-1013-262/+245
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/timer.el, lisp/emacs-lisp/syntax.el, lisp/emacs-lisp/smie.el: * lisp/emacs-lisp/ewoc.el, lisp/emacs-lisp/cconv.el,lisp/emacs-lisp/derived.el: * lisp/emacs-lisp/byte-opt.el, lisp/emacs-lisp/autoload.el: Convert to cl-lib. * lisp/emacs-lisp/easymenu.el, lisp/emacs-lisp/easy-mmode.el: * lisp/emacs-lisp/bytecomp.el: Use pcase instead of `cl'. * lisp/emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
| * Merge from emacs-24; up to 2012-04-25T15:23:19Z!sdl.web@gmail.comChong Yidong2012-06-104-3/+17
| |\
| | * Regenerate ldefs-boot.el.emacs-24.1Chong Yidong2012-06-101-103/+100
| | |
| | * * mail/rmail.el (rmail-yank-current-message): Leave point at correct position.Glenn Morris2012-06-092-1/+6
| | | | | | | | | | | | Fixes: debbugs:11660
| | * * allout-widgets.el: Fix code headerChong Yidong2012-06-072-1/+5
| | |
| | * Bump version to 24.1.Chong Yidong2012-06-018-108/+140
| | | | | | | | | | | | | | | Add release logs. Regenerate AUTHORS and ldefs-boot.el.
| * | * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.Andreas Schwab2012-06-092-1/+5
| | |
| * | * ebuff-menu.el (electric-buffer-list): Preserve header line.Chong Yidong2012-06-092-1/+6
| | |
| * | Fix parallel bootstrap build in lisp/ on MS-Windows.Eli Zaretskii2012-06-092-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | Fix parallel builds: make sure loaddefs.el is not being written while Lisp files are compiled. lisp/makefile.w32-in (compile): Don't depend on 'mh-autoloads'. (compile-CMD, compile-SH): Depend on 'autoloads'. (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
| * | In special-display-popup-frame don't use window--display-buffer (Bug#11651).Martin Rudalics2012-06-092-5/+12
| | | | | | | | | | | | | | | * window.el (special-display-popup-frame): Don't use window--display-buffer (Bug#11651).
| * | Fix "lisp nesting exceeds max-lisp-eval-depth" errors on MS-Windows.Eli Zaretskii2012-06-092-1/+5
| | | | | | | | | | | | | | | | | | This happens during bootstrap; see bug#11649. lisp/makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.
| * | Doc improvements for face remapping.Chong Yidong2012-06-092-22/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * face-remap.el (face-remap-add-relative, face-remap-set-base) (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke): Doc fixes. * doc/lispref/display.texi (Face Remapping): Minor clarification. * doc/lispref/text.texi (Special Properties): Clarify the meaning of a list of faces in the `face' property. Fixes: debbugs:11225
| * | Don't autoload functions too eagerly during macroexpansion.Stefan Monnier2012-06-088-56/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload a function if there's a clear indication that it has a compiler-macro. * lisp/emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun) (macro-declarations-alist): Add arglist to declaration functions. (defun-declarations-alist): Add `obsolete' and `compiler-macro'. * lisp/emacs-lisp/cl-seq.el (cl-member, cl-assoc): * lisp/emacs-lisp/cl-lib.el (cl-list*, cl-adjoin): * lisp/emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement. Also add autoload to find the compiler macro. * lisp/emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove. (cl--compiler-macro-member, cl--compiler-macro-assoc) (cl--compiler-macro-adjoin, cl--compiler-macro-list*) (cl--compiler-macro-get): New functions, replacing calls to cl-define-compiler-macro. (cl-typep) [compiler-macro]: Use macroexp-let².
| * | Mark tiny changeGlenn Morris2012-06-081-1/+1
| | |