Open Bug 331155 Opened 18 years ago Updated 2 years ago

In the config editor when you type \ you get \\

Categories

(Thunderbird :: Preferences, enhancement)

enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: gworley, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: Thunderbird Version 1.5 20051201

I was trying to edit the mailnews.reply_header_colon to read :\n so that there would be a line feed after the colon.   When I went back and repled to an email to test the new settings I got ":\n" instead of ":<LF><CR>" So I looked at prefs.js and determined that the mailnews.reply_header_colon line end with ":\\n" which is not the intended result.  I understand that their are instances that you need to put in a \\ so that you can create a path like "c:\program files\" should be "c:\\program files\\" but on the other hand thier needs to be a way of entering a single \

Reproducible: Always

Steps to Reproduce:
1. Open Thunderbird
2. Navigate to Tools->Options->General
3. Click on "Config Editor" button.
4. Find mailnews.reply_header_colon.
5. Open up line so it can edited
6. Edit he line so that it is ":\n"
7. Click OK
8. Exit Config Editor
9. Close out Options dialog
10. Reply to any message.

Actual Results:  
produced a reply line ending in ":\n"

Expected Results:  
should have produced a reply line ending in ":<lf><cr>

inserted only one "\" or have a way of input special characture so that you don't have to shut down Thunderbird to see your configs.
re: reply_header_colon, xref bug 91576

There might be some situations where entering a C-escaped characters might be useful, but not many.  You can load prefs.js into a text editor and enter the \n directly into the preference's value string, and that will work.


> Expected Results:  
> should have produced a reply line ending in ":<lf><cr>

Note: that would actually be ":<cr><lf>" for DOS or Windows machines, but internally it's just <lf> == \n.
Severity: normal → enhancement
OS: Windows XP → All
Hardware: PC → All
Version: unspecified → Trunk
Assignee: mscott → nobody
Component: General → Preferences
QA Contact: general → preferences
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.