From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matt Armstrong Newsgroups: gmane.emacs.bugs Subject: bug#56870: company-dabbrev variable documentation Date: Mon, 01 Aug 2022 14:24:14 -0700 Message-ID: <878ro74pz5.fsf@rfc20.org> 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="25357"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 56870@debbugs.gnu.org To: uzibalqa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 01 23:25:18 2022 Return-path: Envelope-to: geb-bug-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 1oIcua-0006L5-Hg for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Aug 2022 23:25:16 +0200 Original-Received: from localhost ([::1]:51850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIcuZ-0005lx-Id for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Aug 2022 17:25:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIcuM-0005lo-LK for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2022 17:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oIcuM-0000wP-A0 for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2022 17:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oIcuL-0006gU-RE for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2022 17:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matt Armstrong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Aug 2022 21:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56870 X-GNU-PR-Package: emacs Original-Received: via spool by 56870-submit@debbugs.gnu.org id=B56870.165938907025640 (code B ref 56870); Mon, 01 Aug 2022 21:25:01 +0000 Original-Received: (at 56870) by debbugs.gnu.org; 1 Aug 2022 21:24:30 +0000 Original-Received: from localhost ([127.0.0.1]:41735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIctp-0006fU-Ou for submit@debbugs.gnu.org; Mon, 01 Aug 2022 17:24:30 -0400 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:35711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIctn-0006fE-9d for 56870@debbugs.gnu.org; Mon, 01 Aug 2022 17:24:29 -0400 Original-Received: (Authenticated sender: matt@rfc20.org) by mail.gandi.net (Postfix) with ESMTPSA id D16AAE0004; Mon, 1 Aug 2022 21:24:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rfc20.org; s=gm1; t=1659389060; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RjGUhf/1rRMzGyYY9fw97OL8qjbscZ2KagXvz57fkbE=; b=T1qt6dA8j7zUENF7x12fx3YoNT2ATlCWBZu1l00tNOPM0H5E0iJcoGvKWVWm8jwXd6ZOYA 8XakXplC3a8SOe01zCW5H7U3N+2g2zD6KyjBHfK1Tlr8FnJ9OzQfkV8w0a2Ob4d/oZaQFo wou8YUtsl7K+JKT16w2xBBuYU5c8rWKZ771g2im0vX1w9FKbJxwj7qevU9lDFqnNXlWa6c oMg+z+xfAyg+ZdzDDHHDIKkN8d/IC+EJ2seARanmH7pKQEA13zY6PEeqVFOWju8ogrLHc7 9Uy98fQhdVXCc1medLmlQgtlP/gILvWI8FVARWsD7fQIeZ78I9b+gh6z+noi0Q== Original-Received: from matt by naz with local (Exim 4.96) (envelope-from ) id 1oIcta-0017lU-2W; Mon, 01 Aug 2022 14:24:14 -0700 In-Reply-To: (uzibalqa@proton.me's message of "Mon, 01 Aug 2022 03:54:04 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:238469 Archived-At: uzibalqa writes: > I am setting company-dabbrev variables > > (setq company-dabbrev-other-buffers 'all) > (setq company-dabbrev-ignore-case 'keep-prefix) > > The documentation for the variables, says > > If =E2=80=98all=E2=80=99, search all other buffers, except the ignored on= es. > > I find the documentation confusing because nowhere does it say that on > should use 'all rather than all or "all". I can understand your confusion. When working at the level of Emacs Lisp, keep a few things in mind: a) Generally, in Emacs Lisp help, if you see something like =E2=80=98all=E2= =80=99 it means a lisp level symbol. This could be a function name, variable, or some other symbol. This is part of the project's conventions, described here: https://www.gnu.org/software/emacs/manual/html_node/elisp/Documentation-Tip= s.html b) When lisp level interfaces expect strings they generally say so, and the examples use quotes like "this". c) A bare all (without any quotes at all), is just a word, and not a Lisp level function or variable. Hope that helps!