From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/41848 Path: main.gmane.org!not-for-mail From: sigurd@12move.de (Karl =?iso-8859-1?q?Pfl=E4sterer?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: quoting only the region in reply -> wrong-type-argument Date: Fri, 11 Jan 2002 23:01:11 +0100 Organization: Lemis World Sender: owner-ding@hpc.uh.edu Message-ID: References: <2nzo3ka9ui.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035177179 8238 80.91.224.250 (21 Oct 2002 05:12:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:12:59 +0000 (UTC) Return-Path: Original-Received: (qmail 15938 invoked from network); 11 Jan 2002 22:06:52 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 11 Jan 2002 22:06:52 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16P9oq-0006vf-00; Fri, 11 Jan 2002 16:06:36 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 11 Jan 2002 16:06:29 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id QAA00705 for ; Fri, 11 Jan 2002 16:06:17 -0600 (CST) Original-Received: (qmail 15929 invoked by alias); 11 Jan 2002 22:06:19 -0000 Original-Received: (qmail 15924 invoked from network); 11 Jan 2002 22:06:19 -0000 Original-Received: from quimby.gnus.org (HELO quimby2.netfonds.no) (195.204.10.66) by gnus.org with SMTP; 11 Jan 2002 22:06:19 -0000 Original-Received: from news by quimby2.netfonds.no with local (Exim 3.12 #1 (Debian)) id 16P9r0-0001oB-00 for ; Fri, 11 Jan 2002 23:08:50 +0100 Original-To: ding@gnus.org Original-Path: pflaester.de!not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 35 Original-NNTP-Posting-Host: 62.144.244.119 Original-X-Trace: quimby2.netfonds.no 1010786930 6947 62.144.244.119 (11 Jan 2002 22:08:50 GMT) Original-X-Complaints-To: usenet@quimby2.netfonds.no Original-NNTP-Posting-Date: 11 Jan 2002 22:08:50 GMT User-Agent: Oort Gnus v0.05 Hamster/1.3.23.120 Cancel-Lock: sha1:9niHoZd2eigYcIfajkCLp2YfeMY= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:41848 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:41848 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"