From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexis Newsgroups: gmane.emacs.help Subject: Re: emacs does not record the position at which it opened a file Date: Mon, 20 Apr 2015 11:18:11 +1000 Message-ID: <87h9sbd2cs.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: ger.gmane.org 1429492725 9886 80.91.229.3 (20 Apr 2015 01:18:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Apr 2015 01:18:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 20 03:18:40 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 1Yk0M7-0004al-EJ for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Apr 2015 03:18:35 +0200 Original-Received: from localhost ([::1]:51496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yk0M6-0007wK-Ga for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Apr 2015 21:18:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yk0Lu-0007v0-6l for help-gnu-emacs@gnu.org; Sun, 19 Apr 2015 21:18:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yk0Lq-0004Kd-UK for help-gnu-emacs@gnu.org; Sun, 19 Apr 2015 21:18:22 -0400 Original-Received: from mail-pd0-x236.google.com ([2607:f8b0:400e:c02::236]:36301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yk0Lq-0004KR-MW for help-gnu-emacs@gnu.org; Sun, 19 Apr 2015 21:18:18 -0400 Original-Received: by pdea3 with SMTP id a3so191340848pde.3 for ; Sun, 19 Apr 2015 18:18:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:to:subject:in-reply-to:date:message-id:mime-version :content-type; bh=3+LpVbRpVR2q0+TsL9zLX7Scg0RipcIduOuq5AAJzMY=; b=K/jHogErf8VhmCD8WIfj29MxBchZ87llQ1Q5Ano2N/ubXeq2igQbt0q9CR3LJ9c0uq 5YzPMqov0d1ZZ5ECjcDZgazDhRqzFsPnOYQSYUH+HwAQ/SInYwN+S0f/ZgsO0I9v+VvL 34HZUMTbMrLCmI4sVou56M7F544rmtqBpvr144QqFHX03dz677dZMJQMRPA+ULT9BiZR WOT3s6dXJBInUGwtyeomqi97FWiN3nEh3kmBErIlVaLogBFAumCu5YdujyeIH56HGtak B03yp4UW/rb9EzXx1VLW25ofPnnpwuI1103W2wxqN3a/5bggV2TP9fv3p/6g6zkF4nBA hd3w== X-Received: by 10.70.44.76 with SMTP id c12mr23950781pdm.49.1429492697680; Sun, 19 Apr 2015 18:18:17 -0700 (PDT) Original-Received: from localhost (ppp118-209-46-94.lns20.mel4.internode.on.net. [118.209.46.94]) by mx.google.com with ESMTPSA id el6sm16291442pdb.93.2015.04.19.18.18.15 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 19 Apr 2015 18:18:16 -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:400e:c02::236 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:103876 Archived-At: gnuist006@gmail.com writes: > emacs does not record the position at which it opened a file. If > I move the cursor and then I say > > C-u SPC, there is "no mark set in this buffer" > > I am sick of C-@ as I tend to forget. > > Is there any remedy like this but it does not work, I tried > > (set-mark-command nil) (set-mark-command (point)) Perhaps you want `saveplace'? See the save-place-* variables for setup. Alexis.