From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Bibliography entry in the menu-bar Date: Thu, 27 Feb 2020 08:46:06 +0100 Message-ID: <87d0a079s1.fsf@fastmail.fm> References: <87r1ygh96i.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="58588"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.3.8; emacs 26.3 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 27 08:47:30 2020 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 1j7DtJ-000F6h-1t for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 27 Feb 2020 08:47:29 +0100 Original-Received: from localhost ([::1]:54948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7DtI-0003Bl-4B for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 27 Feb 2020 02:47:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50885) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7DsH-0003BP-QE for help-gnu-emacs@gnu.org; Thu, 27 Feb 2020 02:46:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7Ds9-0007Aw-FX for help-gnu-emacs@gnu.org; Thu, 27 Feb 2020 02:46:18 -0500 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:47829) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j7Ds9-00077j-48 for help-gnu-emacs@gnu.org; Thu, 27 Feb 2020 02:46:17 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7F27A21F40 for ; Thu, 27 Feb 2020 02:46:15 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 27 Feb 2020 02:46:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm2; bh=raue2nkBIlSdVhS1n9F2pC4Kpd +C+kES4TkPHoSDjCc=; b=C+0HZYx6zbT5OqcEfMtIimt89UXtxUjNecqba+PgP4 vxqU5VBRoYJE+hSfZgIPP2oujN4ohXKR+yZL20UayD2Efw+PESWuRHo7iNdU8mtD sL5eofJwjmYcT1MOuouwvpN+bSTrWeqUhAXotA+IOI6SfKnkAX4wMSVBDGLvnt3o mQoEZmoN8TXfcCalYorY1r9VAYMXwWS0S/7DlcKwQSadnJMQDTDt0HTanBb0u+xL tTNqy4xhHE0pFFhNCWwERMqMomc3AiDkg5UCpBdgKetXOoLHWkPDZSonZJ7wvHTD zDljPmJHEcf5wIUVvuOVWTiEZNqX9fJE3e9UiwFNAhdA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=raue2n kBIlSdVhS1n9F2pC4Kpd+C+kES4TkPHoSDjCc=; b=LVM9Gd0yuCHH20XysZqSm6 KYxfqmvmeL11aTngvFPb5AoXze3+2zWNTIR5vkKghqmSY0jgzf0LaC2TgP7D8wsi ioIsIn8r6j5j/ZbRwlhLTPharZnYJ2b+LpCP/BhNFhmUzh28JTmpZHY37qVuIMx+ oswSBgJ1edRz7k908/5E2FgApL6TrE+Hor6ai5+Qd0xmNlNYhYaAixciFY1wg01U twKtoDRrz5+iHfbyarQc2+0RQ2imIK2CQ+H0cP0UVwNsg2s5eaPiVKMNs7dF8St7 3qCJaMkuWY+AtaOhrmAGi5IC086PE/bgBhxb3XoO5e+3OleOQembndzyIMIwxXwQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrleehgdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpehffgfhvffujgffkfggtgesthdtre dttdertdenucfhrhhomheplfhoohhsthcumfhrvghmvghrshcuoehjohhoshhtkhhrvghm vghrshesfhgrshhtmhgrihhlrdhfmheqnecuffhomhgrihhnpegvlhdrshgvrghrtghhne cukfhppeelhedrledtrddvtddurdeivdenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrd hfmh X-ME-Proxy: Original-Received: from Swift.fastmail.com (ip5f5ac93e.dynamic.kabel-deutschland.de [95.90.201.62]) by mail.messagingengine.com (Postfix) with ESMTPA id DF922328005E for ; Thu, 27 Feb 2020 02:46:14 -0500 (EST) In-reply-to: <87r1ygh96i.fsf@skimble.plus.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.26 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:122492 Archived-At: On Thu, Feb 27 2020, Sharon Kimble wrote: > I'm hoping that someone can help, but when I'm in a buffer of my > bibliography, there is a drop-down list in the menu-bar, of > bibliography > commands, titled 'Entry-Types'. But what program belongs to it? > > I want to create a new command to an entry in it, but I don't > know what > the originating program is. Can anyone help please? The menu is created in `bibtex.el`. Search for "easy-menu-define" to find the location. (`bibtex.el` doesn't use `easy-menu-define`, but it's mentioned in a comment where the menu is defined.) However, modifying the menu will take some knowledge of Elisp. Besides, if you just want to add an entry type, modifying the menu yourself is the wrong way to go. You should customize `bibtex-BibTeX-entry-alist` or `bibtex-biblatex-entry-alist` instead. HTH -- Joost Kremers Life has its moments