From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.help Subject: Re: [EBDB] How to create a role (record)? Date: Sat, 03 Jul 2021 08:26:05 +0530 Message-ID: References: <87im1ut457.fsf@ericabrahamsen.net> <87im1siv0j.fsf@ericabrahamsen.net> 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="23926"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: help-gnu-emacs@gnu.org To: Eric Abrahamsen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 03 04:56:35 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 1lzVpb-00061p-Fq for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 03 Jul 2021 04:56:35 +0200 Original-Received: from localhost ([::1]:57598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzVpZ-0000ic-I6 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 02 Jul 2021 22:56:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzVpF-0000iM-1F for help-gnu-emacs@gnu.org; Fri, 02 Jul 2021 22:56:13 -0400 Original-Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]:33368) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzVpD-0000m5-ED for help-gnu-emacs@gnu.org; Fri, 02 Jul 2021 22:56:12 -0400 Original-Received: by mail-pg1-x52a.google.com with SMTP id e20so11912354pgg.0 for ; Fri, 02 Jul 2021 19:56:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=LQpyicuBG55Pug+/AovrsnbQD1CDuGBwCNIARXKCRiI=; b=kMOlgcizux0bwz++yVslR/Z2sSvEf36b9fwHFoVu0at2vOVR2dd1rHNV3GFJBJ/Wxb /DV2DohqVNsZnRR5TibJ3Qe4DZYyytpQLf+RbTuw4+I6zCTg63kr1elJKEvqQzdFU4xB rUYN6WS/wgxCr071NuJWNRPHFug948d5yTKm+q2bQOjHB1p1DyI0v5BgtzfVCZtigC1i AAOeAm0pS87RFUZwkuGlWsWpMc4qrJ63wuk1AVcmt7kpUQ548jyHNxJs55Xpf1jn60Sh rs6ivEB4AcjcfPjQWAqrLiMW6mQ3vDkgAHZFLydb9NO80ikdRD4KzzM4BPFguxL1Kd1q G3nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :date:in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=LQpyicuBG55Pug+/AovrsnbQD1CDuGBwCNIARXKCRiI=; b=V+BPkKl2Ncc2e7wqmAi3N1lHtYhC35Asg4L06C6lI/Pqd8M7bxtLDMPjCMmy+DwyTt ixgxfIfxP6AG9paJoGlbrReA2pQRqNG1BfcA8LWWCWlz1FVdLkzR2DIKbVTA6Gdi+RmS wd/IYn8KXCMbmTP0ofYx8OkaT22Ba9l20un7Lg2NxzH2W215VBB0/fMEbXmsAFJ1tGD+ zleir2vhihm8IQWaJi4pnrYFKMF1YTF3EUCLjm+Q2wE8jc/4OySLc270OIczeqiD1sGN Zekl9fAefk4OJF4MzQVno+v/tTVwGF5ojt27iI2oIS3DszAqsllyCgBF0d9f4/aelA5O +Xgw== X-Gm-Message-State: AOAM532/EJ9BsUwPaOXKIIeN6wmYjON/gDn4eMtoBy9dtByFuv46N7nD 7v+2RWECdmEf8RgznuvYYvW5X46AWU1jq7Os X-Google-Smtp-Source: ABdhPJwYH5xofnTTrYjApMH6Eec2OLSlc+SsNzQ6MLodmxI57KOocabyd90VxNIQ5O76h7AU/YnQoA== X-Received: by 2002:a62:b517:0:b029:311:1052:7c92 with SMTP id y23-20020a62b5170000b029031110527c92mr2770140pfe.49.1625280968827; Fri, 02 Jul 2021 19:56:08 -0700 (PDT) Original-Received: from mb2.local ([2405:201:5c06:70a7:40fe:f74d:e3b8:de61]) by smtp.gmail.com with ESMTPSA id l10sm13485721pjg.26.2021.07.02.19.56.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jul 2021 19:56:08 -0700 (PDT) Mail-Followup-To: Eric Abrahamsen , help-gnu-emacs@gnu.org In-Reply-To: <87im1siv0j.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Fri, 02 Jul 2021 08:40:44 -0700") Received-SPF: none client-ip=2607:f8b0:4864:20::52a; envelope-from=pankaj@codeisgreat.com; helo=mail-pg1-x52a.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no 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:131432 Archived-At: Eric Abrahamsen writes: >> I am happy with the a similar functionality that already >> exists. i.e. when I assign a role, EBDB already checks if the main >> email-ID matches with the organization=E2=80=99s domain and pulls the em= ail-ID >> to associate it with the user-role relationship. It works perfectly. But >> I was stuck in a scenario where I wanted to assign a role which is not >> already existing. i.e. I want to create a new Organization; either >> on-the-fly (hit =E2=80=98i=E2=80=99 while on a record, select =E2=80=98r= ole=E2=80=99, =E2=80=9Cassign or create >> role=E2=80=9D) or create a top level organization type record. > > Yep, that's exactly what "R" is for. And if you use it on an > organization record, it will offer to create a person, instead. > >> And I have completely forgot how I created the roles that are already in >> my database. In this thread, I wanted to know only this. How to create >> new organization records? > > If you create new records with "C" rather than "c", you'll get more > options, including which record type to create. Thanks Eric. Both the functionalities are working perfectly. That solves my query. --=20 Regards ~Pankaj