Received: (at 76305) by debbugs.gnu.org; 4 Mar 2025 02:41:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 03 21:41:57 2025 Received: from localhost ([127.0.0.1]:53717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tpIEG-0005S9-NC for submit <at> debbugs.gnu.org; Mon, 03 Mar 2025 21:41:57 -0500 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]:54307) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1tpIEE-0005Rk-HL for 76305 <at> debbugs.gnu.org; Mon, 03 Mar 2025 21:41:55 -0500 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-5e51e3274f1so5101593a12.0 for <76305 <at> debbugs.gnu.org>; Mon, 03 Mar 2025 18:41:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741056108; x=1741660908; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=SACAZRZZGSsyXQ8QuIZ85adXwRRhMaVAqWa4VJM+jUo=; b=ZG9vN/H04JPwYHLRz91aRz6HhgLgsFEuDQ8j2XC4tt6KMSzHVgx7LIYZgLHaZ9xXXu ELcR1luyb/Xu57Yu3dT5JSwU2D98GHUsY1WE6HdZkMF1IqHVtAdZ/3jY6hRebn38Xp2v rvpfh/SrDItjO/xPJpYsop24l4+/UF7zrVgb9QlcayxgHnoKCIkinC6q7F1urjw9sw+S EGpjWUWuw1LeyVYG3oTZcdIA1Ci50zh2yLoic0+4f6rEqeMeJoF+rruTDUwbW2KCsazN mO5RrG4lMqVl14JhKpPuNgmP5a2/nLpAecruU1orj5Y0l6jhK7HjIpQOv7eNrnY7k5/u MmGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741056108; x=1741660908; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SACAZRZZGSsyXQ8QuIZ85adXwRRhMaVAqWa4VJM+jUo=; b=ql2IEk5D0Q8kkjlqm8vogWm9+/nFqK6tP2qK9FrxJ3T/HGgp4Gv/SI5A+pEXO0XIuB x7WDxBw7zcyoNzmV26aAHZhog1HyDruK3+C7bJ9seYrnyku6sLifF/aOzidO9LNIQUK4 lkTeRXAr0twiBa5lThtjjBkTnhf6Thbv+/X6aS1qp+euMUq/1z22n2bo4iXIh64HWNUb qTLdSQJbS1PZU8YTasaRR3PhWY0U+pg0biNdIJ/O/25HaivwpwF9fdUGgtxhmRwo54hD ABf6STGE918x5czEI6lNfoHmKrb6QTBnP8STtwHNLv31mc1mvHA21m/oIYiYb4DVYl7S 552A== X-Gm-Message-State: AOJu0YzO5keO1TGZcF0tG+tM4e+NDDCygjX74rdz8QxgwWnU2G1qcyu8 0Nk5gd8zRf9vp5AIkG5PsDXK3VlDc2iVGVtq4ygvO1RxS7T8fkoCdljY9HIILuw63fp7kkvdAmW H3OxHE0rAWhMQFc9zd4uD8DGFkKSK42YEY0ebAg== X-Gm-Gg: ASbGncvunJZogMt3Ng3zImzeEyE6ZWolcImum2J5RgZ8PDSOEuN4kiCX2oMMOyW09Eu fyQg07FkqvG4z52Y5WJyf6z3OpJiJyQTPMYcLmc0OI62mYXJJsps6FVk933Ttbl3p5CADgzxfdK LroW4wNn19BOP5AFJoREZomWCAdGE= X-Google-Smtp-Source: AGHT+IGY7LFpFf2DeK7QKwkdvqFy4me73mABLZTm82UsRN7+nM250SxHhXZkEQw9oEOTBEceTqnP6eLR8g1nh3wy5VY= X-Received: by 2002:a05:6402:26c2:b0:5e4:d402:5c20 with SMTP id 4fb4d7f45d1cf-5e4d6910663mr18618881a12.0.1741056108461; Mon, 03 Mar 2025 18:41:48 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 3 Mar 2025 18:41:48 -0800 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <m1msenmb94.fsf@HIDDEN> References: <m1msenmb94.fsf@HIDDEN> MIME-Version: 1.0 Date: Mon, 3 Mar 2025 18:41:48 -0800 X-Gm-Features: AQ5f1Jr7VEp6ayxkojvEfkKJuzjUDjb1mUIbIU3INMnYc5f9TG3nBZazKQajhkE Message-ID: <CADwFkm=JsdjcVJ8gjr-SCBYUA3bTSRiqUhimOR7n4hGJBpMoGQ@HIDDEN> Subject: Re: bug#76305: 31.0.50; Local variable names missing from 'setq' argument completions To: Eshel Yaron <me@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76305 Cc: 76305 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eshel Yaron <me@HIDDEN> writes: > Hi, > > Local variable name completion in ELisp seems to fail at uneven setq > argument positions: > > 1. emacs -Q > 2. Permit local variables analysis in scratch buffer by evaluating > (setq-local trusted-content :all) > 3. Insert: > (defun foo (barbaz) bar) > 4. Place point after "bar" and hit C-M-i > 5. See "bar" completed to "barbaz", as expected > 6. Now insert instead: > (defun foo (barbaz) (setq bar)) > 7. Again with point after "bar", hit C-M-i > 8. Emacs reports "no match" instead of completing to "barbaz" > > This used to work as expected in Emacs 28, but not in 29, 30 or master. Maybe it's worth bisecting this? > > > Regards, > > Eshel
bug-gnu-emacs@HIDDEN
:bug#76305
; Package emacs
.
Full text available.Stefan Kangas <stefankangas@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 15 Feb 2025 16:19:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 15 11:19:41 2025 Received: from localhost ([127.0.0.1]:57491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tjKtJ-0001Re-3J for submit <at> debbugs.gnu.org; Sat, 15 Feb 2025 11:19:41 -0500 Received: from lists.gnu.org ([2001:470:142::17]:57558) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <me@HIDDEN>) id 1tjKtC-0001RG-G3 for submit <at> debbugs.gnu.org; Sat, 15 Feb 2025 11:19:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <me@HIDDEN>) id 1tjKt4-0004Sw-J7 for bug-gnu-emacs@HIDDEN; Sat, 15 Feb 2025 11:19:28 -0500 Received: from mail.eshelyaron.com ([107.175.124.16] helo=eshelyaron.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <me@HIDDEN>) id 1tjKt2-0004rS-11 for bug-gnu-emacs@HIDDEN; Sat, 15 Feb 2025 11:19:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1739636361; bh=njPvPOYMtK7j3lNOF5aoQzN+lreT0lYIs3JQRYxg09k=; h=From:To:Subject:Date:From; b=EQLSPtiZYw72Hlg6r5EVHgPdxD+UH+2nYkjz78rBDN1B97csrD7Sra1V/uQOFEcKb XMlUYCUvMe36BdeLHSeQFET8L3CXkQe5zB5k7sZIH2xg6NsYbEeIIH0gx/bThjhzLf vLwCfbmfT/me9IefHUvw9dEFEZk6V/a2m63hPp7SNiEyFGyAj0DAUaxV9/aQrxa7a0 Ec3Mmtd6yN12q7KRK1eF/HZQE/aP2gTnFK+WHOc18XGSml0AmDX1zdkR4258YPq5um uyIqZgKqSYrB2Cx6Yj9aweeL7x77T77QaXlGfGHvtped+/IL4aj0cF7a7qeGbhhAJW FI1Tf3S5hvjTA== From: Eshel Yaron <me@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 31.0.50; Local variable names missing from 'setq' argument completions X-Debbugs-Cc: Date: Sat, 15 Feb 2025 17:19:19 +0100 Message-ID: <m1msenmb94.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=107.175.124.16; envelope-from=me@HIDDEN; helo=eshelyaron.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_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.1 (/) Hi, Local variable name completion in ELisp seems to fail at uneven setq argument positions: 1. emacs -Q 2. Permit local variables analysis in scratch buffer by evaluating (setq-local trusted-content :all) 3. Insert: (defun foo (barbaz) bar) 4. Place point after "bar" and hit C-M-i 5. See "bar" completed to "barbaz", as expected 6. Now insert instead: (defun foo (barbaz) (setq bar)) 7. Again with point after "bar", hit C-M-i 8. Emacs reports "no match" instead of completing to "barbaz" This used to work as expected in Emacs 28, but not in 29, 30 or master. Regards, Eshel
Eshel Yaron <me@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#76305
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.