[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [feature request] A lock function.
From: |
anhnmncb |
Subject: |
Re: [feature request] A lock function. |
Date: |
Mon, 24 Nov 2008 10:30:45 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) |
"Davis Herring" <address@hidden> writes:
>>> That might give you a false sense of security. If you are to leave your
>>> user account non-locked, making your emacs session "locked" might not
>>> keep your data safe from someone who can access your session.
>> I just want that someone not to touch my emacs, yes, it's not
>> about security...
>
> If you really don't care about making it secure in any real sense, you can
> use something entirely trivial like
>
> (defun lock-emacs ()
> (interactive)
> (let ((inhibit-quit t))
> (while (not (equal (read-passwd "Unlock: ") "potrzebie"))
> (setq quit-flag nil)))) ; prevent C-g from looping
>
> Davis
That's great, now I can set it to run after a particular idle time!
Thank you :)
- [feature request] A lock function., anhnmncb, 2008/11/22
- Re: [feature request] A lock function., anhnmncb, 2008/11/22
- Re: [feature request] A lock function., Stefan Monnier, 2008/11/22
- Re: [feature request] A lock function., anhnmncb, 2008/11/23
- Re: [feature request] A lock function., Gilaras Drakeson, 2008/11/23
- Re: [feature request] A lock function., anhnmncb, 2008/11/23
- Re: [feature request] A lock function., Davis Herring, 2008/11/23
- Re: [feature request] A lock function.,
anhnmncb <=
- Re: [feature request] A lock function., mail, 2008/11/24
- Re: [feature request] A lock function., Stefan Monnier, 2008/11/23
- Re: [feature request] A lock function., Eli Zaretskii, 2008/11/24