all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rodolfo Medina <rodolfo.medina@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: mixing argument types
Date: Mon, 27 Aug 2018 15:06:37 +0200	[thread overview]
Message-ID: <87o9doklgi.fsf@gmail.com> (raw)
In-Reply-To: 86d0u4ltrl.fsf@zoho.com

Emanuel Berg <moasen@zoho.com> writes:

> Stefan Monnier wrote:
>
>> So you'd write:
>>
>>     (defun do-a-on-b (a b &optional start stop)
>>       (interactive
>>         (list
>>           (completing-read "Give me A: " '("foo" "bar"))
>>           (read-file-name "Give me B:")
>>           (region-beginning)
>>           (region-end)))
>>       ...)
>
> Great, thanks!


What does `A' stand for...?  And foo and bar...?  And region-beginning/end...?

Excuse my unexperienced requests of explanation...

Thanks...

Rodolfo




  reply	other threads:[~2018-08-27 13:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5556.1535294433.1292.help-gnu-emacs@gnu.org>
2018-08-26 16:02 ` replace-regexp from A to B? Emanuel Berg
2018-08-26 17:54   ` Rodolfo Medina
     [not found]   ` <mailman.5566.1535306070.1292.help-gnu-emacs@gnu.org>
2018-08-26 19:35     ` Emanuel Berg
2018-08-26 19:42       ` mixing argument types (was: Re: replace-regexp from A to B?) Emanuel Berg
2018-08-26 20:23         ` mixing argument types Stefan Monnier
     [not found]         ` <mailman.5572.1535315139.1292.help-gnu-emacs@gnu.org>
2018-08-26 21:09           ` Emanuel Berg
2018-08-27 13:06             ` Rodolfo Medina [this message]
     [not found]             ` <mailman.5588.1535375213.1292.help-gnu-emacs@gnu.org>
2018-08-27 19:08               ` Emanuel Berg
2018-08-27 20:07               ` Emanuel Berg
2018-08-28  7:29                 ` Rodolfo Medina

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=87o9doklgi.fsf@gmail.com \
    --to=rodolfo.medina@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.