From unknown Sat Aug 09 09:32:27 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#7500 <7500@debbugs.gnu.org> To: bug#7500 <7500@debbugs.gnu.org> Subject: Status: 24.0.50; doc string of `current-kill' Reply-To: bug#7500 <7500@debbugs.gnu.org> Date: Sat, 09 Aug 2025 16:32:27 +0000 retitle 7500 24.0.50; doc string of `current-kill' reassign 7500 emacs submitter 7500 "Drew Adams" severity 7500 minor tag 7500 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 27 12:14:38 2010 Received: (at submit) by debbugs.gnu.org; 27 Nov 2010 17:14:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMOMA-0003L4-Gl for submit@debbugs.gnu.org; Sat, 27 Nov 2010 12:14:38 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMOM8-0003Kt-9P for submit@debbugs.gnu.org; Sat, 27 Nov 2010 12:14:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMORP-0003jM-SG for submit@debbugs.gnu.org; Sat, 27 Nov 2010 12:20:05 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:41963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PMORP-0003jI-QM for submit@debbugs.gnu.org; Sat, 27 Nov 2010 12:20:03 -0500 Received: from [140.186.70.92] (port=49747 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMORO-0004Ni-Qf for bug-gnu-emacs@gnu.org; Sat, 27 Nov 2010 12:20:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMORN-0003hw-Ia for bug-gnu-emacs@gnu.org; Sat, 27 Nov 2010 12:20:02 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]:35136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PMORN-0003hc-9h for bug-gnu-emacs@gnu.org; Sat, 27 Nov 2010 12:20:01 -0500 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oARHJwgP019111 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 27 Nov 2010 17:19:59 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oARDBE4n001124 for ; Sat, 27 Nov 2010 17:19:57 GMT Received: from abhmt018.oracle.com by acsmt353.oracle.com with ESMTP id 809604861290878288; Sat, 27 Nov 2010 09:18:08 -0800 Received: from dradamslap1 (/10.159.217.122) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 27 Nov 2010 09:18:08 -0800 From: "Drew Adams" To: Subject: 24.0.50; doc string of `current-kill' Date: Sat, 27 Nov 2010 09:18:17 -0800 Message-ID: <666F7CF5EB224E20857BA05E5630DEC1@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Thread-Index: AcuOVxSkmzxxh11vQy6Dzxjp+CtjUQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Please split this long sentence, and make it comprehensible: "If N is zero, `interprogram-paste-function' is set, and calling it returns a string or list of strings, then that string (or list) is added to the front of the kill ring and the string (or first string in the list) is returned as the latest kill." `interprogram-paste-function' is set to what? to the kill-ring head? Is "and calling it returns..." a statement of one of the _consequences_ of N being 0, or is it a further condition for what follows: "then that string..." - i.e. "AND _IF_ calling it results... then..."? From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 27 13:11:33 2010 Received: (at 7500) by debbugs.gnu.org; 27 Nov 2010 18:11:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMPFE-0004aR-Oj for submit@debbugs.gnu.org; Sat, 27 Nov 2010 13:11:33 -0500 Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMPFC-0004aE-CF for 7500@debbugs.gnu.org; Sat, 27 Nov 2010 13:11:31 -0500 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 4983718059C0; Sat, 27 Nov 2010 19:16:58 +0100 (CET) Received: from igel.home (ppp-88-217-99-182.dynamic.mnet-online.de [88.217.99.182]) by mail.mnet-online.de (Postfix) with ESMTP id 81E761C003DF; Sat, 27 Nov 2010 19:16:57 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id 91D6DCA2A0; Sat, 27 Nov 2010 19:16:56 +0100 (CET) From: Andreas Schwab To: "Drew Adams" Subject: Re: bug#7500: 24.0.50; doc string of `current-kill' References: <666F7CF5EB224E20857BA05E5630DEC1@us.oracle.com> X-Yow: I need to discuss BUY-BACK PROVISIONS with at least six studio SLEAZEBALLS!! Date: Sat, 27 Nov 2010 19:16:56 +0100 In-Reply-To: <666F7CF5EB224E20857BA05E5630DEC1@us.oracle.com> (Drew Adams's message of "Sat, 27 Nov 2010 09:18:17 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7500 Cc: 7500@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) "Drew Adams" writes: > Please split this long sentence, and make it comprehensible: > > "If N is zero, `interprogram-paste-function' is set, and calling > it returns a string or list of strings, then that string (or > list) is added to the front of the kill ring and the string (or > first string in the list) is returned as the latest kill." > > `interprogram-paste-function' is set to what? interprogram-paste-function should be set to a function, otherwise it wouldn't be called interprogram-paste-function. > to the kill-ring head? Since when is the kill-ring head a function? > Is "and calling it returns..." a statement of one of the _consequences_ > of N being 0, or is it a further condition for what follows: "then that > string..." - i.e. "AND _IF_ calling it results... then..."? "then" starts a consequence, not "and". Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 27 13:33:51 2010 Received: (at 7500) by debbugs.gnu.org; 27 Nov 2010 18:33:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMPap-00054X-I5 for submit@debbugs.gnu.org; Sat, 27 Nov 2010 13:33:51 -0500 Received: from pruche.dit.umontreal.ca ([132.204.246.22]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMPan-00054J-Ny for 7500@debbugs.gnu.org; Sat, 27 Nov 2010 13:33:49 -0500 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id oARIdHn8006883; Sat, 27 Nov 2010 13:39:17 -0500 Received: by pastel.home (Postfix, from userid 20848) id A3BF9A85E9; Sat, 27 Nov 2010 13:39:16 -0500 (EST) From: Stefan Monnier To: "Drew Adams" Subject: Re: bug#7500: 24.0.50; doc string of `current-kill' Message-ID: References: <666F7CF5EB224E20857BA05E5630DEC1@us.oracle.com> Date: Sat, 27 Nov 2010 13:39:16 -0500 In-Reply-To: <666F7CF5EB224E20857BA05E5630DEC1@us.oracle.com> (Drew Adams's message of "Sat, 27 Nov 2010 09:18:17 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3692=0 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 7500 Cc: 7500@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > Please split this long sentence, and make it comprehensible: > "If N is zero, `interprogram-paste-function' is set, and calling The above is parsed as (and "if N is zero" "`interprogram-paste-function' is set" "calling ...") since (and A B C) is usually written in (US) English "A, B, and C". How 'bout: "If N is zero and `interprogram-paste-function' is set to a function that returns a string or list of strings, then that string (or list) is added to the front of the kill ring and the string (or first string in the list) is returned as the latest kill." Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 27 14:16:08 2010 Received: (at 7500) by debbugs.gnu.org; 27 Nov 2010 19:16:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMQFj-0005zr-PB for submit@debbugs.gnu.org; Sat, 27 Nov 2010 14:16:08 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMQFh-0005zM-Cq for 7500@debbugs.gnu.org; Sat, 27 Nov 2010 14:16:05 -0500 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oARJLW6J019975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 27 Nov 2010 19:21:34 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oARHoIVx024628; Sat, 27 Nov 2010 19:21:30 GMT Received: from abhmt006.oracle.com by acsmt354.oracle.com with ESMTP id 809666381290885572; Sat, 27 Nov 2010 11:19:32 -0800 Received: from dradamslap1 (/10.159.217.122) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 27 Nov 2010 11:19:31 -0800 From: "Drew Adams" To: "'Andreas Schwab'" References: <666F7CF5EB224E20857BA05E5630DEC1@us.oracle.com> Subject: RE: bug#7500: 24.0.50; doc string of `current-kill' Date: Sat, 27 Nov 2010 11:19:40 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Thread-Index: AcuOX0pQ07n/XiuQReGyr3Db01/lZAAAHUog X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 7500 Cc: 7500@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) > interprogram-paste-function should be set to a function, otherwise it > wouldn't be called interprogram-paste-function. ... > Since when is the kill-ring head a function? ... > "then" starts a consequence, not "and". Stop trying to justify it. It is a rambling, confusing sentence. It reads like a translation to English from some long sentence that might (or might not) have been clear in some other language (perhaps one that revels in long sentences?). The result is not clear. I can't even tell whether (a) "then" here is part of an "if...then" construct or (b) there is a comma splice (no-no) and "then" here is a _temporal_ adverb starting an independent clause. In the latter case, the comma should be a period and "then" should start a new sentence. If you don't know where to begin to improve the text, start by splitting it into shorter, simpler sentences, preferably in the active voice. That will probably make the meaning clear. Once I have the meaning I can propose something, if needed. But my guess is that once you've changed to active, short sentences the meaning will be clear enough for everyone - no further improvement needed. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 27 14:30:03 2010 Received: (at 7500) by debbugs.gnu.org; 27 Nov 2010 19:30:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMQTD-0006Iy-3H for submit@debbugs.gnu.org; Sat, 27 Nov 2010 14:30:03 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMQTB-0006IS-CG for 7500@debbugs.gnu.org; Sat, 27 Nov 2010 14:30:01 -0500 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oARJZSbC030155 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 27 Nov 2010 19:35:30 GMT Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oARJPJIi008050; Sat, 27 Nov 2010 19:35:26 GMT Received: from abhmt005.oracle.com by acsmt353.oracle.com with ESMTP id 818491331290886433; Sat, 27 Nov 2010 11:33:53 -0800 Received: from dradamslap1 (/10.159.217.122) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 27 Nov 2010 11:33:53 -0800 From: "Drew Adams" To: "'Stefan Monnier'" References: <666F7CF5EB224E20857BA05E5630DEC1@us.oracle.com> Subject: RE: bug#7500: 24.0.50; doc string of `current-kill' Date: Sat, 27 Nov 2010 11:34:02 -0800 Message-ID: <1EBA2F5127644D558E53F883DFF2C07B@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Thread-Index: AcuOYm3IBz+R+7MlS3S3vSFdyeAhYQAAesZQ X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 7500 Cc: 7500@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) > > "If N is zero, `interprogram-paste-function' is set, and calling > > The above is parsed as > (and "if N is zero" > "`interprogram-paste-function' is set" > "calling ...") Thank you! That's just the kind of succinct statement that makes the meaning clear and advances the schmilblick. But if that is the meaning then we also need to document what happens if N is zero and one of the other conjuncts is false. Are you sure you don't mean the following instead? When N is zero, if i-p-f is set then calling... IOW, _IF_ N is zero then (if `i-p-f' is....) else ZZZ. (We already say what happens when N is not zero (ZZZ).) > since (and A B C) is usually written in (US) English "A, B, and C". > How 'bout: > > "If N is zero and `interprogram-paste-function' is set to a function > that returns a string or list of strings, then that string (or > list) is added to the front of the kill ring and the string (or > first string in the list) is returned as the latest kill." See above. If my guess above is correct, then: When N is zero, if `i-p-f' is set to... And since the return value of i-p-a is _supposed_ to be either nil or a string-or-list-of-strings: When N is zero, call the value of `interprogram-paste-function'. If that call returns nil, do nothing more and return the kill-ring car (??). Otherwise, prepend the returned string (or list of strings) to the kill ring and then return the new kill-ring car. See "??" above. What does `current-kill' return if `i-p-f' returns nil when called? the existing kill-ring head? nil? From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 27 15:22:35 2010 Received: (at 7500) by debbugs.gnu.org; 27 Nov 2010 20:22:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMRI3-00089S-5P for submit@debbugs.gnu.org; Sat, 27 Nov 2010 15:22:35 -0500 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMRI0-00089E-9a for 7500@debbugs.gnu.org; Sat, 27 Nov 2010 15:22:34 -0500 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id A71761C08CF7; Sat, 27 Nov 2010 21:28:00 +0100 (CET) Received: from igel.home (ppp-88-217-99-182.dynamic.mnet-online.de [88.217.99.182]) by mail.mnet-online.de (Postfix) with ESMTP id 96D3F1C00624; Sat, 27 Nov 2010 21:28:00 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id 64E4ECA2A0; Sat, 27 Nov 2010 21:28:00 +0100 (CET) From: Andreas Schwab To: "Drew Adams" Subject: Re: bug#7500: 24.0.50; doc string of `current-kill' References: <666F7CF5EB224E20857BA05E5630DEC1@us.oracle.com> X-Yow: I'm not available for comment.. Date: Sat, 27 Nov 2010 21:28:00 +0100 In-Reply-To: (Drew Adams's message of "Sat, 27 Nov 2010 11:19:40 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7500 Cc: 7500@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) "Drew Adams" writes: >> interprogram-paste-function should be set to a function, otherwise it >> wouldn't be called interprogram-paste-function. > ... >> Since when is the kill-ring head a function? > ... >> "then" starts a consequence, not "and". > > Stop trying to justify it. It was already left justfied. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 14 11:07:30 2011 Received: (at 7500) by debbugs.gnu.org; 14 Jul 2011 15:07:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhNVe-0000gn-75 for submit@debbugs.gnu.org; Thu, 14 Jul 2011 11:07:30 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhNVQ-0000g1-WF for 7500@debbugs.gnu.org; Thu, 14 Jul 2011 11:07:18 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QhNVC-0000Hg-Ph; Thu, 14 Jul 2011 17:06:58 +0200 From: Lars Magne Ingebrigtsen To: "Drew Adams" Subject: Re: bug#7500: 24.0.50; doc string of `current-kill' In-Reply-To: <1EBA2F5127644D558E53F883DFF2C07B@us.oracle.com> (Drew Adams's message of "Sat, 27 Nov 2010 11:34:02 -0800") Date: Thu, 14 Jul 2011 17:01:59 +0200 Message-ID: References: <666F7CF5EB224E20857BA05E5630DEC1@us.oracle.com> <1EBA2F5127644D558E53F883DFF2C07B@us.oracle.com> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Joni Mitchell's _Blue_: "Blue" X-Hashcash: 1:23:110714:monnier@iro.umontreal.ca::GuhjO5E4t7ypwu4m:00000000000000000000000000000000000002Sl1 X-Hashcash: 1:23:110714:drew.adams@oracle.com::o3RiWOpqYuVy8gEc:0000000000000000000000000000000000000000QlcW X-Hashcash: 1:23:110714:7500@debbugs.gnu.org::qVSlh/J7U0Yhp5BN:00000000000000000000000000000000000000000eqiZ MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1QhNVC-0000Hg-Ph X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311260818.99563@RmEGR1AQMhD5WxUuaAhKZA X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7500 Cc: 'Stefan Monnier' , 7500@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) "Drew Adams" writes: > And since the return value of i-p-a is _supposed_ to be either nil or a > string-or-list-of-strings: > > When N is zero, call the value of `interprogram-paste-function'. > If that call returns nil, do nothing more and return the > kill-ring car (??). Otherwise, prepend the returned string > (or list of strings) to the kill ring and then return the new > kill-ring car. > > See "??" above. What does `current-kill' return if `i-p-f' returns nil when > called? the existing kill-ring head? nil? Looking at the code, if it returns nil, then the entire "When" statement fails. I'll try to work that in... somehow... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 14 11:07:34 2011 Received: (at 7500) by debbugs.gnu.org; 14 Jul 2011 15:07:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhNVi-0000gy-Cs for submit@debbugs.gnu.org; Thu, 14 Jul 2011 11:07:34 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhNVR-0000g2-00 for 7500@debbugs.gnu.org; Thu, 14 Jul 2011 11:07:21 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QhNVB-0000Hd-Md; Thu, 14 Jul 2011 17:06:57 +0200 From: Lars Magne Ingebrigtsen To: Stefan Monnier Subject: Re: bug#7500: 24.0.50; doc string of `current-kill' In-Reply-To: (Stefan Monnier's message of "Sat, 27 Nov 2010 13:39:16 -0500") Date: Thu, 14 Jul 2011 17:01:19 +0200 Message-ID: References: <666F7CF5EB224E20857BA05E5630DEC1@us.oracle.com> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Joni Mitchell's _Blue_: "Blue" X-Hashcash: 1:23:110714:drew.adams@oracle.com::ljBT5h6B4Vrpxada:00000000000000000000000000000000000000005BmZ X-Hashcash: 1:23:110714:monnier@iro.umontreal.ca::orl7e3hHuaaAucX5:0000000000000000000000000000000000000D1J6 X-Hashcash: 1:23:110714:7500@debbugs.gnu.org::DQtw8N9UZw+AF7ux:00000000000000000000000000000000000000000Q5dk MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1QhNVB-0000Hd-Md X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311260818.2949@HQrhZN54NnMqU7jKYXE+sA X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7500 Cc: 7500@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Stefan Monnier writes: > How 'bout: > > "If N is zero and `interprogram-paste-function' is set to a function > that returns a string or list of strings, then that string (or > list) is added to the front of the kill ring and the string (or > first string in the list) is returned as the latest kill." I've now added this. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 14 11:07:07 2011 Received: (at control) by debbugs.gnu.org; 14 Jul 2011 15:07:07 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhNVL-0000fv-8K for submit@debbugs.gnu.org; Thu, 14 Jul 2011 11:07:07 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhNVJ-0000fP-CT for control@debbugs.gnu.org; Thu, 14 Jul 2011 11:07:06 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QhNV4-0000H9-3v for control@debbugs.gnu.org; Thu, 14 Jul 2011 17:06:50 +0200 Date: Thu, 14 Jul 2011 17:06:49 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #7500 X-MailScanner-ID: 1QhNV4-0000H9-3v X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311260810.25372@9LSnSsxOmMRD4cCUUoopjQ X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) tags 7500 fixed close 7500 24.1 From unknown Sat Aug 09 09:32:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 12 Aug 2011 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator