help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some questions of a newbie


From: Cecil Westerhof
Subject: Re: Some questions of a newbie
Date: Sat, 21 Apr 2007 00:03:11 +0200
User-agent: KNode/0.8.0

Eric Hanchrow wrote:
>     Cecil> I like to have the possibility to use the clipboard, so I
>     Cecil> added the following to my .emacs: (define-key global-map
>     Cecil> "\C-W" 'clipboard-kill-ring-save) (define-key global-map
>     Cecil> "\C-Y" 'clipboard-yank)
> 
> Rather than defining separate keys for those functions, I simply do
> 
>         (setq x-select-enable-clipboard t)

This gives a:
  Symbol's function definition is void: setq x-select-enable-clipboard t


>     Cecil> For comment I see that there is sometimes used one,
>     Cecil> sometimes two and sometime three ';'.  Does this has a
>     Cecil> reason, or not?
> 
> Yes -- it's just a convention.  It's explained in the Emacs Lisp
> Reference manual: (info "(elisp)Comment Tips")

Thanks.
If I understand it correctly, I should not use comments with only one ';'.


> 
>     Cecil> Is there a good way to find which keybindings are used, so
>     Cecil> a free one can be coupled to a macro?
> 
> Yes -- do C-h m in a buffer that's in the mode you're interested in.
> (If you're considering a global binding as opposed to a mode-specific
> one, choose a buffer that's in fundamental-mode).

Thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]