From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 04 16:24:03 2010 Received: (at submit) by debbugs.gnu.org; 4 Aug 2010 20:24:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgkVO-00033m-UK for submit@debbugs.gnu.org; Wed, 04 Aug 2010 16:24:03 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgkVN-00033F-7B for submit@debbugs.gnu.org; Wed, 04 Aug 2010 16:24:01 -0400 Received: from lists.gnu.org ([199.232.76.165]:56091) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OgkVq-00017v-Ma for submit@debbugs.gnu.org; Wed, 04 Aug 2010 16:24:30 -0400 Received: from [140.186.70.92] (port=44706 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgkVo-0008Es-67 for bug-gnu-emacs@gnu.org; Wed, 04 Aug 2010 16:24:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OgkVn-0005YR-0W for bug-gnu-emacs@gnu.org; Wed, 04 Aug 2010 16:24:28 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:48302) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgkVm-0005YC-SQ for bug-gnu-emacs@gnu.org; Wed, 04 Aug 2010 16:24:26 -0400 Received: by wwi14 with SMTP id 14so6731752wwi.30 for ; Wed, 04 Aug 2010 13:24:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.44.141 with SMTP id n13mr2606471web.16.1280953464952; Wed, 04 Aug 2010 13:24:24 -0700 (PDT) Received: by 10.216.49.84 with HTTP; Wed, 4 Aug 2010 13:24:24 -0700 (PDT) Date: Wed, 4 Aug 2010 16:24:24 -0400 X-Google-Sender-Auth: F79bVNQEszJM0_pccdxTgvyvPa4 Message-ID: Subject: documentation: `insert-for-yank-1' needs refilled From: MON KEY To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -3.9 (---) 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: -5.2 (-----) `insert-for-yank-1' needs refilled problem current through Bzr-100972 *** /ediff52068uN 2010-08-04 16:11:00.078669691 -0400 ---lisp/subr.el 2010-08-04 15:50:02.478794136 -0400 *************** *** 2469,2497 **** (insert-for-yank-1 string)) (defun insert-for-yank-1 (string) ! "Insert STRING at point, stripping some text properties. Strip text properties from the inserted text according to `yank-excluded-properties'. Otherwise just like (insert STRING). ! If STRING has a non-nil `yank-handler' property on the first character, the normal insert behavior is modified in various ways. The value of ! the yank-handler property must be a list with one to four elements ! with the following format: (FUNCTION PARAM NOEXCLUDE UNDO). ! When FUNCTION is present and non-nil, it is called instead of `insert' ! to insert the string. FUNCTION takes one argument--the object to insert. ! If PARAM is present and non-nil, it replaces STRING as the object ! passed to FUNCTION (or `insert'); for example, if FUNCTION is ! `yank-rectangle', PARAM may be a list of strings to insert as a ! rectangle. ! If NOEXCLUDE is present and non-nil, the normal removal of the ! yank-excluded-properties is not performed; instead FUNCTION is ! responsible for removing those properties. This may be necessary ! if FUNCTION adjusts point before or after inserting the object. ! If UNDO is present and non-nil, it is a function that will be called ! by `yank-pop' to undo the insertion of the current object. It is ! called with two arguments, the start and end of the current region. ! FUNCTION may set `yank-undo-function' to override the UNDO value." (let* ((handler (and (stringp string) (get-text-property 0 'yank-handler string))) (param (or (nth 1 handler) string)) --- 2469,2503 ---- (insert-for-yank-1 string)) (defun insert-for-yank-1 (string) ! "Insert STRING at point, stripping some text properties. Strip text properties from the inserted text according to `yank-excluded-properties'. Otherwise just like (insert STRING). ! when STRING has a non-nil `yank-handler' property on the first character, the normal insert behavior is modified in various ways. The value of ! the yank-handler property is a list with one to four elements ! of the following format: (FUNCTION PARAM NOEXCLUDE UNDO). ! ! When FUNCTION is present and non-nil, it is a function called with one ! argument -- an object to insert, and is called instead of `insert' when ! inserting STRING. ! ! When PARAM is present and non-nil, it replaces STRING as the object ! passed to FUNCTION (or `insert'). For example, if FUNCTION is ! `yank-rectangle', PARAM may be a list of strings to insert as a ! rectangle. ! ! When NOEXCLUDE is present and non-nil, normal removal of ! yank-excluded-properties is not performed; instead text-property filtering ! is deferred to FUNCTION which becomes responsible for property removal prior ! to object insertion. This may be necessary when FUNCTION adjusts point ! either before or after object insertion. ! ! When UNDO is present and non-nil, it is a function called ! by `yank-pop' to undo the insertion of the current object. It is ! called with two arguments, the start and end of the current region. ! FUNCTION may set `yank-undo-function' to override the UNDO value." (let* ((handler (and (stringp string) (get-text-property 0 'yank-handler string))) (param (or (nth 1 handler) string)) From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 14 19:25:39 2010 Received: (at 6797-done) by debbugs.gnu.org; 14 Aug 2010 23:25: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 1OkQ6d-0002xI-2r for submit@debbugs.gnu.org; Sat, 14 Aug 2010 19:25:39 -0400 Received: from pantheon-po45.its.yale.edu ([130.132.50.79]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkQ6b-0002xC-Cs for 6797-done@debbugs.gnu.org; Sat, 14 Aug 2010 19:25:37 -0400 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po45.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o7ENQWau005980 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <6797-done@debbugs.gnu.org>; Sat, 14 Aug 2010 19:26:32 -0400 Received: by furry (Postfix, from userid 1000) id 91BB516D402; Sat, 14 Aug 2010 19:26:32 -0400 (EDT) From: Chong Yidong To: 6797-done@debbugs.gnu.org Subject: Re: documentation: `insert-for-yank-1' needs refilled Date: Sat, 14 Aug 2010 19:26:32 -0400 Message-ID: <87k4ns7p3r.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 6797-done 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.8 (--) Closing the bug; see comment in 6821. From unknown Sun Aug 10 07:34:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 12 Sep 2010 11:24:04 +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