all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Xue Fuqiao <xfq.free@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: About elements in `format-alist'
Date: Tue, 18 Jun 2013 00:24:22 +0200	[thread overview]
Message-ID: <878v28tlyh.fsf@web.de> (raw)
In-Reply-To: <CAAF+z6HB5xJZWA8xvyrSsyzUCphXLqbkySWV+P1EOLKm8Tb9ZQ@mail.gmail.com> (Xue Fuqiao's message of "Mon, 17 Jun 2013 07:02:21 +0800")

Xue Fuqiao <xfq.free@gmail.com> writes:

> Hi list,
>
> In the doc string of `format-alist':
>
>   Elements are of the form
>   (NAME DOC-STR REGEXP FROM-FN TO-FN MODIFY MODE-FN PRESERVE).
>
> There should be 8 elements in each list.  But there are only 7 elements
> in each list of the default value.  Which one is absent?  If there's an
> optional element, I think we should mention it in the doc string.

Looks like missing elements are just treated as if they were nil (the
code uses `nth').

Dunno if it's worth the trouble of making a bug report - since holding
the convention doesn't make problems (does it?).


Regards,

Michael.



  reply	other threads:[~2013-06-17 22:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-16 23:02 About elements in `format-alist' Xue Fuqiao
2013-06-17 22:24 ` Michael Heerdegen [this message]
2013-06-17 22:59   ` Xue Fuqiao
2013-06-18  0:57     ` Stefan Monnier

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=878v28tlyh.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=emacs-devel@gnu.org \
    --cc=xfq.free@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.
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.