all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* CVS Emacs Cygwin crash and browse-url question.
@ 2007-04-12 19:25 Alex Bochannek
  2007-04-13  9:27 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Bochannek @ 2007-04-12 19:25 UTC (permalink / raw)
  To: emacs-devel

Hello,

I have been trying to use CVS Emacs under Cygwin(*) for a while and had
experienced frequent SEGVs(**), which led me to stick with EmacsW32. I
tried to get it to run reliably again in my environment and finally
determined that the root cause of this problem is tool-bar-mode. It
seems to have something to do with a string object that has a bogus
address in it and the garbage collector trips over it. It's trivial to
reproduce(***) and even though I can live just fine without
tool-bar-mode I would be happy to help troubleshoot it.


CVS Emacs under Cygwin is working quite well for me now, but I noticed
that browse-url doesn't work. It seems odd to me that:

(defcustom browse-url-browser-function
  (cond
   ((memq system-type '(windows-nt ms-dos cygwin))
    'browse-url-default-windows-browser)
    ...

and

(defun browse-url-default-windows-browser (url &optional new-window)
  (interactive (browse-url-interactive-arg "URL: "))
  (if (eq system-type 'ms-dos)
      (if dos-windows-version
	  (shell-command (concat "start " (shell-quote-argument url)))
	(error "Browsing URLs is not supported on this system"))
    (w32-shell-execute "open" url)))

but obviously none of the w32 functions are included for the Cygwin
target.

I would like to be able to use the browser configured as default for
Windows and that's something that worked really well with EmacsW32 -
select a URL, a new tab opens up in Firefox. Obviously, I would rather
not run an additional browser under Cygwin and as useful as
text-browsers are for some content within an Emacs buffer, an external
Firefox is what works well for me.

I hope the observation regarding tool-bar-mode is useful and am looking
forward to suggestions on the browse-url issue.

Thanks,

Alex.


(*) GNU Emacs 22.0.97.1, X toolkit, Xaw3d scroll bars, CYGWIN_NT-5.1
    1.5.24(0.156/4/2), Microsoft Windows XP [Version 5.1.2600] SP1,
    AttachmateWRQ Reflection X 14.0.0.

(**) Program received signal SIGSEGV, Segmentation fault.
     0x200f204c in mark_object (arg=536990987) at alloc.c:5515
     5515            MARK_INTERVAL_TREE (ptr->intervals);

(**) emacs -q; C-h i; keep SPACE depressed until Emacs crashes

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

end of thread, other threads:[~2007-04-14 11:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-12 19:25 CVS Emacs Cygwin crash and browse-url question Alex Bochannek
2007-04-13  9:27 ` Eli Zaretskii
2007-04-13 23:27   ` Alex Bochannek
2007-04-14  2:23   ` Alex Bochannek
2007-04-14 11:31     ` Eli Zaretskii

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.