Gnus development mailing list
 help / color / mirror / Atom feed
* Problem with gnus-posting-styles
@ 2001-07-12  0:14 Jon Allen Boone
  2001-07-13 19:51 ` David S. Goldberg
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Allen Boone @ 2001-07-12  0:14 UTC (permalink / raw)


Folks,

    I'm having a problem with Gnus v5.8.7/Xemacs 21.1 (patch 14).

    After all of the recent discussion that lead to the conclusion that
  gnus-posting-styles might be beneficial to folks who read email from
  home and work in the same Gnus, I decided to implement a posting-style
  setup myself.  I consulted the info pages and came up with the
  following lisp function and alist for posting styles:

  (defun posting-from-home-p ()
    "Determine whether the user is posting from home or not."
    (interactive)
    (y-or-n-p (message "Are you posting from home?")))

  (setq gnus-posting-styles
        '((".*"
	 (signature-file "~/.signature.athy")
	 (name "Jon Allen Boone")
	 (address "jboone@appliedtheory.com"))
        ((posting-from-home-p)
         (signature-file "~/.signature.home")
         (address "tex@delamancha.org"))))

    This works fine for me, *except* when I try to use the
  gnus-summary-followup (bound to 'f') or the
  gnus-summary-followup-with-original (bound to 'F') functions.   With
  either of these two functions, the cursor simply alternates between
  the "I"-shaped cursor and the "clock" cursor that indicates something
  is happening.  This goes on until I finally stop it with ^G - after 10
  or 20 seconds.

    In a vain attempt at pretending to do something useful, I turned on
  lisp debug-on-entry for my function and the strange behavior with the
  followup functions occurs prior to entering my function.  This
  behavior did not occur prior to my setting up posting styles.

-jon
-- 
------------------
Jon Allen Boone
tex@delamancha.org


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

* Re: Problem with gnus-posting-styles
  2001-07-12  0:14 Problem with gnus-posting-styles Jon Allen Boone
@ 2001-07-13 19:51 ` David S. Goldberg
  2001-07-14 16:41   ` Jon Allen Boone
  0 siblings, 1 reply; 6+ messages in thread
From: David S. Goldberg @ 2001-07-13 19:51 UTC (permalink / raw)


try setting debug-on-quit and send the backtrace you get when you
press C-g.
-- 
Dave Goldberg
dsg@world.std.com


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

* Re: Problem with gnus-posting-styles
  2001-07-13 19:51 ` David S. Goldberg
@ 2001-07-14 16:41   ` Jon Allen Boone
  2001-07-14 18:05     ` Kai Großjohann
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Allen Boone @ 2001-07-14 16:41 UTC (permalink / raw)


dsg@world.std.com (David S. Goldberg) writes:

> try setting debug-on-quit and send the backtrace you get when you
> press C-g.

  Well, here's what happens:

Signaling: (quit)
  string-match("\\(^\\|,\\)[ 	\n]*\\([^,\n]*[!<]\\|\\)\\(\\|\\([^,.<\"]\\|\"[^\"]*\"\\)*<\\(\\)\\)[^,]*" ", Giulio Orsero <giulioo@pobox.com>, linux-raid@vger.kernel.org" 0)
  rmail-dont-reply-to("Neil Brown <neilb@cse.unsw.edu.au>, Giulio Orsero <giulioo@pobox.com>, linux-raid@vger.kernel.org")
  message-get-reply-headers(t nil)
  message-reply(nil t)
  message-wide-reply(nil)
  gnus-post-news(nil "linux.raid" [9 "Re: 0.90/2.2.19: raid behavior at system halt" "Neil Brown <neilb@cse.unsw.edu.au>" "Sat, 14 Jul 2001 21:21:43 +1000 (EST)" "<15184.11080.945.386133@notabene.cse.unsw.edu.au>" "<20010713180650.ED7CC16333@i3.golden.dom>" 1520 35 "Xref: amicus.delamancha.org linux.raid:9" nil] "*Article*" (9) nil nil)
  gnus-summary-followup((9) nil)
  gnus-summary-followup-with-original(nil)
  call-interactively(gnus-summary-followup-with-original)


