From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Unable to Jump to a File/Directory Register Date: Tue, 13 Aug 2013 23:59:29 -0700 (PDT) Message-ID: <9c85f2db-c73e-4ef4-b710-5bd89dcfabf3@default> References: <520B1B85.307@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1376463604 23738 80.91.229.3 (14 Aug 2013 07:00:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2013 07:00:04 +0000 (UTC) To: Eric James Michael Ritz , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 14 09:00:03 2013 Return-path: Envelope-to: geh-help-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 1V9V3r-0005gS-GW for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Aug 2013 09:00:03 +0200 Original-Received: from localhost ([::1]:48601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9V3o-0002Wg-UR for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Aug 2013 03:00:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9V3W-0002Vp-J5 for help-gnu-emacs@gnu.org; Wed, 14 Aug 2013 02:59:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9V3N-00080C-Rp for help-gnu-emacs@gnu.org; Wed, 14 Aug 2013 02:59:42 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:40170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9V3N-000802-LY for help-gnu-emacs@gnu.org; Wed, 14 Aug 2013 02:59:33 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r7E6xUQ8010822 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 14 Aug 2013 06:59:31 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r7E6xT3Y019024 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Aug 2013 06:59:30 GMT Original-Received: from abhmt118.oracle.com (abhmt118.oracle.com [141.146.116.70]) by userz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r7E6xT5o020606; Wed, 14 Aug 2013 06:59:29 GMT In-Reply-To: <520B1B85.307@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6668.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92870 Archived-At: > I have run into a problem with registers, which was easy to deal with, > but I want to know if anyone else has seen this issue before. I > define some registers in my dot-Emacs file for quick access to certain > files and directories. This is the particular register that gave me > problems: >=20 > (set-register ?f '(file . "~/.config/fish/")) >=20 > Whenever I attempted `C-x r j f` Emacs would respond with > =E2=80=98jump-to-register: Register doesn't contain a buffer position or > configuration=E2=80=99. However, it would work if I went to that > `set-register` call and manually evaluated it. >=20 > I =E2=80=98fixed=E2=80=99 the problem by just using a different letter; s= pecifically, > I use `?s` as the register now instead of `?f`, and it works without > any problems. Has anyone else ever run into problems with using `?f` > as a register for short-cut access to files or directories? I am > using the following version of Emacs: >=20 > GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.13). I don't see what you see - it works fine for me. Do you see this if you start from `emacs -Q' (no init file)? If so, load library `register.el' (yes, include the `.el' when you use `load-library'). The do `M-x debug-on-entry jump-to-register' and the walk through the debugger (using `d') to see what happens. Before doing that show file register.el in another window or frame so you can easily follow where the debugger is in the code. (If I had to guess, it would be that you are not starting from `emacs -Q' and something in your init file or code it loads is messing things up.)