The ignore_case setting (default: on, except in PyMOL 220.127.116.11 - 18.104.22.168) controls whether PyMOL does case sensitive matching of atomic identifiers and selection operators in the selection language. Most notably, it affects whether chain identifiers are matched case sensitive, which becomes relevant when using upper and lower case chain identifiers in a structure with more than 26 chains.
Load 1a00 which has chains A, B, C, D
PyMOL>fetch 1a00, async=0
1) case insensitive selection language (default for PyMOL <= 1.7.6 and >= 22.214.171.124)
PyMOL>set ignore_case Setting: ignore_case set to on. PyMOL>count_atoms chain A count_atoms: 1164 atoms PyMOL>count_atoms chain a count_atoms: 1164 atoms
2) case sensitive selection language (default for PyMOL 126.96.36.199 - 188.8.131.52)
PyMOL>set ignore_case, off Setting: ignore_case set to off. PyMOL>count_atoms chain A count_atoms: 1164 atoms PyMOL>count_atoms chain a count_atoms: 0 atoms
Best Practice for Scripting
When writing scripts or plugins, all selection expressions should be strict about case (e.g. "name CA" and not "name ca") to not depend on the users setting of ignore_case.