From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dale Snell Newsgroups: gmane.emacs.help Subject: Re: emacs does not record the position at which it opened a file Date: Sun, 19 Apr 2015 18:46:15 -0700 Organization: Organization? Me? ROFL!! Message-ID: <20150419184615.34e9700b@zothique.localdomain> References: Reply-To: ddsnell@frontier.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/CtICpP6k6wCUXZnkqgTsD/z"; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1429494470 335 80.91.229.3 (20 Apr 2015 01:47:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Apr 2015 01:47:50 +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:47:39 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 1Yk0oF-0006s8-01 for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Apr 2015 03:47:39 +0200 Original-Received: from localhost ([::1]:51546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yk0oD-0002kr-V2 for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Apr 2015 21:47:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yk0o3-0002kb-Eu for help-gnu-emacs@gnu.org; Sun, 19 Apr 2015 21:47:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yk0ny-0007Be-5w for help-gnu-emacs@gnu.org; Sun, 19 Apr 2015 21:47:27 -0400 Original-Received: from filter04.dlls.pa.frontiernet.net ([199.224.80.234]:52172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yk0ny-0007Ba-1n for help-gnu-emacs@gnu.org; Sun, 19 Apr 2015 21:47:22 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by filter04.dlls.pa.frontiernet.net (Postfix) with ESMTP id 192DE28F44F for ; Mon, 20 Apr 2015 01:47:21 +0000 (UTC) Original-Received: from relay03.dlls.pa.frontiernet.net ([199.224.80.246]) by localhost (filter04.dlls.pa.frontiernet.net [199.224.80.234]) (amavisd-new, port 10024) with LMTP id PJM3mQwiOue6 for ; Mon, 20 Apr 2015 01:47:09 +0000 (UTC) X-Originating-IP: [50.39.109.168] X-Previous-IP: 50.39.109.168 Original-Received: from zothique.localdomain (50-39-109-168.bvtn.or.frontiernet.net [50.39.109.168]) by relay03.dlls.pa.frontiernet.net (Postfix) with ESMTPA id 78A519405B for ; Mon, 20 Apr 2015 01:47:09 +0000 (UTC) In-Reply-To: X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; x86_64-redhat-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 199.224.80.234 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:103878 Archived-At: --Sig_/CtICpP6k6wCUXZnkqgTsD/z Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 19 Apr 2015 17:19:36 -0700 (PDT), in message d339042b-1cb8-4ca5-ba9d-3c70a8314cbd@googlegroups.com, gnuist006@gmail.com wrote: > emacs does not record the position at which it opened a file. Indeed, by default it does not. However, you can set it to do so. See the EmacsWiki page: > If I > move the cursor and then I say >=20 > C-u SPC, there is "no mark set in this buffer"=20 C-u SPC should give you four spaces. If it doesn't, you've got something mis-configured somewhere. C-x SPC sets the mark for rectangle mode; C-SPC sets the mark. =20 > I am sick of C-@ as I tend to forget. Use C-SPC instead. > Is there any remedy like this but it does not work, I tried >=20 > (set-mark-command nil) > (set-mark-command (point)) "set-mark-command" is a function that is bound to a keystroke. By default, C-@ and C-SPC. Either will work. Have you gone through the Emacs tutorial? If not, you should; it's got lots of very useful information. It's the first entry in the "Help" menu, or available through "C-h t" if you don't use the menus. The Info manual is also very useful, especially the Concept Index. Hope this helps. --Dale --=20 +----------+ +----------+ +-----------+ +---------+ +-------+ | Space is | | Space is | | It's Hard | | A Place | | Burma | | Big | | Dark | | to Find | | to Park | | Shave | +----------+ +----------+ +-----------+ +---------+ +-------+ --Sig_/CtICpP6k6wCUXZnkqgTsD/z Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVNFqcAAoJEB7OMKhvWRr88EIH/R4L9DgfViNvF4TWzg/x/gdL KFGdtd7C0D/yrSuZZwbCy5U0qAsdKg0fgYfNI8UxP+Nnpzu18lN8n60l2zk7P3fx +KnVfP/6x9+O3MjaAFXoh2aYuGFYJM5AzOC11GSIbkjtcfXvdEl1PhU2EywXOAtE J855WoTgZhWD2KaQcZoJau8pUbLK2YuAAvoALnlq+TafaLIbjjyAPnyO1kEg/OON 3cST7RemjTwQgYOAeBzqZuTFatMEWIrzHSTnLrLd7htAoYvGy3PyDPO+94qZksgr LHC0Q2PKVRhf1mNzeUB2h99W95rKsVN3xC7tq6JYim3jDE/O4oBflQkUq4e8Yhw= =p08x -----END PGP SIGNATURE----- --Sig_/CtICpP6k6wCUXZnkqgTsD/z--