From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.auctex.general,gmane.emacs.help Subject: Re: Tooltip and incremental drop-down menus of automatic completion. Date: Mon, 14 Jun 2021 13:06:26 +0100 Message-ID: <87lf7czm4d.fsf@tcd.ie> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16097"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: auctex@gnu.org, help-gnu-emacs To: Hongyi Zhao Original-X-From: auctex-bounces+geag-auctex=m.gmane-mx.org@gnu.org Mon Jun 14 14:06:52 2021 Return-path: Envelope-to: geag-auctex@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 1lslMh-00043w-Pt for geag-auctex@m.gmane-mx.org; Mon, 14 Jun 2021 14:06:51 +0200 Original-Received: from localhost ([::1]:51668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lslMg-0001Yf-Nn for geag-auctex@m.gmane-mx.org; Mon, 14 Jun 2021 08:06:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lslMO-0001TF-N3 for auctex@gnu.org; Mon, 14 Jun 2021 08:06:32 -0400 Original-Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:40736) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lslMM-0001IF-U6 for auctex@gnu.org; Mon, 14 Jun 2021 08:06:32 -0400 Original-Received: by mail-wm1-x32f.google.com with SMTP id b145-20020a1c80970000b029019c8c824054so12856403wmd.5 for ; Mon, 14 Jun 2021 05:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=nDP3SL/ItL51HQruP3JYpH5btb2B4EDiGevfFvAQKqU=; b=O1AcTBeKbrCxxGj6loSgSgfAcFYnjoZekOuj5htTHHD99WC2avppejtAn3Hx/Q8E89 6VVktlG5wTtl9VDrd1I1zhsiOnWSgPU1iVihloHUZzJ3BDOHygisL5/75V80qq8gkiKH U9p90jeQsaT09Fxp0t+zUvJU1v5rqIBccd6u6W0Fnlrdaw0Mapf2u3B6mlLXGyYBrgDB J5ZHyRW951//o+kXDAamvzu0jeD6rkh0cN9Rq+i6lUnJuwSj5ORbU7HDOQMe41pbDj/E huayOQbOQAr/QzBea4878YlU5K/UfCXNCkIqj1xfkQAak0mxjQfvOCbkAuN/bIfoOkhy o+nw== 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:date:in-reply-to :message-id:user-agent:mime-version; bh=nDP3SL/ItL51HQruP3JYpH5btb2B4EDiGevfFvAQKqU=; b=jF0YSaA2WjaNihE2SRX4PDrhuqOV+pH9c5tSiJ79g1SXbXhbU5bFYlq3ZyzeI6EiPj YomQb3rqonWq4l+CTp4nKAE0rO6mQ2MNu47/W7/UvmTqYYAfsP9kxtMY+M7utevMYCn1 bmIZspzB2/V53+1kI1HFZzHNN1GPZ9icwzP+Zw7Gxvt4AA7AFjEhEX6s1DkSP8mAdJ0d 6pfMJCBodqP5Eq10hkaFHhZCl+nHR6iVAGeM3ecNJ3xpjESInm+SamJOwIn8w+supbFa 2xRHw30g6vppvDNGw9NuM2PtzraaB+XjzM0z7zBfdCtspYPLFzrkN7mFXcp+dnvefIIM kxEA== X-Gm-Message-State: AOAM5322LCPHvMH88Y2kWp8v0YcEg4jXFQQJgdQxbJr1mkLCJnzMMft9 OGrTrikg2+8oQz0S/wuJkb2Tqw== X-Google-Smtp-Source: ABdhPJyHGVtzRVjZPs11LH/TgLZH5oI9iu4hdby75MRt8ag5i2OMsbEP+btN7uEjEPnas3dufmGS8w== X-Received: by 2002:a7b:c106:: with SMTP id w6mr15886243wmi.75.1623672389567; Mon, 14 Jun 2021 05:06:29 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:d15:339e:aa10:60f1]) by smtp.gmail.com with ESMTPSA id q11sm15630555wrx.80.2021.06.14.05.06.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Jun 2021 05:06:27 -0700 (PDT) In-Reply-To: (Hongyi Zhao's message of "Mon, 14 Jun 2021 17:57:42 +0800") Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=contovob@tcd.ie; helo=mail-wm1-x32f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: auctex@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General discussion about AUCTeX List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: auctex-bounces+geag-auctex=m.gmane-mx.org@gnu.org Original-Sender: "auctex" Xref: news.gmane.io gmane.emacs.auctex.general:7508 gmane.emacs.help:130811 Archived-At: Hongyi Zhao writes: > On Mon, Jun 14, 2021 at 4:22 PM Jean Louis wrote: >> >> * Hongyi Zhao [2021-06-14 10:04]: >> > When I typeset LaTeX source file in Emacs with auctex enabled, I >> > want to know if the features like tooltip and incremental drop-down >> > menus of automatic completion are available. >> >> I don't know about the tooltip, that usually shortly explains the icon >> in the toolbar. > > See screenshot named as tooltip.png, which is shown in TeXstudio. AFAIK the only tooltip support in AUCTeX is for revealing folded buffer content; see the end of (info "(auctex) Folding") [0]. One way to find the documentation of a package at point is with the commands TeX-documentation-texdoc or TeX-doc; see (info "(auctex) Documentation") [1]. I'm not aware of any commands for briefly summarising that information, though. I'm sure the AUCTeX experts here will know better. [0]: https://www.gnu.org/software/auctex/manual/auctex/Folding.html [1]: https://www.gnu.org/software/auctex/manual/auctex/Documentation.html > I tried `ivy' in Emacs, but it shows some shortcomings, as described below: > > 1. The incremental drop down menu only will be triggered when the > input character number greater than 3. That must be a result of some setting/package unrelated to Ivy. With or without Ivy, AUCTeX can complete even the start of a macro '\'. > 2. Some commands, say, `\href', will not be automatically completed at all. This is not an issue with Ivy; see my reply on the Ivy issue tracker: https://github.com/abo-abo/swiper/issues/2887#issuecomment-860617241 -- Basil