From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: gnu ist Newsgroups: gmane.emacs.help Subject: Re: emacs does not record the position at which it opened a file Date: Mon, 20 Apr 2015 08:48:51 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1429544949 17767 80.91.229.3 (20 Apr 2015 15:49:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Apr 2015 15:49:09 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 20 17:49:06 2015 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 1YkDwX-0000O3-Fh for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Apr 2015 17:49:05 +0200 Original-Received: from localhost ([::1]:54274 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkDwW-00088a-P1 for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Apr 2015 11:49:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkDwL-00088K-MH for help-gnu-emacs@gnu.org; Mon, 20 Apr 2015 11:48:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkDwK-00040Y-Pq for help-gnu-emacs@gnu.org; Mon, 20 Apr 2015 11:48:53 -0400 Original-Received: from mail-ob0-x230.google.com ([2607:f8b0:4003:c01::230]:35456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkDwK-00040L-Jw for help-gnu-emacs@gnu.org; Mon, 20 Apr 2015 11:48:52 -0400 Original-Received: by obcux3 with SMTP id ux3so17636481obc.2 for ; Mon, 20 Apr 2015 08:48:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bqbkjkc3McE7pmiXyZwiuux7+A+SGolFh3Zak2wvh/s=; b=mpUPxbqumNFEIrziGo4em+01fgdzYlAfFqQgqozsxYX0iMQ8/ui4nJSntHxi5tu2Hh RQZDCcm1qhGVCWzNqSR+AmTwI65fniHB5KcnBemLzIXZh1SVbCagbzkQCCa5T8aJKk4O +tDgNF2hQzbNekbNb50L5vCyvQkQbNIflH+qjdQZc8M0vNj6cKPE/fnQNd5zSSLSDZRP IhQL3/JK44FNC2XCBstkV9crsHy/QRPoVbU4kh67DxcRIzNGZ4CaTr9xCpE5c3yxVJKh PeWFxF6h4KdNdPTsj6evHxIjo14bbMhbt+2sVpwj+jIb2ewvTJUGP52IdN/xmSTzbQee cPTg== X-Received: by 10.202.176.134 with SMTP id z128mr14158447oie.102.1429544931610; Mon, 20 Apr 2015 08:48:51 -0700 (PDT) Original-Received: by 10.182.21.204 with HTTP; Mon, 20 Apr 2015 08:48:51 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::230 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:103886 Archived-At: yes, but you and others have not answered the question asked in the thread. what to put in .emacs so that when the file is opened, the position of the cursor is pushed onto the stack as if it was C-@ On Mon, Apr 20, 2015 at 4:52 AM, Yuri Khan wrote: > On Mon, Apr 20, 2015 at 12:52 PM, wrote: > > My old emacs has this feature that when I open a file, it goes to a > place from the saveplace and then after it, if I move the cursor and type > C-u SPC, it will remember the old place in that same session and possibly > other locations it pushed into some kind of stack and go back in the > reverse order based on C-u SPC. > > The default key binding for this is C-u C-SPC, not C-u SPC. >