From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrii Kolomoiets Newsgroups: gmane.emacs.bugs Subject: bug#47575: python-shell-completion-at-point omits %magic commands Date: Thu, 06 May 2021 16:38:55 +0300 Message-ID: References: <0F56B58F-840F-45EA-B538-02FF19E16A90@gmail.com> <87a6p8w2an.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14332"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: 47575@debbugs.gnu.org, JD Smith To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 06 15:44:22 2021 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 1leeIf-0003c6-Kr for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 May 2021 15:44:21 +0200 Original-Received: from localhost ([::1]:41380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leeIe-0007IV-MY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 May 2021 09:44:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leeEU-0001D6-PA for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 09:40:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54247) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leeEU-0000Km-CN for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 09:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1leeEU-0000kr-79 for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 09:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrii Kolomoiets Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 May 2021 13:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47575 X-GNU-PR-Package: emacs Original-Received: via spool by 47575-submit@debbugs.gnu.org id=B47575.16203083462883 (code B ref 47575); Thu, 06 May 2021 13:40:02 +0000 Original-Received: (at 47575) by debbugs.gnu.org; 6 May 2021 13:39:06 +0000 Original-Received: from localhost ([127.0.0.1]:37560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leeDa-0000kR-K9 for submit@debbugs.gnu.org; Thu, 06 May 2021 09:39:06 -0400 Original-Received: from mail-qk1-f182.google.com ([209.85.222.182]:33631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leeDZ-0000jx-Cg for 47575@debbugs.gnu.org; Thu, 06 May 2021 09:39:05 -0400 Original-Received: by mail-qk1-f182.google.com with SMTP id o5so4921160qkb.0 for <47575@debbugs.gnu.org>; Thu, 06 May 2021 06:39:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Rm5vmyUvAaktFALuUrCxrrPoXXnKQY4cPjzWIZD+Xu0=; b=ZLJCpdJv2XW1fHwzvd4lXa8o6K55bD4XH9t1FdGKEwIB4LjIw4bCNxkMLXl4a6DQA9 Fl4rSv33PEDHqEAOSy0n4TcLgi1k99/0BfKsfEH0paV3WrR5shDP51+pj8tEKpsKdEE+ 9hXhnUhqkltEg3Gnp2MyZP93zJpdhCVXtxovqZfGNqOlbUGMnruNBeM4pz9m+dZXvucD TTtflPZ4zUCgcXTQifhfiFkW6OVg8F/mtIfy/LPdLRmH4x+nK+nnCoqjG/pPdmWqEoqv hrb3eyFmkOiiwJBjCeoyUIhoB824ybFpDfmSHTxYhU9KXmiJEchu4XbBQrqXvNZw+DC0 6/YA== 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=Rm5vmyUvAaktFALuUrCxrrPoXXnKQY4cPjzWIZD+Xu0=; b=YBvgKEVFe6+P/GtksI2KCt6OKxyRhGExzLJfQLDgV/jyJulbWFuMtEyCAX24j3N4fD hqsu9uA64xQBq3mp9ekLFLRYjqyNSTkwaEfwVg3V3Brs5cQXcVj7cDBpGeTmHIGfmW5k YDwOU9G9Voy0y5KHznxR0OLwrhUC4E8Ycia1Rcyaq2OAiG/VYV1RuJe8MkY7eJdxZU2T V4XiQPQoFiNTOHrX+e1PtHIPCaQXVgBJrKqL9r4blI+KSiSBsQvoidY5YmZnoLa1FjXG PRoaoH91PhY9gCrNKRY7d0rvUmZNiFPf35HfIWP497WM3UGujDRcVmh07hDnSC/Tqmat HeWw== X-Gm-Message-State: AOAM531uDIsnwDQjTfWn4nGzRYrsr3IE+ouC60wWHRS3/dmzlXjUAftW Y4NbjXdTC/jk0QhB36gXffLnI29Z4AVaAw== X-Google-Smtp-Source: ABdhPJxdPbNIVdJ7DVQ6bazMnwC/+hHMdQGiHpaQ9YMqM7NtmF6deckfwHDDpKoxqlfbq/tADv6WTQ== X-Received: by 2002:a05:620a:918:: with SMTP id v24mr3912545qkv.371.1620308339591; Thu, 06 May 2021 06:38:59 -0700 (PDT) Original-Received: from muffinmac ([91.206.110.246]) by smtp.gmail.com with ESMTPSA id k15sm2234585qtg.68.2021.05.06.06.38.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 May 2021 06:38:58 -0700 (PDT) In-Reply-To: <87a6p8w2an.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 06 May 2021 13:05:04 +0200") 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:205835 Archived-At: Lars Ingebrigtsen writes: > JD Smith writes: > >> The solution would be to not skip the ?% character if it is at the start of the line. The >> modulo operator cannot occur there in any case. Well :) >>> foo=1 >>> bar=2 >>> foo\ ... %bar 1 Though I don't think it's the common use case. -- Andrii