Gnus development mailing list
 help / color / mirror / Atom feed
From: sigurd@12move.de (Karl Pflästerer)
Subject: Re: quoting only the region in reply -> wrong-type-argument
Date: Fri, 11 Jan 2002 23:01:11 +0100	[thread overview]
Message-ID: <m3k7uo7dsz.fsf@ID-72790.user.dfncis.de> (raw)
In-Reply-To: <2nzo3ka9ui.fsf@zsh.cs.rochester.edu>

On Fri, 11 Jan 2002, ShengHuo ZHU <- zsh@cs.rochester.edu wrote:
> The bug seems related to your advised function.

I have another problem with the function
`gnus-article-followup-with-original' 
Its definition is:
,----
| (defun gnus-article-followup-with-original ()
|   "Compose a followup to the current article.
| The text in the region will be yanked.  If the region isn't active,
| the entire article will be yanked."
|   (interactive)
|   (let ((article (cdr gnus-article-current)))
|     (if (not mark-active)
| 	(gnus-summary-followup (list (list article)))
|       ;; Deactivate active regions.
|       (when (and (boundp 'transient-mark-mode)
| 		 transient-mark-mode)
| 	(setq mark-active nil))
|       (gnus-summary-followup
|        (list (list article (buffer-substring (point) (mark))))))))
`----

`mark-active' is not known to XEmacs. I have to replace `mark-active'
with `zmacs-region-active-p', then everything is fine. The same is with
`gnus-article-reply-with-original' .

bye
   KP

-- 
 `Beware the Jabberwock, my son!
     The jaws that bite, the claws that catch!
  Beware the Jubjub bird, and shun
    The frumious Bandersnatch!'   "Lewis Carroll" "Jabberwocky"



  reply	other threads:[~2002-01-11 22:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-10 20:37 Reiner Steib
2002-01-11 20:52 ` ShengHuo ZHU
2002-01-11 22:01   ` Karl Pflästerer [this message]
2002-01-11 23:28     ` ShengHuo ZHU
2002-01-11 22:52   ` Ami Fischman
2002-01-11 23:37     ` ShengHuo ZHU
2002-01-14 11:04   ` Reiner Steib

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=m3k7uo7dsz.fsf@ID-72790.user.dfncis.de \
    --to=sigurd@12move.de \
    /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).