Closed
Bug 104446
Opened 23 years ago
Closed 21 years ago
GenerateRandomPassword() messes up emacs colors
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
VERIFIED
WONTFIX
People
(Reporter: jacob, Assigned: jacob)
Details
Attachments
(1 file)
742 bytes,
patch
|
justdave
:
review-
|
Details | Diff | Splinter Review |
The line that fills the @pwchars array contains ..., '$', ... which causes emacs
to mess up the coloring. It look at that and thinks you are putting the value
of $' into the string (it's not smart enough to know what '' string can't
contain variables). This causes the coloring of in string/other text to be
reversed for the next few lines (somehow it eventually corrects itself). The
solution is to escape the $.
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
-> me
Assignee | ||
Updated•23 years ago
|
Severity: normal → trivial
Status: NEW → ASSIGNED
OS: Windows 2000 → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.16
Comment 3•23 years ago
|
||
Comment on attachment 53306 [details] [diff] [review]
escape the $
$ isn't interpretted between single quotes. So far so good.
\ is not interpretted either.
I just ran this code:
my $var = '\$';
print "$var\n";
The output was:
\$
Escaping the $ probably works, but try double-quotes around it instead.
Attachment #53306 -
Flags: review-
Updated•23 years ago
|
Assignee | ||
Comment 4•23 years ago
|
||
Tempted to WONTFIX unless someone else is really bothered by this. Emacs
version 21.1 seems to have fixed this coloring bug. Of course, if you
can't/don't want to upgrade emacs, this will still be an issue.
Comment 5•23 years ago
|
||
We are currently trying to wrap up Bugzilla 2.16. We are now close enough to
release time that anything that wasn't already ranked at P1 isn't going to make
the cut. Thus this is being retargetted at 2.18. If you strongly disagree with
this retargetting, please comment, however, be aware that we only have about 2
weeks left to review and test anything at this point, and we intend to devote
this time to the remaining bugs that were designated as release blockers.
Target Milestone: Bugzilla 2.16 → Bugzilla 2.18
No complaints in two years, patch has rotted slightly, emacs 21.1+ handles
coloring of the relevant lines just fine. Nearly everywhere has at least that
version of emacs (hell, even debian unstable... :). Wontfix.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → WONTFIX
Comment 7•21 years ago
|
||
verif wontfix
Status: RESOLVED → VERIFIED
Target Milestone: Bugzilla 2.18 → ---
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•