* Desktop locking broken with lazy desktop.
@ 2007-06-15 13:04 Jan Djärv
2007-06-15 13:09 ` Jan Djärv
0 siblings, 1 reply; 8+ messages in thread
From: Jan Djärv @ 2007-06-15 13:04 UTC (permalink / raw)
To: emacs-devel
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
I have lazy loading of the desktop enabled.
Everytime I start Emacs, it says:
Warning: desktop file appears to be in use by PID 2932.
Using it may cause conflicts. Use it anyway? (y or n)
where 2932 is the pid for the previous Emacs (cleanly shutdown with C-x C-c).
But lazy desktop loads the desktop anyway even if I don't answer the question.
If I anser yes, it loads the desktop twice.
I've checked, there is no .emacs.desktop.lock when I start Emacs.
This happens all the time.
Jan D.
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/opt/emacs/share/emacs/22.1.50/etc/DEBUG for instructions.
In GNU Emacs 22.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.12)
of 2007-06-14 on dentan.operax.com
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure '--prefix=/opt/emacs' '--verbose'
'--enable-asserts' '--with-x-toolkit=gtk' 'CFLAGS=-g''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: C
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: sv_SE.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
desktop-save-mode: t
delete-selection-mode: t
icomplete-mode: t
display-time-mode: t
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<help-echo> C-g C-g <down-mouse-1> <down-mouse-1> <mouse-1>
C-x b * M <tab> <return> <escape> <escape> < <down-mouse-1>
<down-mouse-1> <mouse-1> C-a <escape> > <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <help-menu> <re
port-emacs-bug>
Recent messages:
Desktop lazily opening insert-topology-big (5 remaining)...
Loading /home/jan/lib/elisp/iqcli-mode.el (source)...done
Desktop lazily opening insert-topology-big (5 remaining)...done
Desktop lazily opening obj_conf.h (4 remaining)...done
Desktop lazily opening iqha_states.h (3 remaining)...done
Desktop lazily opening bug.h (2 remaining)...done
Desktop lazily opening loaddefs.el (1 remaining)...done
Lazy desktop load complete
Mark set
Loading emacsbug...done
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Desktop locking broken with lazy desktop.
2007-06-15 13:04 Desktop locking broken with lazy desktop Jan Djärv
@ 2007-06-15 13:09 ` Jan Djärv
2007-06-15 15:57 ` Juanma Barranquero
0 siblings, 1 reply; 8+ messages in thread
From: Jan Djärv @ 2007-06-15 13:09 UTC (permalink / raw)
To: emacs-devel
Jan Djärv skrev:
>
> I have lazy loading of the desktop enabled.
> Everytime I start Emacs, it says:
>
> Warning: desktop file appears to be in use by PID 2932.
> Using it may cause conflicts. Use it anyway? (y or n)
>
> where 2932 is the pid for the previous Emacs (cleanly shutdown with C-x
> C-c).
Actually it is the pid for the Emacs that asks the question.
Jan D.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Desktop locking broken with lazy desktop.
2007-06-15 13:09 ` Jan Djärv
@ 2007-06-15 15:57 ` Juanma Barranquero
2007-06-15 16:32 ` Jan Djärv
0 siblings, 1 reply; 8+ messages in thread
From: Juanma Barranquero @ 2007-06-15 15:57 UTC (permalink / raw)
To: Jan Djärv; +Cc: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 411 bytes --]
On 6/15/07, Jan Djärv <jan.h.d@swipnet.se> wrote:
> Actually it is the pid for the Emacs that asks the question.
Aha, that makes more sense.
Could you please try setting `desktop-load-locked-desktop' to nil to
see whether that helps?
I'll take a look at the problem as soon as I can. Also, though I love
the feature, I think perhaps there should be an option to disable it
completely.
Juanma
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Desktop locking broken with lazy desktop.
2007-06-15 15:57 ` Juanma Barranquero
@ 2007-06-15 16:32 ` Jan Djärv
2007-06-15 17:34 ` Juanma Barranquero
2007-06-15 23:34 ` Juanma Barranquero
0 siblings, 2 replies; 8+ messages in thread
From: Jan Djärv @ 2007-06-15 16:32 UTC (permalink / raw)
To: Juanma Barranquero; +Cc: emacs-devel
Juanma Barranquero skrev:
> On 6/15/07, Jan Djärv <jan.h.d@swipnet.se> wrote:
>
>> Actually it is the pid for the Emacs that asks the question.
>
> Aha, that makes more sense.
>
> Could you please try setting `desktop-load-locked-desktop' to nil to
> see whether that helps?
>
> I'll take a look at the problem as soon as I can. Also, though I love
> the feature, I think perhaps there should be an option to disable it
Yes that works, but then when I exit emacs it asks me for the desktop
directory rather than just saving it where it read it as it usually does.
Jan D.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Desktop locking broken with lazy desktop.
2007-06-15 16:32 ` Jan Djärv
@ 2007-06-15 17:34 ` Juanma Barranquero
2007-06-15 23:34 ` Juanma Barranquero
1 sibling, 0 replies; 8+ messages in thread
From: Juanma Barranquero @ 2007-06-15 17:34 UTC (permalink / raw)
To: Jan Djärv; +Cc: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 315 bytes --]
On 6/15/07, Jan Djärv <jan.h.d@swipnet.se> wrote:
> Yes that works, but then when I exit emacs it asks me for the desktop
> directory rather than just saving it where it read it as it usually does.
I'll look into it. I don't use desktop's lazy loading, and it seems
Davis doesn't either. :)
Juanma
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Desktop locking broken with lazy desktop.
2007-06-15 16:32 ` Jan Djärv
2007-06-15 17:34 ` Juanma Barranquero
@ 2007-06-15 23:34 ` Juanma Barranquero
2007-06-19 6:54 ` Hefuhua
1 sibling, 1 reply; 8+ messages in thread
From: Juanma Barranquero @ 2007-06-15 23:34 UTC (permalink / raw)
To: Jan Djärv; +Cc: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 397 bytes --]
On 6/15/07, Jan Djärv <jan.h.d@swipnet.se> wrote:
> Yes that works, but then when I exit emacs it asks me for the desktop
> directory rather than just saving it where it read it as it usually does.
I've been unable to reproduce any problem with desktop lazy loading
and desktop locking. Could you please send a step-by-step recipe, with
the simplest .emacs you can manage?
Juanma
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-06-19 10:42 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-15 13:04 Desktop locking broken with lazy desktop Jan Djärv
2007-06-15 13:09 ` Jan Djärv
2007-06-15 15:57 ` Juanma Barranquero
2007-06-15 16:32 ` Jan Djärv
2007-06-15 17:34 ` Juanma Barranquero
2007-06-15 23:34 ` Juanma Barranquero
2007-06-19 6:54 ` Hefuhua
2007-06-19 10:42 ` Juanma Barranquero
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).