             (request-search-results
                 ;;(concat "*" query "*")
                 query
+                view-style
                 view-min-sharability view-max-sharability view-min-weight view-max-weight))))
 
 (defun not-in-view ()

(setq view-depth 3)
(setq view-root nil)
(setq view-title nil)
(setq view-style "targets")
(setq view-min-sharability 0.25)
(setq view-max-sharability 1)
(setq view-min-weight 0.25)

            "&maxWeight=" (number-to-string maxw)
            "&style=" style))

(defun request-search-results (query style minv maxv minw maxw)
    (setq view-current-line 1)
    (http-get
        (concat (base-url) "search"
            "?query=" (w3m-url-encode-string query)
            "&depth=2"
            "&style=" style
            "&minSharability=" (number-to-string minv)
            "&maxSharability=" (number-to-string maxv)
            "&minWeight=" (number-to-string minw)
