Inserting what's on the clipboard.

Inserting what's on the clipboard.

Post by H?kan Andersso » Tue, 15 Jan 2002 15:12:51



Hi!

I've been using XEmacs for PC, happily, for quite some time.

Thought I should give NTEmacs "a chance"! Installed it (21.1) last week and
it works fine.

There's one thing though, that I can't get to work. I can not manage to
insert, whats on the clipboard, into a buffer in NTEmacs. What I copy in a
NTEmacs buffer is not inserted into the clipboard either. This works fine in
XEmacs.

For XEmacs I use:

      kill-primary-selection     :  "To delete a region - What's killed is
afterwards available on the clipboard"
      copy-primary-selection  :  "To copy a region  - Afterwards available
on the clipboard."
      yank                              :  "To insert what's on the
clipboard"

For NTEmacs I use:

      clipboard-kill-region      :   ?!?!?!
      copy-region-as-kill        :   ?!?!?!
      yank                              :   ?!?!?!

What am I doing wrong? I would like NTEmacs to behave like XEmacs does. I.e.
what is cut out is availbe in other applications via the clipboard.

Please respond by mail too!

Thanks in advance!

/H?kan Andersson

 
 
 

Inserting what's on the clipboard.

Post by Eli Zaretski » Tue, 15 Jan 2002 18:00:50



> There's one thing though, that I can't get to work. I can not manage to
> insert, whats on the clipboard, into a buffer in NTEmacs. What I copy in a
> NTEmacs buffer is not inserted into the clipboard either. This works fine in
> XEmacs.

It works for me in NTEmacs.  C-w and M-w cause the text to appear in the
Windows clipboard, C-y yanks the text from the Windows clipboard (put there
by other applications).

Is it possible that you have something in your .emacs file that disables
the default behavior, or some package lurking on load-path which interferes
with that?

 
 
 

Inserting what's on the clipboard.

Post by Suvrit Sr » Wed, 16 Jan 2002 01:53:38


if clipboard does not work for you....

just try: C-Insert to copy to clipboard and Shift-Insert to paste from
clipboard....works for me always..

suvrit.

 
 
 

Inserting what's on the clipboard.

Post by William F. Hammo » Wed, 16 Jan 2002 04:20:20



> just try: C-Insert to copy to clipboard and Shift-Insert to paste from
> clipboard....works for me always..

With Gnu NtEmacs 21.1?  Is the cross posting causing confusion?

Hmmm... with my bindings I see "insert-file" and "yank" (ordinary things).
Certainly the former could not be going for the Win32 clipboard.

What Emacs keymap?  What Emacs functions are so bound?

If I do M-x apropos clipboard I see two w32-* functions that are not
listed as commands.  Are they called by x-clipboard commands under NT?

Thanks.

                                    -- Bill

 
 
 

Inserting what's on the clipboard.

Post by Suvrit Sr » Wed, 16 Jan 2002 05:50:54



    >> just try: C-Insert to copy to clipboard and Shift-Insert to paste from
    >> clipboard....works for me always..

    WH> With Gnu NtEmacs 21.1?  Is the cross posting causing confusion?

I am using GNU Emacs 21.1 and C-Insert and S-Insert work for me all
the time.

I verified that this is standard behavior by starting emacs with:

emacs -q -no-site-file

and these key bindings still work.

Suvrit.

 
 
 

Inserting what's on the clipboard.

Post by Jason Rumne » Mon, 21 Jan 2002 05:41:49




> > just try: C-Insert to copy to clipboard and Shift-Insert to paste from
> > clipboard....works for me always..

> With Gnu NtEmacs 21.1?  Is the cross posting causing confusion?

Emacs 21.1 recognizes these keys by default (on any platform that
can recognize those key combinations).

Quote:> Hmmm... with my bindings I see "insert-file" and "yank" (ordinary things).
> Certainly the former could not be going for the Win32 clipboard.

Right, insert-file has no relation to the clipboard.  C-Insert is
bound to copy-region-as-kill by default.

Quote:> If I do M-x apropos clipboard I see two w32-* functions that are not
> listed as commands.  Are they called by x-clipboard commands under NT?

Yes, they are low level commands, which are used to emulate the
x-clipboard commands on Windows.  See  w32-fns.el for details.

--
Jason Rumney

 
 
 

1. PSGML: How to disable 'moreinfo="None"' attribute auto inserting?

Hello!

I use psgml package with docbook 3.1.
Everything works fine, except one thing:
when I use C-c C-e to insert elements <command>, <filename> etc.,
I get <command moreinfo="None"></command> instead of <command></command> f
               ^^^^^^^^^^^^^^^
I don't like it
Does anybody know how to eliminate it?

Ragards


2. Solution Number

3. Inserting '>' into mail messages question!

4. HP OfficeJet 350 cannot print Dos !!!

5. rmail inserts 'standalone' for machine name

6. index markers in sgml

7. ANNOUNCE: v1.17 tinypair.el self insert character pairs () "" '' <> etc.

8. bug with cvs ignore processing?

9. '>' insert with mail-yank-original

10. Can't Get Tab To self-insert-command

11. Where's x-set-point-and-insert-selection?

12. Inserting octal char's

13. I've heard pictures can be inserted in xemacs text