Revision [216]

Last edited on 2010-08-16 18:09:27 by AidenFord
Additions:
[[http://www.superiorpapers.com/ Research Paper Help ]]
[[http://www.superiorpapers.com/term_paper_writing_services.php Writing Services]]


Revision [47]

Edited on 2008-02-07 13:05:59 by LarryGilbert [Clarify the quirk about hyphens and other punctuation]
Additions:
- Except for their sorting order, the hyphen and some other punctuation marks (##" & ( ) - / { } |##) are all considered the same! Labels using one will conflict with those using another if the labels are otherwise identical. For example, you cannot have two labels "& Steve" //and// "( Steve" because Gmail will complain that they conflict.
Deletions:
- The hyphen and some other punctuation marks (##" & ( ) - / { } |##) are all considered equivalent! Labels using one will conflict with those using another if the labels are otherwise identical. For example, you cannot have a label "& Steve" //and// a label "( Steve" because Gmail will complain that they conflict.


Revision [40]

Edited on 2007-12-08 12:56:49 by LarryGilbert [Add to CategoryCribSheets]
Additions:
=====Categories=====
[[CategoryCribSheets]]


Revision [36]

Edited on 2007-10-01 23:21:35 by LarryGilbert [Try to get the page title to come out right]
Additions:
======Gmail Crib Sheet======
A useful(?) reference to lesser-known features of [[http://mail.google.com/ Gmail]].


Revision [35]

Edited on 2007-10-01 23:14:10 by LarryGilbert [One more note: Z is always last]
Additions:
- There is no way to force labels to come after "Z" labels (except by adding lots of Z's to them).


Revision [34]

Edited on 2007-10-01 23:12:10 by LarryGilbert [Rewording]
Additions:
Gmail automatically sorts label names. Sometimes it is nice to "force" a particular sorting order. This can be done by (for example) inserting an extra punctuation mark at the start of a label name. But with Gmail labels, it is not as simple as the standard ASCII/ISO ordering that most programmers are familiar with.
Deletions:
Gmail automatically sorts label names. Sometimes it is nice to "force" a particular sorting order. This can be done by (for example) inserting an extra punctuation mark at the start of a label name.
A common hack for working around automatic sorting is to prefix a name with a punctuation mark. Indeed this does work with Gmail labels, but it is not as simple as the standard ASCII/ISO ordering that most programmers are familiar with.


Revision [33]

Edited on 2007-10-01 23:10:12 by LarryGilbert [Clarify a little]
Additions:
Sometimes a picture is worth a thousand words. Here is how Gmail would sort the following labels:
- Apple
- Apple-
- Apple--
- A-p-p-l-e
- -Apple
- --Apple
Finally, note these additional quirks:
- The hyphen and some other punctuation marks (##" & ( ) - / { } |##) are all considered equivalent! Labels using one will conflict with those using another if the labels are otherwise identical. For example, you cannot have a label "& Steve" //and// a label "( Steve" because Gmail will complain that they conflict.
Deletions:
Also note these quirks:
- Punctuation marks in one particular group (##" & ( ) - / { } |##) are all considered equivalent! Labels using one will conflict with those using another if the labels are otherwise identical. For example, you cannot have a label "& Steve" //and// a label "( Steve" because Gmail will complain that they conflict.


Revision [32]

Edited on 2007-10-01 23:00:52 by LarryGilbert [Some rewording, and an attempt to explain the weird hyphen sorting rules]
Additions:
Gmail automatically sorts label names. Sometimes it is nice to "force" a particular sorting order. This can be done by (for example) inserting an extra punctuation mark at the start of a label name.
A common hack for working around automatic sorting is to prefix a name with a punctuation mark. Indeed this does work with Gmail labels, but it is not as simple as the standard ASCII/ISO ordering that most programmers are familiar with.
Here is the sort order used in Gmail labels:
1) Punctuation marks, in this order: ##_ , ; : ! ? / . ` ~ ' " ( ) [ ] { } @ $ * \ & # % + < = > |##
1) The digits 0 to 9
1) The letters A to Z (case-insensitive)
In addition, the hyphen (##-##) seems to have its own sort rules. Labels are sorted in the order above, ignoring all hyphens. Then labels that are the same except for the hyphens they contain are sorted in this order:
1) Label with no hyphens comes first.
1) Label with a hyphen at the end comes next.
1) Label with a hyphen second from the end comes next.
1) And so on.
1) Label with a hyphen at the beginning comes last.
- Punctuation marks in one particular group (##" & ( ) - / { } |##) are all considered equivalent! Labels using one will conflict with those using another if the labels are otherwise identical. For example, you cannot have a label "& Steve" //and// a label "( Steve" because Gmail will complain that they conflict.
- The caret (##^##) is not allowed in labels at all.
Deletions:
To some, it is useful to circumvent Google's automatic alphabetic sorting of label names when there are a few that have priority and need to be sorted to the top.
A hack for doing this is to prefix the label name with a punctuation mark. A name starting with the punctuation marks listed below will be sorted above alphabetic labels. Different punctuation marks can be used to group different classes of labels together.
Labels starting with punctuation marks will be sorted in this order (programmers please note that this is //not// ASCII/ISO order!):
, ! ~ ' " ( ) @ $ * & % +
- Double-quotes ("), ampersand (&), parentheses ("(" and ")" both), and hyphen (-) are all considered equivalent. Labels using one will conflict with those using another if the labels are otherwise identical. For example, you cannot have a label "& Steve" //and// a label "( Steve" because Gmail will complain that they conflict.
- The hyphen (-) has another quality in addition to the conflict: Labels starting with a hyphen will be sorted alphabetically with labels having no punctuation in front, //but// will be sorted after equivalent hyphen-less names. Example: "-Steve" will be sorted immediately after "Steve" if both are labels.


Revision [31]

Edited on 2007-10-01 22:21:59 by LarryGilbert [more notes on label sorting]
Additions:
A hack for doing this is to prefix the label name with a punctuation mark. A name starting with the punctuation marks listed below will be sorted above alphabetic labels. Different punctuation marks can be used to group different classes of labels together.
, ! ~ ' " ( ) @ $ * & % +
- Double-quotes ("), ampersand (&), parentheses ("(" and ")" both), and hyphen (-) are all considered equivalent. Labels using one will conflict with those using another if the labels are otherwise identical. For example, you cannot have a label "& Steve" //and// a label "( Steve" because Gmail will complain that they conflict.
- The hyphen (-) has another quality in addition to the conflict: Labels starting with a hyphen will be sorted alphabetically with labels having no punctuation in front, //but// will be sorted after equivalent hyphen-less names. Example: "-Steve" will be sorted immediately after "Steve" if both are labels.
Deletions:
A hack for doing this is to prefix the label name with a punctuation mark. A name starting with //any// punctuation mark will be sorted above alphabetic labels. Different punctuation marks can be used to group different classes of labels together.
! ~ " @ $ * & %
- Double-quotes (") and ampersand (&) are considered equivalent. Labels using one will conflict with those using the other if the two labels are otherwise identical.


Revision [30]

Edited on 2007-10-01 22:07:12 by LarryGilbert [beginning to add notes about how to force sorting of labels]
Additions:
=====Sorting labels=====
To some, it is useful to circumvent Google's automatic alphabetic sorting of label names when there are a few that have priority and need to be sorted to the top.
A hack for doing this is to prefix the label name with a punctuation mark. A name starting with //any// punctuation mark will be sorted above alphabetic labels. Different punctuation marks can be used to group different classes of labels together.
Labels starting with punctuation marks will be sorted in this order (programmers please note that this is //not// ASCII/ISO order!):
! ~ " @ $ * & %
Also note these quirks:
- Double-quotes (") and ampersand (&) are considered equivalent. Labels using one will conflict with those using the other if the two labels are otherwise identical.


Revision [29]

Edited on 2007-10-01 21:49:29 by LarryGilbert [spaces in label names]
Additions:
**label:x** — messages with label "x" applied (use "-" for a space in names with spaces)
Deletions:
**label:x** — messages with label "x" applied


Revision [28]

The oldest known version of this page was created on 2007-10-01 21:46:44 by LarryGilbert [began Gmail crib sheet]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki