From unknown Mon Jun 16 23:32:32 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#12254 <12254@debbugs.gnu.org> To: bug#12254 <12254@debbugs.gnu.org> Subject: Status: 24.2; completion fails backward-char Reply-To: bug#12254 <12254@debbugs.gnu.org> Date: Tue, 17 Jun 2025 06:32:32 +0000 retitle 12254 24.2; completion fails backward-char reassign 12254 emacs submitter 12254 Leo severity 12254 normal tag 12254 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 21 22:41:10 2012 Received: (at submit) by debbugs.gnu.org; 22 Aug 2012 02:41:10 +0000 Received: from localhost ([127.0.0.1]:42264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T40sX-0005vx-K5 for submit@debbugs.gnu.org; Tue, 21 Aug 2012 22:41:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56090) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T40sS-0005vn-Uh for submit@debbugs.gnu.org; Tue, 21 Aug 2012 22:41:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T40s4-0006wl-Ot for submit@debbugs.gnu.org; Tue, 21 Aug 2012 22:40:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:34482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T40s4-0006we-LC for submit@debbugs.gnu.org; Tue, 21 Aug 2012 22:40:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T40s3-0005W7-I0 for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 22:40:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T40s2-0006w6-N6 for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 22:40:39 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:53481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T40s2-0006vu-F2 for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 22:40:38 -0400 Received: by dadi14 with SMTP id i14so348458dad.0 for ; Tue, 21 Aug 2012 19:40:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:x-debbugs-cc:date:message-id:mime-version :content-type; bh=ZoCBy8gaBQFH9mdsJ8OG57jLDgrI29EXi136gs7bOoI=; b=iXB7geUY/mRfGK0MN9mL9IHhDCt3wM9BWsSUGOTA+oGPc0fovwnm+H/fMqBBUpHbdu rqJ/MJ4nasFEowFU27CqRh211qPmvv0i+vxJlxOi/dVHOb2EdGOrrxEwUpAPn/1hCro1 hm7axVZu31FZQxnh09KJpSJlaVGTe4lePdEGsouhGyKzsUwxQGVAyK4QZZIm34iHrPL1 Vlqj3X17m/xHXlI9+3rKQyChSxpCtq8rJf8P4lU39RP2aGO/hOjcvyoIUhM5abeSAt4Y z1U35C6FeF98lX/nIauJYiovrGT1AaWBFAzuhmxYQosEn7FsG2P2HaWmnC4RYVqYz/c3 y+Jg== Received: by 10.68.129.73 with SMTP id nu9mr49431826pbb.59.1345603237102; Tue, 21 Aug 2012 19:40:37 -0700 (PDT) Received: from localhost ([216.185.105.36]) by mx.google.com with ESMTPS id sz3sm2679524pbc.21.2012.08.21.19.40.34 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Aug 2012 19:40:36 -0700 (PDT) From: Leo To: bug-gnu-emacs@gnu.org Subject: 24.2; completion fails backward-char X-Debbugs-CC: Stefan Monnier Date: Wed, 22 Aug 2012 10:40:25 +0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --=-=-= Content-Type: text/plain This is a regression. It doesn't happen in Emacs 23.4. 1. Emacs -q -l b.el (b.el is attached) 2. M-x b-mode 3. Type I followed by to complete to IGNORE 4. C-b In step 4, C-b could not move backwards; point appears to be trapped there. Leo --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline; filename=b.el Content-Transfer-Encoding: quoted-printable Content-Description: b.el (defun b-completion-at-point () (let ((beg (progn (skip-syntax-backward "w") (point))) (end (progn (skip-syntax-forward "w") (point)))) (list beg end '("IGNORE" "DEBUG" "HELLO")))) (define-derived-mode b-mode prog-mode "B mode" (add-hook 'completion-at-point-functions 'b-completion-at-point nil t)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 22 12:17:55 2012 Received: (at 12254) by debbugs.gnu.org; 22 Aug 2012 16:17:55 +0000 Received: from localhost ([127.0.0.1]:43573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T4Dcx-0002xT-F4 for submit@debbugs.gnu.org; Wed, 22 Aug 2012 12:17:55 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:14993) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T4Dcw-0002xN-9g for 12254@debbugs.gnu.org; Wed, 22 Aug 2012 12:17:54 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09MCpcJ/2dsb2JhbABEtBGBCIIWAQVWIxALNBIUGA0kiCG6CZBEA6MzgViDBQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="196442561" Received: from 76-10-151-9.dsl.teksavvy.com (HELO pastel.home) ([76.10.151.9]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 22 Aug 2012 12:17:27 -0400 Received: by pastel.home (Postfix, from userid 20848) id 4873658EB4; Wed, 22 Aug 2012 12:17:27 -0400 (EDT) From: Stefan Monnier To: Leo Subject: Re: bug#12254: 24.2; completion fails backward-char Message-ID: References: Date: Wed, 22 Aug 2012 12:17:27 -0400 In-Reply-To: (Leo's message of "Wed, 22 Aug 2012 10:40:25 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 12254 Cc: 12254@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Thanks for those bug reports, Leo. I'm probably to blame for most/all of those completion problems, but I'm just coming back from a vacation and have to prepare for the "beginning of the end of the semester" (for reasons of student strikes (tho I guess it's probably more due to government's obtuseness), we're about to resume classes for the last 4 weeks of the winter semester ;-). So, I'll try to look at it ASAP, but you may have to wait a week or two. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 29 14:06:32 2012 Received: (at control) by debbugs.gnu.org; 29 Aug 2012 18:06:32 +0000 Received: from localhost ([127.0.0.1]:56291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6met-00013J-R1 for submit@debbugs.gnu.org; Wed, 29 Aug 2012 14:06:32 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:27298) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6meo-000134-Qd; Wed, 29 Aug 2012 14:06:30 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09FxIRd/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="197008340" Received: from 69-196-132-93.dsl.teksavvy.com (HELO pastel.home) ([69.196.132.93]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 29 Aug 2012 14:05:20 -0400 Received: by pastel.home (Postfix, from userid 20848) id EEA0859401; Wed, 29 Aug 2012 14:05:19 -0400 (EDT) From: Stefan Monnier To: Leo Subject: Re: bug#12254: 24.2; completion fails backward-char Message-ID: References: Date: Wed, 29 Aug 2012 14:05:19 -0400 In-Reply-To: (Leo's message of "Wed, 22 Aug 2012 10:40:25 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: control Cc: 12254-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) tags 12254 notabug thanks > (defun b-completion-at-point () > (let ((beg (progn > (skip-syntax-backward "w") > (point))) > (end (progn > (skip-syntax-forward "w") > (point)))) > (list beg end '("IGNORE" "DEBUG" "HELLO")))) This needs to save-excursion. > This is a regression. It doesn't happen in Emacs 23.4. That's only because completion-at-point-functions is used less often so the bug in the above code doesn't bite as often. But your above completion function is already buggy in Emacs-23.4 since it can't complete "IG!R" to "IGNORE", whereas after adding the save-excursion such completion works just fine. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 30 08:06:22 2012 Received: (at 12254) by debbugs.gnu.org; 30 Aug 2012 12:06:22 +0000 Received: from localhost ([127.0.0.1]:57304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T73Vu-0004Ty-1n for submit@debbugs.gnu.org; Thu, 30 Aug 2012 08:06:22 -0400 Received: from mail-pb0-f44.google.com ([209.85.160.44]:44056) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T73Vr-0004Tq-TF for 12254@debbugs.gnu.org; Thu, 30 Aug 2012 08:06:20 -0400 Received: by pbbrr4 with SMTP id rr4so2997650pbb.3 for <12254@debbugs.gnu.org>; Thu, 30 Aug 2012 05:05:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=fkkEbhrSMI8Vjus2qwSSfrjBechyb3h5HoHHYWAgqjM=; b=A5lTBjPj8BDync/gMLok2qRZKJbBtHlv9Nux9LxmG6nOQD8ghEV4iPdccb8C/l6UcW su5QJ7YLUKe6VHo3FeenpZK7ZxSGOOOdPhq4YsQNZfbDEi/VnPvPdyZo3vnaCb3xdg5/ NExNOz2F9gKar4m0HI5Thh43nuDPD4zoIrokfpdjf8URwYBiQ8C1BDYZTCl3PkrctMZ1 6ZLnZtZzjgC0swzBWu05rE5ZdzujTEG6kgk3VtGssXM2ZzQe/EF+zGtUdMh71Cvv3AtO Xql+T+dO6WajCpDFItLyuAKYcLc7aXknNT2M+PAUwJvpsUaSD3KhKw9nsCUMvk3zj0rU XPZw== Received: by 10.68.130.163 with SMTP id of3mr11593629pbb.108.1346328309162; Thu, 30 Aug 2012 05:05:09 -0700 (PDT) Received: from Zeuss-MacBook.local ([123.114.49.183]) by mx.google.com with ESMTPS id iq3sm1484172pbc.5.2012.08.30.05.05.05 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 30 Aug 2012 05:05:08 -0700 (PDT) From: Leo To: Stefan Monnier Subject: Re: bug#12254: 24.2; completion fails backward-char References: Face: iVBORw0KGgoAAAANSUhEUgAAACkAAAApAQAAAACAGz1bAAABKElEQVQYlWNg3NIt5FDPUPt7 4+X79Qyucz5/ugik+L2PBgKpyphaIK921q23QDnG0NBQoMr/vaWl9f8ZLL78uPv5PwN7RETfzXoG jhmFz27XM0RXmpuY/WfY+fv0Mc56BvFybfXA/wwL5t/wF61n2PU59axXPcOVzbmSW/8zrNt1benC /ww70hqUU/4zKCtrT9jwn8FhwynbufUMendE2aLqGRpdX9al1zM8eh17lKeeQcTMrdD5P8P3j/YT Q/8zXHSb7p1Qz/C4OM2JuZ7hgtI7K6AjqsMnf8j4z8C6xG1tw3+GqpqvsVn/GTzmpD9j/8/wP/oZ S/l/Bka+QO/g/wy15ueeFQL9N1O8mPU/g+umV3t1gdT0/1bTgHLqYVeXAlWKpMWt+w8Az82C9nHf X0cAAAAASUVORK5CYII= Date: Thu, 30 Aug 2012 20:05:03 +0800 In-Reply-To: (Stefan Monnier's message of "Wed, 29 Aug 2012 14:05:19 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (OS X 10.8.1) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 12254 Cc: 12254@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On 2012-08-30 02:05 +0800, Stefan Monnier wrote: > That's only because completion-at-point-functions is used less often so > the bug in the above code doesn't bite as often. > But your above completion function is already buggy in Emacs-23.4 since > it can't complete "IG!R" to "IGNORE", whereas after adding the > save-excursion such completion works just fine. Thank you for this. This isn't clear on the documentation on completion-at-point-functions. It is a trap that one can easily fall into. I wonder if you may add a note in the doc-string of completion-at-point-functions. Thanks. Leo From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 30 11:41:15 2012 Received: (at 12254) by debbugs.gnu.org; 30 Aug 2012 15:41:15 +0000 Received: from localhost ([127.0.0.1]:58206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T76rq-0001Dk-IL for submit@debbugs.gnu.org; Thu, 30 Aug 2012 11:41:14 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:58215) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T76rn-0001Dc-Oh for 12254@debbugs.gnu.org; Thu, 30 Aug 2012 11:41:12 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09FxKEe/2dsb2JhbABEsEiDSYEIghUBAQQBViMFCws0EhQYDSSIHAW6CZBEA6MzgViDBQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="197087265" Received: from 69-196-161-30.dsl.teksavvy.com (HELO pastel.home) ([69.196.161.30]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 30 Aug 2012 11:40:00 -0400 Received: by pastel.home (Postfix, from userid 20848) id 143E759407; Thu, 30 Aug 2012 11:40:00 -0400 (EDT) From: Stefan Monnier To: Leo Subject: Re: bug#12254: 24.2; completion fails backward-char Message-ID: References: Date: Thu, 30 Aug 2012 11:39:59 -0400 In-Reply-To: (Leo's message of "Thu, 30 Aug 2012 20:05:03 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 12254 Cc: 12254@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > This isn't clear on the documentation on completion-at-point-functions. > It is a trap that one can easily fall into. I wonder if you may add a > note in the doc-string of completion-at-point-functions. Thanks. How 'bout the patch below? Stefan === modified file 'lisp/minibuffer.el' --- lisp/minibuffer.el 2012-08-14 17:10:38 +0000 +++ lisp/minibuffer.el 2012-08-30 15:39:14 +0000 @@ -1821,7 +1821,9 @@ `:predicate' a predicate that completion candidates need to satisfy. `:exclusive' If `no', means that if the completion table fails to match the text at point, then instead of reporting a completion - failure, the completion should try the next completion function.") + failure, the completion should try the next completion function. +As is the case with most hooks, the functions are responsible to preserve +things like point and current buffer.") (defvar completion--capf-misbehave-funs nil "List of functions found on `completion-at-point-functions' that misbehave. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 30 18:26:54 2012 Received: (at 12254) by debbugs.gnu.org; 30 Aug 2012 22:26:54 +0000 Received: from localhost ([127.0.0.1]:58538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T7DCP-0005Ea-Jk for submit@debbugs.gnu.org; Thu, 30 Aug 2012 18:26:54 -0400 Received: from mail-pz0-f44.google.com ([209.85.210.44]:55769) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T7DCN-0005ET-7O for 12254@debbugs.gnu.org; Thu, 30 Aug 2012 18:26:52 -0400 Received: by dadf8 with SMTP id f8so1465443dad.3 for <12254@debbugs.gnu.org>; Thu, 30 Aug 2012 15:25:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=bczSM2TkCyzO7rRscTOuUedKibmps71hbu5kr+CjwHU=; b=sEG82edTmyhBq3cRcyrftsWkHfUEj1jydqXZBS63kD62E0bESM9OZUKIEDQViIis2Y ARVL9rlNU2pNMUR68XI4JJVYfxf7yEARjr8j9pxkizbrb0uVSaQcTDk7zjr+RPbPQ3I6 6LLKkidzYrIa5ygyGCXmwrF6TmujN0i3SsG33SS4oeCLPHUzJstSxDgfgbpOOzZ4i+Bt HKhZvcfaN0F2fw2CGg84M9wQcbeNQ8AiYc2YnbncQ2MtiWAGFo+ZccQxwzYRELaXwHfw Rmq4TPp961JGBq2Krhc7fPpCyourX4gnAQSIrV/wkQhRhD4uuiPIMKoLqc/gHLcayZor m1OQ== Received: by 10.68.229.6 with SMTP id sm6mr13589496pbc.120.1346365538519; Thu, 30 Aug 2012 15:25:38 -0700 (PDT) Received: from Zeuss-MacBook.local ([222.130.134.161]) by mx.google.com with ESMTPS id wh7sm2266328pbc.33.2012.08.30.15.25.35 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 30 Aug 2012 15:25:37 -0700 (PDT) From: Leo To: Stefan Monnier Subject: Re: bug#12254: 24.2; completion fails backward-char References: Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAElBMVEUAAAAAAP+LRRP0pGC+ vr7///+7mT1iAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMO DhglKe4AAAEsSURBVCjPbZNBboQwDEV/Cd4X9QJRThApmn0XYW+Jyf2v0m+HhqDBgiAe9rcTG7QH w/1Vn2Ar8gBb/ocywSN3qK9T3z4eFDB4eApocBpeBs1RSykoJd8gQcm8pGmHXFso3ajnmsqV0TnY DQkOfXUfN5NwaI7AWTVOyEhcu1aHmdWItHddUVUcUgUBCkitu8V6ditHVOVdqzl2EQ1ZVGTbdK0V 7cqn8vWzoU5Q/bF9Y/Y0cRU1xwkys5dJ+Dt6pBDWifcNQml8Gh2JVmPSoQzo7en0grswkxrUGYJ7 0hSxxAGr7ZMwYcHIzprpi7TENEE1xtiYxixRlCfPBsUUrwHD7uGIwATrbnODJcVrPpVn3hxiGloe m/S+z3CtuzUSMo83N4DPH+F0evwR3P4A2k+75838OKQAAAAASUVORK5CYII= Date: Fri, 31 Aug 2012 06:25:31 +0800 In-Reply-To: (Stefan Monnier's message of "Thu, 30 Aug 2012 11:39:59 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (OS X 10.8.1) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 12254 Cc: 12254@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On 2012-08-30 23:39 +0800, Stefan Monnier wrote: > === modified file 'lisp/minibuffer.el' > --- lisp/minibuffer.el 2012-08-14 17:10:38 +0000 > +++ lisp/minibuffer.el 2012-08-30 15:39:14 +0000 > @@ -1821,7 +1821,9 @@ > `:predicate' a predicate that completion candidates need to satisfy. > `:exclusive' If `no', means that if the completion table fails to > match the text at point, then instead of reporting a completion > - failure, the completion should try the next completion function.") > + failure, the completion should try the next completion function. > +As is the case with most hooks, the functions are responsible to preserve > +things like point and current buffer.") > > (defvar completion--capf-misbehave-funs nil > "List of functions found on `completion-at-point-functions' that misbehave. Thank you. That looks good ;) Leo From unknown Mon Jun 16 23:32:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 28 Sep 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator