From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#41740: 26.1; completion-at-point fails in the Pacal mode Date: Sat, 6 Jun 2020 22:05:58 +0300 Message-ID: <898612d2-de46-22bc-ea98-90f20a0747a5@yandex.ru> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="68745"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Cc: esk@gnu.org To: Shinichi Sakata , 41740@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 06 21:07:45 2020 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 1jheAT-000Hnl-Dw for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Jun 2020 21:07:45 +0200 Original-Received: from localhost ([::1]:40740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jheAS-0003Kx-Fx for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Jun 2020 15:07:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhe9m-0002TX-Mx for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2020 15:07:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhe9m-0002Ug-5J for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2020 15:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jhe9m-0001sK-0l for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2020 15:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jun 2020 19:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41740 X-GNU-PR-Package: emacs Original-Received: via spool by 41740-submit@debbugs.gnu.org id=B41740.15914703707150 (code B ref 41740); Sat, 06 Jun 2020 19:07:01 +0000 Original-Received: (at 41740) by debbugs.gnu.org; 6 Jun 2020 19:06:10 +0000 Original-Received: from localhost ([127.0.0.1]:52492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhe8w-0001rG-HZ for submit@debbugs.gnu.org; Sat, 06 Jun 2020 15:06:10 -0400 Original-Received: from mail-wm1-f67.google.com ([209.85.128.67]:52423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhe8s-0001qj-M9 for 41740@debbugs.gnu.org; Sat, 06 Jun 2020 15:06:09 -0400 Original-Received: by mail-wm1-f67.google.com with SMTP id r9so11426154wmh.2 for <41740@debbugs.gnu.org>; Sat, 06 Jun 2020 12:06:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=wgUjGiIp83i7aqmKSD76lhNc4im5yar93Wujo4rwWYA=; b=ou+giHxAL+PQzHs1j+hCbKDd4Ay3uRNtmwlcwhIBvss8DxX6K52IF4SLbMT3CphOvC Za6UfAthGhkqWH9RS3VPNEo2ypYwC2ltgzParEIUuq8nl07J754/aimS9Y44kxYgXDeV 77KRW1qP5HFAnikYrSzf4ttsLlGAtlkaEb+4LHch7u6bFaxCWjH8Ihc8MK4kAbFH7ekX 6nKpDdpzeHuX2arIleE5rFkOFA/nbVWwKKpanEJDTeH5xDc3Zfq3wVzkVOhqxY+etfna UPgpcesPODZ74MHdsvbdiaEcUE7rTI4SgSNDpwx+/GX05isWTyIqrGqvnUpmEx9VZBJX otTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=wgUjGiIp83i7aqmKSD76lhNc4im5yar93Wujo4rwWYA=; b=iwoUwYmD6+ey2aTftRmclS4AP9KErTjjjMuMOs3Mv6y+Hw5HWqjLNS8sQe/pebX+I0 35IXcWXtDu88egOPQR6kjoxze/utA1VVUupfneFQ0bGsaYW+nTaxNuo7YZJEcylCUVuo cTSwn8SO4lQbyXxnab7avpgvDr9zve+hSXSjUmiBJMG7vKCObooc9Vef8dsZMYtP65lP ZIjwM+9UkVjfiBOyyImFxLCtp1JWCQfcXB46G+k2RRHbQocqsYwBpMJ2E3sfGBrj+5XF xmcI5AFoLOaui8aumWiocE+nP4gs2Bz5zfNxFPi9Y+hwXEd5nwXqAvloZwNAwpGMGPn2 DY6Q== X-Gm-Message-State: AOAM533RZIarIKDSE7zYLlNiMJfXg+4RwGmCcNACFhgk0BWH+NocOLFi xBqodzRTJGQxJqnfCS2jbXM= X-Google-Smtp-Source: ABdhPJx/k/AXb5+zbubF7lppTHO07NeMRWpBnwTm7Vf0Z3rNN1Z7g9V0c8pfkvBVunyQ1wTn5PAlPA== X-Received: by 2002:a1c:23d2:: with SMTP id j201mr8483099wmj.186.1591470360881; Sat, 06 Jun 2020 12:06:00 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id y37sm20381880wrd.55.2020.06.06.12.05.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 06 Jun 2020 12:06:00 -0700 (PDT) In-Reply-To: Content-Language: en-US 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:181631 Archived-At: On 06.06.2020 20:46, Shinichi Sakata wrote: > Use of C-M-i (completion-at-point) in the Pascal mode results in errors. > > Here is a way to reproduce the problem: > >    1. Start emacs by "emacs -Q". >    2. Open a new file with extension "pas" (say, test.pas). >    3. Type in: program test; var and then use C-M-i. > > This should yields an error message like: > >    completion--some: Args out of range: #("var" 0 3 (fontified t face > font-lock-type-face)), 0, -14 > In GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) >  of 2019-09-22, modified by Debian built on x86-grnet-01 > Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 > System Description: Debian GNU/Linux 10 (buster) And I can confirm it on master.