From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: mouse-save-then-kill expects kill-ring to be a consp Date: Tue, 21 Sep 2004 15:13:24 -0700 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0502649252==" X-Trace: sea.gmane.org 1095804834 16208 80.91.229.6 (21 Sep 2004 22:13:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Sep 2004 22:13:54 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 22 00:13:48 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C9stQ-0002ie-00 for ; Wed, 22 Sep 2004 00:13:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9szM-0003Vg-Lp for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Sep 2004 18:19:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C9szL-0003Uh-4s for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2004 18:19:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C9szJ-0003Tq-R0 for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2004 18:19:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9szJ-0003TZ-Od for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2004 18:19:53 -0400 Original-Received: from [141.146.126.229] (helo=agminet02.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1C9stB-0005zT-D3 for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2004 18:13:33 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.191.10]) by agminet02.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i8LMDVlN000762 for ; Tue, 21 Sep 2004 15:13:31 -0700 Original-Received: from rgmgw1.us.oracle.com (localhost [127.0.0.1]) by rgmgw1.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i8LMDVNe007215 for ; Tue, 21 Sep 2004 16:13:31 -0600 Original-Received: from dradamslap (dhcp-amer-csvpn-gw1-141-144-68-102.vpn.oracle.com [141.144.68.102]) by rgmgw1.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id i8LMDU1R007197 for ; Tue, 21 Sep 2004 16:13:30 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:9052 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9052 This is a multi-part message in MIME format. --===============0502649252== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0031_01C49FED.8A10D140" This is a multi-part message in MIME format. ------=_NextPart_000_0031_01C49FED.8A10D140 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I don't know if this is still a bug in Emacs 21; I just checked the code quickly (didn't test), but it was a bug in Emacs 20: Initially, the kill-ring is nil, and mouse-save-then-kill expects it to be a consp. I fixed this for myself in Emacs 20 this way: (unless kill-ring (kill-new "")) - Drew ------=_NextPart_000_0031_01C49FED.8A10D140 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I = don't know if this=20 is still a bug in Emacs 21; I just checked the code quickly (didn't = test), but=20 it was a bug in Emacs 20:
 
Initially, the=20 kill-ring is nil, and mouse-save-then-kill expects it to be a consp. I = fixed=20 this for myself in Emacs 20 this way: (unless kill-ring (kill-new=20 ""))
 
 -=20 Drew
------=_NextPart_000_0031_01C49FED.8A10D140-- --===============0502649252== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs --===============0502649252==--