From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [feature request] A lock function. Date: Sun, 23 Nov 2008 22:00:34 -0500 Message-ID: References: <87abbsc8vd.fsf@sina.com> <87ljvcc5mt.fsf@sina.com> <87skpjnfo3.fsf@sina.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227498708 28650 80.91.229.12 (24 Nov 2008 03:51:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Nov 2008 03:51:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: anhnmncb Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 24 04:52:52 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L4SVH-0002Ds-Rv for ged-emacs-devel@m.gmane.org; Mon, 24 Nov 2008 04:52:52 +0100 Original-Received: from localhost ([127.0.0.1]:36412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4SU8-0004jB-Kb for ged-emacs-devel@m.gmane.org; Sun, 23 Nov 2008 22:51:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L4SU3-0004j5-VG for emacs-devel@gnu.org; Sun, 23 Nov 2008 22:51:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4SU3-0004iq-4D for emacs-devel@gnu.org; Sun, 23 Nov 2008 22:51:35 -0500 Original-Received: from [199.232.76.173] (port=53456 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4SU2-0004in-VJ for emacs-devel@gnu.org; Sun, 23 Nov 2008 22:51:35 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:40745) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L4Rgk-0000fp-S0 for emacs-devel@gnu.org; Sun, 23 Nov 2008 22:00:39 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEALunKUnO+J+z/2dsb2JhbACBbcwxgnyBHQ X-IronPort-AV: E=Sophos;i="4.33,655,1220241600"; d="scan'208";a="30206046" Original-Received: from 206-248-159-179.dsl.teksavvy.com (HELO ceviche.home) ([206.248.159.179]) by ironport2-out.teksavvy.com with ESMTP; 23 Nov 2008 22:00:35 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id D190BB40B3; Sun, 23 Nov 2008 22:00:34 -0500 (EST) In-Reply-To: <87skpjnfo3.fsf@sina.com> (anhnmncb@sina.com's message of "Sun, 23 Nov 2008 14:02:20 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106054 Archived-At: >>> But I want some one can still use my computer, just not touch my emacs. >> That's what user accounts are for. Even Windows has those things >> nowadays, IIUC. And if yours doesn't, it's a great opportunity to >> upgrade to the Free world. > Yes, but I don't want to logout, and maybe in some case I have to be > away in a harry and forgot to logout. At least under GNU/Linux, this is not a problem, you can have several accounts logged in at the same time. > Thank you all of you that provides many other ways, but I want one in > emacs, is it hard to implement? Maybe another (more generally useful) question is "how can I save Emacs's state to a file so I can return to it later". I.e. an extension of desktop.el to include yet more state. Stefan