Closed Bug 158918 Opened 22 years ago Closed 19 years ago

line break needed after quote line ("... wrote:") when quoting original message using Options->Quote Message

Categories

(MailNews Core :: Composition, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mozilla.org, Assigned: zhayupeng)

References

Details

Attachments

(2 files)

When you use Options->Quote Message to quote the original message in a reply,
Mozilla fails to add a line break after the quote line. I have experienced this
with 1.1b on Windows XP and Mac OS X.

To reproduce:
1. Uncheck "Automatically quote the original message when replying" in Mail
Composition prefs.
2. Begin composing a message reply.
3. Choose Options->Quote Message.

What happens:
original message appears like this:

Sender wrote:>message here
>

What should happen:
original message should be appear like this:

Sender wrote:
> message here
>
Keywords: mozilla1.1
Confirming with build 2002081209 and mozilla 1.0

The problem only appears if compose window is set to use plain text only. It
works with HTML.
Keywords: nsbeta1
taking
Assignee: ducarroz → pete.zha
Keywords: mozilla1.1mozilla1.2
Looks to me like dupe of Bug 91576 or Bug 67391
This is not a duplicate of either of those bugs. Bug 67391 Bug 91576 is asking
for an extra newline (2 newlines) between the quote line and the quoted text.
Bug 67391 is talking about newlines added where they should not be.
I missed the one I really meant, bug 109935.
This may be a place to suggest my preference that the user have the option of
selecting a "bracketed" quote, surrounded by lines of preselected bracket
characters, instead of an indented quote, and be enabled to pre-select the
bracket or indent characters. Bracketing preserves the nested quote structure
while enabling readers to more easily copy and paste quoted material without
having to remove the indent characters, and avoids the wrapping of deeply nested
quoted lines.
*** Bug 176993 has been marked as a duplicate of this bug. ***
Comment on attachment 106079 [details] [diff] [review]
use nsIPlainTextEditor if not in html mode

request r=/sr=...
CC ducarroz and bienvenu for r= and sr=
Attachment #106079 - Flags: review?(ducarroz)
Attachment #106079 - Flags: superreview?(bienvenu)
Comment on attachment 106079 [details] [diff] [review]
use nsIPlainTextEditor if not in html mode

Thanks for fixing this problem. R=ducarroz
Attachment #106079 - Flags: review?(ducarroz) → review+
Comment on attachment 106079 [details] [diff] [review]
use nsIPlainTextEditor if not in html mode

sr=bienvenu, but it looks like the prevailing braces style is 
if ()
{
}
else
{
}
not if () {
}else {

so please fix that before checking in.
Attachment #106079 - Flags: superreview?(bienvenu) → superreview+
that's fine, you don't need another round of reviews.
thanks:)
checked in
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Uisng trunk builds 20021121 on winxp, linux and macosx, This is fixed on linux
and winxp but I don't see the fix in Mac OSX.  
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This is a cross platform bug. I don't see why this doesn't work on Mac OSX...
Keywords: mozilla1.2mozilla1.3
Trunk build 2003-02-05: Mac 10.1.
Trunk bild 2003-02-05: WinMe
It appears to be working for me using the above builds. Esther, how does this
work on your Mac system?
Ninoschka and I both checked into this and found that it works on the MACO trunk
builds but not the MAC OSX trunk builds.  
Mail Triage: nsbeta1-
Keywords: nsbeta1nsbeta1-
Product: MailNews → Core
This is WFM with Mozilla 1.7.7 and current nightlies, both on Mac OS 10.4.
Status: REOPENED → RESOLVED
Closed: 22 years ago19 years ago
Resolution: --- → FIXED
No specific bug / patch referenced as the fix for MacOS 10.

-> WORKSFORME
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → WORKSFORME
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: