Gnus development mailing list
 help / color / mirror / Atom feed
From: steve@miranova.com (Steven L. Baur)
Cc: nc0273@office4.corp.netcom.com (Sean Lynch)
Subject: Re: September 0.18: gnus-summary-reply-with-original
Date: 06 Dec 1995 08:36:34 -0800	[thread overview]
Message-ID: <m2bupmcfot.fsf@diana.miranova.com> (raw)
In-Reply-To: nc0273@office4.corp.netcom.com's message of 05 Dec 1995 10:42:44 -0800

>>>>> "Sean" == Sean Lynch <nc0273@office4.corp.netcom.com> writes:

    Sean> I'm getting the following error when I attempt to reply when
    Sean> I already have a *mail* buffer:

    Sean> Signalling: (wrong-type-argument integer-or-marker-p nil)
    Sean> gnus-mail-reply((14)) gnus-summary-reply(t (14))
    Sean> gnus-summary-reply-with-original(nil)
    Sean> call-interactively(gnus-summary-reply-with-original)

    Sean> I'm running XEmacs 19.13.  If I knew what I was doing, I'd
    Sean> fix it myself, but I don't.  It looks to me like
    Sean> gnus-mail-reply is expecting an integer.  Should
    Sean> gnus-mail-reply be changed to take a list, or should
    Sean> gnus-summary-reply be passing it an integer?

The problem is with zmacs regions being enabled, which they appear to
be by default in XEmacs.  The following patch fixes that.
===================================================================
RCS file: RCS/ChangeLog,v
retrieving revision 1.13
diff -u -r1.13 ChangeLog
--- 1.13	1995/12/06 05:58:39
+++ ChangeLog	1995/12/06 16:29:21
@@ -1,3 +1,8 @@
+Wed Dec  6 08:29:04 1995  Steven L. Baur  <steve@miranova.com>
+
+	* gnus-msg.el (gnus-mail-reply): Defend against zmacs regions being
+	enabled.
+
 Tue Dec  5 21:54:39 1995  Steven L. Baur  <steve@miranova.com>
 
 	* gnus-setup.el: Use default installation paths, misc. cleanup
===================================================================
RCS file: RCS/gnus-msg.el,v
retrieving revision 1.10
diff -u -r1.10 gnus-msg.el
--- 1.10	1995/12/06 16:28:29
+++ gnus-msg.el	1995/12/06 16:28:52
@@ -1735,7 +1735,7 @@
 		  (mail-yank-original nil)
 		  (save-restriction
 		    (narrow-to-region (point-min) (point))
-		    (goto-char (mark))
+		    (goto-char (mark t))
 		    (let ((news-reply-yank-from
 			   (save-excursion 
 			     (set-buffer gnus-article-buffer)

-- 
steve@miranova.com baur


      reply	other threads:[~1995-12-06 16:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-12-05 18:42 Sean Lynch
1995-12-06 16:36 ` Steven L. Baur [this message]

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=m2bupmcfot.fsf@diana.miranova.com \
    --to=steve@miranova.com \
    --cc=nc0273@office4.corp.netcom.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).