unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Re: pc-selection-mode - error when set in .emacs
  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
  1 sibling, 1 reply; 6+ messages in thread
From: Andreas Schwab @ 2002-04-06 23:16 UTC (permalink / raw)
  Cc: gnu-emacs-bug

Joe Koenig <joe.r.user@gmx.de> writes:

|> Hi, I have some difficulties turning on
|> 
|> (pc-selection-mode t)

pc-selection-mode does not take any parameters in Emacs 21.2.  If this is
not producing an error then you are not using the version of pc-select.el
that comes with the Emacs 21.2 distribution.  What does `M-x
locate-library RET pc-select RET' display?  You should also try `M-x
list-load-path-shadows RET'.

|> 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:

You should be able to find the full error message in the *Messages*
buffer.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: pc-selection-mode - error when set in .emacs
  2002-04-07 19:26 pc-selection-mode - error when set in .emacs Joe Koenig
  2002-04-06 23:16 ` Andreas Schwab
@ 2002-04-07 18:50 ` Richard Stallman
  2002-04-08 20:09   ` Joe Koenig
  1 sibling, 1 reply; 6+ messages in thread
From: Richard Stallman @ 2002-04-07 18:50 UTC (permalink / raw)
  Cc: gnu-emacs-bug

    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.

(That would be on GNU/Linux, I'd expect.  A kernel such as Linux
is not enough by itself to run a program like Emacs.  See
http://www.gnu.org/gnu/linux-and-gnu.html.)

Some changes have been made in pc-selection-mode recently.
They are not in 21.2 since we didn't think they were fixes to
serious bugs, but perhaps they do fix this one.  I will email
you the latest version so you can try it.

It does not fail for me in the current development Emacs,
but perhaps it depends on something else in your .emacs file.

    So I called "emacs --debug-init". These are the last lines of the debug
    message:

If it still fails, could you send the first few lines instead?

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

* 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

* Re: pc-selection-mode - error when set in .emacs
  2002-04-06 23:16 ` Andreas Schwab
@ 2002-04-08  5:55   ` Joe Koenig
  0 siblings, 0 replies; 6+ messages in thread
From: Joe Koenig @ 2002-04-08  5:55 UTC (permalink / raw)


In article <jehemoa04n.fsf@sykes.suse.de>, Andreas Schwab wrote:
> Joe Koenig <joe.r.user@gmx.de> writes:
> 
>|> Hi, I have some difficulties turning on
>|> 
>|> (pc-selection-mode t)
> 
> pc-selection-mode does not take any parameters in Emacs 21.2.  

OK. Works now. Thanks.

  Joe

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

* Re: pc-selection-mode - error when set in .emacs
  2002-04-07 18:50 ` Richard Stallman
@ 2002-04-08 20:09   ` Joe Koenig
  0 siblings, 0 replies; 6+ messages in thread
From: Joe Koenig @ 2002-04-08 20:09 UTC (permalink / raw)


Richard Stallman wrote:
>     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.
> 
> (That would be on GNU/Linux, I'd expect.  A kernel such as Linux
> is not enough by itself to run a program like Emacs.  See
> http://www.gnu.org/gnu/linux-and-gnu.html.)

So, what would you suggest? Oh, I see. But ... then ... you wouldn't be
able to run Emacs at all. :o) *run* :-)
But, yes: let credit go where credit is due: GNU/Linux
* bow * we owe *  We really do.

> Some changes have been made in pc-selection-mode recently.
> They are not in 21.2 since we didn't think they were fixes to
> serious bugs, but perhaps they do fix this one.  I will email
> you the latest version so you can try it.
> 
> It does not fail for me in the current development Emacs,
> but perhaps it depends on something else in your .emacs file.
> 
>     So I called "emacs --debug-init". These are the last lines of the debug
>     message:
> 
> If it still fails, could you send the first few lines instead?

Great. That new version did it. The error also went away when removing
the parameter, like suggested by Andreas Schwab. But the new version
accepts both.

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