From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#6256: 24.0.50; read-event in `repeat' command Date: Sun, 12 Sep 2010 09:06:38 -0700 Message-ID: References: <058F2FC300154C1AB894694655B2A968@us.oracle.com><90A72397ABF34D84A3ACB3B6DE18F74A@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1284307837 19571 80.91.229.12 (12 Sep 2010 16:10:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Sep 2010 16:10:37 +0000 (UTC) Cc: 6256@debbugs.gnu.org To: "'Stefan Monnier'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 12 18:10:35 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oup8U-0006aJ-8n for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Sep 2010 18:10:34 +0200 Original-Received: from localhost ([127.0.0.1]:52548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oup8T-0004R1-BK for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Sep 2010 12:10:33 -0400 Original-Received: from [140.186.70.92] (port=45331 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oup8L-0004Pa-Ut for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2010 12:10:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oup8K-0006D4-GO for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2010 12:10:25 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37365) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oup8K-0006Cz-CV for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2010 12:10:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Oup45-00015b-W1; Sun, 12 Sep 2010 12:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Sep 2010 16:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6256 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6256-submit@debbugs.gnu.org id=B6256.12843075244179 (code B ref 6256); Sun, 12 Sep 2010 16:06:01 +0000 Original-Received: (at 6256) by debbugs.gnu.org; 12 Sep 2010 16:05:24 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oup3U-00015M-IM for submit@debbugs.gnu.org; Sun, 12 Sep 2010 12:05:24 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oup3S-00015H-J7 for 6256@debbugs.gnu.org; Sun, 12 Sep 2010 12:05:23 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o8CG7TRZ011500 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 12 Sep 2010 16:07:31 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o8CG3JtI017440; Sun, 12 Sep 2010 16:07:28 GMT Original-Received: from abhmt016.oracle.com by acsmt353.oracle.com with ESMTP id 597935771284307604; Sun, 12 Sep 2010 09:06:44 -0700 Original-Received: from dradamslap1 (/10.159.220.107) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 12 Sep 2010 09:06:44 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: ActR3rpHr0fp0OUMQJKM/Re1iu6XLgAIRC+gACUQaiA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 12 Sep 2010 12:06:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40111 Archived-At: > If you want to test for yourself, then: > > 1. Load the Bookmark+ files (see below). Forgot to mention that you will need to uncomment this code in bookmark+-1.el: ;; (define-key bookmark-map (vector (list mouse-wheel-up-event)) ;; 'bmkp-next-bookmark-this-buffer-repeat) ;; (define-key bookmark-map (vector (list mouse-wheel-down-event)) ;; 'bmkp-previous-bookmark-this-buffer-repeat) > 2. Use C-x p RET at several places in a file to create some bookmarks. > 3. Use C-x p ... (or ...) to cycle > among the bookmarks. You will see a message showing the position at > each bookmark visited. > > 4. Now try C-x p followed by repeated mouse-wheel down or up > movements. You should see the same movement to each bookmark > in turn, and the same position messages. With your code the wheel > repetition does not work. With the code I sent it does work. > This is the `while' condition I sent (again): > > (while (let ((evt (read-event))) > (and (equal (event-basic-type evt) > (event-basic-type repeat-repeat-char)) > (equal (event-modifiers evt) > (event-modifiers repeat-repeat-char)))) > > The Bookmark+ files are these (load in this order, after > loading std library bookmark.el): > > bookmark+-mac.el > bookmark+-bmu.el > bookmark+-1.el > bookmark+-lit.el > bookmark+.el > > You can find the Bookmark+ files here (Emacs Wiki Elisp area): > http://www.emacswiki.org/cgi-bin/wiki?action=index;match=%5C.(el%7Ctar)(%5C.gz)% 3F%24