Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: wmorgan-sup@masanjin.net (William Morgan)
Subject: [sup-talk] Contact Manager and fullname aliasing
Date: Fri, 23 Nov 2007 10:56:58 -0800	[thread overview]
Message-ID: <1195843961-sup-2106@south> (raw)
In-Reply-To: <6205b42d0711220057l79ecc2ect6c4a29dc5efff4ef@mail.gmail.com>

Hi Pierre,

Excerpts from Pierre Baillet's message of Thu Nov 22 00:57:08 -0800 2007:
> I'd like to alter the way the ContactManager work so that it could be
> able to save contact which don't have an alias but for which the #name
> has been modified:

Sounds great.

> The problem is that the contact manager is not able to handle
> alias-less contacts and hence any modification to a Person during the
> run of Sup is never saved for unaliased contacts (I actually patched
> my sup to allow fullname modification before understanding that sup
> will never save these changes :p).

I think the best solution is to alter the contact manager such that it
can handle contacts without aliases. I think it currently stores
everything as a hash from alias to Person object, so you'll have to add
an array instead.

On the UI side, we can mimic Mutt-style alias prompts. Press 'l' and it
asks you for the person name (pre-filled with the name from the email),
and then asks you for the alias, allowing you to hit enter for none.
Something like that.

> Another idea would be to force all displays to use aliases instead of
> real names when displaying emails.  This is probably simple to
> implement because there is no need to rework on the Contact Manager,
> but i still think that "full name" (this full name is used in TO:
> headers)  and "alias" (this alias is only used internally) should be
> different

I agree that it's better that the two fields are different.

-- 
William <wmorgan-sup at masanjin.net>


  reply	other threads:[~2007-11-23 18:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-22  8:57 Pierre Baillet
2007-11-23 18:56 ` William Morgan [this message]
2007-11-24 18:38   ` Pierre Baillet
2007-12-21 18:23     ` William Morgan

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=1195843961-sup-2106@south \
    --to=wmorgan-sup@masanjin.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox