unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22389: 25.1.50; place in file not properly being saved
       [not found] <31200.1452998399@ccs.covici.com>
@ 2016-01-19 18:22 ` Glenn Morris
  2016-01-19 20:19   ` covici
  2016-01-19 22:13   ` covici
  0 siblings, 2 replies; 4+ messages in thread
From: Glenn Morris @ 2016-01-19 18:22 UTC (permalink / raw)
  To: covici; +Cc: 22389

covici@ccs.covici.com wrote:

> I have an emacs.desktop file and when I load it, all the files go to
> their appropriate places.  But if I am in emacs and I do a find-file, it
> always goes to the top.
> I am using a text console.

This is vague. Works for me. Please give a complete, minimal example
starting from emacs -Q. Mine follows. (Also please don't report bugs by
bcc, or however you did it).

rm -rf /tmp/foo
mkdir /tmp/foo
HOME=/tmp/foo ./src/emacs -Q -nw --eval '(save-place-mode 1)' ./src/README
M-: (goto-char 500)
C-x C-c
HOME=/tmp/foo ./src/emacs -Q -nw --eval '(save-place-mode 1)'
C-x C-f ./src/README
  -> point is at 500.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#22389: 25.1.50; place in file not properly being saved
  2016-01-19 18:22 ` bug#22389: 25.1.50; place in file not properly being saved Glenn Morris
@ 2016-01-19 20:19   ` covici
  2016-01-19 20:48     ` Glenn Morris
  2016-01-19 22:13   ` covici
  1 sibling, 1 reply; 4+ messages in thread
From: covici @ 2016-01-19 20:19 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 22389

This is not what I did.  What you did works for me, but if you are in
emacs already and find a file which was not at the beginning, you get to
the top of the file.

Glenn Morris <rgm@gnu.org> wrote:

> covici@ccs.covici.com wrote:
> 
> > I have an emacs.desktop file and when I load it, all the files go to
> > their appropriate places.  But if I am in emacs and I do a find-file, it
> > always goes to the top.
> > I am using a text console.
> 
> This is vague. Works for me. Please give a complete, minimal example
> starting from emacs -Q. Mine follows. (Also please don't report bugs by
> bcc, or however you did it).
> 
> rm -rf /tmp/foo
> mkdir /tmp/foo
> HOME=/tmp/foo ./src/emacs -Q -nw --eval '(save-place-mode 1)' ./src/README
> M-: (goto-char 500)
> C-x C-c
> HOME=/tmp/foo ./src/emacs -Q -nw --eval '(save-place-mode 1)'
> C-x C-f ./src/README
>   -> point is at 500.
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#22389: 25.1.50; place in file not properly being saved
  2016-01-19 20:19   ` covici
@ 2016-01-19 20:48     ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2016-01-19 20:48 UTC (permalink / raw)
  To: covici; +Cc: 22389

covici@ccs.covici.com wrote:

> This is not what I did.  What you did works for me, but if you are in
> emacs already and find a file which was not at the beginning, you get to
> the top of the file.

Please give a complete, minimal example starting from emacs -Q.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#22389: 25.1.50; place in file not properly being saved
  2016-01-19 18:22 ` bug#22389: 25.1.50; place in file not properly being saved Glenn Morris
  2016-01-19 20:19   ` covici
@ 2016-01-19 22:13   ` covici
  1 sibling, 0 replies; 4+ messages in thread
From: covici @ 2016-01-19 22:13 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 22389

OK, I fixed the problem, not sure what happened, re customizing
save-place fixed things, so you can close this bug.

Thanks.

Glenn Morris <rgm@gnu.org> wrote:

> covici@ccs.covici.com wrote:
> 
> > I have an emacs.desktop file and when I load it, all the files go to
> > their appropriate places.  But if I am in emacs and I do a find-file, it
> > always goes to the top.
> > I am using a text console.
> 
> This is vague. Works for me. Please give a complete, minimal example
> starting from emacs -Q. Mine follows. (Also please don't report bugs by
> bcc, or however you did it).
> 
> rm -rf /tmp/foo
> mkdir /tmp/foo
> HOME=/tmp/foo ./src/emacs -Q -nw --eval '(save-place-mode 1)' ./src/README
> M-: (goto-char 500)
> C-x C-c
> HOME=/tmp/foo ./src/emacs -Q -nw --eval '(save-place-mode 1)'
> C-x C-f ./src/README
>   -> point is at 500.
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-19 22:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <31200.1452998399@ccs.covici.com>
2016-01-19 18:22 ` bug#22389: 25.1.50; place in file not properly being saved Glenn Morris
2016-01-19 20:19   ` covici
2016-01-19 20:48     ` Glenn Morris
2016-01-19 22:13   ` covici

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).