From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rjjd Newsgroups: gmane.emacs.help Subject: Re: Some questions of a newbie Date: Fri, 20 Apr 2007 16:26:11 GMT Organization: tds.net Message-ID: References: <46288bfb$0$337$e4fe514c@news.xs4all.nl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1177087075 16256 80.91.229.12 (20 Apr 2007 16:37:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Apr 2007 16:37:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 20 18:37:48 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hew7F-0002Rz-6J for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Apr 2007 18:37:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HewCJ-0005R6-OX for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Apr 2007 12:42:59 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!news.glorb.com!newspeer.tds.net!216.170.153.140.MISMATCH!newsreading01.news.tds.net!53ab2750!not-for-mail User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) Original-Newsgroups: gnu.emacs.help In-Reply-To: <46288bfb$0$337$e4fe514c@news.xs4all.nl> Original-Lines: 62 Original-NNTP-Posting-Host: 69.21.249.105 Original-X-Complaints-To: news@tds.net Original-X-Trace: newsreading01.news.tds.net 1177086371 69.21.249.105 (Fri, 20 Apr 2007 11:26:11 CDT) Original-NNTP-Posting-Date: Fri, 20 Apr 2007 11:26:11 CDT Original-Xref: shelby.stanford.edu gnu.emacs.help:147307 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42910 Archived-At: Cecil Westerhof wrote: > I started using Emacs a week ago. It was always discouraged, but I need to > work with docbook, so I started using it. I wish I had done it sooner. > But there are a few quirks. > I am using 21.3.1. > > I like to have the possibility to use the clipboard, so I added the > following to my .emacs: > (define-key global-map "\C-W" 'clipboard-kill-ring-save) > (define-key global-map "\C-Y" 'clipboard-yank) > > First it seemed to work normal. I use C-w to delete something to the > kill-ring and C-W to copy something to the clipboard. I used C-y to get > something from the kill-ring and C-Y to get something from the clipboard. > But for one reason or another c-w and c-y did not work anymore, so I > disabled it. What could be the reason? > > For comment I see that there is sometimes used one, sometimes two and > sometime three ';'. Does this has a reason, or not? I think there is some convention about classifying comments. I don't know what it is. If you want to publish some elisp code to the community, it would be nice to follow the convention, but the world won't end if you cannot figure it out. > > Is there a good way to find which keybindings are used, so a free one can be > coupled to a macro? describe-bindings (I found this with apropos bind, i.e. ESC-x apropos RET bind RET) > > In my .emacs I have: > (setq ediff-use-toolbar-p nil) > > But the toolbar is still displayed. What am I doing wrong? > When you see the toolbar displayed, what is the value of ediff-use-toolbar-p? It could be that loading ediff sets it back to t or somesuch. (I'm on Windows, and I don't have ediff-use-toolbar-p.) > I added org-mode and nxml-mode. > The first uses: > (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) > the second uses: > (setq auto-mode-alist > (cons '("\\.\\(xml\\|xsl\\|rng\\|xhtml\\)\\'" . nxml-mode) > auto-mode-alist)) > > Is there a reason for this, or is it just what the creator liked? If the > second is the reason, then I prefer the first way and will change the way > of nxml. > The first notation lists one file extension. I'm not sure why it has a "$". The second notation lists four different file extensions, any one of which is for nxml-mode.