summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Jan Djärv2012-07-142-0/+14
|
* Fix electric-pair-mode/delete-selection-mode interaction.Chong Yidong2012-07-142-5/+11
| | | | | | | * lisp/electric.el (electric-pair-post-self-insert-function): Fix pair insertion in empty-region case. Fixes: debbugs:11520
* * rect.el (copy-rectangle-as-kill): New command.Reuben Thomas2012-07-144-27/+42
| | | | | | | | | * lisp/rect.el, lisp/register.el: Move bindings to bindings.el. * lisp/bindings.el: Consolidate ctl-x-r-map bindings. Bind copy-rectangle-as-kill to C-x r w. Fixes: debbugs:739
* Fix typos in ChangeLogs.Juanma Barranquero2012-07-145-67/+67
|
* Fixes: debbugs:11938Andreas Schwab2012-07-132-1/+5
| | | | * emacs-lisp/cl.el (labels): Remove spurious quote.
* lisp/bindings.el (top): Use `mapc' instead of `mapcar'.Juanma Barranquero2012-07-132-8/+10
|
* lisp/loadup.el (top): Remove bogus `if' choice (brought by ↵Juanma Barranquero2012-07-132-3/+5
| | | | 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
* * progmodes/sql.el (sql-comint): Suppress the check for program onMichael Albinus2012-07-132-7/+15
| | | | | remote hosts. Reported by Francis Devereux <francis@devrx.org>. (Bug#11908)
* Give permanent-local property to per-buffer variables without defaults.Chong Yidong2012-07-133-2/+26
| | | | | | | | | | | | * 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
* Don't warn on toggle-read-only calls.Chong Yidong2012-07-1315-63/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix byte-recompile-directory.Eli Zaretskii2012-07-122-1/+6
| | | | | lisp/emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf, not incf.
* Auto-commit of loaddefs files.Glenn Morris2012-07-121-21/+44
|
* More CL cleanups and reduction of use of cl.el.Stefan Monnier2012-07-11107-2386/+2330
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.Michael Albinus2012-07-112-1/+6
|
* Allow use of vc-root-* commands in *vc-log* buffers.Chong Yidong2012-07-115-23/+50
| | | | | | | | | | | | | | | * 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.
* * eshell/esh-ext.el (eshell-remote-command): Remove remote part ofMichael Albinus2012-07-102-2/+9
| | | | | command, just in case. The function is not needed anymore. (eshell-external-command): Do not call `eshell-remote-command'
* Reduce use of (require 'cl).Stefan Monnier2012-07-1057-728/+715
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * lisp/emacs-lisp/gv.el (cond): Make it a valid place.Stefan Monnier2012-07-102-16/+51
| | | | (if): Simplify slightly.
* * lisp/emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".Stefan Monnier2012-07-102-11/+26
| | | | | (pcase--self-quoting-p): New function. (pcase--u1): Use it.
* authors.el update for configure.ac renamingGlenn Morris2012-07-092-1/+7
| | | | | * lisp/emacs-lisp/authors.el (authors-fixed-entries): (authors-renamed-files-alist): Update for configure.in -> configure.ac.
* * ede/project-am.el: Fix typo.Andreas Schwab2012-07-102-1/+5
|
* gnus-sum.el: Merge changes made in Gnus masterGnus developers2012-07-092-10/+24
| | | | | | | | | 2012-07-09 Tassilo Horn <tassilo@member.fsf.org> * gnus-sum.el (gnus-summary-limit-to-author): Use default value instead of initial input when reading the author to restrict the summary to. 2012-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org> * gnus-sum.el (gnus-select-newsgroup): Don't assume that the group buffer exists, which it doesn't if we haven't started Gnus.
* Rename configure.in to configure.ac.Paul Eggert2012-07-089-16/+36
| | | | Fixes: debbugs:11603
* mm-decode.el (mm-shr): Allow overriding charset by mm-charset-override-alistKatsumi Yamaoka2012-07-092-1/+7
|
* Fix interaction of line-dragging with mouse-1-click-follows-link.Chong Yidong2012-07-083-99/+67
| | | | | | | | | | * lisp/mouse.el (mouse-drag-line): Rewrite the track-mouse loop. Implement the mouse-1-click-follows-link handling properly. * lisp/info.el (Info-link-keymap): Use follow-link mechanism for header-line links. Fixes: debbugs:374
* Do not steal primary selection on mark deactivation.Chong Yidong2012-07-082-1/+10
| | | | | | | * lisp/simple.el (deactivate-mark): Do not set the primary selection if another program has acquired it. Fixes: debbugs:11772
* Fix ChangeLog typos.Juanma Barranquero2012-07-081-24/+24
|
* * woman.el (woman2-process-escapes): Handle nofill regions.Kevin Ryde2012-07-072-2/+5
| | | | Fixes: debbugs:11591
* * woman.el (woman-strings): Fix double-quote handling.Kevin Ryde2012-07-072-23/+32
| | | | | | | (woman-decode-region): Replace escaped-escapes without destroying bold or underline. Fixes: debbugs:1151
* * lisp/simple.el (yank-pop-change-selection): Doc fix.Chong Yidong2012-07-072-31/+42
| | | | | | | (interprogram-cut-function, interprogram-paste-function): Mention that we typically mean the clipboard. Fixes: debbugs:11361
* * lisp/kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)Glenn Morris2012-07-062-3/+10
|
* * lisp/files.el (toggle-read-only): Restrict message to interactive use.Glenn Morris2012-07-062-2/+7
|
* * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.Michael Albinus2012-07-063-6/+31
| | | | * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
* Comment tweakGlenn Morris2012-07-061-1/+1
|
* * lisp/Makefile.in: CommentGlenn Morris2012-07-061-0/+4
|
* Move a comment from lisp/Makefile.in to lisp/loadup.el.Glenn Morris2012-07-062-13/+11
| | | | | The comment in Makefile.in has been orphaned ever since the bootstrap-prepare rule was removed in 2008.
* * lisp/Makefile.in (compile-one-process): Rename from "recompile".Glenn Morris2012-07-062-15/+18
|
* * lisp/Makefile.in (bzr-update): Use "compile".Glenn Morris2012-07-062-1/+6
| | | | It is the same as "recompile autoloads", but parallelizable.
* In quit-window always restore window height when it's saved inDmitry Gutov2012-07-062-3/+7
| | | | | | | quit-restore parameter. * window.el (quit-window): Always restore window height when it's saved in quit-restore parameter.
* Merge from emacs-24; up to 2012-05-01T00:16:02Z!rgm@gnu.orgChong Yidong2012-07-063-6/+24
|\
| * * lisp/simple.el (kill-whole-line): Doc tweak.Glenn Morris2012-07-022-1/+5
| |
| * Fix bug #11827 with file-relative-name on MS-Windows.Eli Zaretskii2012-07-012-5/+14
| | | | | | | | | | | | | | lisp/files.el (file-relative-name): Compare file names case-insensitively if on MS-Windows or MS-DOS, or if read-file-name-completion-ignore-case is non-nil. Don't use case-fold-search for this purpose.
* | * lisp/Makefile.in (cvs-update): Remove old alias.Glenn Morris2012-07-052-4/+7
| |
* | Sync with Tramp 2.2.6-pre.Michael Albinus2012-07-055-23/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs compatible declaration. * net/tramp-cmds.el (tramp-append-tramp-buffers): Protect `list-load-path-shadows' call. * net/tramp-compat.el (top): Require packages, which aren't autoloaded anymore for XEmacs. Protect call of `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the compiler. Do not require tramp-util.el and tramp-vc.el anymore, it hurts at least for SXEmacs. (tramp-compat-temporary-file-directory): In XEmacs, there is no standard-value for `temporary-file-directory'. * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat): Redirect stderr to /dev/null. (tramp-sh-handle-write-region): uid and gid can be floats. Reported by Russell Sim <russell.sim@gmail.com>. (tramp-sh-handle-vc-registered): Hide errors. (tramp-vc-file-name-handler): Use dummy results for `process-file' and `start-file-process'. (tramp-maybe-open-connection): Check also whether `non-essential' is bound.
* | Fix ChangeLog typos.Juanma Barranquero2012-07-041-3/+3
| |
* | Clean up syntax-table usage in xml.elChong Yidong2012-07-052-187/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * xml.el (xml--parse-buffer): Use xml-syntax-table. (xml-parse-tag): Likewise, and avoid changing entity tables. (xml-syntax-table): Define from scratch, making sure not to give x2000 and other Unicode spaces whitespace syntax, since those are not spaces in XML. (xml-parse-fragment): Delete unused function. (xml-name-start-char-re, xml-name-char-re, xml-name-re) (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re) (xml-entity-ref, xml-pe-reference-re) (xml-reference-re,xml-att-value-re, xml-tokenized-type-re) (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re) (xml-att-type-re, xml-default-decl-re, xml-att-def-re) (xml-entity-value-re): Use syntax references in regexps where possible; no need to define inside a let-binding. (xml-parse-dtd): Use xml-pe-reference-re. (xml-entity-or-char-ref-re): New defconst. (xml-parse-string, xml-substitute-special): Use it.
* | * lisp/files.el (locate-dominating-file): Allow `name' to be a predicate.Stefan Monnier2012-07-042-50/+38
| | | | | | | | | | | | | | | | (find-file--read-only): New function. (find-file-read-only, find-file-read-only-other-window) (find-file-read-only-other-frame): Use it. (insert-file-contents-literally): Don't `fset'. (get-free-disk-space): Use locate-dominating-file.
* | * lisp/emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if theStefan Monnier2012-07-042-15/+28
| | | | | | | | function is already compiled.
* | * lisp/xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.Stefan Monnier2012-07-032-9/+10
| |
* | * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remoteMichael Albinus2012-07-032-3/+13
| | | | | | | | files on the same host.