[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17349: 24.3.50; display-battery-mode stops updating after closing an
From: |
Stefan Monnier |
Subject: |
bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid |
Date: |
Tue, 17 Jun 2014 09:33:39 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
>> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
>> Date: Fri, 02 May 2014 13:05:20 +0200
>> Cc: Nicolas Richard <theonewiththeevillook@yahoo.fr>,
>> Barry OReilly <gundaetiapo@gmail.com>, 17349@debbugs.gnu.org
>>
>> 3bis. Why are these three "C-g" special ? It is not mentionned in (info
>> "(emacs)
>> Quitting") AFAICT.
> Maybe because of the "emergency escape" feature, although that
> requires 2 C-g's in a row, not 3, and AFAIK only works on a TTY.
No, it does seem to be 3 (quoting src/keyboard.c):
{ /* Else request quit when it's safe. */
int count = NILP (Vquit_flag) ? 1 : force_quit_count + 1;
force_quit_count = count;
if (count == 3)
{
immediate_quit = 1;
Vinhibit_quit = Qnil;
}
Vquit_flag = Qt;
}
-- Stefan
- bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid,
Stefan Monnier <=