all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Desktop + Save Place in Session
@ 2002-07-05 20:35 Eddie Bush
  2002-07-05 21:04 ` Eddie Bush
       [not found] ` <3D26AF76.34AD30D6@is.elta.co.il>
  0 siblings, 2 replies; 3+ messages in thread
From: Eddie Bush @ 2002-07-05 20:35 UTC (permalink / raw)


Hi, I'm trying to use the Desktop and also have Emacs recall where point 
was when I last visited a file.  I can get it to remember which files I 
was in just fine by appending the following to the end of my init file:

(desktop-load-default)
(desktop-read)

The issue I have is that Emacs doesn't seem to return to where point was 
at my previous visit.  Is there a way I can acheive the desired result? 
 I'd like to open the files I had open -and- also go to the spot I was 
in them.

Any pointers about where to look for the answer would be most greatly 
appreciated.

Thanks,

Eddie

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

* Re: Desktop + Save Place in Session
  2002-07-05 20:35 Desktop + Save Place in Session Eddie Bush
@ 2002-07-05 21:04 ` Eddie Bush
       [not found] ` <3D26AF76.34AD30D6@is.elta.co.il>
  1 sibling, 0 replies; 3+ messages in thread
From: Eddie Bush @ 2002-07-05 21:04 UTC (permalink / raw)


Incidentally, I have enabled all apropriate features (that I am aware 
of), but get an "either-or" for benefit.  Either I can load each file 
manually, in which case Emacs remembers where point was and takes me 
there, or I can have the convenience of having Emacs load the files I 
had open last time - and put me at the top of the file.

Eddie Bush wrote:

> Hi, I'm trying to use the Desktop and also have Emacs recall where 
> point was when I last visited a file.  I can get it to remember which 
> files I was in just fine by appending the following to the end of my 
> init file:
>
> (desktop-load-default)
> (desktop-read)
>
> The issue I have is that Emacs doesn't seem to return to where point 
> was at my previous visit.  Is there a way I can acheive the desired 
> result? I'd like to open the files I had open -and- also go to the 
> spot I was in them.
>
> Any pointers about where to look for the answer would be most greatly 
> appreciated.
>
> Thanks,
>
> Eddie
>
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
>

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

* Re: Desktop + Save Place in Session
       [not found] ` <3D26AF76.34AD30D6@is.elta.co.il>
@ 2002-07-08 13:48   ` Eddie Bush
  0 siblings, 0 replies; 3+ messages in thread
From: Eddie Bush @ 2002-07-08 13:48 UTC (permalink / raw)


Customize put that in for me.  It seems to do fine with all but the 
first buffer.  I'm not sure, but I'm wondering if possibly the initial 
splash screen is somehow affecting me.  Personally, I'd like to do away 
with it.  I liked just coming up to "*scratch*" if I had been visiting 
no files - and the file if I had - when things worked that way.  This is 
an XEmacs feature (I believe that's where it's from) that I think the 
"GNU Proper" version could do without.  There are plenty of other ways 
to inform the user of the version (IMHO).

Is there perhaps a way to disable that initial buffer altogether?  Is it 
set on a timer to go away?  Can I shorten that time to ... say 0? =)  I 
looked for a bit this morning, but I see absolutely nothing appropriate. 
  Perhaps that is because I don't know what I am looking for.  Could 
someone edify me a bit and tell me what I am looking for at least? =)

Thanks in advance for your time!

Eddie Bush

Eli Zaretskii wrote:
> Eddie Bush wrote:
> 
>>Hi, I'm trying to use the Desktop and also have Emacs recall where point
>>was when I last visited a file.  I can get it to remember which files I
>>was in just fine by appending the following to the end of my init file:
>>
>>(desktop-load-default)
>>(desktop-read)
>>
>>The issue I have is that Emacs doesn't seem to return to where point was
>>at my previous visit.  Is there a way I can acheive the desired result?
>> I'd like to open the files I had open -and- also go to the spot I was
>>in them.
> 
> 
> Add this to your .emacs:
> 
> (require 'saveplace)

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

end of thread, other threads:[~2002-07-08 13:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-05 20:35 Desktop + Save Place in Session Eddie Bush
2002-07-05 21:04 ` Eddie Bush
     [not found] ` <3D26AF76.34AD30D6@is.elta.co.il>
2002-07-08 13:48   ` Eddie Bush

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.