-jon
-- 
------------------
Jon Allen Boone
tex@delamancha.org


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

* Re: Problem with gnus-posting-styles
  2001-07-14 16:41   ` Jon Allen Boone
@ 2001-07-14 18:05     ` Kai Großjohann
  2001-07-24 23:46       ` Jon Allen Boone
  0 siblings, 1 reply; 6+ messages in thread
From: Kai Großjohann @ 2001-07-14 18:05 UTC (permalink / raw)
  Cc: ding

On 14 Jul 2001, Jon Allen Boone wrote:

> Signaling: (quit)
>   string-match("\\(^\\|,\\)[
>   \n]*\\([^,\n]*[!<]\\|\\)\\(\\|\\([^,.<\"]\\|\"[^\"]*\"\\)*<\\(\\)\\)[^,]*"
>   ", Giulio Orsero <giulioo@pobox.com>, linux-raid@vger.kernel.org"
>   0)

Does it always hang there?  Hm.  This is outside of Gnus.  But it's
possible that the regexp is inefficient.

You might also want to try to just wait a _long_ time.  (Let it run
overnight?)  This way, you'll see whether it's an infloop or it just
takes a long time.

kai
-- 
~/.signature: No such file or directory


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

* Re: Problem with gnus-posting-styles
  2001-07-14 18:05     ` Kai Großjohann
@ 2001-07-24 23:46       ` Jon Allen Boone
  2001-07-25  1:32         ` Paul Jarc
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Allen Boone @ 2001-07-24 23:46 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> On 14 Jul 2001, Jon Allen Boone wrote:
> 
>> Signaling: (quit)
>>   string-match("\\(^\\|,\\)[
>>   \n]*\\([^,\n]*[!<]\\|\\)\\(\\|\\([^,.<\"]\\|\"[^\"]*\"\\)*<\\(\\)\\)[^,]*"
>>   ", Giulio Orsero <giulioo@pobox.com>, linux-raid@vger.kernel.org"
>>   0)
> 
> Does it always hang there?  Hm.  This is outside of Gnus.  But it's
> possible that the regexp is inefficient.
> 
> You might also want to try to just wait a _long_ time.  (Let it run
> overnight?)  This way, you'll see whether it's an infloop or it just
> takes a long time.

Kai and Paul,

    Thanks for your help in trying to figure out this problem.  It turns
  out that Paul was right on the money when he pointed out that my
  message-dont-reply-to-names variable had a bogus value when I set it
  to be an empty string "".  I set it back to nil and Forwarding works
  again.

    Now, how do I change the default behavior which automatically
  excludes myself from replies/followups?  I actually *want* to get Cc:s
  of email that I send out...

-jon
-- 
------------------
Jon Allen Boone
tex@delamancha.org


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

* Re: Problem with gnus-posting-styles
  2001-07-24 23:46       ` Jon Allen Boone
@ 2001-07-25  1:32         ` Paul Jarc
  0 siblings, 0 replies; 6+ messages in thread
From: Paul Jarc @ 2001-07-25  1:32 UTC (permalink / raw)


Jon Allen Boone <tex@delamancha.org> writes:
>     Now, how do I change the default behavior which automatically
>   excludes myself from replies/followups?  I actually *want* to get Cc:s
>   of email that I send out...

Use a regexp which matches nothing, such as "\\< " (assuming I got
that right - a beginning-of-word-boundary followed by any non-word
character).


paul


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

end of thread, other threads:[~2001-07-25  1:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-12  0:14 Problem with gnus-posting-styles Jon Allen Boone
2001-07-13 19:51 ` David S. Goldberg
2001-07-14 16:41   ` Jon Allen Boone
2001-07-14 18:05     ` Kai Großjohann
2001-07-24 23:46       ` Jon Allen Boone
2001-07-25  1:32         ` Paul Jarc

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).