ReplyLink config keyword can be 'none' now - do not link

This commit is contained in:
Ianos Gnatiuc 2006-12-26 02:05:24 +00:00
parent 4f8ed32c91
commit 5e7ba98146
6 changed files with 22 additions and 9 deletions

View File

@ -685,6 +685,7 @@ QUOTESTRING " FL> "
-- REPLYLINKING -- REPLYLINKING
// How to do replylinking when replying. // How to do replylinking when replying.
;REPLYLINK None ; Don't link.
;REPLYLINK Chain ; Link to last msg in a subject-based reply chain. ;REPLYLINK Chain ; Link to last msg in a subject-based reply chain.
REPLYLINK Direct ; Link directly to the original message. REPLYLINK Direct ; Link directly to the original message.

View File

@ -786,6 +786,7 @@ QuoteBufMode Ask ;
// Š ª áâநâì 楯®çªã ¯à¨ ®â¢¥â å. // Š ª áâநâì 楯®çªã ¯à¨ ®â¢¥â å.
// <20>® 㬮«ç ­¨î Direct. // <20>® 㬮«ç ­¨î Direct.
;ReplyLink None ; <20>¥ «¨­ª®¢ âì.
;ReplyLink Chain ; ‹¨­ª®¢ âì ª ¯®á«¥¤­¥¬ã á®®¡é¥­¨î, ¤«ï «¨­ª®¢ª¨ ¯® "Subj:". ;ReplyLink Chain ; ‹¨­ª®¢ âì ª ¯®á«¥¤­¥¬ã á®®¡é¥­¨î, ¤«ï «¨­ª®¢ª¨ ¯® "Subj:".
ReplyLink Direct ; ‹¨­ª®¢ âì ­ ¯àï¬ãî ª ®à¨£¨­ «ã. ReplyLink Direct ; ‹¨­ª®¢ âì ­ ¯àï¬ãî ª ®à¨£¨­ «ã.

View File

@ -10,6 +10,7 @@ _____________________________________________________________________________
‡ ¬¥âª¨ ¤«ï GoldED+ 1.1.5, /snapshot/ ‡ ¬¥âª¨ ¤«ï GoldED+ 1.1.5, /snapshot/
_____________________________________________________________________________ _____________________________________________________________________________
+ ReplyLink ¬®¦¥â ¯à¨­¨¬ âì §­ ç¥­¨¥ "none" - ­¥ «¨­ª®¢ âì.
- ˆá¯à ¢«¥­® § ¥¤ ­¨¥ ¢ ¤¥à¥¢¥ ®â¢¥â®¢, ¥á«¨ ­ ¦ âì ESC ¢ â।¥. - ˆá¯à ¢«¥­® § ¥¤ ­¨¥ ¢ ¤¥à¥¢¥ ®â¢¥â®¢, ¥á«¨ ­ ¦ âì ESC ¢ â।¥.
- uudecoder: ⥯¥àì ¡ã¤¥â ¯à®¨£­®à¨à®¢ ­® ¢á¥ ¯®á«¥ áâப ¯® ¬ áª¥ - uudecoder: ⥯¥àì ¡ã¤¥â ¯à®¨£­®à¨à®¢ ­® ¢á¥ ¯®á«¥ áâப ¯® ¬ áª¥
"sum -r/size [0-9]+/[0-9]+ section.*" ¨«¨ "section [0-9]+ end.*" "sum -r/size [0-9]+/[0-9]+ section.*" ¨«¨ "section [0-9]+ end.*"

View File

@ -10,6 +10,8 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, /snapshot/ Notes for GoldED+ 1.1.5, /snapshot/
______________________________________________________________________ ______________________________________________________________________
+ ReplyLink config keyword can be "none" now - do not link.
- Fixed thread lock if ESC is pressed in thread list. - Fixed thread lock if ESC is pressed in thread list.
- uudecoder: now are skipped all lines which follows lines with mask - uudecoder: now are skipped all lines which follows lines with mask

View File

@ -175,11 +175,13 @@ void CfgRa2usersbbs() {
// ------------------------------------------------------------------ // ------------------------------------------------------------------
void CfgReplylink() { void CfgReplylink()
{
if(strieql(val, "Chain")) if (strieql(val, "none"))
CFG->replylink = REPLYLINK_NONE;
if (strieql(val, "chain"))
CFG->replylink = REPLYLINK_CHAIN; CFG->replylink = REPLYLINK_CHAIN;
else if(strieql(val, "Direct")) else if(strieql(val, "direct"))
CFG->replylink = REPLYLINK_DIRECT; CFG->replylink = REPLYLINK_DIRECT;
} }

View File

@ -996,11 +996,17 @@ void MakeMsg(int mode, GMsg* omsg, bool ignore_replyto) {
if(*msg->references == NUL) if(*msg->references == NUL)
throw_release(msg->references); throw_release(msg->references);
} }
if(CurrArea == OrigArea) {
if((CFG->replylink == REPLYLINK_DIRECT) or streql(AA->basetype(), "JAM")) if (CurrArea == OrigArea)
{
if (CFG->replylink != REPLYLINK_NONE)
{
if ((CFG->replylink == REPLYLINK_DIRECT) or streql(AA->basetype(), "JAM"))
reply_msgno = omsg->msgno; reply_msgno = omsg->msgno;
else if(CFG->replylink == REPLYLINK_CHAIN) else if (CFG->replylink == REPLYLINK_CHAIN)
GetLastLink(omsg, reply_msgno); GetLastLink(omsg, reply_msgno);
}
msg->link.to_set(reply_msgno); msg->link.to_set(reply_msgno);
if(msg->link.to() == omsg->msgno) if(msg->link.to() == omsg->msgno)
omsg->link.first_set(msg->msgno); omsg->link.first_set(msg->msgno);