From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.bugs Subject: bug#12254: 24.2; completion fails backward-char Date: Wed, 22 Aug 2012 10:40:25 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1345603306 7879 80.91.229.3 (22 Aug 2012 02:41:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2012 02:41:46 +0000 (UTC) To: 12254@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 22 04:41:47 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T40t8-0003No-9C for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Aug 2012 04:41:46 +0200 Original-Received: from localhost ([::1]:53149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T40t6-0005XP-Lz for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Aug 2012 22:41:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T40t3-0005X8-Lq for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 22:41:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T40t2-0007I9-O8 for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 22:41:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T40t2-0007I5-Kw for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 22:41:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T40tO-0005x7-9r; Tue, 21 Aug 2012 22:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Leo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: monnier@iro.umontreal.ca, bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Aug 2012 02:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12254 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Stefan Monnier Original-Received: via spool by submit@debbugs.gnu.org id=B.134560327022817 (code B ref -1); Wed, 22 Aug 2012 02:42:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Aug 2012 02:41:10 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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== Original-Received: by 10.68.129.73 with SMTP id nu9mr49431826pbb.59.1345603237102; Tue, 21 Aug 2012 19:40:37 -0700 (PDT) Original-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) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63365 Archived-At: --=-=-= 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)) --=-=-=--