From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jeremy Maitin-Shepard Newsgroups: gmane.emacs.devel Subject: Re: patch to include EasyPG to Emacs Date: Sat, 16 Feb 2008 18:00:49 -0500 Message-ID: <87wsp45wwu.fsf@jbms.ath.cx> References: <87ve515pn4.fsf@broken.deisui.org> <200802102236.m1AMaHLU026386@sallyv1.ics.uci.edu> <54a15d860802101534h37b953b7i7061123ae83e4dec@mail.gmail.com> <87odaongwx.fsf@broken.deisui.org> <200802120348.m1C3mJ0B016980@sallyv1.ics.uci.edu> <200802131728.m1DHSV7t011392@sallyv1.ics.uci.edu> <54a15d860802140326t1ede84c9v9ca8abd62f837e21@mail.gmail.com> <54a15d860802141043y1ac04291w399a22c41f5ec81a@mail.gmail.com> <47B6BA0C.8020405@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1203202895 31195 80.91.229.12 (16 Feb 2008 23:01:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Feb 2008 23:01:35 +0000 (UTC) Cc: mwolson@gnu.org, rms@gnu.org, Sascha Wilde , ueno@unixuser.org, emacs-devel@gnu.org, dann@ics.uci.edu, monnier@iro.umontreal.ca, Jan =?utf-8?Q?Dj=C3=A4rv?= To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 17 00:01:56 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 1JQW2a-0004hl-0K for ged-emacs-devel@m.gmane.org; Sun, 17 Feb 2008 00:01:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQW25-0003gA-P2 for ged-emacs-devel@m.gmane.org; Sat, 16 Feb 2008 18:01:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQW1y-0003dy-PF for emacs-devel@gnu.org; Sat, 16 Feb 2008 18:01:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQW1v-0003Zb-HV for emacs-devel@gnu.org; Sat, 16 Feb 2008 18:01:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQW1v-0003ZN-At for emacs-devel@gnu.org; Sat, 16 Feb 2008 18:01:11 -0500 Original-Received: from deleuze.hcoop.net ([69.90.123.67]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JQW1n-00064W-VM; Sat, 16 Feb 2008 18:01:04 -0500 Original-Received: from c-24-218-188-128.hsd1.ma.comcast.net ([24.218.188.128] helo=localhost) by deleuze.hcoop.net with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63) (envelope-from ) id 1JQW1f-0005sH-82; Sat, 16 Feb 2008 18:00:55 -0500 X-Habeas-SWE-9: mark in spam to . X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-1: winter into spring In-Reply-To: (Andreas Schwab's message of "Sat, 16 Feb 2008 12:16:30 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Error: This connection is not (no longer?) in the cache. 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:89280 Archived-At: Andreas Schwab writes: > Jan Dj=C3=A4rv writes: >> Richard Stallman skrev: >>> There is still the problem, that one can't prevent Emacs from swapping >>> out the content of such an buffer -- but that's a more generic problem >>> (which was discussed briefly in an earlier thread IIRC). >>>=20 >>> Isn't there a way to tell the system not to swap out certain pages? >>>=20 >>>=20 >>=20 >> There is mlock(2). > The amount of memory that can be locked (by unprivileged processes) is > quite limited (128kb typically). Even if you somehow manage to prevent the system from swapping out the memory used by Emacs to directly represent the buffer, other elisp code that interacts with the buffer may end up copying portions of the buffer contents to other locations in memory, or copied to other programs, e.g. if a spell checking mode is used. --=20 Jeremy Maitin-Shepard