From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: [EBDB] How to create a role (record)? Date: Thu, 01 Jul 2021 09:01:08 -0700 Message-ID: <87im1ut457.fsf@ericabrahamsen.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18198"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: Emacs Help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 01 18:03:44 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lyzAF-0004WW-AL for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 01 Jul 2021 18:03:43 +0200 Original-Received: from localhost ([::1]:34468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyzAD-0004RT-1J for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 01 Jul 2021 12:03:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyz7q-0002pP-K1 for help-gnu-emacs@gnu.org; Thu, 01 Jul 2021 12:01:18 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:45096 helo=mail.ericabrahamsen.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyz7o-0006eV-AU for help-gnu-emacs@gnu.org; Thu, 01 Jul 2021 12:01:14 -0400 Original-Received: from localhost (c-71-197-184-122.hsd1.wa.comcast.net [71.197.184.122]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 9E732FA09B for ; Thu, 1 Jul 2021 16:01:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1625155269; bh=lAa7sOKV0VfgMqhJuMjVW2kBQvbazZ1tAIYXGEWR28E=; h=From:To:Subject:References:Date:In-Reply-To:From; b=EP0F3dXreLW/TyQGoJv9d7/HMbmpEBj09OlTYMzaf9hEFbDRCFrRu73pG68CV9WdA /X4IX6WyP1lvb1HUhb9+momvt5ZgjgPvUJgXibeaRz4J+2iBND2KWGGnMBj5xyNyI4 tqNuNK3jgz04dY7I+Dap0mRWMO0TlpPcU5Woo/sc= In-Reply-To: (Pankaj Jangid's message of "Thu, 01 Jul 2021 13:57:43 +0530") Received-SPF: pass client-ip=52.70.2.18; envelope-from=eric@ericabrahamsen.net; helo=mail.ericabrahamsen.net X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:131364 Archived-At: Pankaj Jangid writes: > How to create a new Role type of record? I could not find a command in > the help. And the one mentioned in =E2=80=98section 4.4.1 Role=E2=80=99 f= ields is not > working. This section specifies =E2=80=98F=E2=80=99. But this is bound to > =E2=80=98ebdb-format-these-records=E2=80=99. 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