all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rjjd <rjjd@tds.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Some questions of a newbie
Date: Fri, 20 Apr 2007 16:26:11 GMT	[thread overview]
Message-ID: <DQ5Wh.27707$G23.11452@newsreading01.news.tds.net> (raw)
In-Reply-To: <46288bfb$0$337$e4fe514c@news.xs4all.nl>


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.

  parent reply	other threads:[~2007-04-20 16:26 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-20  9:46 Some questions of a newbie Cecil Westerhof
2007-04-20 16:24 ` Eric Hanchrow
2007-04-20 16:26 ` Rjjd [this message]
2007-04-20 21:35   ` Matthew Flaschen
2007-04-20 21:38   ` Matthew Flaschen
2007-04-20 21:42   ` Cecil Westerhof
2007-04-21 13:15   ` Johan Bockgård
2007-04-22 11:31     ` Cecil Westerhof
2007-04-22 13:35       ` Johan Bockgård
2007-04-23 10:01         ` Cecil Westerhof
     [not found] ` <mailman.2320.1177087525.7795.help-gnu-emacs@gnu.org>
2007-04-20 22:03   ` Cecil Westerhof
2007-04-21  2:26     ` Matthew Flaschen
     [not found]     ` <mailman.2344.1177122723.7795.help-gnu-emacs@gnu.org>
2007-04-21  7:55       ` Cecil Westerhof
2007-04-21  8:18         ` Joost Kremers
2007-04-21 10:29           ` Cecil Westerhof
2007-04-25  5:07     ` Stefan Monnier
2007-04-25  6:58       ` Cecil Westerhof
2007-04-23 12:37 ` Kai Grossjohann
2007-04-27 15:11 ` Karl Hegbloom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='DQ5Wh.27707$G23.11452@newsreading01.news.tds.net' \
    --to=rjjd@tds.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.