unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53744: 27.2; [debbugs] soap-client.el: `string-search' (void function?)
@ 2022-02-03  9:08 Kevin Vigouroux via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-02-03 11:03 ` Michael Albinus
  0 siblings, 1 reply; 10+ messages in thread
From: Kevin Vigouroux via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-02-03  9:08 UTC (permalink / raw)
  To: 53744


When I use the “debbugs” package [https://elpa.gnu.org/packages/debbugs.html]
to find keywords with `debbugs-gnu-search', it produces the following error.

#+begin_quote
error in process filter: soap-decode-xs-complex-type: Symbol’s function definition is void: string-search
#+end_quote

---
`toggle-debug-on-error' generated the following backtrace:

#+begin_quote
Debugger entered--Lisp error: (void-function string-search)
  string-search(":" "s-gensym3")
  soap-decode-xs-complex-type(#s(soap-xs-complex-type :name "Map" :namespace-tag "ns2" :id nil :attributes nil :attribute-groups nil :indicator sequence :base nil :elements ... :optional? nil :multiple? nil :is-group nil) (s-gensym3 ... ... ... ... ... ... ... ... ... ... ... ... ... ...))
  soap-decode-type(#s(soap-xs-complex-type :name "Map" :namespace-tag "ns2" :id nil :attributes nil :attribute-groups nil :indicator sequence :base nil :elements ... :optional? nil :multiple? nil :is-group nil) (s-gensym3 ... ... ... ... ... ... ... ... ... ... ... ... ... ...))
  soap-decode-xs-element(#s(soap-xs-element :name "s-gensym3" :namespace-tag "ns1" :id nil :type^ ... :optional? nil :multiple? nil :reference nil :substitution-group nil :alternatives nil :is-group nil) (s-gensym3 ... ... ... ... ... ... ... ... ... ... ... ... ... ...))
  soap-decode-type(#s(soap-xs-element :name "s-gensym3" :namespace-tag "ns1" :id nil :type^ ... :optional? nil :multiple? nil :reference nil :substitution-group nil :alternatives nil :is-group nil) (s-gensym3 ... ... ... ... ... ... ... ... ... ... ... ... ... ...))
  soap-parse-response((get_statusResponse ... ...) #s(soap-bound-operation :operation ... :soap-action "Debbugs/SOAP" :soap-headers nil :soap-body nil :use encoded) #s(soap-wsdl :origin "/home/kevin/.e..." :current-file "/home/kevin/.e..." :xmlschema-imports nil :ports ... :alias-table ... :namespaces ...) nil (soap:Body nil ...))
  soap-parse-envelope((soap:Envelope ((soap:encodingStyle . "http://schemas.xmlsoap.org...") (xmlns:apachens . "http://xml.apache.org/xml-...") (xmlns:soap . "http://schemas.xmlsoap.org...") (xmlns:soapenc . "http://schemas.xmlsoap.org...") (xmlns:xsd . "http://www.w3.org/2001/XML...") (xmlns:xsi . "http://www.w3.org/2001/XML...")) (soap:Body nil (get_statusResponse ... ...))) #s(soap-bound-operation :operation #s(soap-operation :name "get_status" :namespace-tag "ns1" :parameter-order (bugs) :input (in1 . ...) :output (out1 . ...) :faults nil :input-action nil :output-action nil) :soap-action "Debbugs/SOAP" :soap-headers nil :soap-body nil :use encoded) #s(soap-wsdl :origin "/home/kevin/.emacs.d/strai..." :current-file "/home/kevin/.emacs.d/strai..." :xmlschema-imports nil :ports (#s(soap-port :name "debian.org" :namespace-tag nil :service-url "https://bugs.debian.org/cg..." :binding ...) #s(soap-port :name "gnu.org" :namespace-tag nil :service-url "https://debbugs.gnu.org/cg..." :binding ...)) :alias-table (("ns3" . "urn:Debbugs/SOAP/TYPES") ("ns2" . "http://xml.apache.org/xml-...") ("ns1" . "urn:Debbugs/SOAP") ("soapenc" . "http://schemas.xmlsoap.org...") ("xsd" . "http://www.w3.org/2001/XML...")) :namespaces (#s(soap-namespace :name "urn:Debbugs/SOAP" :elements #<hash-table equal 22/65 0x2aaab219a1dd>) #s(soap-namespace :name "http://xml.apache.org/xml-..." :elements #<hash-table equal 2/65 0x2aaab1ba27b1>) #s(soap-namespace :name "urn:Debbugs/SOAP/TYPES" :elements #<hash-table equal 4/65 0x2aaab1ba2461>) #s(soap-namespace :name "http://schemas.xmlsoap.org..." :elements #<hash-table equal 33/65 0x2aaab1db8af5>) #s(soap-namespace :name "http://www.w3.org/2001/XML..." :elements #<hash-table equal 33/65 0x2aaab1db7dc5>))))
  #f(compiled-function (status) #<bytecode 0x2aaab2136065>)((:peer (:certificates ((:version 3 :serial-number "04:7e:f8:64:00:24:2b:50:fa:fd:33:cd:00:aa:99:13:50..." :issuer "C=US,O=Let's Encrypt,CN=R3" :valid-from "2021-12-18" :valid-to "2022-03-18" :subject "CN=debbugs.gnu.org" :public-key-algorithm "EC/ECDSA" :certificate-security-level "Ultra" :signature-algorithm "RSA-SHA256" :public-key-id "sha1:cd:cf:69:4d:91:55:10:fd:cb:df:27:77:62:ca:89:..." :certificate-id "sha1:58:b8:10:a2:8c:c2:56:e6:b5:da:9b:a2:34:46:6e:..." :pem "-----BEGIN CERTIFICATE-----\nMIIEhjCCA26gAwIBAgISBH...") (:version 3 :serial-number "00:91:2b:08:4a:cf:0c:18:a7:53:f6:d6:2e:25:a7:5f:5a" :issuer "C=US,O=Internet Security Research Group,CN=ISRG Ro..." :valid-from "2020-09-04" :valid-to "2025-09-15" :subject "C=US,O=Let's Encrypt,CN=R3" :public-key-algorithm "RSA" :certificate-security-level "Medium" :signature-algorithm "RSA-SHA256" :public-key-id "sha1:8a:93:82:f4:c8:04:08:34:5e:5b:c2:f8:d7:55:d3:..." :certificate-id "sha1:a0:53:37:5b:fe:84:e8:b7:48:78:2c:7c:ee:15:82:..." :pem "-----BEGIN CERTIFICATE-----\nMIIFFjCCAv6gAwIBAgIRAJ...") (:version 3 :serial-number "40:01:77:21:37:d4:e9:42:b8:ee:76:aa:3c:64:0a:b7" :issuer "O=Digital Signature Trust Co.,CN=DST Root CA X3" :valid-from "2021-01-20" :valid-to "2024-09-30" :subject "C=US,O=Internet Security Research Group,CN=ISRG Ro..." :public-key-algorithm "RSA" :certificate-security-level "High" :signature-algorithm "RSA-SHA256" :public-key-id "sha1:f8:16:51:3c:fd:1b:44:9f:2e:6b:28:a1:97:22:1f:..." :certificate-id "sha1:93:3c:6d:de:e9:5c:9c:41:a4:0f:9f:50:49:3d:82:..." :pem "-----BEGIN CERTIFICATE-----\nMIIFYDCCBEigAwIBAgIQQA...")) :certificate (:version 3 :serial-number "04:7e:f8:64:00:24:2b:50:fa:fd:33:cd:00:aa:99:13:50..." :issuer "C=US,O=Let's Encrypt,CN=R3" :valid-from "2021-12-18" :valid-to "2022-03-18" :subject "CN=debbugs.gnu.org" :public-key-algorithm "EC/ECDSA" :certificate-security-level "Ultra" :signature-algorithm "RSA-SHA256" :public-key-id "sha1:cd:cf:69:4d:91:55:10:fd:cb:df:27:77:62:ca:89:..." :certificate-id "sha1:58:b8:10:a2:8c:c2:56:e6:b5:da:9b:a2:34:46:6e:..." :pem "-----BEGIN CERTIFICATE-----\nMIIEhjCCA26gAwIBAgISBH...") :key-exchange "ECDHE-ECDSA" :protocol "TLS1.2" :cipher "AES-256-GCM" :mac "AEAD" :encrypt-then-mac nil :safe-renegotiation t)))
  apply(#f(compiled-function (status) #<bytecode 0x2aaab2136065>) (:peer (:certificates ((:version 3 :serial-number "04:7e:f8:64:00:24:2b:50:fa:fd:33:cd:00:aa:99:13:50..." :issuer "C=US,O=Let's Encrypt,CN=R3" :valid-from "2021-12-18" :valid-to "2022-03-18" :subject "CN=debbugs.gnu.org" :public-key-algorithm "EC/ECDSA" :certificate-security-level "Ultra" :signature-algorithm "RSA-SHA256" :public-key-id "sha1:cd:cf:69:4d:91:55:10:fd:cb:df:27:77:62:ca:89:..." :certificate-id "sha1:58:b8:10:a2:8c:c2:56:e6:b5:da:9b:a2:34:46:6e:..." :pem "-----BEGIN CERTIFICATE-----\nMIIEhjCCA26gAwIBAgISBH...") (:version 3 :serial-number "00:91:2b:08:4a:cf:0c:18:a7:53:f6:d6:2e:25:a7:5f:5a" :issuer "C=US,O=Internet Security Research Group,CN=ISRG Ro..." :valid-from "2020-09-04" :valid-to "2025-09-15" :subject "C=US,O=Let's Encrypt,CN=R3" :public-key-algorithm "RSA" :certificate-security-level "Medium" :signature-algorithm "RSA-SHA256" :public-key-id "sha1:8a:93:82:f4:c8:04:08:34:5e:5b:c2:f8:d7:55:d3:..." :certificate-id "sha1:a0:53:37:5b:fe:84:e8:b7:48:78:2c:7c:ee:15:82:..." :pem "-----BEGIN CERTIFICATE-----\nMIIFFjCCAv6gAwIBAgIRAJ...") (:version 3 :serial-number "40:01:77:21:37:d4:e9:42:b8:ee:76:aa:3c:64:0a:b7" :issuer "O=Digital Signature Trust Co.,CN=DST Root CA X3" :valid-from "2021-01-20" :valid-to "2024-09-30" :subject "C=US,O=Internet Security Research Group,CN=ISRG Ro..." :public-key-algorithm "RSA" :certificate-security-level "High" :signature-algorithm "RSA-SHA256" :public-key-id "sha1:f8:16:51:3c:fd:1b:44:9f:2e:6b:28:a1:97:22:1f:..." :certificate-id "sha1:93:3c:6d:de:e9:5c:9c:41:a4:0f:9f:50:49:3d:82:..." :pem "-----BEGIN CERTIFICATE-----\nMIIFYDCCBEigAwIBAgIQQA...")) :certificate (:version 3 :serial-number "04:7e:f8:64:00:24:2b:50:fa:fd:33:cd:00:aa:99:13:50..." :issuer "C=US,O=Let's Encrypt,CN=R3" :valid-from "2021-12-18" :valid-to "2022-03-18" :subject "CN=debbugs.gnu.org" :public-key-algorithm "EC/ECDSA" :certificate-security-level "Ultra" :signature-algorithm "RSA-SHA256" :public-key-id "sha1:cd:cf:69:4d:91:55:10:fd:cb:df:27:77:62:ca:89:..." :certificate-id "sha1:58:b8:10:a2:8c:c2:56:e6:b5:da:9b:a2:34:46:6e:..." :pem "-----BEGIN CERTIFICATE-----\nMIIEhjCCA26gAwIBAgISBH...") :key-exchange "ECDHE-ECDSA" :protocol "TLS1.2" :cipher "AES-256-GCM" :mac "AEAD" :encrypt-then-mac nil :safe-renegotiation t)))
  url-http-activate-callback()
  url-http-content-length-after-change-function(5637 5645 8)
  url-http-generic-filter(#<process debbugs.gnu.org> " \345\26)\15\245\0\0")
  accept-process-output(#<process debbugs.gnu.org>)
  debbugs-get-status(47766 10955 15247 15247 15247 14841 49959 25943 3303 25943 16967 2401 49959 49959 950 25943 950 25511 950 21775 48413 25511 25943 48413 45844 47244 16013 16967 17046 52677 29953 47244 47244 13594 37826 13594 17046 24091 24091 24091 32825 2199 24091 32825 2199 2199 37826)
  apply(debbugs-get-status (47766 10955 15247 15247 15247 14841 49959 25943 3303 25943 16967 2401 49959 49959 950 25943 950 25511 950 21775 48413 25511 25943 48413 45844 47244 16013 16967 17046 52677 29953 47244 47244 13594 37826 13594 17046 24091 24091 24091 32825 2199 24091 32825 2199 2199 37826))
  debbugs-gnu-show-reports()
  debbugs-gnu(nil ("emacs") nil)
  debbugs-gnu-search("invisible frame" nil nil ("emacs") nil)
  funcall-interactively(debbugs-gnu-search "invisible frame" nil nil ("emacs") nil)
  call-interactively(debbugs-gnu-search record nil)
  command-execute(debbugs-gnu-search record)
  execute-extended-command(nil "debbugs-gnu-search" "debbugs-gnu-sear")
  funcall-interactively(execute-extended-command nil "debbugs-gnu-search" "debbugs-gnu-sear")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)
#+end_quote


In GNU Emacs 27.2 (build 1, aarch64-unknown-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4)
 of 2021-03-26 built on leming
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Manjaro ARM

Recent messages:
Quit
Making completion list...
Query bugs...done
Get bug information...100% 
Entering debugger...
Checking new news...
nnimap read 0k from imap.laposte.net
Reading active file from archive via nnfolder...done
Reading active file via nndraft...done
Checking new news...done

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-wide-int
 --with-modules --with-cairo --with-harfbuzz 'CFLAGS=-march=armv8-a -O2
 -pipe -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON
PDUMPER LCMS2 GMP

Important settings:
  value of $LC_MONETARY: fr_FR.UTF-8
  value of $LC_NUMERIC: fr_FR.UTF-8
  value of $LC_TIME: fr_FR.UTF-8
  value of $LANG: fr_FR.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Summary

Minor modes in effect:
  gnus-mailing-list-mode: t
  doom-modeline-mode: t
  display-time-mode: t
  leaf-key-override-global-mode: t
  straight-use-package-mode: t
  straight-package-neutering-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/kevin/.emacs.d/straight/build/soap-client/soap-client hides /usr/share/emacs/27.2/lisp/net/soap-client
/home/kevin/.emacs.d/straight/build/soap-client/soap-inspect hides /usr/share/emacs/27.2/lisp/net/soap-inspect

Features:
(shadow sort emacsbug sendmail help-fns radix-tree cl-print debug
backtrace mm-archive url-cache crm debbugs-gnu add-log debbugs
soap-client url-http url-auth url-gw warnings rng-xsd rng-dt rng-util
xsd-regexp debbugs-autoloads soap-client-autoloads misearch
multi-isearch vc-mtn vc-hg vc-git diff-mode vc-bzr vc-src vc-sccs vc-svn
vc-cvs vc-rcs vc vc-dispatcher project org-element avl-tree generator
ol-eww eww mm-url thingatpt url-queue ol-rmail ol-mhe ol-irc ol-info
ol-gnus ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex
ol-bbdb ol-w3m gnus-cite mail-extr nnir gnus-ml disp-table pp gnus-eform
gnus-demon gnus-topic nndraft nnmh nnfolder utf-7 gnutls network-stream
nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg
gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache
gnus-sum url url-proxy url-privacy url-expand url-methods url-history
mailcap shr url-cookie url-domsuf url-util url-parse auth-source eieio
eieio-core eieio-loaddefs json map url-vars svg xml dom browse-url
gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source
utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message
rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa
derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail
rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search
mail-utils mm-util mail-prsvr face-remap vterm-autoloads edmacro kmacro
doom-modeline doom-modeline-segments doom-modeline-env
doom-modeline-core shrink-path rx f s dash doom-modeline-autoloads
shrink-path-autoloads f-autoloads dash-autoloads s-autoloads
all-the-icons all-the-icons-faces data-material data-weathericons
data-octicons data-fileicons data-faicons data-alltheicons
hydra-autoloads lv-autoloads time cus-edit cus-start cus-load wid-edit
doom-solarized-dark-theme doom-themes doom-themes-base
doom-themes-autoloads finder-inf leaf-keywords leaf org ob ob-tangle
ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint
org-pcomplete pcomplete comint ansi-color ring org-list org-faces
org-entities time-date noutline outline easy-mmode org-version
ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat advice
org-macs org-loaddefs format-spec find-func cal-menu calendar
cal-loaddefs all-the-icons-autoloads elpher-autoloads
leaf-keywords-autoloads leaf-autoloads straight-autoloads info cl-seq
cl-extra help-mode easymenu seq byte-opt straight subr-x cl-macs gv
cl-loaddefs cl-lib bytecomp byte-compile cconv tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify lcms2 dynamic-setting
system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit
x multi-tty make-network-process emacs)

Memory information:
((conses 16 605558 47540)
 (symbols 48 30141 1)
 (strings 32 106055 14318)
 (string-bytes 1 3311045)
 (vectors 16 44619)
 (vector-slots 8 644938 27816)
 (floats 8 954 513)
 (intervals 56 3573 722)
 (buffers 1000 34))





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#53744: 27.2; [debbugs] soap-client.el: `string-search' (void function?)
  2022-02-03  9:08 bug#53744: 27.2; [debbugs] soap-client.el: `string-search' (void function?) Kevin Vigouroux via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-02-03 11:03 ` Michael Albinus
  2022-02-03 11:09   ` Eli Zaretskii
  2022-02-03 11:36   ` Mattias Engdegård
  0 siblings, 2 replies; 10+ messages in thread
From: Michael Albinus @ 2022-02-03 11:03 UTC (permalink / raw)
  To: 53744; +Cc: ke.vigouroux, mattiase

Kevin Vigouroux via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:

Hi,

> When I use the “debbugs” package [https://elpa.gnu.org/packages/debbugs.html]
> to find keywords with `debbugs-gnu-search', it produces the following error.
>
> #+begin_quote
> error in process filter: soap-decode-xs-complex-type: Symbol’s function definition is void: string-search
> #+end_quote

`string-search' is used in soap-client.el since commit 3b7b181bded in
Emacs master branch. However, it exists since Emacs 28.1 only.

soap-client.el is used also for older Emacsen via GNU ELPA. I recommend
to revert that change.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#53744: 27.2; [debbugs] soap-client.el: `string-search' (void function?)
  2022-02-03 11:03 ` Michael Albinus
@ 2022-02-03 11:09   ` Eli Zaretskii
  2022-02-03 11:36   ` Mattias Engdegård
  1 sibling, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2022-02-03 11:09 UTC (permalink / raw)
  To: Michael Albinus; +Cc: ke.vigouroux, 53744, mattiase

> From: Michael Albinus <michael.albinus@gmx.de>
> Date: Thu, 03 Feb 2022 12:03:47 +0100
> Cc: ke.vigouroux@laposte.net, mattiase@acm.org
> 
> > When I use the “debbugs” package [https://elpa.gnu.org/packages/debbugs.html]
> > to find keywords with `debbugs-gnu-search', it produces the following error.
> >
> > #+begin_quote
> > error in process filter: soap-decode-xs-complex-type: Symbol’s function definition is void: string-search
> > #+end_quote
> 
> `string-search' is used in soap-client.el since commit 3b7b181bded in
> Emacs master branch. However, it exists since Emacs 28.1 only.
> 
> soap-client.el is used also for older Emacsen via GNU ELPA. I recommend
> to revert that change.

Please go ahead and revert.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#53744: 27.2; [debbugs] soap-client.el: `string-search' (void function?)
  2022-02-03 11:03 ` Michael Albinus
  2022-02-03 11:09   ` Eli Zaretskii
@ 2022-02-03 11:36   ` Mattias Engdegård
  2022-02-03 11:53     ` Eli Zaretskii
  2022-02-03 12:38     ` Michael Albinus
  1 sibling, 2 replies; 10+ messages in thread
From: Mattias Engdegård @ 2022-02-03 11:36 UTC (permalink / raw)
  To: Michael Albinus; +Cc: ke.vigouroux, fitzsim, 53744

3 feb. 2022 kl. 12.03 skrev Michael Albinus <michael.albinus@gmx.de>:

> soap-client.el is used also for older Emacsen via GNU ELPA.

Thanks you, that file has now been changed not to use `string-search` or `string-replace`.

Emacs is becoming a mine-field with all these core packages. In particular, soap-client does not advertise its required Emacs version in the Package-Requires: line. What Emacs version would be the appropriate minimum?

Without knowing that, it's difficult to ensure that the package works for the intended configurations.






^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#53744: 27.2; [debbugs] soap-client.el: `string-search' (void function?)
  2022-02-03 11:36   ` Mattias Engdegård
@ 2022-02-03 11:53     ` Eli Zaretskii
  2022-02-03 12:38     ` Michael Albinus
  1 sibling, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2022-02-03 11:53 UTC (permalink / raw)
  To: Mattias Engdegård; +Cc: ke.vigouroux, fitzsim, michael.albinus, 53744

> From: Mattias Engdegård <mattiase@acm.org>
> Date: Thu, 3 Feb 2022 12:36:05 +0100
> Cc: ke.vigouroux@laposte.net, fitzsim@fitzsim.org, 53744@debbugs.gnu.org
> 
> Emacs is becoming a mine-field with all these core packages. In particular, soap-client does not advertise its required Emacs version in the Package-Requires: line. What Emacs version would be the appropriate minimum?
> 
> Without knowing that, it's difficult to ensure that the package works for the intended configurations.

Yes, we should aim at including this information in files used by ELPA
packages.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#53744: 27.2; [debbugs] soap-client.el: `string-search' (void function?)
  2022-02-03 11:36   ` Mattias Engdegård
  2022-02-03 11:53     ` Eli Zaretskii
@ 2022-02-03 12:38     ` Michael Albinus
  2022-02-03 14:48       ` Thomas Fitzsimmons
  1 sibling, 1 reply; 10+ messages in thread
From: Michael Albinus @ 2022-02-03 12:38 UTC (permalink / raw)
  To: Mattias Engdegård; +Cc: ke.vigouroux, fitzsim, 53744

Mattias Engdegård <mattiase@acm.org> writes:

Hi Mattias,

>> soap-client.el is used also for older Emacsen via GNU ELPA.
>
> Thanks you, that file has now been changed not to use `string-search` or `string-replace`.

Thanks. Perhaps it needs also a new version in order to be visible on
GNU ELPA, don't know. Thomas might know.

> Emacs is becoming a mine-field with all these core packages. In particular, soap-client does not advertise its required Emacs version in the Package-Requires: line. What Emacs version would be the appropriate minimum?
> Without knowing that, it's difficult to ensure that the package works for the intended configurations.

Yes. debbugs requires (emacs "25.1"), I would appreciate if soap-client
could do the same.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#53744: 27.2; [debbugs] soap-client.el: `string-search' (void function?)
  2022-02-03 12:38     ` Michael Albinus
@ 2022-02-03 14:48       ` Thomas Fitzsimmons
  2022-02-03 14:59         ` Mattias Engdegård
  0 siblings, 1 reply; 10+ messages in thread
From: Thomas Fitzsimmons @ 2022-02-03 14:48 UTC (permalink / raw)
  To: Michael Albinus; +Cc: Mattias Engdegård, 53744, ke.vigouroux

Hi Michael, Mattias,

Michael Albinus <michael.albinus@gmx.de> writes:

> Mattias Engdegård <mattiase@acm.org> writes:
>
> Hi Mattias,
>
>>> soap-client.el is used also for older Emacsen via GNU ELPA.
>>
>> Thanks you, that file has now been changed not to use `string-search`
>> or `string-replace`.

Yes, thanks for fixing this Mattias.

> Perhaps it needs also a new version in order to be visible on GNU
> ELPA, don't know. Thomas might know.

As I remember, jump bumping the version of a core ELPA package on
emacs.git's master branch will result in it being updated in the
archive.  I've done a minor version bump, so we'll see if 3.2.1 appears
in "list-packages" within 24 hours.

>> Emacs is becoming a mine-field with all these core packages. In
>> particular, soap-client does not advertise its required Emacs
>> version in the Package-Requires: line. What Emacs version would be
>> the appropriate minimum?
>> Without knowing that, it's difficult to ensure that the package works
>> for the intended configurations.
>
> Yes. debbugs requires (emacs "25.1"), I would appreciate if
> soap-client could do the same.

Done, added (emacs "24.1") to Package-Requires.  Excorporate 1.0.0,
which uses most of soap-client's features, works back to Emacs 24.1.

Thomas





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#53744: 27.2; [debbugs] soap-client.el: `string-search' (void function?)
  2022-02-03 14:48       ` Thomas Fitzsimmons
@ 2022-02-03 14:59         ` Mattias Engdegård
  2022-02-03 15:58           ` Thomas Fitzsimmons
  0 siblings, 1 reply; 10+ messages in thread
From: Mattias Engdegård @ 2022-02-03 14:59 UTC (permalink / raw)
  To: Thomas Fitzsimmons; +Cc: Kevin Vigouroux, Michael Albinus, Stefan Kangas, 53744

3 feb. 2022 kl. 15.48 skrev Thomas Fitzsimmons <fitzsim@fitzsim.org>:

> Done, added (emacs "24.1") to Package-Requires.  Excorporate 1.0.0,
> which uses most of soap-client's features, works back to Emacs 24.1.

Excellent! Do you have a CI or other arrangement to test that soap-client and excorporate work with versions back to 24.1?

For instance, soap-inspect.el also uses seq-random-elt which seems to have been introduced in Emacs 26.






^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#53744: 27.2; [debbugs] soap-client.el: `string-search' (void function?)
  2022-02-03 14:59         ` Mattias Engdegård
@ 2022-02-03 15:58           ` Thomas Fitzsimmons
  2022-02-03 16:03             ` Mattias Engdegård
  0 siblings, 1 reply; 10+ messages in thread
From: Thomas Fitzsimmons @ 2022-02-03 15:58 UTC (permalink / raw)
  To: Mattias Engdegård
  Cc: Kevin Vigouroux, Michael Albinus, Stefan Kangas, 53744

Mattias Engdegård <mattiase@acm.org> writes:

> 3 feb. 2022 kl. 15.48 skrev Thomas Fitzsimmons <fitzsim@fitzsim.org>:
>
>> Done, added (emacs "24.1") to Package-Requires.  Excorporate 1.0.0,
>> which uses most of soap-client's features, works back to Emacs 24.1.
>
> Excellent! Do you have a CI or other arrangement to test that
> soap-client and excorporate work with versions back to 24.1?

I've been testing it by hand against a server for each Excorporate
release.

I have Alex Harsanyi's soap-client test suite but it's probably not
redistributable because it contains WSDL files that don't have proper
license information.  Maybe I could rig something up on sourcehut
(sr.ht) to periodically run that test suite with Emacs 24.1 and
soap-client from master.  It would be nice if there were some official
GNU ELPA CI for older versions of Emacs though, since, as you point out,
this same issue applies to other core packages.

> For instance, soap-inspect.el also uses seq-random-elt which seems to
> have been introduced in Emacs 26.

Yeah, soap-inspect.el is a debugging tool, not a library like
soap-client.el, so I'd say maintaining backward compatibility isn't as
important for it.

Thomas





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#53744: 27.2; [debbugs] soap-client.el: `string-search' (void function?)
  2022-02-03 15:58           ` Thomas Fitzsimmons
@ 2022-02-03 16:03             ` Mattias Engdegård
  0 siblings, 0 replies; 10+ messages in thread
From: Mattias Engdegård @ 2022-02-03 16:03 UTC (permalink / raw)
  To: Thomas Fitzsimmons
  Cc: Kevin Vigouroux, Michael Albinus, Stefan Kangas, 53744-done

3 feb. 2022 kl. 16.58 skrev Thomas Fitzsimmons <fitzsim@fitzsim.org>:

> I've been testing it by hand against a server for each Excorporate
> release.

That's reassuring to know.
It sounds as if we are done for now, so I'm closing the bug. Do tell if there is anything else.






^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-02-03 16:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-03  9:08 bug#53744: 27.2; [debbugs] soap-client.el: `string-search' (void function?) Kevin Vigouroux via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-03 11:03 ` Michael Albinus
2022-02-03 11:09   ` Eli Zaretskii
2022-02-03 11:36   ` Mattias Engdegård
2022-02-03 11:53     ` Eli Zaretskii
2022-02-03 12:38     ` Michael Albinus
2022-02-03 14:48       ` Thomas Fitzsimmons
2022-02-03 14:59         ` Mattias Engdegård
2022-02-03 15:58           ` Thomas Fitzsimmons
2022-02-03 16:03             ` Mattias Engdegård

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).