From: Thien-Thi Nguyen <ttn@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Specifying arguments to interactive functions
Date: Thu, 15 May 2014 10:04:01 +0200 [thread overview]
Message-ID: <87d2fftqmm.fsf@zigzag.favinet> (raw)
In-Reply-To: <5d6e3672-b901-4e59-852d-281a3a5e4733@googlegroups.com> (dont spam earl's message of "Wed, 14 May 2014 22:20:51 -0700 (PDT)")
[-- Attachment #1: Type: text/plain, Size: 830 bytes --]
() dont.spam.earl@gmail.com
() Wed, 14 May 2014 22:20:51 -0700 (PDT)
Any suggestions on how to simplify this?
'(48 49 50 51 52 53 54 55 56 57)
These are code points for ASCII "0" through "9", and are already as
simple as possible, in one sense, but not in the "wait six months and
re-grok quickly the code" sense. Better to be symbolic (not necessarily
w/ Lisp symbols, but rather w/ human-friendly expressions).
For example, you can:
- compress: (number-sequence 48 57)
- use characters: (number-sequence ?0 ?9)
- go up a level: (interactive "P") + SMOP
--
Thien-Thi Nguyen
GPG key: 4C807502
(if you're human and you know it)
read my lisp: (responsep (questions 'technical)
(not (via 'mailing-list)))
=> nil
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2014-05-15 8:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-15 5:20 Specifying arguments to interactive functions dont.spam.earl
2014-05-15 8:04 ` Thien-Thi Nguyen [this message]
[not found] ` <mailman.1382.1400140784.1147.help-gnu-emacs@gnu.org>
2014-05-15 17:43 ` dont.spam.earl
2014-05-15 18:06 ` Thien-Thi Nguyen
[not found] ` <mailman.1412.1400176929.1147.help-gnu-emacs@gnu.org>
2014-05-18 17:07 ` dont.spam.earl
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=87d2fftqmm.fsf@zigzag.favinet \
--to=ttn@gnu.org \
--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.