From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joe Koenig Newsgroups: gmane.emacs.bugs Subject: pc-selection-mode - error when set in .emacs Date: Sun, 7 Apr 2002 21:42:02 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1018122313 20694 127.0.0.1 (6 Apr 2002 19:45:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 6 Apr 2002 19:45:13 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16tw7d-0005Nf-00 for ; Sat, 06 Apr 2002 21:45:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16tw7X-00043R-00; Sat, 06 Apr 2002 14:45:07 -0500 Original-Received: from dfw7-1.relay.mail.uu.net ([199.171.54.106]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16tw4l-0003tJ-00 for ; Sat, 06 Apr 2002 14:42:15 -0500 Original-Received: from mail.fu-berlin.de by dfw7sosrv11.alter.net with ESMTP (peer crosschecked as: mail.fu-berlin.de [160.45.11.165]) id QQmjlm13261 for ; Sat, 6 Apr 2002 19:42:13 GMT Original-Received: by mail.fu-berlin.de (Smail3.2.0.98) from Curry.ZEDAT.FU-Berlin.DE (160.45.10.36) with esmtp id ; Sat, 6 Apr 2002 21:42:10 +0200 (MEST) Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.fu-berlin.de with bsmtp id ; Sat, 6 Apr 2002 21:42:10 +0200 (MEST) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: b075024.adsl.hansenet.DE!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 46 X-Orig-NNTP-Posting-Host: b075024.adsl.hansenet.de (62.109.75.24) X-Orig-X-Trace: fu-berlin.de 1018122130 31040695 62.109.75.24 (16 [105377]) User-Agent: slrn/0.9.7.4 (Linux) X-MIME-Autoconverted: from 8bit to quoted-printable by dfw7sosrv11.alter.net id QQmjlm13261 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:465 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:465 Hi, I have some difficulties turning on (pc-selection-mode t) when trying to set this after emacs is started, it works without any problem. But I get an error message when trying to put it in ~/.emacs. This is 21.2.1 on Linux. Is it possible that this is caused by me compiling/installing emacs in a custom directory /home/joe/apps/bin/emacs ? It obviously finds the folder, as it refers to /home/apps/bin/emacs/share/emacs/21.2/lisp/emulation/pc-select.elc The error message changes, when renaming the file (file not found ...). BTW: I cannot copy'n paste the error message cause the window with the message dissapears when trying ro click into it. Therefore, just an extract: --------------------------------------------------------------------- Error in init file: Wrong number of arguments: (Lambda nil "Change mark behaviour to emulate Motif, Mac or ms-windows cut and paste style "=20 ... --------------------------------------------------------------------- So I called "emacs --debug-init". These are the last lines of the debug message: --------------------------------------------------------------------- highlight-nonselected-windows nil) (setq transient-mark-mode t) (setq mark-even-if-inactive t) (delete-selection-mode 1)) 1) pc-selection-mode(t) eval-buffer(# nil "~/.emacs" nil t) load-with-code-conversion("/home/joe/.emacs" "~/.emacs" t t) load("~/.emacs" t t) #[nil "=08=85=97=C9=3D=83'=CF=3D=831=D3=DE=D2=89#))=87= " i [init-file-user system-type user-init-file-1 user-init-file source alt ms-dos "~" "/_emacs" windows-nt directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "~/_emacs" vax-vms "sys$login:.emacs" "/.emacs" t load file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default" inhibit-default-init inhibit-startup-message] 5]() command-line() normal-top-level() --------------------------------------------------------------------- Thanks Joe