From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug (regression) in org-replace-disputed-keys. Bisected. Date: Sun, 28 Sep 2014 22:07:08 +0200 Message-ID: <87iok7wlub.fsf@nicolasgoaziou.fr> References: <20140909.204231.1213619806378148264.teika@gmx.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYKju-0004Ij-Mo for emacs-orgmode@gnu.org; Sun, 28 Sep 2014 16:06:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYKjm-0005c7-AZ for emacs-orgmode@gnu.org; Sun, 28 Sep 2014 16:06:38 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:53460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYKjm-0005a6-44 for emacs-orgmode@gnu.org; Sun, 28 Sep 2014 16:06:30 -0400 In-Reply-To: <20140909.204231.1213619806378148264.teika@gmx.com> (Teika Kazura's message of "Tue, 09 Sep 2014 20:42:31 +0900 (JST)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Teika Kazura Cc: emacs-orgmode@gnu.org Hello, Teika Kazura writes: > Hello, org-world. I experience a regression in org-replace-disputed-keys, and I git-bisected it. > > * Symptom: org-replace-disputed-keys doesn't work for me. > Emacs version: GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.0.12) > > * How to reproduce it: > 1. Put the org to "/tmp/org-mode" > 2. Save the following lisp to "foo.el" > ----------------------------------------------------------------------- > (progn > (setq org-replace-disputed-keys t) > (setq org-disputed-keys > '(([(shift up)] . [(ctrl up)]) > ([(shift down)] . [(ctrl down)]) > ([(shift left)] . [(ctrl left)]) > ([(shift right)] . [(ctrl right)]) > ([(shift meta right)] . [(shift control right)]) > ([(shift meta left)] . [(shift control left)]) > ([(shift meta up)] . [(shift control up)]) > ([(shift meta down)] . [(shift control down)]) > ([(shift control right)] . [(shift meta right)]) > ([(shift control left)] . [(shift meta left)])) > ) > (add-to-list 'load-path (expand-file-name "/tmp/org-mode/lisp")) > (pop-to-buffer "*scratch*") > (insert "* " (org-version) " (" (org-git-version) ")\n ") > (require 'org) > (org-mode)) > ------------------------------------------------------------------------ > 3. Run emacs with > $ emacs -Q -l foo.el > 4. M-x org-schedule, and press ctrl+. AFAICT, this is partly working. Combinations like [(shift control left)] are properly translated, but not [(shift up)]. Wouldn't this be related to some shift-translation Emacs does? Regards, -- Nicolas Goaziou