From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gustavo Barros Newsgroups: gmane.emacs.bugs Subject: bug#54179: 28.0.91; tab-first-completion defcustom :type specification Date: Sun, 27 Feb 2022 10:07:55 -0300 Message-ID: <87mtic1ml5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33189"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 28.0.91 To: 54179@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 27 14:12:13 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 1nOJLQ-0008Rk-UG for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Feb 2022 14:12:13 +0100 Original-Received: from localhost ([::1]:47650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOJLP-0007Wu-Ih for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Feb 2022 08:12:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOJLH-0007Wi-6a for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2022 08:12:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOJLG-0000cD-Lc for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2022 08:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nOJLG-0007i7-I4 for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2022 08:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gustavo Barros Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Feb 2022 13:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54179 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164596747429582 (code B ref -1); Sun, 27 Feb 2022 13:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Feb 2022 13:11:14 +0000 Original-Received: from localhost ([127.0.0.1]:57028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOJKT-0007h4-Uo for submit@debbugs.gnu.org; Sun, 27 Feb 2022 08:11:14 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:37510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOJKS-0007gw-FH for submit@debbugs.gnu.org; Sun, 27 Feb 2022 08:11:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOJKR-0006yK-Tg for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2022 08:11:12 -0500 Original-Received: from [2607:f8b0:4864:20::f2c] (port=36585 helo=mail-qv1-xf2c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOJKP-0000RC-U9 for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2022 08:11:11 -0500 Original-Received: by mail-qv1-xf2c.google.com with SMTP id w7so10447296qvr.3 for ; Sun, 27 Feb 2022 05:11:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:user-agent:from:to:subject:date:message-id:mime-version; bh=KrC/QGIzBFyzrlNYBuxqMLPcCjqB+PJV6kstNNfydSE=; b=cK+MxhR9YL7lyEAngb2u3fVVQeHu5Qaw0+RBbXxtD2v1B21lMM6qCCve/Fo7hY9+hn DF85woDqcUDaSr9M8GPYzD12ikvF2Kr7FzSQGVmI9SG5SBGC6J0Mz2Sx/Vg5soCPjFd/ DYvPgr3uvH+8GYzVOszxYxJBgerwqvS+jWZgIrDQt6aZoyxJ2KQNjb2PDoOC7SJvd9Y0 03oqUC3FYDFYkJIX5R3gb92AJSlBdRbKblUXyit6rsp/oEtGp9fzrqQau5V8rxe2fR1k pDfk/Bw+k1+d9HjTDfuCTSe8fsLYh4DeWG00cMJNZvyreBiaqf9oAR5RilZYHR7b6t2W DeSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:user-agent:from:to:subject:date :message-id:mime-version; bh=KrC/QGIzBFyzrlNYBuxqMLPcCjqB+PJV6kstNNfydSE=; b=Hd0RC2YuJny4QlAqH/X4ef8Ph1pdo4wWOvqkQZ4/mQURe4a0Dh5aU0P3uG3cLGnADk cQv/e9atCbNBjMBQL+vzCTxIb+AoHNlOKp8O2tRl8r6Q9AlGRyplVBgaVfzzGPEAA4a8 /QquF2UsqeA82zVJRM1Lqr6OWufTNziCPPdKKSQ2kbRg4raZ7X0YN3fmtYPGHUP2GEUW /dpGLJFEdA5CvWIjeU/fSDJ6Fs9HSZwXHRzuYhyox/SOv9pwO5w/Lfc1JEOEiGKPuu3q 4fRmL1pzyOc8CSW24fm99CRy2yFhmFVqO2qwu9V0GSshVx+ltW7wOzMCe/vpX2m6UzwQ JCxA== X-Gm-Message-State: AOAM531sTp+GipUabxyZoKfaju6OZUi8OEctayvNIrKmwH6Jrirt8rEA lBaLcyc4CDRw8Utoe6sqaeP3wGSUqegaNg== X-Google-Smtp-Source: ABdhPJyP5PRNbPGOFyWAi5xRYBz6kuk/e8JV0YVY4j+9xZzJmsfiJSPrgwwtbHF+8VAoJFzQ0AIM4g== X-Received: by 2002:a0c:f451:0:b0:432:58f1:b99 with SMTP id h17-20020a0cf451000000b0043258f10b99mr11098871qvm.95.1645967467108; Sun, 27 Feb 2022 05:11:07 -0800 (PST) Original-Received: from gusbrs-laptop ([102.129.153.94]) by smtp.gmail.com with ESMTPSA id b13-20020ac85bcd000000b002d6a901ad4csm5196626qtb.73.2022.02.27.05.11.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Feb 2022 05:11:06 -0800 (PST) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::f2c (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f2c; envelope-from=gusbrs.2016@gmail.com; helo=mail-qv1-xf2c.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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:227716 Archived-At: Hi All, I've been trying out the pre-release and met the new `tab-first-completion' which looks interesting. However, the `:type' specification of its `defcustom' quotes the non-nil values of the choice options, and it shouldn't. Indeed, if one tries to set it with the customization interface, one gets something like the following in `custom-set-variables': #+begin_src emacs-lisp '(tab-first-completion ''word-or-paren) #+end_src And if one does set it outside the customization interface, one gets a mismatch for it. Also, I think the `eol' tag is imprecise. The docstring for the defcustom states "When `eol', only complete if point is at the end of a line.", while the `:tag` says "Unless at the end of a line". As far as I understand the code and the intent here, the docstring seems to be correct, and the `:tag' needs adjustment to something like "Only at the end of a line". Best regards, Gustavo. In GNU Emacs 28.0.91 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-02-26 built on gusbrs-laptop Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Linux Mint 20.2 Configured using: 'configure --with-mailutils --with-xwidgets --with-modules --with-native-compilation' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM XWIDGETS GTK3 ZLIB Important settings: value of $LC_MONETARY: pt_BR.UTF-8 value of $LC_NUMERIC: pt_BR.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug comp comp-cstr warnings rx cl-extra help-mode message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads xwidget-internal dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 85982 7426) (symbols 48 7858 2) (strings 32 21613 3032) (string-bytes 1 749030) (vectors 16 16934) (vector-slots 8 330239 15295) (floats 8 28 37) (intervals 56 200 0) (buffers 992 11))