From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Autocompletion for partially typesetted stuff in auctex. Date: Tue, 8 Jun 2021 16:17:30 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37555"; mail-complaints-to="usenet@ciao.gmane.io" To: Hongyi Zhao , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 08 10:18:11 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 1lqWw6-0009cM-6a for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Jun 2021 10:18:10 +0200 Original-Received: from localhost ([::1]:34450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqWw4-0006ra-Kq for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Jun 2021 04:18:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqWvk-0006rR-Gm for help-gnu-emacs@gnu.org; Tue, 08 Jun 2021 04:17:48 -0400 Original-Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:33789) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqWvf-0000K8-LH for help-gnu-emacs@gnu.org; Tue, 08 Jun 2021 04:17:47 -0400 Original-Received: by mail-lj1-x22b.google.com with SMTP id o8so25899500ljp.0 for ; Tue, 08 Jun 2021 01:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=+rUpVzgUVEq41yNlRQeroyaL/U4jbhHnPKaGopbDeiA=; b=YCyLQmD12v8uGvckQ7F4CSuLFoV0ca/Ie9sRLLQ3oXPRC83jLSMBFbFS2c0dznLL1c ppWqpfW/LDOICtJhtgTlfj7OHokizEHvvoX/W6iMn3VQkmglQHkh0iNKrl3apMHcEXrh JFL4eysLOukugebtGUxHvh/EUluVj3ZVNzFUc9PgwZ0Z2vnYLy6cgwl/5gmJH5G+lT8D RLlKWHvOcmWMoMsUAIJVU7CqS4/KW2OqWE8/FQ3DDKJCOdez4M6GQAew5ICYhtvTk9Qe h3ErcjIxvhzmHhnavEOA5CcL08vfzfS/gQIRdytbW26lci/PmoJCGd0i8gQViSRDBso2 bb1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=+rUpVzgUVEq41yNlRQeroyaL/U4jbhHnPKaGopbDeiA=; b=ULb9D1N+/a4sXNZl3+CBrRLDBXPdgTi1YdAcGack8EPz3/gQGBDvfTRd2E+UG6KGbe qGL7CTuc7ocYbhH1RWYe+IikRvrVrQ/JGIHoSi3mRMTmEggQMsFKIiFfZgDX5Sr28IU+ gyUMrPLQR3EJS6xoQHi83hAO4/jcJ7RpxFTcV8iKhHxMsl8EzLXDktVbZWxm4lLgGNrq sGoADnK1wMyrYiAuu1yIfaH+O+dWN6isLsAhpujf652ZMzz+/0w5pIt+YvZ8HZvUNfoE 0AL/Y7IYQmRh+jniBkiev5qFSRbvO8Q3QbOjFM6o6EA76pBzRJ/6ZH1SpgLVsD2Ev1He vXwA== X-Gm-Message-State: AOAM531EbnOWP+K/LQO83Q01doU1KR7J3ADQy8eyb/9elxP0UBWqkLkJ vFNgllo9+XsmPYx2i1ETkbzqSGb/XeC1oQktCFM= X-Google-Smtp-Source: ABdhPJzKRABfuq+/cQwwT5qnRukAa+3FBRBgUEYZJw/Thak7+VL9sM2tpSKvT1zNcH2KILKWb3x5k22NvejlK/rDhzc= X-Received: by 2002:a2e:8e7c:: with SMTP id t28mr17687784ljk.246.1623140261782; Tue, 08 Jun 2021 01:17:41 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=hongyi.zhao@gmail.com; helo=mail-lj1-x22b.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, FREEMAIL_FROM=0.001, 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: 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:130617 Archived-At: On Tue, Jun 8, 2021 at 3:21 PM Jean Louis wrote: > > * Hongyi Zhao [2021-06-08 07:41]: > > The following description is an excerpt from > > : > > > > There is a completion mechanism for partially written macros > > available as well. > > > > But I want to know if it can help to complete the commands/macro names > > defined in any packages called in the preamble of the current project > > documents. > > > > Any hints will be highly appreciated. > > Try M-x pabbrev-mode > > It will capture words in many buffers and use such for completion. If I type a command used in the TeX document for the first time, in this case, it does not appear in any buffers, but only in LaTeX package definition files. I don't know if your above-mentioned method applies to this situation also. Regards -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering NO. 552 North Gangtie Road, Xingtai, China