From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] delete-trailing-whitespace on active region Date: Fri, 11 Feb 2011 19:27:21 +0100 Message-ID: References: <87pqqza86f.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1297448875 2289 80.91.229.12 (11 Feb 2011 18:27:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2011 18:27:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 11 19:27:49 2011 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.69) (envelope-from ) id 1Pnxie-0002kp-NQ for ged-emacs-devel@m.gmane.org; Fri, 11 Feb 2011 19:27:48 +0100 Original-Received: from localhost ([127.0.0.1]:57123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pnxie-0004O2-8L for ged-emacs-devel@m.gmane.org; Fri, 11 Feb 2011 13:27:48 -0500 Original-Received: from [140.186.70.92] (port=37282 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pnxia-0004Nw-Dw for emacs-devel@gnu.org; Fri, 11 Feb 2011 13:27:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnxiZ-0005kM-3H for emacs-devel@gnu.org; Fri, 11 Feb 2011 13:27:44 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:62622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnxiY-0005kE-I5 for emacs-devel@gnu.org; Fri, 11 Feb 2011 13:27:43 -0500 Original-Received: by iyi20 with SMTP id 20so2931348iyi.0 for ; Fri, 11 Feb 2011 10:27:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=07fHWm2vszc0AVhdDsX3smv2PcUv9ZKig0JEAgxX4Ok=; b=tIAUV3XC2iZQjjq+MMJQhBP6orD9VzjzghFbufMC5TfP1I4pZIaLxLHmGNvZVAnM+p tJpj/HqpMzNz42QEaahiBGr1RW2lm/DEoxM2OVtgewtQVZTftoy55hCvoTss6EkQGX3D pG016KbHO+ToUJX9NMp+8bzj3aZ3e8th6DfVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=SpGJVd7PFCa1MQ0SqGAfIGURhvb8SnOoU1d3pE/ZB9uFpq99tU8DaSF+e9wLAVbDrc RjX9UsuPWogdtgD65DMr1YBKjR3S1ASCsrAMDDxQsU9l0ymxKaJXm2PHLBa/Hfk8PrPP 7LlUJM3pgnLpQ0ErGLw9Eqq5ojRzfFnIj5TRk= Original-Received: by 10.42.226.6 with SMTP id iu6mr1069935icb.180.1297448861655; Fri, 11 Feb 2011 10:27:41 -0800 (PST) Original-Received: by 10.231.19.67 with HTTP; Fri, 11 Feb 2011 10:27:21 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 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:135905 Archived-At: 2011/2/11 Stefan Monnier : >> Attached is a last attempt, if it's not good then I give up and hope >> that someone else will take care of it. > > Looks good, please install. > >> + =A0 =A0 =A0(let ((end-marker (set-marker (make-marker) (or end (point-= max)))) > > I'd use (copy-marker (or end (point-max))). > Thanks, I made that change and pushed.