bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31091: 25.2: Feature Request: auto exit upon memory exhaustion warni


From: Boruch Baum
Subject: bug#31091: 25.2: Feature Request: auto exit upon memory exhaustion warning
Date: Sun, 8 Apr 2018 11:54:32 -0400
User-agent: NeoMutt/20180223

On 2018-04-08 11:27, Noam Postavsky wrote:
> Boruch Baum <boruch_baum@gmx.com> writes:
> > Emacs already monitors the condition, and currently performs the following:
> >
> > 1] Adds a memory warning to the mode line;
>
> I'm not sure what mode line warning you are talking about.

    mode-line-front-space is a variable defined in ‘bindings.el’.
    Its value is (:eval (if (display-graphic-p) " " "-"))

      This variable may be risky if used as a file-local variable.

    Documentation:
    Mode line construct to put at the front of the mode line.
    By default, this construct is displayed right at the beginning of
    the mode line, except that if there is a memory-full message, it
    is displayed first.

> So I don't think this feature request can be satisfied.

The same logic that currently issues the warning messages would perform
the shutdown if a variable were set.


-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]