From: Decebal <CLDWesterhof@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Writing a function for a indented copy of a region
Date: Thu, 18 Dec 2008 07:48:41 -0800 (PST) [thread overview]
Message-ID: <8f7e6930-33dd-43ac-b1dd-8b89a3a55c06@k36g2000pri.googlegroups.com> (raw)
In-Reply-To: 1229612783.940597@arno.fh-trier.de
On 18 dec, 16:05, Andreas Politz <poli...@fh-trier.de> wrote:
> Decebal wrote:
> > I made key-combinations for al the three functions.
> > Are there standards for naming functions and asigning functions to key
> > combinations?
>
> It is mentioned somewhere in the info files, that C-c <char> is/should be
> reserved for the user. C-c C-<char> is often used by major-modes,
> whose keymap will potentially shadow your global-map .
I saw that. My keys conflict with shell-mode. Have to dink about
something better.
> > The code:
> > (defun my-remove-region(begin end)
> > "Delete region without putting it in the kill-ring"
> > (interactive "r")
> > (kill-region begin end)
> > (pop kill-ring)
> > )
>
> Have a look at `delete-region'.
Better use that. ;-]
prev parent reply other threads:[~2008-12-18 15:48 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-17 13:31 Writing a function for a indented copy of a region Decebal
2008-12-17 15:59 ` Drew Adams
2008-12-17 16:26 ` Matthias
[not found] ` <mailman.2956.1229529567.26697.help-gnu-emacs@gnu.org>
2008-12-17 17:09 ` Decebal
2008-12-17 18:49 ` Drew Adams
2008-12-17 19:18 ` Decebal
2008-12-17 19:47 ` Andreas Politz
2008-12-17 23:04 ` Decebal
2008-12-17 23:37 ` Decebal
2008-12-18 0:27 ` Andreas Politz
2008-12-18 0:49 ` Decebal
2008-12-17 22:58 ` Decebal
2008-12-18 13:11 ` Decebal
2008-12-18 15:05 ` Andreas Politz
2008-12-18 15:48 ` Decebal [this message]
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=8f7e6930-33dd-43ac-b1dd-8b89a3a55c06@k36g2000pri.googlegroups.com \
--to=cldwesterhof@gmail.com \
--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.