Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: Failed to display some articles
       [not found] <mailman.1048.1336868735.855.info-gnus-english@gnu.org>
@ 2012-06-10 19:14 ` Lars Magne Ingebrigtsen
  2012-06-11  4:04   ` XeCycle
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2012-06-10 19:14 UTC (permalink / raw)
  To: XeCycle; +Cc: info-gnus-english

XeCycle <XeCycle@Gmail.com> writes:

> After a recent git pull I'm unable to display some articles.  It
> says something like this:

I think this is fixed in the current git Gnus.  I added some iso-8859-1
cookies to the file...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/

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

* Re: Failed to display some articles
  2012-06-10 19:14 ` Failed to display some articles Lars Magne Ingebrigtsen
@ 2012-06-11  4:04   ` XeCycle
  0 siblings, 0 replies; 4+ messages in thread
From: XeCycle @ 2012-06-11  4:04 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 544 bytes --]

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> XeCycle <XeCycle@Gmail.com> writes:
>
>> After a recent git pull I'm unable to display some articles.  It
>> says something like this:
>
> I think this is fixed in the current git Gnus.  I added some iso-8859-1
> cookies to the file...

Thanks, but I'm using w3m anyway now.  It looks nicer than our
shr.

-- 
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591

[-- Attachment #1.2: Type: application/pgp-signature, Size: 489 bytes --]

[-- Attachment #2: Type: text/plain, Size: 162 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Re: Failed to display some articles
  2012-05-13  0:21 XeCycle
@ 2012-05-14  2:55 ` XeCycle
  0 siblings, 0 replies; 4+ messages in thread
From: XeCycle @ 2012-05-14  2:55 UTC (permalink / raw)
  To: info-gnus-english; +Cc: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 910 bytes --]

XeCycle <XeCycle@Gmail.com> writes:

> Hello,
>
> After a recent git pull I'm unable to display some articles.  It
> says something like this:
>
> Debugger entered--Lisp error: (invalid-regexp "Unmatched [ or [^")
>   string-match("\\`[ 	\n燷" "\n    On 4/27/2012 6:44 AM, XeCycle wrote:\n    ")

From this line it looks like an Emacs bug.  All calls to
string-match in shr-insert are hardcoding the first parameter,
and seems the regex is broken --- but no way.

I'm using Chinese UTF-8 locale.

This usually happens when trying to display some article with an
HTML part.

> Both my Emacs and my Gnus are quite new, pulled from git.
>
> gnus-version "Ma Gnus v0.6"
> emacs-version "24.1.50.2"
>
> Thank you.

-- 
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591

[-- Attachment #1.2: Type: application/pgp-signature, Size: 489 bytes --]

[-- Attachment #2: Type: text/plain, Size: 162 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Failed to display some articles
@ 2012-05-13  0:21 XeCycle
  2012-05-14  2:55 ` XeCycle
  0 siblings, 1 reply; 4+ messages in thread
From: XeCycle @ 2012-05-13  0:21 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 13178 bytes --]

Hello,

After a recent git pull I'm unable to display some articles.  It
says something like this:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (invalid-regexp "Unmatched [ or [^")
  string-match("\\`[ 	\n燷" "\n    On 4/27/2012 6:44 AM, XeCycle wrote:\n    ")
  shr-insert("\n    On 4/27/2012 6:44 AM, XeCycle wrote:\n    ")
  shr-generic(((:bgcolor . "#FFFFFF") (:text . "#000000") (text . "\n    On 4/27/2012 6:44 AM, XeCycle wrote:\n    ") (blockquote (:cite . "mid:87397pthkv.fsf@Gmail.com") (:type . "cite") (text . "\n      ") (pre (:wrap . "") (text . "Hi,\n\nI want to embed maxima in my common lisp program, i.e. calling\nmaxima routines directly.  I tried embeddable maxima, which works\nin most cases except with some packages, namely FFT.  That one\ndoesn't load.  Some else are loadable with the ($load \"vect\")\nsyntax.  My normal maxima installation can load FFT via\nload(fft);, but cannot accept ($load \"fft\"), unless I do\n(cl-user::run) then to_lisp(); and type that.  Seems the (run)\ndid some magic? ")) (text . "\n    ")) (text . "\n    I think there is a problem with the search path for files not being\n    set up, but") (br) (text . "\n    this is just a guess.  I think there is perhaps a simpler solution:\n    use a maxima but have the") (br) (text . "\n    init file load your programs and run them.") (br) (br) (blockquote (:cite . "mid:87397pthkv.fsf@Gmail.com") (:type . "cite") (text . "\n      ") (pre (:wrap . "") (text . " Starting maxima and return to lisp is not\nacceptable for my task, can I do what it did to setup my\nenvironment correctly?\n\nThanks.\n\n")) (text . "\n      ") (br) (fieldset (:class . "mimeAttachmentHeader")) (br) (pre (:wrap . "") (text . "_______________________________________________\nMaxima mailing list\n") (a (:class . "moz-txt-link-abbreviated") (:href . "mailto:Maxima@math.utexas.edu") (text . "Maxima@math.utexas.edu")) (text . "\n") (a (:class . "moz-txt-link-freetext") (:href . "http://www.math.utexas.edu/mailman/listinfo/maxima") (text . "http://www.math.utexas.edu/mailman/listinfo/maxima")) (text . "\n")) (text . "\n    ")) (text . "\n    ") (br)))
  shr-tag-body(((:bgcolor . "#FFFFFF") (:text . "#000000") (text . "\n    On 4/27/2012 6:44 AM, XeCycle wrote:\n    ") (blockquote (:cite . "mid:87397pthkv.fsf@Gmail.com") (:type . "cite") (text . "\n      ") (pre (:wrap . "") (text . "Hi,\n\nI want to embed maxima in my common lisp program, i.e. calling\nmaxima routines directly.  I tried embeddable maxima, which works\nin most cases except with some packages, namely FFT.  That one\ndoesn't load.  Some else are loadable with the ($load \"vect\")\nsyntax.  My normal maxima installation can load FFT via\nload(fft);, but cannot accept ($load \"fft\"), unless I do\n(cl-user::run) then to_lisp(); and type that.  Seems the (run)\ndid some magic? ")) (text . "\n    ")) (text . "\n    I think there is a problem with the search path for files not being\n    set up, but") (br) (text . "\n    this is just a guess.  I think there is perhaps a simpler solution:\n    use a maxima but have the") (br) (text . "\n    init file load your programs and run them.") (br) (br) (blockquote (:cite . "mid:87397pthkv.fsf@Gmail.com") (:type . "cite") (text . "\n      ") (pre (:wrap . "") (text . " Starting maxima and return to lisp is not\nacceptable for my task, can I do what it did to setup my\nenvironment correctly?\n\nThanks.\n\n")) (text . "\n      ") (br) (fieldset (:class . "mimeAttachmentHeader")) (br) (pre (:wrap . "") (text . "_______________________________________________\nMaxima mailing list\n") (a (:class . "moz-txt-link-abbreviated") (:href . "mailto:Maxima@math.utexas.edu") (text . "Maxima@math.utexas.edu")) (text . "\n") (a (:class . "moz-txt-link-freetext") (:href . "http://www.math.utexas.edu/mailman/listinfo/maxima") (text . "http://www.math.utexas.edu/mailman/listinfo/maxima")) (text . "\n")) (text . "\n    ")) (text . "\n    ") (br)))
  shr-descend((body (:bgcolor . "#FFFFFF") (:text . "#000000") (text . "\n    On 4/27/2012 6:44 AM, XeCycle wrote:\n    ") (blockquote (:cite . "mid:87397pthkv.fsf@Gmail.com") (:type . "cite") (text . "\n      ") (pre (:wrap . "") (text . "Hi,\n\nI want to embed maxima in my common lisp program, i.e. calling\nmaxima routines directly.  I tried embeddable maxima, which works\nin most cases except with some packages, namely FFT.  That one\ndoesn't load.  Some else are loadable with the ($load \"vect\")\nsyntax.  My normal maxima installation can load FFT via\nload(fft);, but cannot accept ($load \"fft\"), unless I do\n(cl-user::run) then to_lisp(); and type that.  Seems the (run)\ndid some magic? ")) (text . "\n    ")) (text . "\n    I think there is a problem with the search path for files not being\n    set up, but") (br) (text . "\n    this is just a guess.  I think there is perhaps a simpler solution:\n    use a maxima but have the") (br) (text . "\n    init file load your programs and run them.") (br) (br) (blockquote (:cite . "mid:87397pthkv.fsf@Gmail.com") (:type . "cite") (text . "\n      ") (pre (:wrap . "") (text . " Starting maxima and return to lisp is not\nacceptable for my task, can I do what it did to setup my\nenvironment correctly?\n\nThanks.\n\n")) (text . "\n      ") (br) (fieldset (:class . "mimeAttachmentHeader")) (br) (pre (:wrap . "") (text . "_______________________________________________\nMaxima mailing list\n") (a (:class . "moz-txt-link-abbreviated") (:href . "mailto:Maxima@math.utexas.edu") (text . "Maxima@math.utexas.edu")) (text . "\n") (a (:class . "moz-txt-link-freetext") (:href . "http://www.math.utexas.edu/mailman/listinfo/maxima") (text . "http://www.math.utexas.edu/mailman/listinfo/maxima")) (text . "\n")) (text . "\n    ")) (text . "\n    ") (br)))
  shr-generic(((head (meta (:content . "text/html; charset=ISO-8859-1") (:http-equiv . "Content-Type"))) (body (:bgcolor . "#FFFFFF") (:text . "#000000") (text . "\n    On 4/27/2012 6:44 AM, XeCycle wrote:\n    ") (blockquote (:cite . "mid:87397pthkv.fsf@Gmail.com") (:type . "cite") (text . "\n      ") (pre (:wrap . "") (text . "Hi,\n\nI want to embed maxima in my common lisp program, i.e. calling\nmaxima routines directly.  I tried embeddable maxima, which works\nin most cases except with some packages, namely FFT.  That one\ndoesn't load.  Some else are loadable with the ($load \"vect\")\nsyntax.  My normal maxima installation can load FFT via\nload(fft);, but cannot accept ($load \"fft\"), unless I do\n(cl-user::run) then to_lisp(); and type that.  Seems the (run)\ndid some magic? ")) (text . "\n    ")) (text . "\n    I think there is a problem with the search path for files not being\n    set up, but") (br) (text . "\n    this is just a guess.  I think there is perhaps a simpler solution:\n    use a maxima but have the") (br) (text . "\n    init file load your programs and run them.") (br) (br) (blockquote (:cite . "mid:87397pthkv.fsf@Gmail.com") (:type . "cite") (text . "\n      ") (pre (:wrap . "") (text . " Starting maxima and return to lisp is not\nacceptable for my task, can I do what it did to setup my\nenvironment correctly?\n\nThanks.\n\n")) (text . "\n      ") (br) (fieldset (:class . "mimeAttachmentHeader")) (br) (pre (:wrap . "") (text . "_______________________________________________\nMaxima mailing list\n") (a (:class . "moz-txt-link-abbreviated") (:href . "mailto:Maxima@math.utexas.edu") (text . "Maxima@math.utexas.edu")) (text . "\n") (a (:class . "moz-txt-link-freetext") (:href . "http://www.math.utexas.edu/mailman/listinfo/maxima") (text . "http://www.math.utexas.edu/mailman/listinfo/maxima")) (text . "\n")) (text . "\n    ")) (text . "\n    ") (br))))
  shr-descend((html (head (meta (:content . "text/html; charset=ISO-8859-1") (:http-equiv . "Content-Type"))) (body (:bgcolor . "#FFFFFF") (:text . "#000000") (text . "\n    On 4/27/2012 6:44 AM, XeCycle wrote:\n    ") (blockquote (:cite . "mid:87397pthkv.fsf@Gmail.com") (:type . "cite") (text . "\n      ") (pre (:wrap . "") (text . "Hi,\n\nI want to embed maxima in my common lisp program, i.e. calling\nmaxima routines directly.  I tried embeddable maxima, which works\nin most cases except with some packages, namely FFT.  That one\ndoesn't load.  Some else are loadable with the ($load \"vect\")\nsyntax.  My normal maxima installation can load FFT via\nload(fft);, but cannot accept ($load \"fft\"), unless I do\n(cl-user::run) then to_lisp(); and type that.  Seems the (run)\ndid some magic? ")) (text . "\n    ")) (text . "\n    I think there is a problem with the search path for files not being\n    set up, but") (br) (text . "\n    this is just a guess.  I think there is perhaps a simpler solution:\n    use a maxima but have the") (br) (text . "\n    init file load your programs and run them.") (br) (br) (blockquote (:cite . "mid:87397pthkv.fsf@Gmail.com") (:type . "cite") (text . "\n      ") (pre (:wrap . "") (text . " Starting maxima and return to lisp is not\nacceptable for my task, can I do what it did to setup my\nenvironment correctly?\n\nThanks.\n\n")) (text . "\n      ") (br) (fieldset (:class . "mimeAttachmentHeader")) (br) (pre (:wrap . "") (text . "_______________________________________________\nMaxima mailing list\n") (a (:class . "moz-txt-link-abbreviated") (:href . "mailto:Maxima@math.utexas.edu") (text . "Maxima@math.utexas.edu")) (text . "\n") (a (:class . "moz-txt-link-freetext") (:href . "http://www.math.utexas.edu/mailman/listinfo/maxima") (text . "http://www.math.utexas.edu/mailman/listinfo/maxima")) (text . "\n")) (text . "\n    ")) (text . "\n    ") (br))))
  shr-insert-document((html nil (head nil (meta ((content . "text/html; charset=ISO-8859-1") (http-equiv . "Content-Type")))) (body ((bgcolor . "#FFFFFF") (text . "#000000")) "\n    On 4/27/2012 6:44 AM, XeCycle wrote:\n    " (blockquote ((cite . "mid:87397pthkv.fsf@Gmail.com") (type . "cite")) "\n      " (pre ((wrap . "")) "Hi,\n\nI want to embed maxima in my common lisp program, i.e. calling\nmaxima routines directly.  I tried embeddable maxima, which works\nin most cases except with some packages, namely FFT.  That one\ndoesn't load.  Some else are loadable with the ($load \"vect\")\nsyntax.  My normal maxima installation can load FFT via\nload(fft);, but cannot accept ($load \"fft\"), unless I do\n(cl-user::run) then to_lisp(); and type that.  Seems the (run)\ndid some magic? ") "\n    ") "\n    I think there is a problem with the search path for files not being\n    set up, but" (br nil) "\n    this is just a guess.  I think there is perhaps a simpler solution:\n    use a maxima but have the" (br nil) "\n    init file load your programs and run them." (br nil) (br nil) (blockquote ((cite . "mid:87397pthkv.fsf@Gmail.com") (type . "cite")) "\n      " (pre ((wrap . "")) " Starting maxima and return to lisp is not\nacceptable for my task, can I do what it did to setup my\nenvironment correctly?\n\nThanks.\n\n") "\n      " (br nil) (fieldset ((class . "mimeAttachmentHeader"))) (br nil) (pre ((wrap . "")) "_______________________________________________\nMaxima mailing list\n" (a ((class . "moz-txt-link-abbreviated") (href . "mailto:Maxima@math.utexas.edu")) "Maxima@math.utexas.edu") "\n" (a ((class . "moz-txt-link-freetext") (href . "http://www.math.utexas.edu/mailman/listinfo/maxima")) "http://www.math.utexas.edu/mailman/listinfo/maxima") "\n") "\n    ") "\n    " (br nil))))
  mm-shr((#<buffer  *mm*<3>> ("text/html" (charset . "ISO-8859-1")) 7bit nil nil nil nil nil))
  mm-inline-text-html((#<buffer  *mm*<3>> ("text/html" (charset . "ISO-8859-1")) 7bit nil nil nil nil nil))
  mm-display-inline((#<buffer  *mm*<3>> ("text/html" (charset . "ISO-8859-1")) 7bit nil nil nil nil nil))
  mm-display-part((#<buffer  *mm*<3>> ("text/html" (charset . "ISO-8859-1")) 7bit nil nil nil nil nil))
  gnus-mime-display-alternative(((#<buffer  *mm*<2>> ("text/plain" (format . "flowed") (charset . "ISO-8859-1")) 7bit nil ("inline") nil nil nil) (#<buffer  *mm*<3>> ("text/html" (charset . "ISO-8859-1")) 7bit nil nil nil nil nil)) nil nil 1)
  gnus-mime-display-part((#("multipart/alternative" 0 21 (boundary "------------060904040806000509090405" buffer #<buffer  *mm*> from "fateman@eecs.berkeley.edu" start nil)) (#<buffer  *mm*<2>> ("text/plain" (format . "flowed") (charset . "ISO-8859-1")) 7bit nil ("inline") nil nil nil) (#<buffer  *mm*<3>> ("text/html" (charset . "ISO-8859-1")) 7bit nil nil nil nil nil)))
  gnus-display-mime()
  gnus-article-prepare-display()
  gnus-article-prepare(2790 nil)
  gnus-summary-display-article(2790 nil)
  gnus-summary-goto-article(2790 nil 1)
  gnus-summary-next-article(nil nil t)
  gnus-summary-prev-article(nil)
  call-interactively(gnus-summary-prev-article nil nil)
--8<---------------cut here---------------end--------------->8---

Both my Emacs and my Gnus are quite new, pulled from git.

gnus-version "Ma Gnus v0.6"
emacs-version "24.1.50.2"

Thank you.

-- 
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591

[-- Attachment #1.2: Type: application/pgp-signature, Size: 489 bytes --]

[-- Attachment #2: Type: text/plain, Size: 162 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

end of thread, other threads:[~2012-06-11  4:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1048.1336868735.855.info-gnus-english@gnu.org>
2012-06-10 19:14 ` Failed to display some articles Lars Magne Ingebrigtsen
2012-06-11  4:04   ` XeCycle
2012-05-13  0:21 XeCycle
2012-05-14  2:55 ` XeCycle

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 NNTP newsgroup(s).