all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#6274: 23.2; url-retrieve-synchronously freezes
@ 2010-05-26  9:01 Johan Andersson
  2010-05-27 16:53 ` Glenn Morris
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Johan Andersson @ 2010-05-26  9:01 UTC (permalink / raw)
  To: 6274

Hey,

The function `url-retrieve-synchronously' defined in url.el does not
work as expected. When calling the function, everything freezes,
but only until I either move the mouse or press something on the
keyboard. Then the action continues to execute.

The problem is easiest reproduced with this:
(let ((url "http://google.com"))
  (switch-to-buffer (url-retrieve-synchronously (url-generic-parse-url
  url))))

The problem appears for me both in ELPA and in HTML Script Src
(http://github.com/rejeep/html-script-src)

Thanks!



In GNU Emacs 23.2.1 (x86_64-apple-darwin10.3.2, NS apple-appkit-1038.29)
of 2010-05-11 on Johan-Anderssons-MacBook-Pro.local
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--prefix=/usr/local/Cellar/emacs/23.2' '--without-dbus' '--enable-locallisppath=/usr/local/share/emacs/site-lisp' '--with-ns' '--disable-ns-self-contained' 'CC=/usr/bin/cc' 'CFLAGS=-O3 -march=core2 -msse4.1 -w -pipe''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x b <return> C-y C-x C-e C-x <return> C-g C-x k <return> 
C-SPC C-p C-p C-x s-w C-g C-n C-n C-y C-p C-p C-p C-e 
C-SPC C-a C-p M-x M-p M-p c l i <tab> p <backspace> 
k i <tab> i <tab> <return> M-x e m a c s - b u <tab> 
<backspace> <backspace> r e <tab> p o <tab> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> r e 
p o <tab> o <tab> <backspace> r <tab> <return>

Recent messages:
Reading [text/html; charset=UTF-8]... 229 bytes of 218 bytes (105%)
Reading... done.
www.google.se tried to set a cookie for domain .google.se - rejected.
#<buffer  *http www.google.se:80*>
Mark set
Quit
Mark set [2 times]
goto-history-element: Beginning of history; no preceding item [2 times]
Making completion list...
call-interactively: End of buffer [2 times]

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailabbrev nnheader
gnus-util netrc gmm-utils wid-edit mailheader canlock sha1 hex-util
hashcash emacsbug help-mode view mail-utils url-cache url-http tls
url-auth mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums time-date
url-gw url url-proxy url-privacy url-expand url-methods url-history
url-cookie url-util url-parse timezone url-vars mm-util mail-prsvr
mailcap tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win
easymenu tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process ns multi-tty emacs)





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

* bug#6274: 23.2; url-retrieve-synchronously freezes
  2010-05-26  9:01 bug#6274: 23.2; url-retrieve-synchronously freezes Johan Andersson
@ 2010-05-27 16:53 ` Glenn Morris
  2010-05-27 17:00   ` Lennart Borgman
  2010-12-15  0:02 ` bug#6274: Brian Stiles
  2015-12-25 22:08 ` bug#6274: 23.2; url-retrieve-synchronously freezes Lars Ingebrigtsen
  2 siblings, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2010-05-27 16:53 UTC (permalink / raw)
  To: 6274

Johan Andersson wrote:

> (let ((url "http://google.com"))
>   (switch-to-buffer (url-retrieve-synchronously (url-generic-parse-url
>   url))))

This works fine for me on GNU/Linux, so this may be nextstep-specific.

> In GNU Emacs 23.2.1 (x86_64-apple-darwin10.3.2, NS apple-appkit-1038.29)
> of 2010-05-11 on Johan-Anderssons-MacBook-Pro.local
[...]
> 'CFLAGS=-O3 -march=core2 -msse4.1 -w -pipe''





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

