unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* pc-selection-mode - error when set in .emacs
@ 2002-04-07 19:26 Joe Koenig
  2002-04-06 23:16 ` Andreas Schwab
  2002-04-07 18:50 ` Richard Stallman
  0 siblings, 2 replies; 6+ messages in thread
From: Joe Koenig @ 2002-04-07 19:26 UTC (permalink / raw)


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 " 
...
---------------------------------------------------------------------

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(#<buffer  *load*> nil "~/.emacs" nil t)
load-with-code-conversion("/home/joe/.emacs" "~/.emacs" t t)
load("~/.emacs" t t) #[nil "\b…—É=ƒ'Ï=ƒ1ÓÞÒ‰#))‡" 
[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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* pc-selection-mode - error when set in .emacs
@ 2002-04-07 19:42 Joe Koenig
  0 siblings, 0 replies; 6+ messages in thread
From: Joe Koenig @ 2002-04-07 19:42 UTC (permalink / raw)


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 " 
...
---------------------------------------------------------------------

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(#<buffer  *load*> nil "~/.emacs" nil t)
load-with-code-conversion("/home/joe/.emacs" "~/.emacs" t t)
load("~/.emacs" t t) #[nil "\b…—É=ƒ'Ï=ƒ1ÓÞÒ‰#))‡" 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-04-08 20:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-07 19:26 pc-selection-mode - error when set in .emacs Joe Koenig
2002-04-06 23:16 ` Andreas Schwab
2002-04-08  5:55   ` Joe Koenig
2002-04-07 18:50 ` Richard Stallman
2002-04-08 20:09   ` Joe Koenig
  -- strict thread matches above, loose matches on Subject: below --
2002-04-07 19:42 Joe Koenig

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).