1. 17 Jul, 2012 4 commits
  2. 16 Jul, 2012 4 commits
    • Fabián Ezequiel Gallina's avatar
      * progmodes/python.el: Simplified imenu implementation. · 758e556a
      Fabián Ezequiel Gallina authored
      (python-nav-jump-to-defun): Remove command.
      (python-mode-map): Use `imenu' instead.
      (python-nav-list-defun-positions-cache)
      (python-imenu-include-defun-type, python-imenu-make-tree)
      (python-imenu-subtree-root-label, python-imenu-index-alist):
      Remove vars.
      (python-nav-list-defun-positions, python-nav-read-defun)
      (python-imenu-tree-assoc, python-imenu-make-element-tree)
      (python-imenu-make-tree, python-imenu-create-index): Remove
      functions.
      (python-mode): Update to interact with imenu by setting
      `imenu-extract-index-name-function' only.
      758e556a
    • Fabián Ezequiel Gallina's avatar
      * progmodes/python.el: Enhancements to navigation commands. · 032d23ab
      Fabián Ezequiel Gallina authored
      (python-nav-backward-sentence)
      (python-nav-forward-sentence): Remove.
      (python-nav-backward-statement, python-nav-forward-statement)
      (python-nav-statement-start, python-nav-statement-end)
      (python-nav-backward-block, python-nav-forward-block)
      (python-nav-block-start, python-nav-block-end)
      (python-nav-forward-sexp-function)
      (python-info-current-line-comment-p)
      (python-info-current-line-empty-p): New functions.
      (python-indent-context): Use `python-nav-statement-start'.
      032d23ab
    • Michael Albinus's avatar
      * eshell/em-ls.el (eshell/ls): Use `apply'. · 9328d9aa
      Michael Albinus authored
      * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
      multi-hops, instead of Tramp internals.
      9328d9aa
    • Michael Albinus's avatar
      * vc/ediff.el (ediff-directories): Add trailing space to prompts. · 01795a1b
      Michael Albinus authored
      * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
      when F1 and F2 are located on different hosts.
      01795a1b
  3. 14 Jul, 2012 7 commits
  4. 13 Jul, 2012 6 commits
    • Andreas Schwab's avatar
      Fixes: debbugs:11938 · 7f5b3198
      Andreas Schwab authored
      * emacs-lisp/cl.el (labels): Remove spurious quote.
      7f5b3198
    • Juanma Barranquero's avatar
    • Juanma Barranquero's avatar
      lisp/loadup.el (top): Remove bogus `if' choice (brought by... · 97662200
      Juanma Barranquero authored
      lisp/loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
      97662200
    • Michael Albinus's avatar
      * progmodes/sql.el (sql-comint): Suppress the check for program on · 2bb1ae55
      Michael Albinus authored
      remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
      (Bug#11908)
      2bb1ae55
    • Chong Yidong's avatar
      Give permanent-local property to per-buffer variables without defaults. · dea31bd3
      Chong Yidong authored
      * doc/emacs/custom.texi (Examining): Update C-h v message.
      
      * lisp/bindings.el: Assign a non-nil permanent-local property to
      per-buffer variables which lack a default value.
      
      * lisp/help-fns.el (describe-variable): In the "automatically becomes
      local" notice, take note of permanent-local variables.
      
      Fixes: debbugs:11930
      dea31bd3
    • Chong Yidong's avatar
      Don't warn on toggle-read-only calls. · b68b3337
      Chong Yidong authored
      Clarify the documentation of toggle-read-only, and audit the code tree
      for uses of toggle-read-only; where appropriate, switch to setting the
      variable buffer-read-only or calling toggle-read-only with a (new)
      second arg.
      
      * lisp/files.el (toggle-read-only): Doc fix and code cleanup.  New arg
      to allow printing the message when called from Lisp.
      
      * lisp/emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
      Remove toggle-read-only.
      
      * lisp/bindings.el (mode-line-toggle-read-only):
      * lisp/dired.el (dired-toggle-read-only):
      * lisp/ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
      with non-nil second arg.
      
      * lisp/bs.el (bs-toggle-readonly):
      * lisp/buff-menu.el (Buffer-menu-toggle-read-only): Remove
      with-no-warnings around toggle-read-only.
      
      * lisp/ffap.el (ffap--toggle-read-only): Accept a list of buffers.
      Remove with-no-warnings around toggle-read-only.
      (ffap-read-only, ffap-read-only-other-window)
      (ffap-read-only-other-frame): Callers changed.
      
      * lisp/help-mode.el: Don't require view package.
      (help-mode-finish): Set buffer-read-only instead of calling
      toggle-read-only.
      
      * lisp/emacs-lisp/eieio-custom.el (eieio-customize-object):
      * lisp/vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
      directly.
      
      * lisp/gnus/smime.el (smime-certificate-info): Set buffer-read-only directly,
      instead of calling toggle-read-only with a (bogus) argument.
      
      * doc/emacs/buffers.texi (Misc Buffer): Document view-read-only.
      
      * doc/lispref/buffers.texi (Read Only Buffers): Document toggle-read-only
      changes.  Reword to account for the fact that read-only is currently not
      supported in overlay properties.
      b68b3337
  5. 12 Jul, 2012 2 commits
  6. 11 Jul, 2012 3 commits
    • Stefan Monnier's avatar
      More CL cleanups and reduction of use of cl.el. · a464a6c7
      Stefan Monnier authored
      * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
      * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
      * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
      * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
      * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
      * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
      * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
      * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
      * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
      * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
      * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
      * eshell/em-cmpl.el, eshell/em-banner.el:
      * url/url.el, url/url-queue.el, url/url-parse.el, url/url-http.el:
      * url/url-future.el, url/url-dav.el, url/url-cookie.el:
      * calendar/parse-time.el, test/eshell.el: Use cl-lib.
      * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
      * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
      * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
      * term/ns-win.el, term.el, shell.el, ps-samp.el:
      * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
      * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
      * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
      * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
      * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
      * mail/mailheader.el, mail/feedmail.el:
      * url/url-util.el, url/url-privacy.el, url/url-nfs.el, url/url-misc.el:
      * url/url-methods.el, url/url-gw.el, url/url-file.el, url/url-expand.el:
      Dont use CL.
      * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
      * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
      `lambda' rather than with `quote'.
      (eshell-do-opt): Adjust accordingly.
      (eshell-process-option): Simplify.
      * eshell/esh-var.el:
      * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
      * emacs-pcase.el (pcase--dontcare-upats, pcase--let*)
      (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
      to `pcase--dontcare'.
      * emacs-cl.el (labels): Mark obsolete.
      (cl--letf, letf): Move to cl-lib.
      (cl--letf*, letf*): Remove.
      * emacs-cl-lib.el (cl-nth-value): Use defalias.
      * emacs-cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
      (cl-progv): Rewrite.
      (cl--letf, cl-letf): Move from cl.el.
      (cl-letf*): New macro.
      * emacs-cl-extra.el (cl--progv-before, cl--progv-after): Remove.
      a464a6c7
    • Michael Albinus's avatar
    • Chong Yidong's avatar
      Allow use of vc-root-* commands in *vc-log* buffers. · 9af57756
      Chong Yidong authored
      * lisp/vc/log-edit.el (log-edit-vc-backend): New variable.
      (log-edit): Doc fix.
      
      * lisp/vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
      
      * lisp/vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
      argument of log-edit to set up all local variables.
      (vc-start-logentry): New optional arg specifying VC backend.
      
      * lisp/vc/vc.el (vc-checkin): Use it.
      (vc-deduce-fileset): Handle Log Edit buffers.
      (vc-diff): Make first argument optional too.
      9af57756
  7. 10 Jul, 2012 5 commits
    • Michael Albinus's avatar
      * eshell/esh-ext.el (eshell-remote-command): Remove remote part of · 8477cc7a
      Michael Albinus authored
      command, just in case.  The function is not needed anymore.
      (eshell-external-command): Do not call `eshell-remote-command'
      8477cc7a
    • Stefan Monnier's avatar
      Reduce use of (require 'cl). · f58e0fd5
      Stefan Monnier authored
      * admin/bzrmerge.el: Use cl-lib.
      * leim/quail/hangul.el: Don't require CL.
      * leim/quail/ipa.el: Use cl-lib.
      * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
      * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
      * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
      * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
      * international/quail.el, info-xref.el, imenu.el, image-mode.el:
      * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
      * battery.el, avoid.el, abbrev.el: Use cl-lib.
      * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
      * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
      * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
      * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
      * calculator.el, autorevert.el, apropos.el: Don't require CL.
      * emacs-bytecomp.el (byte-recompile-directory, display-call-tree)
      (byte-compile-unfold-bcf, byte-compile-check-variable):
      * emacs-byte-opt.el (byte-compile-trueconstp)
      (byte-compile-nilconstp):
      * emacs-autoload.el (make-autoload): Use pcase.
      * face-remap.el (text-scale-adjust): Simplify pcase patterns.
      f58e0fd5
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/gv.el (cond): Make it a valid place. · 2519d43a
      Stefan Monnier authored
      (if): Simplify slightly.
      2519d43a
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns". · 19faa8e8
      Stefan Monnier authored
      (pcase--self-quoting-p): New function.
      (pcase--u1): Use it.
      19faa8e8
    • Glenn Morris's avatar
      authors.el update for configure.ac renaming · c4907a5e
      Glenn Morris authored
      * lisp/emacs-lisp/authors.el (authors-fixed-entries):
      (authors-renamed-files-alist): Update for configure.in -> configure.ac.
      c4907a5e
  8. 09 Jul, 2012 4 commits
  9. 08 Jul, 2012 2 commits
  10. 07 Jul, 2012 3 commits