* bug#6274: 23.2; url-retrieve-synchronously freezes
  2010-05-27 16:53 ` Glenn Morris
@ 2010-05-27 17:00   ` Lennart Borgman
  2010-05-27 17:36     ` Johan Andersson
  0 siblings, 1 reply; 6+ messages in thread
From: Lennart Borgman @ 2010-05-27 17:00 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 6274

On Thu, May 27, 2010 at 6:53 PM, Glenn Morris <rgm@gnu.org> wrote:
> Johan Andersson wrote:
>
>> (let ((url "http://google.com"))
>>   (switch-to-buffer (url-retrieve-synchronously (url-generic-parse-url
>>   url))))
>
> This works fine for me on GNU/Linux, so this may be nextstep-specific.

Works on w32 too with a trunk checkout from 2010-05-14.





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

* bug#6274: 23.2; url-retrieve-synchronously freezes
  2010-05-27 17:00   ` Lennart Borgman
@ 2010-05-27 17:36     ` Johan Andersson
  0 siblings, 0 replies; 6+ messages in thread
From: Johan Andersson @ 2010-05-27 17:36 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: 6274

[-- Attachment #1: Type: text/plain, Size: 504 bytes --]

Can anyone running OSX check this as well?

On Thu, May 27, 2010 at 7:00 PM, Lennart Borgman
<lennart.borgman@gmail.com>wrote:

> On Thu, May 27, 2010 at 6:53 PM, Glenn Morris <rgm@gnu.org> wrote:
> > Johan Andersson wrote:
> >
> >> (let ((url "http://google.com"))
> >>   (switch-to-buffer (url-retrieve-synchronously (url-generic-parse-url
> >>   url))))
> >
> > This works fine for me on GNU/Linux, so this may be nextstep-specific.
>
> Works on w32 too with a trunk checkout from 2010-05-14.
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 940 bytes --]

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

* bug#6274:
  2010-05-26  9:01 bug#6274: 23.2; url-retrieve-synchronously freezes Johan Andersson
  2010-05-27 16:53 ` Glenn Morris
@ 2010-12-15  0:02 ` Brian Stiles
  2015-12-25 22:08 ` bug#6274: 23.2; url-retrieve-synchronously freezes Lars Ingebrigtsen
  2 siblings, 0 replies; 6+ messages in thread
From: Brian Stiles @ 2010-12-15  0:02 UTC (permalink / raw)
  To: 6274

[-- Attachment #1: Type: text/plain, Size: 167 bytes --]

I have been experiencing this as well.  Also on a Mac.  Any advice as to how I can provide more information to help track this down and fix it?

--
Brian Stiles


[-- Attachment #2: Type: text/html, Size: 1974 bytes --]

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

* bug#6274: 23.2; url-retrieve-synchronously freezes
  2010-05-26  9:01 bug#6274: 23.2; url-retrieve-synchronously freezes Johan Andersson
  2010-05-27 16:53 ` Glenn Morris
  2010-12-15  0:02 ` bug#6274: Brian Stiles
@ 2015-12-25 22:08 ` Lars Ingebrigtsen
  2 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2015-12-25 22:08 UTC (permalink / raw)
  To: Johan Andersson; +Cc: 6274

Johan Andersson <johan.rejeep@gmail.com> writes:

> The function `url-retrieve-synchronously' defined in url.el does not
> work as expected. When calling the function, everything freezes,
> but only until I either move the mouse or press something on the
> keyboard. Then the action continues to execute.
>
> The problem is easiest reproduced with this:
> (let ((url "http://google.com"))
>   (switch-to-buffer (url-retrieve-synchronously (url-generic-parse-url
>   url))))

This bug report is five years old, and I haven't seen any similar
reports the last few years, so I think this is fixed.

So I'm closing this bug report.  If the problem still exists, please
reopen this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2015-12-25 22:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-26  9:01 bug#6274: 23.2; url-retrieve-synchronously freezes Johan Andersson
2010-05-27 16:53 ` Glenn Morris
2010-05-27 17:00   ` Lennart Borgman
2010-05-27 17:36     ` Johan Andersson
2010-12-15  0:02 ` bug#6274: Brian Stiles
2015-12-25 22:08 ` bug#6274: 23.2; url-retrieve-synchronously freezes Lars Ingebrigtsen

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.