all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* saving ses files
@ 2019-01-27  6:44 Boruch Baum
  2019-01-27  9:57 ` Stefan Monnier
  2019-01-27 15:26 ` Eli Zaretskii
  0 siblings, 2 replies; 4+ messages in thread
From: Boruch Baum @ 2019-01-27  6:44 UTC (permalink / raw)
  To: Emacs-Devel List

I'm having trouble identifying a bug. In my 'loaded' emacs v26.1
session, I can't save any form of ses file; emacs says "saving ...." but
never returns, until I C-g out, and the file isn't saved. However, no
such problem exists when trying the same for a new "emacs -Q -nw"
session. Does anyone have any pointers how to track down what is hanging
the save command?

Some notes:

1) toggle-debug-on-error isn't catching anything.

2) Even though emacs isn't returning from the save command, it is
   auto-magically creating backup files (eg. #1.ses$, 1.ses~).

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0



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

* Re: saving ses files
  2019-01-27  6:44 saving ses files Boruch Baum
@ 2019-01-27  9:57 ` Stefan Monnier
  2019-01-27 15:26 ` Eli Zaretskii
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2019-01-27  9:57 UTC (permalink / raw)
  To: emacs-devel

> 1) toggle-debug-on-error isn't catching anything.

You want to use (setq debug-on-quit t) so that you get a backtrace when
you C-g (contrary to debug-on-error, I find this setting annoying in
general, so you only want to set it temporarily to track your specific bug).


        Stefan




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

* Re: saving ses files
  2019-01-27  6:44 saving ses files Boruch Baum
  2019-01-27  9:57 ` Stefan Monnier
@ 2019-01-27 15:26 ` Eli Zaretskii
  2019-01-27 16:17   ` Boruch Baum
  1 sibling, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2019-01-27 15:26 UTC (permalink / raw)
  To: Boruch Baum; +Cc: emacs-devel

> Date: Sun, 27 Jan 2019 01:44:29 -0500
> From: Boruch Baum <boruch_baum@gmx.com>
> 
> I'm having trouble identifying a bug. In my 'loaded' emacs v26.1
> session, I can't save any form of ses file; emacs says "saving ...." but
> never returns, until I C-g out, and the file isn't saved. However, no
> such problem exists when trying the same for a new "emacs -Q -nw"
> session. Does anyone have any pointers how to track down what is hanging
> the save command?

I believe this is bug#31557, already solved for Emacs 26.2.  You could
try the patch shown there.



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

* Re: saving ses files
  2019-01-27 15:26 ` Eli Zaretskii
@ 2019-01-27 16:17   ` Boruch Baum
  0 siblings, 0 replies; 4+ messages in thread
From: Boruch Baum @ 2019-01-27 16:17 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

On 2019-01-27 17:26, Eli Zaretskii wrote:
> > From: Boruch Baum <boruch_baum@gmx.com>
> > ...
> > I can't save any form of ses file
> > ...
> I believe this is bug#31557, already solved for Emacs 26.2.  You could
> try the patch shown there.

Spot on. That did the trick. Thanks, and on top of that I learned to use
toggle-debug-on-quit as an alternative to toggle-debug-on-error...

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0



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

end of thread, other threads:[~2019-01-27 16:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-27  6:44 saving ses files Boruch Baum
2019-01-27  9:57 ` Stefan Monnier
2019-01-27 15:26 ` Eli Zaretskii
2019-01-27 16:17   ` Boruch Baum

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.