Middle English: via Old French from Latin humor ‘moisture’, from humere (see humid). The original sense was ‘bodily fluid’ (surviving in aqueous humour and vitreous humour); it was used specifically for any of the cardinal humors (humor (sense 3 of the noun)), whence ‘mental disposition’ (thought to be caused by the relative proportions of the humors). This led, in the 16th century, to the senses ‘mood’ (humor (sense 2 of the noun)) and ‘whim’, hence to humour someone ‘to indulge a person's whim’. humor (sense 1 of the noun) dates from the late 16th century
中英語。古フランス語を経て、ラテン語 humor「湿気」に由来し、humere「湿っている」から成る(humid を参照)。原義は「体液」で(aqueous humour「眼房水」、vitreous humour「硝子体液」に残る)、とくに四体液のいずれかを指し、そこから(体液の割合で決まると考えられた)「気質」の意味が生まれた。16世紀にはこれが「気分」「気まぐれ」の意味になり、そこから to humour someone「人の気まぐれに合わせる」が生じた。「ユーモア」の意味は16世紀後半から。