unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Lennart Borgman" <lennart.borgman@gmail.com>
To: "Xah Lee" <xahlee@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: if I set home key to this macro then shift+home does not select text in cua-mode
Date: Tue, 25 Nov 2008 17:27:51 +0100	[thread overview]
Message-ID: <e01d8a50811250827lc3a4646p611d7a51e511648d@mail.gmail.com> (raw)
In-Reply-To: <12ab47cd-8a08-4210-b827-f31c56a09a1d@c36g2000prc.googlegroups.com>

On Tue, Nov 25, 2008 at 2:57 PM, Xah Lee <xahlee@gmail.com> wrote:
> As to your question, you can make it work by this:
>
> (add-hook 'cua-mode-hook
>  (lambda ()
>    (put 'my-home 'CUA 'move)
>   )
>  )


Isn't it enough with just

    (put 'my-home 'CUA 'move)




  parent reply	other threads:[~2008-11-25 16:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1213.1227617025.26697.help-gnu-emacs@gnu.org>
2008-11-25 13:57 ` if I set home key to this macro then shift+home does not select text in cua-mode Xah Lee
2008-11-25 16:14   ` Tolkin, Steve
2008-11-25 16:56     ` Tolkin, Steve
     [not found]     ` <mailman.1236.1227635531.26697.help-gnu-emacs@gnu.org>
2008-11-25 20:20       ` Xah Lee
2008-11-25 16:27   ` Lennart Borgman [this message]
2008-11-25  0:21 Tolkin, Steve

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=e01d8a50811250827lc3a4646p611d7a51e511648d@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=xahlee@gmail.com \
    /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.
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).