all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Damien Cassou <damien@cassou.me>
To: Robert Pluim <rpluim@gmail.com>
Cc: 37470@debbugs.gnu.org
Subject: bug#37470: 26.3; [PATCH] Default value and type of message-make-forward-subject-function
Date: Fri, 20 Sep 2019 12:22:21 +0200	[thread overview]
Message-ID: <87ftkruv1e.fsf@cassou.me> (raw)
In-Reply-To: <m2y2yjz3o8.fsf@gmail.com>

Hi Robert,

Robert Pluim <rpluim@gmail.com> writes:
>>>>>> On Fri, 20 Sep 2019 11:08:42 +0200, Damien Cassou <damien@cassou.me> said:
>
>     Damien> Please find attached a patch fixing the default value and type of
>     Damien> message-make-forward-subject-function.
>     Damien> +  :type '(repeat :tag "List of functions"
>     Damien> +                 (radio (function-item message-forward-subject-author-subject)
>     Damien> +                        (function-item message-forward-subject-fwd)
>     Damien> +                        (function-item message-forward-subject-name-subject)
>     Damien> +                        (function))))
>
> I donʼt see how this could work: 'radio allows selecting only one from
> the list.


but the 'radio is embedded within a 'repeat which seems to be exactly
what I want.


> How about something like this:
> +  :type '(set :tag "List of functions"
> +              (function-item message-forward-subject-author-subject)
> +              (function-item message-forward-subject-fwd)
> +              (function-item message-forward-subject-name-subject)
> +              (repeat :tag "User functions" :inline t (function :tag "Function"))))


this doesn't work because order of functions has a meaning (e.g., adding
"Fwd:" before the author or after the author).

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill





  reply	other threads:[~2019-09-20 10:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-20  9:08 bug#37470: 26.3; [PATCH] Default value and type of message-make-forward-subject-function Damien Cassou
2019-09-20 10:02 ` Robert Pluim
2019-09-20 10:22   ` Damien Cassou [this message]
2019-09-20 12:14     ` Robert Pluim
2019-09-20 17:28 ` Lars Ingebrigtsen

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=87ftkruv1e.fsf@cassou.me \
    --to=damien@cassou.me \
    --cc=37470@debbugs.gnu.org \
    --cc=rpluim@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.