1. 25 Apr, 2012 12 commits
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      Remove unnecessary use of minibuffer-completing-file-name. · cc356a5d
      Stefan Monnier authored
      * lisp/ffap.el: Remove old code for obsolete package.
      (ffap-complete-as-file-p): Remove.
      * lisp/mh-e/mh-utils.el (minibuffer-completing-file-name): Don't declare.
    • Stefan Monnier's avatar
      Use completion-table-with-quoting for comint and pcomplete. · b4ff4f1f
      Stefan Monnier authored
      * lisp/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
      * lisp/pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
      * lisp/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.
    • Stefan Monnier's avatar
      * lisp/minibuffer.el: Use completion-table-with-quoting for read-file-name. · 79c4eeb4
      Stefan Monnier authored
      (minibuffer--double-dollars): Preserve properties.
      (completion--sifn-requote): New function.
      (completion--file-name-table): Rewrite using it and c-t-with-quoting.
    • Stefan Monnier's avatar
      * lisp/minibuffer.el: Add support for completion of quoted/escaped data. · ef24141c
      Stefan Monnier authored
      (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.
    • Leo Liu's avatar
      * lisp/progmodes/python.el (python-pdbtrack-get-source-buffer): Use · 784e7d6e
      Leo Liu authored
      compilation-message if available to find real filename.
    • Leo Liu's avatar
    • Chong Yidong's avatar
      Fix whitespace highlighting of context diffs. · 07875ee7
      Chong Yidong authored
      * lisp/vc/diff-mode.el (diff-setup-whitespace): New function.
      (diff-mode): Use it.
      * lisp/vc/diff.el (diff-sentinel):
      * lisp/vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
      Whitespace mode variables based on diff style.
      Fixes: debbugs:8612
    • Leo Liu's avatar
    • Alex Harsanyi's avatar
      Sync with soap-client repository. Support SOAP simpleType. (Bug#10331) · db9b177b
      Alex Harsanyi authored
      * soap-client.el (soap-resolve-references-for-sequence-type)
      (soap-resolve-references-for-array-type): hack to prevent self
      references, see Bug#9.
      (soap-parse-envelope): report the contents of the 'detail' node
      when receiving a fault reply.
      (soap-parse-envelope): report the contents of the entire 'detail' node.
      * soap-inspect.el (soap-sample-value-for-simple-type)
      (soap-inspect-simple-type): new function
      * soap-client.el (soap-simple-type): new struct
      (soap-default-xsd-types, soap-default-soapenc-types)
      (soap-decode-basic-type, soap-encode-basic-type): support
      unsignedInt and double basic types
      (soap-parse-simple-type, soap-encode-simple-type): new function
      (soap-parse-schema): parse xsd:simpleType declarations
      * soap-client.el (soap-default-xsd-types)
      (soap-default-soapenc-types): add integer, byte and anyURI types
      (soap-parse-complex-type-complex-content): use `soap-wk2l' to find
      the local name of "soapenc:Array"
      (soap-decode-basic-type, soap-encode-basic-type): support encoding
      decoding integer, byte and anyURI xsd types.
    • Chong Yidong's avatar
    • Eli Zaretskii's avatar
      Force interactive-mode in GDB on MS-Windows. · afc6df87
      Eli Zaretskii authored
       lisp/progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
       settings on 'system-type', not on 'window-system'.  On MS-Windows,
       set interactive-mode on in GDB.
  2. 24 Apr, 2012 16 commits
  3. 23 Apr, 2012 12 commits
    • Juanma Barranquero's avatar
      src/gnutls.c (init_gnutls_functions): Fix bug#11311. · 02fd101b
      Juanma Barranquero authored
      The value of :loaded-from is now a cons.
    • Paul Eggert's avatar
      Do not create empty overlays with the evaporate property (Bug#9642). · 89a438bd
      Paul Eggert authored
      * buffer.c (Fmove_overlay): Delete an evaporating overlay
      if it becomes empty after its bounds are adjusted to fit within
      its buffer.  Without this fix, in a nonempty buffer (let ((o
      (make-overlay 1 2))) (overlay-put o 'evaporate t) (move-overlay o 0 1))
      yields an empty overlay that has the evaporate property, which is
      not supposed to happen.
    • Chong Yidong's avatar
      * subr.el (accept-change-group): Fix arg usage. · 7511ded8
      Chong Yidong authored
      Fixes: debbugs:6095
    • Chong Yidong's avatar
      Use proper faces in apropos.el. · 46c71e23
      Chong Yidong authored
      * lisp/apropos.el (apropos-symbol, apropos-keybinding, apropos-label)
      (apropos-property, apropos-function-button)
      (apropos-variable-button, apropos-misc-button): New faces.
      (apropos-symbol-face, apropos-keybinding-face)
      (apropos-label-face, apropos-property-face, apropos-match-face):
      Variables removed.
      (apropos-library-button, apropos-format-plist, apropos-print)
      (apropos-print-doc, apropos-describe-plist): Callers changed.
      Fixes: debbugs:8396
    • Chong Yidong's avatar
      * apropos.el (apropos-read-pattern): Fix word list splitting. · 922d37d3
      Chong Yidong authored
      Fixes: debbugs:11132
    • Chong Yidong's avatar
      Remove non-option variable handling from customize-apropos · 775c916b
      Chong Yidong authored
      and enable use of word lists for customize-apropos-options etc.
      * lisp/apropos.el (apropos-read-pattern): Make prompt less cryptic.
      * lisp/cus-edit.el (customize-apropos, customize-apropos-options):
      Disable matching of non-option variables.
      (customize-option, customize-option-other-window)
      (customize-changed-options): Doc fix.
      (customize-apropos-options, customize-apropos-faces)
      (customize-apropos-groups): Use apropos-read-pattern.
      Fixes: debbugs:11176
    • Michael Albinus's avatar
      * net/xesam.el (xesam-mode-map): Use let-bound map in · 2df41f9c
      Michael Albinus authored
      initialization.  (Bug#11292)
    • Agustín Martín's avatar
      ispell.el,flyspell.el: Preserve session localwords when switching back buffers. · da00640a
      Agustín Martín authored
      Once a word is declared valid for a session and a buffer it should
      stay valid for that buffer regardless buffer switches unless ispell
      process is explicitly killed or dictionary changed for that buffer. 
      However, it is currently lost when we switch to a different buffer
      that triggers a new ispell process and then switch back to the
      original buffer (triggering a  new ispell restart). 
      These changes try to keep buffer session localwords accepted in above
    • Glenn Morris's avatar
      Auto-commit of generated files. · ca0294bb
      Glenn Morris authored
    • Agustín Martín's avatar
      Remove obsolete usage of (ispell-insert-word) · f621ccf5
      Agustín Martín authored
      `ispell-insert-word' is a plain `insert' together with word filtering
      through `translation-table-for-input' for character code unification.
      This was useful in Emacs 22, but is not needed for Emacs 23 and above
      since unification is now direct.
      Since XEmacs does not have `translation-table-for-input' there is no
      need at all to keep this old code, but use (insert) directly.
    • Paul Eggert's avatar
      Fix minor GTK3 problems found by static checking. · 1068fe4d
      Paul Eggert authored
      * emacsgtkfixed.c (EMACS_TYPE_FIXED, EMACS_FIXED, EmacsFixed)
      (EmacsFixedPrivate, EmacsFixedClass, struct _EmacsFixed)
      (struct _EmacsFixedClass, emacs_fixed_get_type):
      Move decls here from emacsgtkfixed.h, since they needn't be public.
      (emacs_fixed_get_type): Now static.
      (emacs_fixed_class_init): Omit unused local.
      (emacs_fixed_child_type): Remove; unused.
      * emacsgtkfixed.h (EMACS_TYPE_FIXED, EMACS_FIXED, EmacsFixed)
      (EmacsFixedPrivate, EmacsFixedClass, struct _EmacsFixed)
      (struct _EmacsFixedClass): Move to emacsgtkfixed.c.
      (EMACS_FIXED_GET_CLASS): Remove; unused.
      * gtkutil.c (xg_create_frame_widgets) [!HAVE_GTK3]: Omit unused local.
    • Paul Eggert's avatar
      Spelling fixes. · 0ba2624f
      Paul Eggert authored