{"action":"created","issue":{"url":"https://api.github.com/repos/emacs-helm/helm/issues/866","labels_url":"https://api.github.com/repos/emacs-helm/helm/issues/866/labels{/name}","comments_url":"https://api.github.com/repos/emacs-helm/helm/issues/866/comments","events_url":"https://api.github.com/repos/emacs-helm/helm/issues/866/events","html_url":"https://github.com/emacs-helm/helm/issues/866","id":57238204,"number":866,"title":"Helm google suggest, replace search query. ","user":{"login":"ReneFroger","id":5211845,"avatar_url":"https://avatars.githubusercontent.com/u/5211845?v=3","gravatar_id":"","url":"https://api.github.com/users/ReneFroger","html_url":"https://github.com/ReneFroger","followers_url":"https://api.github.com/users/ReneFroger/followers","following_url":"https://api.github.com/users/ReneFroger/following{/other_user}","gists_url":"https://api.github.com/users/ReneFroger/gists{/gist_id}","starred_url":"https://api.github.com/users/ReneFroger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReneFroger/subscriptions","organizations_url":"https://api.github.com/users/ReneFroger/orgs","repos_url":"https://api.github.com/users/ReneFroger/repos","events_url":"https://api.github.com/users/ReneFroger/events{/privacy}","received_events_url":"https://api.github.com/users/ReneFroger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-02-10T21:19:55Z","updated_at":"2015-02-13T10:35:05Z","closed_at":null,"body":"Keep in mind that my knowledge of Lisp is not very well, but I aim to improve it. \r\nI have a query, that allows me to direct Google me to my direct result (on the first hit): `http://www.google.com/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS264&q=%s&btnI=I%27m+Feeling+Lucky` \r\n\r\nwhere %s is replaced by the string of desired subject. \r\n\r\nWhen I look in the code of helm-net.el, I see the following: \r\n\r\n>(defcustom helm-google-suggest-search-url\r\n>  \"http://www.google.com/search?ie=utf-8&oe=utf-8&q=\"\r\n>  \"URL used for Google searching.\"\r\n>  :type 'string\r\n>  :group 'helm-net)\r\n\r\nOkay. In my `.emacs` configuration file, I do a `setq`, from this [tutorial](https://www.gnu.org/software/emacs/manual/html_node/eintr/defcustom.html) , so\r\n\r\n>(setq helm-google-suggest-search-url\r\n>  \"http://www.google.com/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS264&q=%s&btnI=I%27m+Feeling+Lucky\"\r\n>  \"Modified URL used for Google searching.\"\r\n>  :type 'string\r\n>  :group 'helm-net)\r\n\r\nI assume the `%s` will be replaced by the given input, because `helm-surfraw-duckduckgo-url` uses the same technique. However, I get errors. Any suggestions from anyone here to get this working? \r\n\r\nThanks in advance. "},"comment":{"url":"https://api.github.com/repos/emacs-helm/helm/issues/comments/74234390","html_url":"https://github.com/emacs-helm/helm/issues/866#issuecomment-74234390","issue_url":"https://api.github.com/repos/emacs-helm/helm/issues/866","id":74234390,"user":{"login":"thierryvolpiatto","id":1533939,"avatar_url":"https://avatars.githubusercontent.com/u/1533939?v=3","gravatar_id":"","url":"https://api.github.com/users/thierryvolpiatto","html_url":"https://github.com/thierryvolpiatto","followers_url":"https://api.github.com/users/thierryvolpiatto/followers","following_url":"https://api.github.com/users/thierryvolpiatto/following{/other_user}","gists_url":"https://api.github.com/users/thierryvolpiatto/gists{/gist_id}","starred_url":"https://api.github.com/users/thierryvolpiatto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thierryvolpiatto/subscriptions","organizations_url":"https://api.github.com/users/thierryvolpiatto/orgs","repos_url":"https://api.github.com/users/thierryvolpiatto/repos","events_url":"https://api.github.com/users/thierryvolpiatto/events{/privacy}","received_events_url":"https://api.github.com/users/thierryvolpiatto/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T10:35:05Z","updated_at":"2015-02-13T10:35:05Z","body":"\nReneFroger <notifications@github.com> writes:\n\n> Sorry thierryvolpiatto for my questions, propably I didn't something\n> wrong.\n\nYou are indeed doing something wrong.\n\n> Or your settings are just only working with your setup?\n\nMy settings are never involved here as I am always refering to helm\ndefault starting to a minimal config (i.e emacs-helm.sh)\n\n> I just started out with clean Emacs with empty emacs configuration\n> file. Added MELPA to package manager, to get the latest modified\n> version of Helm. Installed Helm in package manager.\n>\n> Then I evaluated the url-unhex-string. Gives me the same output as I posted earlier.\n\nNo.\n\n(url-unhex-string\n\"http://www.google.com/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS264&q=%s&btnI=I%27m+Feeling+Lucky\")\n=>                                                                          ^^^^^\n\"http://www.google.com/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS264&q=%s&btnI=I'm+Feeling+Lucky\"\n                                                                            ^^^^^\n>\n> After M-x toggle-debug-on-error, I type M-x helm-google-suggest then I type \"example words\".\n>\n\nNo, it seems you don't understand the problem, you are giving a wrong\nvalue to `helm-google-suggest-search-url', that is you have copied the\nurl from your browser and pasted it in `helm-google-suggest-search-url'.\n\n> schermaf\n\nBTW It seems people habit is now to send screenshots to see what happen,\nwhich is most of the time unuseful, please paste the plain text\nbacktrace in your messages so that I can read it.\n\n-- \nThierry\nGet my Gnupg key:\ngpg --keyserver pgp.mit.edu --recv-keys 59F29997 \n"}}