* Desktop save
@ 2003-04-08 12:32 Sebastian Tennant
0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Tennant @ 2003-04-08 12:32 UTC (permalink / raw)
Hi all.
Can anyone think why text-mode file-visiting buffers are restored in
fundamental-mode between sessions. The minor mode (auto-fill) is being
preserved but not the major mode! This one is driving me crazy!
Seb.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Desktop save
[not found] <mailman.4276.1049805150.21513.help-gnu-emacs@gnu.org>
@ 2003-04-08 13:14 ` Phillip Lord
2003-04-08 14:39 ` Sebastian Tennant
0 siblings, 1 reply; 4+ messages in thread
From: Phillip Lord @ 2003-04-08 13:14 UTC (permalink / raw)
>>>>> "Sebastian" == Sebastian Tennant <seb@albert.vcisp.net> writes:
Sebastian> Hi all.
Sebastian> Can anyone think why text-mode file-visiting buffers are
Sebastian> restored in fundamental-mode between sessions. The minor
Sebastian> mode (auto-fill) is being preserved but not the major
Sebastian> mode! This one is driving me crazy!
Something is crashing when one of these modes is trying to load
perhaps. Have you checked *messages*?
Cheers
Phil
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Desktop save
2003-04-08 13:14 ` Desktop save Phillip Lord
@ 2003-04-08 14:39 ` Sebastian Tennant
0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Tennant @ 2003-04-08 14:39 UTC (permalink / raw)
Cc: help-gnu-emacs
On Tuesday, April 8, 2003, at 02:14 pm, Phillip Lord wrote:
> Something is crashing when one of these modes is trying to load
> perhaps. Have you checked *messages*?
Hi Phil.
Thanks for taking the time to think about this one. Here's my usual
*Messages* buffer upon start-up:
(emacs)
Loading disp-table...done
Loading /Users/sebbyt/.xemacs/init.el (source)...done
Loading /Users/sebbyt/.xemacs/custom.el (source)...done
Loading dired...done
Reading directory /Users/sebbyt/.Terminal_folder/...done
Desktop loaded.
For information about the GNU Project and its goals, type C-h C-p.
Seemingly no problem there. However within 'customize-group RET
desktop' desktop-buffer-handlers says the following:
Desktop Buffer Handlers: [Hide]
[INS] [DEL] Function: desktop-buffer-dired
[INS] [DEL] Function: desktop-buffer-rmail
[INS] [DEL] Function: desktop-buffer-mh
[INS] [DEL] Function: desktop-buffer-info
[INS] [DEL] Function: desktop-buffer-file
[INS]
[State]: this option is unchanged from its standard setting.
List of functions to call in order to create a buffer. [Hide]
The functions are called without explicit parameters but can use the
variables `desktop-buffer-major-mode', `desktop-buffer-file-name',
`desktop-buffer-name'.
If one function returns non-nil, no further functions are called.
If the function returns t then the buffer is considered created.
I'm at a loss, not being a Lisp programmer, (or any sort of programmer
for that matter), but I've established that the function
desktop-buffer-file, (the last in the list), deals with restoring
buffers that visit files in the correct major/minor modes etc.
Other things aren't working such as modes I've put in
desktop-modes-not-to-save being ignored. But let's tackle one thing at
a time hey!
Any ideas?
Seb.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Desktop save
[not found] <mailman.4283.1049813159.21513.help-gnu-emacs@gnu.org>
@ 2003-04-08 15:02 ` Phillip Lord
0 siblings, 0 replies; 4+ messages in thread
From: Phillip Lord @ 2003-04-08 15:02 UTC (permalink / raw)
>>>>> "Sebastian" == Sebastian Tennant <seb@albert.vcisp.net> writes:
Sebastian> On Tuesday, April 8, 2003, at 02:14 pm, Phillip Lord
Sebastian> wrote:
>> Something is crashing when one of these modes is trying to load
>> perhaps. Have you checked *messages*?
Sebastian> Hi Phil.
Sebastian> Thanks for taking the time to think about this one.
Sebastian> Here's my usual *Messages* buffer upon start-up:
Sebastian> Other things aren't working such as modes I've put in
Sebastian> desktop-modes-not-to-save being ignored. But let's
Sebastian> tackle one thing at a time hey!
Sebastian> Any ideas?
Not off the top of my head. That things are not all working as
expected is a worry.
The best advice that I can give you, is to try and narrow the problem
down somewhat. Try and create a fake .emacs (which you can load with
-q -l), which just forces a desktop load, and see if you still get the
same problem.
Also see if you have any desktop customisation, either using custom,
or by hand in your .emacs. Try removing all of this, as some of it
could be causing the problem.
Cheers
Phil
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-04-08 15:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.4276.1049805150.21513.help-gnu-emacs@gnu.org>
2003-04-08 13:14 ` Desktop save Phillip Lord
2003-04-08 14:39 ` Sebastian Tennant
[not found] <mailman.4283.1049813159.21513.help-gnu-emacs@gnu.org>
2003-04-08 15:02 ` Phillip Lord
2003-04-08 12:32 Sebastian Tennant
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.