GNU bug report logs - #21661
Crosspost functions does not work correctly

Previous Next

Packages: gnus, emacs;

Reported by: Frank Haun <fh <at> fhaun.de>

Date: Sat, 10 Oct 2015 21:31:02 UTC

Severity: normal

Tags: fixed

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21661 in the body.
You can then email your comments to 21661 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bugs <at> gnus.org:
bug#21661; Package gnus. (Sat, 10 Oct 2015 21:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Frank Haun <fh <at> fhaun.de>:
New bug report received and forwarded. Copy sent to bugs <at> gnus.org. (Sat, 10 Oct 2015 21:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Frank Haun <fh <at> fhaun.de>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: Crosspost functions does not work correctly
Date: Sat, 10 Oct 2015 23:13:40 +0200
Hi,

there is a problem with `message-cross-post-followup-to-header' and
`message-cross-post-followup-to' in message.el. Affected are all
Groups of `gnus-secondary-select-methods' and "foreign servers".

Example: Server is "nntp+reader.albasani.net" and assuming writing in
the group "de.test" and want a crosspost to "de.alt.test" with a
followup to "de.alt.test".

I get this header

| Newsgroups: de.test,nntp+reader.albasani.net:de.alt.test
| Followup-To: nntp+reader.albasani.net:de.alt.test

and this in the body.

| Crosspost & Followup-To: nntp+reader.albasani.net:de.alt.test

That is what `completing-read' in both functions offers. Trying to
send, I get:

| Really use this possibly unknown group: nntp+reader.albasani.net:de.alt.test? (y or n)

The header and the body message must be without the server prefix.

| Newsgroups: de.test,de.alt.test
| Followup-To: de.alt.test
|
| Crosspost & Followup-To: de.alt.test

For me, I fixed it with:

(setq target-group (replace-regexp-in-string "^.*:" "" target-group))

in the functions before `target-group' is used. However, I think
`complete-read' should behave like tabbing in the header which works
fine.

Hope this helps, my lisp is fairly poor.

Frank


Ma Gnus v0.14
GNU Emacs 24.5.1 (i686-pc-mingw32)
 of 2015-04-11 on LEG570
200 news.albasani.net InterNetNews NNRP server INN 2.5.3 (20110312 prerelease) ready (no posting)
100 Legal commands
  ARTICLE [message-ID|number]
  AUTHINFO USER name|PASS password|GENERIC program [argument ...]
  BODY [message-ID|number]
  CAPABILITIES [keyword]
  DATE
  GROUP newsgroup
  HDR header [message-ID|range]
  HEAD [message-ID|number]
  HELP
  IHAVE message-ID
  LAST
  LIST [ACTIVE [wildmat]|ACTIVE.TIMES [wildmat]|COUNTS [wildmat]|DISTRIB.PATS|DISTRIBUTIONS|HEADERS [MSGID|RANGE]|MODERATORS|MOTD|NEWSGROUPS [wildmat]|OVERVIEW.FMT|SUBSCRIPTIONS [wildmat]]
  LISTGROUP [newsgroup [range]]
  MODE READER
  NEWGROUPS [yy]yymmdd hhmmss [GMT]
  NEWNEWS wildmat [yy]yymmdd hhmmss [GMT]
  NEXT
  OVER [range]
  POST
  QUIT
  STARTTLS
  STAT [message-ID|number]
  XGTITLE [wildmat]
  XHDR header [message-ID|range]
  XOVER [range]
  XPAT header message-ID|range pattern [pattern ...]
Report problems to <usenet <at> albasani.net>.
.




Information forwarded to bugs <at> gnus.org:
bug#21661; Package gnus. (Thu, 26 Jan 2017 22:13:01 GMT) Full text and rfc822 format available.

Message #8 received at 21661 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Frank Haun <fh <at> fhaun.de>
Cc: 21661 <at> debbugs.gnu.org
Subject: Re: bug#21661: Crosspost functions does not work correctly
Date: Thu, 26 Jan 2017 23:12:16 +0100
Frank Haun <fh <at> fhaun.de> writes:

> For me, I fixed it with:
>
> (setq target-group (replace-regexp-in-string "^.*:" "" target-group))

Thanks; I've installed something similar on the Emacs trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug reassigned from package 'gnus' to 'emacs,gnus'. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 26 Jan 2017 22:13:02 GMT) Full text and rfc822 format available.

bug No longer marked as found in versions 5.130014. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 26 Jan 2017 22:13:02 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 26 Jan 2017 22:13:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 21661 <at> debbugs.gnu.org and Frank Haun <fh <at> fhaun.de> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 26 Jan 2017 22:13:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 24 Feb 2017 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 122 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.