From: <jari.aalto@poboxes.com> (Jari Aalto+list.ding)
Subject: Hallvard's gnus-e20/19.34/Pgnus 0.13 emulation (backtrace included)
Date: 02 Sep 1998 16:26:27 +0300 [thread overview]
Message-ID: <tbyas2prwc.fsf@blue.sea.net> (raw)
I'm having great success running Pgnus with 19.34, but then I hit this.
(Thanks Hallvard's for gnus-e20.el)
(gnus-version)"Pterodactyl Gnus v0.13
Does string-to-number take new parameter in Emacs 20.x ? Anyone
care to post the emulation function?
jari
qp.el
(defun quoted-printable-decode-region (from to)
"Decode quoted-printable in the region between FROM and TO."
(interactive "r")
(save-excursion
(goto-char from)
(while (search-forward "=" to t)
(cond ((eq (following-char) ?\n)
(delete-char -1)
(delete-char 1))
((and
(memq (following-char) quoted-printable-encoding-characters)
(memq (char-after (1+ (point)))
quoted-printable-encoding-characters))
(subst-char-in-region
(1- (point)) (point) ?=
(string-to-number
(buffer-substring (point) (+ 2 (point)))
>> 16))
(delete-char 2))
((looking-at "=")
(delete-char 1))
((message "Malformed MIME quoted-printable message"))))))
Signaling: (wrong-number-of-arguments #<subr string-to-number> 2)
(string-to-number (buffer-substring (point) (+ 2 ...)) 16)
(subst-char-in-region (1- (point)) (point) 61 (string-to-number (buffer-substring ... ...) 16))
(cond ((eq ... 10) (delete-char -1) (delete-char 1)) ((and ... ...) (subst-char-in-region ... ... 61 ...) (delete-char 2)) ((looking-at "=") (delete-char 1)) ((message "Malformed MIME quoted-printable message")))
(while (search-forward "=" to t) (cond (... ... ...) (... ... ...) (... ...) (...)))
(save-excursion (goto-char from) (while (search-forward "=" to t) (cond ... ... ... ...)))
quoted-printable-decode-region(2316 2573)
(progn (goto-char (point-min)) (search-forward "\n\n" nil (quote move)) (quoted-printable-decode-region (point) (point-max)))
(if (or force (and type ...)) (progn (goto-char ...) (search-forward "\n\n" nil ...) (quoted-printable-decode-region ... ...)))
(when (or force (and type ...)) (goto-char (point-min)) (search-forward "\n\n" nil (quote move)) (quoted-printable-decode-region (point) (point-max)))
(let ((buffer-read-only nil) (type ...)) (gnus-article-decode-rfc1522) (when (or force ...) (goto-char ...) (search-forward "\n\n" nil ...) (quoted-printable-decode-region ... ...)))
(save-excursion (let (... ...) (gnus-article-decode-rfc1522) (when ... ... ... ...)))
article-de-quoted-unreadable()
apply(article-de-quoted-unreadable nil)
(if interactive (call-interactively (quote article-de-quoted-unreadable)) (apply (quote article-de-quoted-unreadable) args))
(save-excursion (set-buffer gnus-article-buffer) (if interactive (call-interactively ...) (apply ... args)))
gnus-article-de-quoted-unreadable()
(progn (when (boundp ...) (cond ... ...)) (gnus-article-de-quoted-unreadable) (if (fboundp ...) (gnus-article-strip-multiple-blank-lines)) (gnus-article-hide-citation-maybe nil) (gnus-article-hide-signature nil) (when (string-match "nntp" gnus-newsgroup-name) (gnus-article-hide-headers nil)) (when (re-search-check "PGP ") (if ... ... ...)) (my-gnus-article-url) (when (fboundp ...) (gnus-article-date-user)) (when my-:window-system) (when (string-match "XEmacs" emacs-version)) (when (fboundp ...)) (when (and ... ...) (let ... ...)))
(if (buffer-live-p (get-buffer gnus-article-buffer)) (progn (when ... ...) (gnus-article-de-quoted-unreadable) (if ... ...) (gnus-article-hide-citation-maybe nil) (gnus-article-hide-signature nil) (when ... ...) (when ... ...) (my-gnus-article-url) (when ... ...) (when my-:window-system) (when ...) (when ...) (when ... ...)))
(when (buffer-live-p (get-buffer gnus-article-buffer)) (when (boundp ...) (cond ... ...)) (gnus-article-de-quoted-unreadable) (if (fboundp ...) (gnus-article-strip-multiple-blank-lines)) (gnus-article-hide-citation-maybe nil) (gnus-article-hide-signature nil) (when (string-match "nntp" gnus-newsgroup-name) (gnus-article-hide-headers nil)) (when (re-search-check "PGP ") (if ... ... ...)) (my-gnus-article-url) (when (fboundp ...) (gnus-article-date-user)) (when my-:window-system) (when (string-match "XEmacs" emacs-version)) (when (fboundp ...)) (when (and ... ...) (let ... ...)))
my-gnus-article-display-hook-list()
run-hooks(gnus-article-display-hook)
apply(run-hooks gnus-article-display-hook)
(unwind-protect (apply (quote run-hooks) funcs) (set-buffer buf))
(let ((buf ...)) (unwind-protect (apply ... funcs) (set-buffer buf)))
gnus-run-hooks(gnus-article-display-hook)
(let (buffer-read-only) (gnus-run-hooks (quote gnus-tmp-internal-hook)) (gnus-run-hooks (quote gnus-article-prepare-hook)) (when gnus-show-mime (if ... ... ...)) (gnus-run-hooks (quote gnus-article-display-hook)))
(progn (let (buffer-read-only) (gnus-run-hooks ...) (gnus-run-hooks ...) (when gnus-show-mime ...) (gnus-run-hooks ...)) (goto-char (point-min)) (setq gnus-page-broken (when gnus-break-pages ... t)))
(if (or (numberp article) (stringp article)) (progn (let ... ... ... ... ...) (goto-char ...) (setq gnus-page-broken ...)))
(when (or (numberp article) (stringp article)) (let (buffer-read-only) (gnus-run-hooks ...) (gnus-run-hooks ...) (when gnus-show-mime ...) (gnus-run-hooks ...)) (goto-char (point-min)) (setq gnus-page-broken (when gnus-break-pages ... t)))
(if (or (eq result ...) (eq result ...)) (progn (save-excursion ... ... ... ... ...) (gnus-set-mode-line ...)) (when (and ... ...) (save-excursion ... ... ... ... ... ... ... ... ... ... ...)) (when (or ... ...) (let ... ... ... ... ...) (goto-char ...) (setq gnus-page-broken ...)) (gnus-set-mode-line (quote article)) (gnus-configure-windows (quote article)) (goto-char (point-min)) (search-forward "\n\n" nil t) (set-window-point (get-buffer-window ...) (point)) t)
(if (not (setq result ...)) (save-excursion (when ... ... ... ... ...)) (if (or ... ...) (progn ... ...) (when ... ...) (when ... ... ... ...) (gnus-set-mode-line ...) (gnus-configure-windows ...) (goto-char ...) (search-forward "\n\n" nil t) (set-window-point ... ...) t))
(save-excursion (gnus-article-setup-buffer) (set-buffer gnus-article-buffer) (when (and ... transient-mark-mode) (setq mark-active nil)) (if (not ...) (save-excursion ...) (if ... ... ... ... ... ... ... ... ... t)))
(let* ((gnus-article ...) (summary-buffer ...) (gnus-tmp-internal-hook gnus-article-internal-prepare-hook) (group gnus-newsgroup-name) result) (save-excursion (gnus-article-setup-buffer) (set-buffer gnus-article-buffer) (when ... ...) (if ... ... ...)))
(save-excursion (unless (eq major-mode ...) (set-buffer gnus-summary-buffer)) (setq gnus-summary-buffer (current-buffer)) (let* (... ... ... ... result) (save-excursion ... ... ... ...)))
gnus-article-prepare(5592 nil)
(if gnus-summary-display-article-function (funcall gnus-summary-display-article-function article all-header) (gnus-article-prepare article all-header))
(prog1 (if gnus-summary-display-article-function (funcall gnus-summary-display-article-function article all-header) (gnus-article-prepare article all-header)) (gnus-run-hooks (quote gnus-select-article-hook)) (when (and gnus-current-article ...) (gnus-summary-goto-subject gnus-current-article)) (gnus-summary-recenter) (when (and gnus-use-trees gnus-show-threads) (gnus-possibly-generate-tree article) (gnus-highlight-selected-tree article)) (gnus-article-set-window-start (cdr ...)))
(if (null article) nil (prog1 (if gnus-summary-display-article-function ... ...) (gnus-run-hooks ...) (when ... ...) (gnus-summary-recenter) (when ... ... ...) (gnus-article-set-window-start ...)))
gnus-summary-display-article(5592)
(or (gnus-summary-display-article (gnus-summary-article-number)) (eq (gnus-summary-article-mark) gnus-canceled-mark))
(and (gnus-summary-search-forward unread subject backward) (or (gnus-summary-display-article ...) (eq ... gnus-canceled-mark)))
(cond ((and ... ...) (gnus-summary-position-point)) ((and subject gnus-auto-select-same ...) (gnus-summary-position-point) (gnus-message 6 "Wrapped")) ((and gnus-auto-extend-newsgroup ... ...) (gnus-summary-goto-article ... nil ...)) (t (unless ... ...) (let ... ... ...)))
gnus-summary-next-article(nil)
* call-interactively(gnus-summary-next-article)
next reply other threads:[~1998-09-02 13:26 UTC|newest]
Thread overview: 115+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-02 13:26 Jari Aalto+list.ding [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-11-05 16:52 Feature req: import/export Group parameter or Server data Jari Aalto+list.ding
1998-10-20 18:26 Pterodactyl Gnus v0.36 is released Lars Magne Ingebrigtsen
1998-10-20 19:27 ` *Group* buffer disappearance (Re: Pterodactyl Gnus v0.36 is released) Lloyd Zusman
1998-10-21 2:58 ` I fixed it, but I need Lars ... (Was: *Group* buffer disappearance) Lloyd Zusman
1998-10-21 12:40 ` Hrvoje Niksic
1998-10-21 13:54 ` Lloyd Zusman
1998-10-21 14:22 ` Hrvoje Niksic
1998-10-21 14:55 ` Lloyd Zusman
1998-10-21 14:59 ` Hrvoje Niksic
1998-10-21 15:07 ` Lloyd Zusman
1998-10-21 15:10 ` Hrvoje Niksic
1998-10-21 15:17 ` Lloyd Zusman
1998-10-21 15:24 ` Hrvoje Niksic
1998-10-21 15:39 ` Lloyd Zusman
1998-10-21 15:48 ` Hrvoje Niksic
1998-10-21 15:56 ` Lee Willis
1998-10-22 13:10 ` Jari Aalto+list.ding
1998-10-11 6:48 compatibility request -- `q' in *Article* buffer shouldn't quit group SL Baur
1998-10-11 15:29 ` Lars Magne Ingebrigtsen
1998-10-11 17:11 ` Matt Simmons
1998-10-11 17:23 ` Hrvoje Niksic
1998-10-11 19:05 ` SL Baur
1998-10-11 19:11 ` Hrvoje Niksic
1998-10-11 20:40 ` SL Baur
1998-10-11 20:44 ` Hrvoje Niksic
1998-10-11 21:24 ` Karl Kleinpaste
1998-10-11 21:41 ` Hrvoje Niksic
1998-10-11 22:18 ` Kai Grossjohann
1998-10-12 10:08 ` Lloyd Zusman
1998-10-12 13:12 ` Lars Magne Ingebrigtsen
1998-10-12 22:17 ` Lloyd Zusman
1998-10-17 19:21 ` Lars Magne Ingebrigtsen
1998-10-12 13:39 ` Per Abrahamsen
1998-10-12 14:01 ` Jari Aalto+list.ding
1998-10-11 22:13 ` Kai Grossjohann
[not found] ` <6f7ly7i16q.fsf@dna.lth.se>
1998-10-11 15:41 ` Michael Harnois
1998-10-11 15:50 ` Hrvoje Niksic
1998-10-11 16:34 ` Michael Harnois
[not found] ` <6fiuhrgkq1.fsf@dna.lth.se>
1998-10-11 16:36 ` Michael Harnois
1998-10-11 17:08 ` Lars Magne Ingebrigtsen
1998-10-11 17:35 ` Hrvoje Niksic
1998-10-11 17:57 ` Lars Magne Ingebrigtsen
1998-10-11 18:28 ` Julian Assange
1998-09-08 16:08 Patch: be verbose if POP3 setup is not ok Jari Aalto+list.ding
1998-09-03 15:57 Suggestion: to problem nndraft "Can't select group" Jari Aalto+list.ding
1998-09-03 17:10 ` David S. Goldberg
1998-09-03 17:31 ` Jari Aalto+list.ding
1998-08-24 22:12 Suggestion: Topic mode get news and topic group indentation level Jari Aalto+list.ding
1998-08-22 15:12 patch: 5.6.38 gnus-uu, new regexp marking commands Jari Aalto+list.ding
1998-08-21 15:49 Suggestion: *Group* SPC to show only new articles? Jari Aalto+list.ding
1998-08-21 9:35 pop3 reading with gnus? jari.aalto
1998-08-21 9:56 ` Jean-Yves Perrier
1998-08-21 10:09 ` Jari Aalto+list.ding
1998-08-20 20:29 5.6.38 Can't read drafts server? Jari Aalto+list.ding
1998-08-19 15:57 Suggestion: Command to rename all Subejcts in thread Jari Aalto+list.ding
1998-08-17 9:04 Master or slave?? Andy Eskilsson
[not found] ` <6flnooezsi.fsf@bavur.dna.lth.se>
1998-08-17 11:27 ` Jari Aalto+list.ding
1998-08-17 14:44 ` Andy Eskilsson
1998-08-15 19:37 Marking new unread articles differently? Matt Simmons
1998-08-15 20:43 ` Lars Magne Ingebrigtsen
1998-08-15 21:03 ` SL Baur
1998-08-15 22:40 ` Lars Magne Ingebrigtsen
1998-08-15 21:14 ` Harry Putnam
1998-08-25 6:23 ` Matt Simmons
1998-08-15 21:20 ` Eze Ogwuma
1998-08-16 6:05 ` Mike McEwan
1998-08-16 18:30 ` Jari Aalto+list.ding
1998-08-13 14:39 request: commands for subsribe/unsubsribe from/to mailing lists Jari Aalto+list.ding
[not found] ` <jari.aalto@poboxes.com>
1998-08-13 16:35 ` Jason L Tibbitts III
1998-08-13 16:56 ` Lars Magne Ingebrigtsen
1998-08-13 18:27 ` William M. Perry
1998-08-19 17:30 ` Christopher Davis
1998-08-13 16:41 ` Lars Magne Ingebrigtsen
1998-08-13 17:21 ` Bud Rogers
1998-08-17 13:06 ` Master or slave?? Lars Magne Ingebrigtsen
1998-08-19 0:52 ` Marking new unread articles differently? Mike McEwan
1998-08-20 21:23 ` Lars Magne Ingebrigtsen
1998-08-21 17:11 ` Mike McEwan
1998-08-21 19:15 ` Lars Magne Ingebrigtsen
1998-08-25 6:25 ` Matt Simmons
1998-08-26 3:46 ` Mike McEwan
1998-08-20 1:26 ` Suggestion: Command to rename all Subejcts in thread Lars Magne Ingebrigtsen
1998-08-20 8:46 ` Jari Aalto+list.ding
1998-08-20 19:41 ` Lars Magne Ingebrigtsen
1998-08-20 21:19 ` 5.6.38 Can't read drafts server? Lars Magne Ingebrigtsen
1998-08-21 6:38 ` Jari Aalto+list.ding
1998-08-21 11:52 ` Karl Kleinpaste
1998-08-21 19:09 ` Lars Magne Ingebrigtsen
1998-08-23 21:20 ` Jari Aalto+list.ding
1998-08-21 19:10 ` pop3 reading with gnus? Lars Magne Ingebrigtsen
1998-08-21 20:05 ` William M. Perry
1998-08-21 19:13 ` Suggestion: *Group* SPC to show only new articles? Lars Magne Ingebrigtsen
1998-08-22 20:57 ` patch: 5.6.38 gnus-uu, new regexp marking commands Lars Magne Ingebrigtsen
1998-08-24 7:30 ` Suggestion: *Group* SPC to show only new articles? Kai Grossjohann
1998-08-24 8:37 ` Jari Aalto+list.ding
1998-08-24 8:48 ` Kai Grossjohann
1998-08-24 10:10 ` Jari Aalto+list.ding
1998-08-24 11:41 ` Kai Grossjohann
1998-08-24 12:20 ` Francisco Solsona
1998-08-24 14:38 ` Mike McEwan
1998-08-25 5:55 ` 5.6.38 Can't read drafts server? Lars Magne Ingebrigtsen
1998-08-25 13:05 ` Jari Aalto+list.ding
1998-08-25 6:11 ` Suggestion: Topic mode get news and topic group indentation level Lars Magne Ingebrigtsen
1998-09-02 14:34 ` Hallvard's gnus-e20/19.34/Pgnus 0.13 emulation (backtrace included) Hrvoje Niksic
1998-09-02 14:35 ` Lars Magne Ingebrigtsen
1998-09-03 21:03 ` Suggestion: to problem nndraft "Can't select group" Lars Magne Ingebrigtsen
1998-09-08 19:38 ` Patch: be verbose if POP3 setup is not ok Lars Magne Ingebrigtsen
1998-09-08 21:04 ` Jari Aalto+list.ding
1998-09-09 11:35 ` Per Abrahamsen
1998-09-09 13:07 ` Jari Aalto+list.ding
1998-10-12 14:07 ` compatibility request -- `q' in *Article* buffer shouldn't quit group Hrvoje Niksic
1998-10-13 12:54 ` Robert Pluim
1998-10-22 13:16 ` I fixed it, but I need Lars ... (Was: *Group* buffer disappearance) Hrvoje Niksic
1998-11-05 18:27 ` Feature req: import/export Group parameter or Server data Simon Josefsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tbyas2prwc.fsf@blue.sea.net \
--to=jari.aalto@poboxes.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).