all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: TheFlyingDutchman <zzbbaadd@aol.com>
To: help-gnu-emacs@gnu.org
Subject: Re: I want to make C-d works in two ways.
Date: Mon, 26 Jul 2010 06:07:51 -0700 (PDT)	[thread overview]
Message-ID: <8f7fcb89-cb21-4250-bfd9-807bd0d40763@v32g2000prd.googlegroups.com> (raw)
In-Reply-To: 876302a958.fsf@fh-trier.de

On Jul 26, 2:24 am, Andreas Politz <poli...@fh-trier.de> wrote:
> Elena <egarr...@gmail.com> writes:
> > On Jul 24, 9:14 pm, Andreas Politz <poli...@fh-trier.de> wrote:
> >> That's easy.  Use `use-region-p' to branch to the desired command and
> >> `call-interactively' for not having to bother about the arguments.
>
> > Thank you very much, Andreas.
>
> > Is this the recommended way to write commands which act on the region?
> > Until now, I was just using `region-active-p'.
>
> Take a look at the function doc and it'll tell you the difference.
>
> -ap

It there a way to determine what version of Emacs a function first hit
the scene?


  reply	other threads:[~2010-07-26 13:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <55f24183-4134-4748-b9d1-b3864afd39b2@x24g2000pro.googlegroups.com>
2010-07-24 21:14 ` I want to make C-d works in two ways Andreas Politz
2010-07-26  8:17   ` Elena
2010-07-26  9:24     ` Andreas Politz
2010-07-26 13:07       ` TheFlyingDutchman [this message]
2010-07-25  6:59 ` David Kastrup
2011-03-09 23:50   ` Brendan Halpin
2011-03-10  1:38     ` Richard Riley

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=8f7fcb89-cb21-4250-bfd9-807bd0d40763@v32g2000prd.googlegroups.com \
    --to=zzbbaadd@aol.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.