From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#3378: 23.0.94; Debugger entered--Lisp error: (void-function x-own-selection-internal) Date: Wed, 27 May 2009 18:44:22 -0700 (PDT) Message-ID: <200905280144.n4S1iMGS008580@godzilla.ics.uci.edu> References: <76E6E305-9BE5-458B-89AB-68D0BEDC171F@digg.com> Reply-To: Dan Nicolaescu , 3378@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1243476569 8296 80.91.229.12 (28 May 2009 02:09:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 May 2009 02:09:29 +0000 (UTC) Cc: "bug-gnu-emacs@gnu.org David Reitter" , 3378@emacsbugs.donarmstrong.com To: Ian Eure Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 28 04:09:26 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M9V3d-0007uV-BN for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 May 2009 04:09:25 +0200 Original-Received: from localhost ([127.0.0.1]:54067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9V3c-0000dF-Lm for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 May 2009 22:09:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9V3X-0000ZT-FR for bug-gnu-emacs@gnu.org; Wed, 27 May 2009 22:09:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9V3T-0000P2-2u for bug-gnu-emacs@gnu.org; Wed, 27 May 2009 22:09:19 -0400 Original-Received: from [199.232.76.173] (port=46151 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9V3S-0000OW-SQ for bug-gnu-emacs@gnu.org; Wed, 27 May 2009 22:09:14 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56015) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M9V3S-0000Rz-Bj for bug-gnu-emacs@gnu.org; Wed, 27 May 2009 22:09:14 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4S29Cis017922; Wed, 27 May 2009 19:09:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4S1o3qU014685; Wed, 27 May 2009 18:50:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 28 May 2009 01:50:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3378 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3378-submit@emacsbugs.donarmstrong.com id=B3378.124347508213984 (code B ref 3378); Thu, 28 May 2009 01:50:03 +0000 Original-Received: (at 3378) by emacsbugs.donarmstrong.com; 28 May 2009 01:44:42 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4S1icLQ013979 for <3378@emacsbugs.donarmstrong.com>; Wed, 27 May 2009 18:44:39 -0700 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n4S1iN1T001315; Wed, 27 May 2009 18:44:23 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n4S1iMGS008580; Wed, 27 May 2009 18:44:22 -0700 (PDT) In-Reply-To: <76E6E305-9BE5-458B-89AB-68D0BEDC171F@digg.com> (Ian Eure's message of "Wed, 27 May 2009 16:54:51 -0700") Original-Lines: 39 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n4S1iN1T001315 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 27 May 2009 22:09:19 -0400 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28254 Archived-At: Ian Eure writes: > I can reproduce here with -Q. Drag around the *scratch* buffer while > pressing meta. > > Here's the backtrace: > > Debugger entered--Lisp error: (void-function x-own-selection-internal) > x-own-selection-internal(SECONDARY #("nt to save, and for Lisp > evaluation.\n;; If you want to create a file, visit that file with C-x > C-f,\n;; then enter the text in that file's own buf" 0 37 (fontified t > face font-lock-comment-face) 37 40 (fontified t face > font-lock-comment- > delimiter-face) 40 100 (fontified t face font-lock-comment-face) 100 > 103 (fontified t face font-lock-comment-delimiter-face) 103 145 > (fontified t face font-lock-comment-face))) > x-set-selection(SECONDARY #("nt to save, and for Lisp evaluation. > \n;; If you want to create a file, visit that file with C-x C-f,\n;; > then enter the text in that file's own buf" 0 37 (fontified t face > font-lock-comment-face) 37 40 (fontified t face font-lock-comment- > delimiter-face) 40 100 (fontified t face font-lock-comment-face) 100 > 103 (fontified t face font-lock-comment-delimiter-face) 103 145 > (fontified t face font-lock-comment-face))) > mouse-drag-secondary((M-down-mouse-1 (# 186 > (315 . 41) 112283825 nil 186 (45 . 2) nil (0 . 11) (7 . 15)))) > call-interactively(mouse-drag-secondary nil nil) > > > The problem seems to be that x-own-selection-internal isn't available > on non-X11 windowing systems (it's ns-own-selection-internal), but it > called by x-set-selection. > > Maybe this needs to be aliased to x-own-selection-internal; I know > other NS-specific functions have x- aliases for compatibility. There's no need to add overhead with an alias, just needs to be renamed to x-own-selection-internal. I probably missed this one when renaming `x-disown-selection-internal' and other similar things.