1. 10 Nov, 2015 1 commit
    • Paul Eggert's avatar
      Spelling fixes · c92dbd6d
      Paul Eggert authored
      * lisp/net/soap-inspect.el (soap-inspect-xs-simple-type):
      Fix misspelling in output.
      c92dbd6d
  2. 25 Oct, 2015 1 commit
    • Thomas Fitzsimmons's avatar
      Sync with soap-client repository, version 3.0.1 · 61640f6f
      Thomas Fitzsimmons authored
      
      
      * soap-client.el, soap-inspect.el: Bump version to 3.0.1.
      
      * soap-client.el, soap-inspect.el: Update home page.
      
      * soap-client.el, soap-inspect.el: Bump version to 3.0.0.
      
      * soap-inspect.el: Merge in changes from Emacs master branch.
      
      * soap-client.el: Merge in changes from Emacs master branch.
      
      * soap-inspect.el: Shorten first line description.
      
      * soap-client.el: Make a small whitespace fix.
      
      * soap-inspect.el: Update copyright years.
      
      * soap-client.el (soap-encoded-namespaces): Move above first use
      in soap-encode-xs-element.
      
      * soap-client.el (soap-type-is-array?): new defun
      (soap-encode-xs-element): handle array elements in this function
      (soap-encode-xs-complex-type): flag error if asked to encode an
      array type, this is handled in `soap-encode-xs-element'
      
      * soap-inspect.el (soap-inspect-xs-attribute-group): Do not print
      type for attribute group.
      
      * soap-inspect.el (soap-sample-value-for-xs-attribute-group): New
      function.
      (soap-inspect-xs-attribute-group): Likewise.
      
      * soap-inspect.el
      (soap-resolve-references-for-xs-attribute-group): Resolve
      references of attributes in an attribute group.
      
      * soap-client.el (soap-decode-xs-attributes): Process attribute
      type directly, not through soap-wsdl-get.
      
      * soap-client.el (soap-xs-parse-attribute): Leave reference nil if
      reference attribute is nil.
      
      * soap-client.el (soap-resolve-references-for-xs-attribute):
      Convert XML schema attributes to xsd:string.
      
      * soap-inspect.el (soap-sample-value-for-xs-attribute): New
      function.
      (soap-sample-value-for-xs-simple-type): Prepend attributes to
      result.
      (soap-sample-value-for-xs-complex-type): Likewise.
      (soap-inspect-xs-attribute): New function.
      (soap-inspect-xs-simple-type): Print attributes.
      (soap-inspect-xs-complex-type): Likewise.
      
      * soap-inspect.el (soap-resolve-references-for-xs-simple-type):
      Resolve references for attributes.
      (soap-resolve-references-for-xs-complex-type): Likewise.
      
      * soap-client.el (soap-xml-node-find-matching-child): Rename from
      soap-xml-node-first-child.
      (soap-xs-parse-attribute): Call soap-xml-node-find-matching-child.
      (soap-xs-parse-simple-type): Likewise.
      
      * soap-client.el (soap-invoke-async): Add error checking.
      
      * soap-client.el (soap-invoke-internal): New function.
      (soap-invoke-async): Call soap-invoke-internal.
      (soap-invoke): Likewise.
      
      * soap-client.el (soap-invoke-async): Ensure buffer passed to
      url-retrieve callback is killed.
      
      * soap-client.el (soap-parse-wsdl-phase-validate-node): Rename
      function.
      (soap-parse-wsdl-phase-fetch-imports): Likewise.
      (soap-parse-wsdl-phase-parse-schema): Likewise.
      (soap-parse-wsdl-phase-fetch-schema): Likewise.
      (soap-parse-wsdl-phase-finish-parsing): Likewise.
      (soap-parse-wsdl): Update calls.
      
      * soap-client.el (soap-invoke-async): Fix callback invocation.
      
      * soap-client.el (soap-invoke-async): New function.
      (soap-invoke): Reimplement using soap-invoke-async.
      
      * soap-client.el (soap-parse-server-response): Improve docstring.
      (soap-invoke): Inline call to soap-parse-server-response.
      
      * soap-client.el (soap-decode-xs-complex-type): Prevent incorrect
      warning.
      
      * soap-client.el (soap-parse-server-response): Rename
      soap-process-url-response.  Destroy the mime part.
      (soap-invoke): Call soap-parse-server-response.
      
      * soap-client.el: Update copyright date.
      
      * soap-client.el: Fix checkdoc issues.
      
      * soap-client.el: Fix indentation and long lines.
      
      * soap-client.el (soap-time-format): Remove variable.
      (soap-encode-xs-basic-type): Simplify date-time format detection.
      (soap-decode-xs-basic-type): Remove soap-time-format support.
      
      * soap-client.el (soap-process-url-response): New function.
      (soap-fetch-xml-from-url): Call soap-process-url-response.
      (soap-parse-wsdl-phase-1): New function.
      (soap-parse-wsdl-phase-2): Likewise.
      (soap-parse-wsdl-phase-3): Likewise.
      (soap-parse-wsdl-phase-4): Likewise.
      (soap-parse-wsdl-phase-5): Likewise.
      (soap-parse-wsdl): Call phase functions.
      
      * soap-client.el (soap-decode-xs-basic-type): Remove one-argument
      and call.
      
      * soap-client.el (soap-decode-date-time): Improve docstring.
      
      * soap-client.el (soap-xmlschema-imports): Remove variable.
      (soap-parse-schema): Add wsdl argument.  Look up XML schema
      imports from wsdl.
      (soap-load-wsdl): Do not set soap-xmlschema-imports.
      (soap-parse-wsdl): Get XML schema imports from wsdl.
      
      * soap-client.el (soap-current-file): Remove variable.
      (soap-wsdl): Add current-file slot.
      (soap-fetch-xml-from-url): Add wsdl argument.  Look up current
      file from wsdl.
      (soap-fetch-xml-from-file): Likewise.
      (soap-fetch-xml): Likewise.
      (soap-load-wsdl): Always create wsdl object first.
      (soap-parse-wsdl): Pass wsdl to soap-fetch-xml.
      
      * soap-client.el (soap-xs-element): Add is-group slot.
      (soap-xs-parse-element): Set is-group slot.
      (soap-resolve-references-for-xs-element): Skip is-group elements.
      (soap-xs-complex-type): Add is-group slot.
      (soap-xs-parse-complex-type): Set is-group slot.
      (soap-xs-parse-sequence): Parse xsd:group elements.
      (soap-resolve-references-for-xs-complex-type): Inline elements
      from referenced xsd:group nodes.
      (soap-parse-schema): Parse xsd:group nodes.
      
      * soap-client.el (soap-invoke): Don't set url-http-version to 1.0.
      
      * soap-client.el (soap-decode-xs-complex-type): Allow choice nodes
      to accept multiple values.
      
      * soap-client.el (soap-encode-body): Check parameters argument for
      extra header values.
      
      * soap-client.el (soap-well-known-xmlns): Add wsa and wsaw tags.
      (soap-operation): Add input-action and output-action slots.
      (soap-parse-operation): Parse wsaw:Action nodes.
      (soap-encode-body): Encode service-url for WS-Addressing.
      (soap-create-envelope): Likewise.
      (soap-invoke): Update soap-create-envelope call to provide
      service-url argument.
      
      * soap-client.el (soap-decode-xs-complex-type): Support xsi:type
      override attribute.
      (soap-decode-array): Likewise.
      
      * soap-client.el (soap-parse-schema): Handle location attribute.
      
      * soap-client.el (soap-decode-type): Check that multiRef matched
      validation regexp.
      
      * soap-client.el (soap-encode-xs-simple-type): Encode xsd:list
      nodes.
      (soap-decode-xs-simple-type): Decode xsd:list nodes.
      
      * soap-client.el (soap-get-candidate-elements): Fix reference
      handling.
      
      * soap-client.el (soap-xs-simple-type): Add is-list slot.
      (soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list
      nodes.
      (soap-xs-add-list): New function.
      
      * soap-client.el (soap-encode-xs-element): When a boolean is
      expected, interpret nil as "false".
      
      * soap-client.el (soap-make-xs-basic-types): Add gYearMonth,
      gYear, gMonthDay, gDay and gMonth.
      
      * soap-client.el (soap-time-format): New variable.
      (soap-encode-xs-basic-type): Handle dateTime, time, date,
      gYearMonth, gYear, gMonthDay, gDay and gMonth.
      (soap-decode-date-time): New function.
      (soap-decode-xs-basic-type): Use soap-decode-date-time.
      
      * soap-client.el (soap-encode-xs-basic-type): Validate value after
      encoding.
      (soap-decode-xs-basic-type): Validate value before decoding.
      
      * soap-client.el (soap-validate-xs-basic-type): New function.
      (soap-validate-xs-simple-type): Call soap-validate-xs-basic-type.
      
      * soap-client.el (soap-xs-add-union): Append result to base
      instead of overwriting it.
      (soap-validate-xs-simple-type): Add union support.
      
      * soap-client.el (soap-xs-add-restriction): Translate pattern to
      Emacs regexp using xsdre-translate.
      (soap-validate-xs-simple-type): Validate value against pattern.
      
      * soap-client.el (soap-xs-add-union): Preserve WSDL order of
      inline simpleType nodes.
      (soap-decode-type): Handle union types.
      
      * soap-client.el (soap-decode-xs-attributes): Decode basic-type
      attributes.
      
      * soap-client.el (soap-get-xs-attributes-from-groups): renamed
      from soap-xs-attribute-group-consolidate, all callers updated
      (soap-get-xs-attributes): renamed from
      soap-xs-attributes-consolidate, all callers updated
      
      * soap-client.el (soap-xs-type): Add attribute-group slot.
      (soap-xs-attribute-group): New type.
      (soap-xs-parse-attribute-group): New function.
      (soap-resolve-references-for-xs-attribute-group): Likewise.
      (soap-xs-add-extension): Handle attribute groups.
      (soap-resolve-references-for-xs-simple-type): Likewise.
      (soap-xs-parse-complex-type): Likewise.
      (soap-xs-parse-extension-or-restriction): Likewise.
      (soap-resolve-references-for-xs-complex-type): Likewise.
      (soap-xs-attribute-group-consolidate): New function.
      (soap-xs-attributes-consolidate): Handle attribute groups.
      (soap-parse-schema): Likewise.
      
      * soap-client.el (soap-encode-xs-basic-type): Fix boolean
      encoding.
      
      * soap-client.el (soap-encode-xs-complex-type): Print ref element
      names in warnings.
      
      * soap-client.el (soap-decode-xs-complex-type): Fix splicing.
      
      * soap-client.el (soap-decode-xs-complex-type): Eliminate invalid
      warnings for choice types.
      
      * soap-client.el (soap-encode-xs-complex-type-attributes): Also
      encode base type attributes.
      
      * soap-client.el (soap-encode-xs-complex-type): Fix compilation
      warning.  Print e-name in warnings, or element if e-name is nil.
      
      * soap-client.el (soap-xs-element): Add alternatives slot.
      (soap-xs-parse-element): Set substitution-group.
      (soap-resolve-references-for-xs-element): Populate alternatives
      slot.
      (soap-get-candidate-elements): New function.
      (soap-encode-xs-complex-type): Iterate through all candidate
      elements.  Handle types with nil type indicator.  Fix warning
      logic.
      
      * soap-client.el (soap-current-wsdl): moved declaration earlier in
      the file to prevent compiler warning.
      
      * soap-client.el (soap-node-optional): New function.
      (soap-node-multiple): Likewise.
      (soap-xs-parse-element): Call soap-node-optional and
      soap-node-multiple.
      (soap-xs-complex-type): Add optional? and multiple? slots.
      (soap-xml-get-children-fq): New function.
      (soap-xs-element-get-fq-name): Likewise.
      (soap-xs-complex-type-optional-p): Likewise.
      (soap-xs-complex-type-multiple-p): Likewise.
      (soap-xs-attributes-consolidate): Likewise.
      (soap-decode-xs-attributes): Likewise.
      (soap-decode-xs-complex-type): Decode types with nil type
      indicator.  Support children that use local namespaces.  Decode
      attributes.  Add type considerations to optional? and multiple?
      warnings.
      
      * soap-client.el (soap-xs-parse-extension-or-restriction): Store
      parsed attributes.
      (soap-encode-xs-complex-type-attributes): Encode custom
      attributes.
      
      * soap-client.el (soap-encode-xs-complex-type-attributes): don't
      add the xsi:type attribute (Exchange refuses requests which have
      this attribute)
      
      * soap-client.el, soap-inspect.el: converted to lexical binding,
      corrected compiler warnings about unused function arguments and
      local variables.
      
      * soap-client.el (soap-decode-xs-complex-type): Handle nil type
      indicator.
      (soap-parse-envelope): Handle response headers.
      (soap-parse-response): Likewise.  Only return non-nil decoded
      values.
      
      * soap-client.el (soap-validate-xs-simple-type): Return validated
      value.
      
      * soap-client.el (soap-xs-parse-element)
      (soap-xs-parse-simple-type)
      (soap-xs-parse-complex-type)
      (soap-parse-message)
      (soap-parse-operation): add the current namespace to the element
      being created
      (soap-resolve-references-for-xs-element)
      (soap-resolve-references-for-xs-simple-type)
      (soap-resolve-references-for-xs-complex-type)
      (soap-resolve-references-for-operation): resolve the namespace to
      the namespace tag
      (soap-make-wsdl): specify a namespace tag when creating the xsd
      and soapenc namespaces
      (soap-wsdl-resolve-references): don't update namespace tags in
      elements here
      (soap-parse-port-type): bind the urn: to soap-target-xmlns
      (soap-encode-body): don't add nil namespace tags to
      soap-encoded-namespaces
      
      * soap-inspect.el: use `soap-make-wsdl` to construct the object
      for registering the soap-inspect method.Make debbugs tests pass
      * soap-client.el (soap-decode-any-type): use soap-l2fq on the type
      name, also skip string only nodes when decoding a structure.
      (soap-xs-parse-complex-type): (BUG) dispatch parsing for choice
      types too
      (soap-encode-body): grab the header value from the param table
      
      * soap-client.el (soap-should-encode-value-for-xs-element): new
      function
      (soap-encode-xs-element): don't encode nil value unless needed
      
      * soap-client.el (soap-bound-operation): new slot `soap-body`
      (soap-parse-binding): parse the message parts required in the body
      (soap-encode-body): encode only the parts that are declared to be
      part of the body
      
      * soap-client.el (soap-encode-xs-element): use the fq name when
      writing out the tag.
      (soap-encode-body): remove hack that inserts the xmlns in the
      element attributes list.
      
      * soap-client.el (soap-xs-attribute): add "default" slot
      (soap-xs-parse-attribute): default slot is set from the XML
      "fixed" attribute.
      (soap-encode-xs-complex-type-attributes): encode any attributes
      that have a default value.  Also, don't put the xsi:nil attribute
      when the complex type has no content anyway.
      
      * soap-client.el (soap-well-known-xmlns): add the xml namespace
      (soap-local-xmlns): start with the xml namespace
      (soap-xml-node-first-child): skip xsd:annotation nodes too
      (soap-make-xs-basic-types): more xsd types added
      (soap-encode-xs-basic-type, soap-decode-xs-basic-type): handle
      "language", "time", "date", "nonNegativeInteger"
      (soap-resolve-references-for-xs-element): don't signal an error if
      the element does not have a type.
      (soap-xs-parse-simple-type): subtypes are handled with ecase,
      added stum for xsd:list
      (soap-xs-add-union): call soap-l2fq on all union members
      (soap-xs-add-extension): call soap-l2fq on the base member
      (soap-resolve-references-for-xs-simple-type): don't signal an
      error if the simple type has no base.
      (soap-resolve-references-for-xs-simple-type): bugfix, call
      soap-wsdl-get on each type of the base
      
      * soap-client.el (soap-resolve-references-for-xs-attribute):
      referenced type can be eiher a simple type or a basic type
      (soap-xs-add-restriction)
      (soap-xs-parse-extension-or-restriction): use `soap-l2fq' on base
      (soap-make-xs-basic-types)
      (soap-encode-xs-basic-type, soap-decode-xs-basic-type): add
      support for more XMLSchema basic types
      (soap-current-file, soap-xmlschema-imports): new defvars
      (soap-parse-schema): add locations from xsd:import tags to
      `soap-xmlschema-imports'
      (soap-wsdl): make destructor private
      (soap-make-wsdl): new defun, SOAP-WSDL object constructor
      (soap-wsdl-add-alias): check if we try to replace aliases
      (soap-fetch-xml-from-url, soap-fetch-xml-from-file)
      (soap-fetch-xml): new defuns
      (soap-load-wsdl): updated to load the WSDL from either a file or
      an url
      (soap-load-wsdl-from-url): now an alias to `soap-load-wsdl'
      (soap-parse-wsdl): process wsdl:import tags and imports from
      `soap-xmlschema-imports'
      * soap-client.el (soap-l2wk): bugfix: call symbolp instead of
      symbol-name
      (soap-l2fq): make the name part always a string
      (soap-name-p): new defun, used for name tests
      
      * soap-inspect.el (soap-sample-value-for-xs-complex-type): supply
      sample values for choice types with a special tag
      * soap-client.el (soap-encode-xs-complex-type): handle anonymous
      elements correctly
      (soap-encode-value): accept nodes that have no namespace tag
      
      * soap-client.el (soap-invoke): encode the string for
      `url-request-data' as UTF-8. Fixes issue 16
      Co-authored-by: default avatarAlexandru Harsanyi <AlexHarsanyi@gmail.com>
      61640f6f
  3. 24 Oct, 2015 1 commit
  4. 17 Sep, 2015 1 commit
    • Paul Eggert's avatar
      Backslash cleanup in Elisp source files · 284c470e
      Paul Eggert authored
      This patch should not change behavior.  It typically omits backslashes
      where they are redundant (e.g., in the string literal "^\$").
      In a few places, insert backslashes where they make regular
      expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
      "^\\*", which has the same effect as a regular expression.
      Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
      and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
      RCS IDs, as that makes it clearer that the backslash is intended.
      284c470e
  5. 03 Sep, 2015 1 commit
    • Paul Eggert's avatar
      Fix some more docstring etc. quoting problems · 26bd978d
      Paul Eggert authored
      Mostly these fixes prevent the transliteration of apostrophes
      that should stay apostrophes.  Also, prefer curved quotes in
      Bahá’í proper names, as that’s the preferred Bahá’í style and
      these names are chock-full of non-ASCII characters anyway.
      * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
      (eieio-defclass-internal):
      * lisp/emacs-lisp/eieio.el (defclass):
      * lisp/hi-lock.el (hi-lock-mode):
      Don’t transliterate Lisp apostrophes when generating a
      doc string or diagnostic.
      * lisp/international/mule-diag.el (list-coding-systems-1):
      * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
      * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
      * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
      * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
      Substitute quotes before putting them in the help buffer.
      26bd978d
  6. 24 Aug, 2015 1 commit
    • Paul Eggert's avatar
      More-conservative ‘format’ quote restyling · fbb5531f
      Paul Eggert authored
      Instead of restyling curved quotes for every call to ‘format’,
      create a new function ‘format-message’ that does the restyling,
      and using the new function instead of ‘format’ only in contexts
      where this seems appropriate.
      Problem reported by Dmitry Gutov and Andreas Schwab in:
      http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00826.html
      http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00827.html
      * doc/lispref/commands.texi (Using Interactive):
      * doc/lispref/control.texi (Signaling Errors, Signaling Errors):
      * doc/lispref/display.texi (Displaying Messages, Progress):
      * doc/lispref/elisp.texi:
      * doc/lispref/help.texi (Keys in Documentation):
      * doc/lispref/minibuf.texi (Minibuffer Misc):
      * doc/lispref/strings.texi (Formatting Strings):
      * etc/NEWS:
      Document the changes.
      * lisp/abbrev.el (expand-region-abbrevs):
      * lisp/apropos.el (apropos-library):
      * lisp/calc/calc-ext.el (calc-record-message)
      (calc-user-function-list):
      * lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
      * lisp/calc/calc-lang.el (math-read-big-balance):
      * lisp/calc/calc-store.el (calc-edit-variable):
      * lisp/calc/calc-units.el (math-build-units-table-buffer):
      * lisp/calc/calc-yank.el (calc-edit-mode):
      * lisp/calendar/icalendar.el (icalendar-export-region)
      (icalendar--add-diary-entry):
      * lisp/cedet/mode-local.el (mode-local-print-binding)
      (mode-local-describe-bindings-2):
      * lisp/cedet/semantic/complete.el (semantic-completion-message):
      * lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
      * lisp/cedet/semantic/wisent/comp.el (wisent-log):
      * lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
      * lisp/descr-text.el (describe-text-properties-1, describe-char):
      * lisp/dframe.el (dframe-message):
      * lisp/dired-aux.el (dired-query):
      * lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-log)
      (byte-compile-log-file, byte-compile-warn, byte-compile-form):
      * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
      (cconv-analyze-form):
      * lisp/emacs-lisp/check-declare.el (check-declare-warn):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      * lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
      * lisp/emacs-lisp/edebug.el (edebug-format):
      * lisp/emacs-lisp/eieio-core.el (eieio-oref):
      * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
      (eldoc-message):
      * lisp/emacs-lisp/elint.el (elint-file, elint-log):
      * lisp/emacs-lisp/find-func.el (find-function-library):
      * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
      * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
      * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
      * lisp/emacs-lisp/package.el (package-compute-transaction)
      (package-install-button-action, package-delete-button-action)
      (package-menu--list-to-prompt):
      * lisp/emacs-lisp/timer.el (timer-event-handler):
      * lisp/emacs-lisp/warnings.el (lwarn, warn):
      * lisp/emulation/viper-cmd.el:
      (viper-toggle-parse-sexp-ignore-comments)
      (viper-kill-buffer, viper-brac-function):
      * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
      * lisp/facemenu.el (facemenu-add-new-face):
      * lisp/faces.el (face-documentation, read-face-name)
      (face-read-string, read-face-font, describe-face):
      * lisp/files.el (find-alternate-file, hack-local-variables)
      (hack-one-local-variable--obsolete, write-file)
      (basic-save-buffer, delete-directory):
      * lisp/format.el (format-write-file, format-find-file)
      (format-insert-file):
      * lisp/help-fns.el (help-fns--key-bindings)
      (help-fns--compiler-macro, help-fns--obsolete)
      (help-fns--interactive-only, describe-function-1)
      (describe-variable):
      * lisp/help.el (describe-mode):
      * lisp/info-xref.el (info-xref-output):
      * lisp/info.el (Info-virtual-index-find-node)
      (Info-virtual-index, info-apropos):
      * lisp/international/kkc.el (kkc-error):
      * lisp/international/mule-cmds.el:
      (select-safe-coding-system-interactively)
      (select-safe-coding-system, describe-input-method):
      * lisp/international/mule-conf.el (code-offset):
      * lisp/international/mule-diag.el (describe-character-set)
      (list-input-methods-1):
      * lisp/international/quail.el (quail-error):
      * lisp/minibuffer.el (minibuffer-message):
      * lisp/mpc.el (mpc--debug):
      * lisp/msb.el (msb--choose-menu):
      * lisp/net/ange-ftp.el (ange-ftp-message):
      * lisp/net/gnutls.el (gnutls-message-maybe):
      * lisp/net/newst-backend.el (newsticker--sentinel-work):
      * lisp/net/newst-treeview.el (newsticker--treeview-load):
      * lisp/net/nsm.el (nsm-query-user):
      * lisp/net/rlogin.el (rlogin):
      * lisp/net/soap-client.el (soap-warning):
      * lisp/net/tramp.el (tramp-debug-message):
      * lisp/nxml/nxml-outln.el (nxml-report-outline-error):
      * lisp/nxml/nxml-parse.el (nxml-parse-error):
      * lisp/nxml/rng-cmpct.el (rng-c-error):
      * lisp/nxml/rng-match.el (rng-compile-error):
      * lisp/nxml/rng-uri.el (rng-uri-error):
      * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
      * lisp/org/org-ctags.el:
      (org-ctags-ask-rebuild-tags-file-then-find-tag):
      * lisp/proced.el (proced-log):
      * lisp/progmodes/ebnf2ps.el (ebnf-log):
      * lisp/progmodes/flymake.el (flymake-log):
      * lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
      * lisp/replace.el (occur-1):
      * lisp/simple.el (execute-extended-command)
      (undo-outer-limit-truncate, define-alternatives):
      * lisp/startup.el (command-line):
      * lisp/subr.el (error, user-error, add-to-list):
      * lisp/tutorial.el (tutorial--describe-nonstandard-key)
      (tutorial--find-changed-keys):
      * src/callint.c (Fcall_interactively):
      * src/editfns.c (Fmessage, Fmessage_box):
      Restyle the quotes of format strings intended for use as a
      diagnostic, when restyling seems appropriate.
      * lisp/subr.el (format-message): New function.
      * src/doc.c (Finternal__text_restyle): New function.
      (syms_of_doc): Define it.
      fbb5531f
  7. 22 Aug, 2015 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/cc-*.el: Fix up commenting style · 18371ed2
      Stefan Monnier authored
      * lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el:
      * lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el:
      * lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el:
      * lisp/progmodes/cc-fonts.el, lisp/progmodes/cc-engine.el:
      * lisp/progmodes/cc-defs.el, lisp/progmodes/cc-cmds.el:
      * lisp/progmodes/cc-bytecomp.el, lisp/progmodes/cc-awk.el:
      * lisp/progmodes/cc-align.el, lisp/net/soap-client.el:
      Fix up commenting style.
      18371ed2
  8. 19 May, 2015 1 commit
    • Paul Eggert's avatar
      Fix minor quoting problems in doc strings · 9d35bb8d
      Paul Eggert authored
      These were glitches regardless of how or whether we tackle the
      problem of grave accent in doc strings.
      * lisp/calc/calc-aent.el (math-restore-placeholders):
      * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
      * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
      * lisp/leim/quail/hebrew.el ("hebrew-new")
      ("hebrew-biblical-sil"):
      * lisp/leim/quail/thai.el ("thai-kesmanee"):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
      Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
      * lisp/calendar/calendar.el (calendar-month-abbrev-array):
      * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
      * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
      * lisp/cedet/semantic/tag.el (semantic-tag-copy)
      (semantic-tag-components):
      * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
      * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
      * lisp/emacs-lisp/generator.el (iter-next):
      * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
      (gnus-article-mode-syntax-table):
      * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
      * lisp/net/soap-client.el (soap-wsdl-get):
      * lisp/net/telnet.el (telnet-mode):
      * lisp/org/org-compat.el (org-number-sequence):
      * lisp/org/org.el (org-remove-highlights-with-change)
      (org-structure-template-alist):
      * lisp/org/ox-html.el (org-html-link-org-files-as-html):
      * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
      (handwrite-12pt, handwrite-13pt):
      * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
      * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
      * lisp/progmodes/verilog-mode.el (verilog-tool)
      (verilog-string-replace-matches, verilog-preprocess)
      (verilog-auto-insert-lisp, verilog-auto-insert-last):
      * lisp/textmodes/makeinfo.el (makeinfo-options):
      * src/font.c (Ffont_spec):
      Fix minor quoting problems in doc strings, e.g., missing quote,
      ``x'' where `x' was meant, etc.
      * lisp/erc/erc-backend.el (erc-process-sentinel-2):
      Fix minor quoting problem in other string.
      * lisp/leim/quail/ethiopic.el ("ethiopic"):
      * lisp/term/tvi970.el (tvi970-set-keypad-mode):
      Omit unnecessary quotes.
      * lisp/faces.el (set-face-attribute, set-face-underline)
      (set-face-inverse-video, x-create-frame-with-faces):
      * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
      * lisp/mail/supercite.el (sc-attribs-%@-addresses)
      (sc-attribs-!-addresses, sc-attribs-<>-addresses):
      * lisp/net/tramp.el (tramp-methods):
      * lisp/recentf.el (recentf-show-file-shortcuts-flag):
      * lisp/textmodes/artist.el (artist-ellipse-right-char)
      (artist-ellipse-left-char, artist-vaporize-fuzziness)
      (artist-spray-chars, artist-mode, artist-replace-string)
      (artist-put-pixel, artist-text-see-thru):
      * lisp/vc/ediff-util.el (ediff-submit-report):
      * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
      Use double-quotes rather than TeX markup in doc strings.
      * lisp/skeleton.el (skeleton-pair-insert-maybe):
      Reword to avoid the need for grave accent and apostrophe.
      * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
      Don't use grave and acute accents to quote.
      9d35bb8d
  9. 01 Jan, 2015 2 commits
  10. 01 Jan, 2014 1 commit
  11. 09 Aug, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/subr.el (define-error): New function. · 54bd972f
      Stefan Monnier authored
      * doc/lispref/control.texi (Signaling Errors): Refer to define-error.
      (Error Symbols): Add `define-error'.
      * doc/lispref/errors.texi (Standard Errors): Don't refer to `error-conditions'.
      * lisp/progmodes/ada-xref.el (ada-error-file-not-found): Rename from
      error-file-not-found and define with define-error.
      * lisp/emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
      and define with define-error.
      * lisp/userlock.el (file-locked, file-supersession):
      * lisp/simple.el (mark-inactive):
      * lisp/progmodes/js.el (js-moz-bad-rpc, js-js-error):
      * lisp/progmodes/ada-mode.el (ada-mode-errors):
      * lisp/play/life.el (life-extinct):
      * lisp/nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
      * lisp/nxml/xmltok.el (xmltok-markup-declaration-parse-error):
      * lisp/nxml/rng-util.el (rng-error):
      * lisp/nxml/rng-uri.el (rng-uri-error):
      * lisp/nxml/rng-match.el (rng-compile-error):
      * lisp/nxml/rng-cmpct.el (rng-c-incorrect-schema):
      * lisp/nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
      * lisp/nxml/nxml-rap.el (nxml-scan-error):
      * lisp/nxml/nxml-outln.el (nxml-outline-error):
      * lisp/net/soap-client.el (soap-error):
      * lisp/net/gnutls.el (gnutls-error):
      * lisp/net/ange-ftp.el (ftp-error):
      * lisp/mpc.el (mpc-proc-error):
      * lisp/json.el (json-error, json-readtable-error, json-unknown-keyword)
      (json-number-format, json-string-escape, json-string-format)
      (json-key-format, json-object-format):
      * lisp/jka-compr.el (compression-error):
      * lisp/international/quail.el (quail-error):
      * lisp/international/kkc.el (kkc-error):
      * lisp/emacs-lisp/ert.el (ert-test-failed):
      * lisp/calc/calc.el (calc-error, inexact-result, math-overflow)
      (math-underflow):
      * lisp/bookmark.el (bookmark-error-no-filename):
      * lisp/epg.el (epg-error): Define with define-error.
      54bd972f
  12. 01 Feb, 2013 1 commit
  13. 01 Jan, 2013 1 commit
  14. 29 May, 2012 1 commit
  15. 25 Apr, 2012 1 commit
    • 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-resolve-references-for-simple-type)
      (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.
      db9b177b
  16. 11 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Add missing :version tags to new defgroups and defcustoms · 2bed3f04
      Glenn Morris authored
      * window.el (window-sides-slots):
      * tool-bar.el (tool-bar-position):
      * term/xterm.el (xterm-extra-capabilities):
      * ses.el (ses-self-reference-early-detection):
      * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
      (verilog-auto-wire-type)
      (verilog-auto-delete-trailing-whitespace)
      (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
      (verilog-auto-tieoff-declaration):
      * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
      (sql-oracle-statement-starters, sql-oracle-scan-on):
      * progmodes/prolog.el (prolog-align-comments-flag)
      (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
      (prolog-left-indent-regexp, prolog-paren-indent-p)
      (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
      (prolog-types, prolog-mode-specificators)
      (prolog-determinism-specificators, prolog-directives)
      (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
      (prolog-electric-dot-flag)
      (prolog-electric-dot-full-predicate-template)
      (prolog-electric-underscore-flag, prolog-electric-tab-flag)
      (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
      (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
      (prolog-program-switches, prolog-prompt-regexp)
      (prolog-debug-on-string, prolog-debug-off-string)
      (prolog-trace-on-string, prolog-trace-off-string)
      (prolog-zip-on-string, prolog-zip-off-string)
      (prolog-use-standard-consult-compile-method-flag)
      (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
      (prolog-imenu-max-lines, prolog-info-predicate-index)
      (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
      (prolog-char-quote-workaround):
      * progmodes/cc-vars.el (c-defun-tactic):
      * net/tramp.el (tramp-encoding-command-interactive)
      (tramp-local-end-of-line):
      * net/soap-client.el (soap-client):
      * net/netrc.el (netrc-file):
      * net/gnutls.el (gnutls):
      * minibuffer.el (completion-category-overrides)
      (completion-cycle-threshold)
      (completion-pcm-complete-word-inserts-delimiters):
      * man.el (Man-name-local-regexp):
      * mail/feedmail.el (feedmail-display-full-frame):
      * international/characters.el (glyphless-char-display-control):
      * eshell/em-ls.el (eshell-ls-date-format):
      * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
      (lisp-lambda-list-keyword-parameter-indentation)
      (lisp-lambda-list-keyword-parameter-alignment):
      * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
      * dired-x.el (dired-omit-verbose):
      * cus-theme.el (custom-theme-allow-multiple-selections):
      * calc/calc.el (calc-highlight-selections-with-faces)
      (calc-lu-field-reference, calc-lu-power-reference)
      (calc-note-threshold):
      * battery.el (battery-mode-line-limit):
      * arc-mode.el (archive-7z-extract, archive-7z-expunge)
      (archive-7z-update):
      * allout.el (allout-prefixed-keybindings)
      (allout-unprefixed-keybindings)
      (allout-inhibit-auto-fill-on-headline)
      (allout-flattened-numbering-abbreviation):
      * allout-widgets.el (allout-widgets-auto-activation)
      (allout-widgets-icons-dark-subdir)
      (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
      (allout-widgets-theme-dark-background)
      (allout-widgets-theme-light-background)
      (allout-widgets-item-image-properties-emacs)
      (allout-widgets-item-image-properties-xemacs)
      (allout-widgets-run-unit-tests-on-load)
      (allout-widgets-time-decoration-activity)
      (allout-widgets-hook-error-post-time)
      (allout-widgets-track-decoration):
      * gnus/sieve-manage.el (sieve-manage-default-stream):
      * gnus/shr.el (shr):
      * gnus/nnir.el (nnir-ignored-newsgroups, nnir-summary-line-format)
      (nnir-retrieve-headers-override-function)
      (nnir-imap-default-search-key, nnir-notmuch-program)
      (nnir-notmuch-additional-switches, nnir-notmuch-remove-prefix)
      (nnir-method-default-engines):
      * gnus/message.el (message-cite-reply-position):
      * gnus/gssapi.el (gssapi-program):
      * gnus/gravatar.el (gravatar):
      * gnus/gnus-sum.el (gnus-refer-thread-use-nnir):
      * gnus/gnus-registry.el (gnus-registry-unfollowed-addresses)
      (gnus-registry-max-pruned-entries):
      * gnus/gnus-picon.el (gnus-picon-inhibit-top-level-domains):
      * gnus/gnus-int.el (gnus-after-set-mark-hook)
      (gnus-before-update-mark-hook):
      * gnus/gnus-async.el (gnus-async-post-fetch-function):
      * gnus/auth-source.el (auth-source-cache-expiry):
      Add missing :version tags to new defcustoms and defgroups.
      2bed3f04
  17. 05 Jan, 2012 1 commit
  18. 14 Nov, 2011 1 commit
  19. 13 Nov, 2011 1 commit
  20. 30 Jun, 2011 1 commit
  21. 09 Jun, 2011 1 commit
    • Glenn Morris's avatar
      Allow/recommend explicit args for minor-modes in file local eval:s. · f0da764a
      Glenn Morris authored
      * lisp/files.el (hack-one-local-variable-eval-safep):
      Allow minor-modes with explicit +/-1 arguments.
      
      * doc/emacs/custom.texi (Specifying File Variables):
      Recommend explicit arguments for minor modes.
      
      * etc/NEWS: Likewise.
      
      * lisp/doc-view.el, lisp/net/soap-client.el: Update file locals.
      f0da764a
  22. 10 May, 2011 1 commit
    • Glenn Morris's avatar
      Deprecate using "mode:" to enable minor modes (bug#8613) · b8f82dc1
      Glenn Morris authored
      * lisp/files.el (hack-one-local-variable-eval-safep):
      Consider "eval: (foo-mode)" to be safe.
      
      * doc/emacs/custom.texi (Specifying File Variables):
      Deprecate using mode: for minor modes.
      
      * etc/NEWS: Mention this.
      
      * lisp/doc-view.el, lisp/net/soap-client.el:
      Change "mode:" minor-mode file local variables to use "eval:".
      b8f82dc1
  23. 05 Mar, 2011 1 commit
    • Michael Albinus's avatar
      Add package name. Fix author email address. · d733e817
      Michael Albinus authored
      * net/soap-client.el (soap-namespace-put-link): Check if the target
      name is fully qualified -- use only the name part.
      (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
      types, treated the same as xsd:sequence.  (Bug#8166)
      d733e817
  24. 17 Feb, 2011 1 commit
  25. 16 Feb, 2011 3 commits