]> code.delx.au - gnu-emacs/commitdiff
Add support for completion of quoted/escaped data.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 25 Apr 2012 19:00:18 +0000 (15:00 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 25 Apr 2012 19:00:18 +0000 (15:00 -0400)
1  2 
lisp/ChangeLog

diff --cc lisp/ChangeLog
index 55df33b4d304f77963218c44106e7af7d59c632d,30d632742bc9c8a3554d895af11b0f090da0c005..eb09afc0b552b19ba48f2066e2cc715152d8c405
@@@ -1,8 -1,40 +1,45 @@@
-       * progmodes/python.el (python-pdbtrack-get-source-buffer): Use
-       compilation-message if available to find real filename.
+ 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * ffap.el: Remove old code for obsolete package.
+       (ffap-complete-as-file-p): Remove.
+       Use completion-table-with-quoting for comint and pcomplete.
+       * comint.el (comint--unquote&requote-argument)
+       (comint--unquote-argument, comint--requote-argument): New functions.
+       (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
+       (comint-quote-filename): Use regexp-opt-charset.
+       (comint--common-suffix, comint--common-quoted-suffix)
+       (comint--table-subvert): Remove.
+       (comint-unquote-function, comint-requote-function): New vars.
+       (comint--complete-file-name-data): Use them with
+       completion-table-with-quoting.
+       * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
+       * pcomplete.el (pcomplete-arg-quote-list)
+       (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
+       (pcomplete-unquote-argument-function): Default to non-nil.
+       (pcomplete-unquote-argument): Simplify.
+       (pcomplete--common-quoted-suffix): Remove.
+       (pcomplete-requote-argument-function): New var.
+       (pcomplete--common-suffix): New function.
+       (pcomplete-completions-at-point): Use completion-table-with-quoting
+       and completion-table-subvert.
+       * minibuffer.el: Use completion-table-with-quoting for read-file-name.
+       (minibuffer--double-dollars): Preserve properties.
+       (completion--sifn-requote): New function.
+       (completion--file-name-table): Rewrite using it and c-t-with-quoting.
+       * minibuffer.el: Add support for completion of quoted/escaped data.
+       (completion-table-with-quoting, completion-table-subvert): New funs.
+       (completion--twq-try, completion--twq-all): New functions.
+       (completion--nth-completion): New function.
+       (completion-try-completion, completion-all-completions): Use it.
 +2012-04-25  Leo Liu  <sdl.web@gmail.com>
 +
++      * progmodes/python.el (python-pdbtrack-get-source-buffer):
++      Use compilation-message if available to find real filename.
 +
  2012-04-25  Chong Yidong  <cyd@gnu.org>
  
        * vc/diff-mode.el (diff-setup-whitespace): New function.