unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Emacs Help <help-gnu-emacs@gnu.org>
Subject: Re: [EBDB] How to create a role (record)?
Date: Thu, 01 Jul 2021 09:01:08 -0700	[thread overview]
Message-ID: <87im1ut457.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <m2mtr630cg.fsf@optimizory.com> (Pankaj Jangid's message of "Thu,  01 Jul 2021 13:57:43 +0530")

Pankaj Jangid <pankaj@optimizory.com> writes:

> How to create a new Role type of record? I could not find a command in
> the help. And the one mentioned in ‘section 4.4.1 Role’ fields is not
> working. This section specifies ‘F’. But this is bound to
> ‘ebdb-format-these-records’.

Huh, something went wrong in the manual there. "Using the 'F'"? The
proper key is "R", to both create a new record, and give the record
under point a role in that new record.

A role is a field type, not a record type, so you can create a role as
normal by hitting "i" and then selecting "role" as the type. That
requires both records (person and organization) to already exist.

That reminds me, I've been meaning to add a hook so that, after a new
record is created, EBDB checks if its mail addresses matches any
organization domain, and offers to create a role field. I'll see if I
can add that today, and release a new version.

Hope that solves the problem for now, though! Thanks for the report.

Eric



  reply	other threads:[~2021-07-01 16:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-01  8:27 [EBDB] How to create a role (record)? Pankaj Jangid
2021-07-01 16:01 ` Eric Abrahamsen [this message]
2021-07-02 11:31   ` Pankaj Jangid
2021-07-02 15:40     ` Eric Abrahamsen
2021-07-03  2:56       ` Pankaj Jangid

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87im1ut457.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).