From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: someusernamehere Newsgroups: gmane.emacs.help Subject: help with function Date: Fri, 09 Nov 2007 13:05:48 -0800 Organization: http://groups.google.com Message-ID: <1194642348.322445.52600@k35g2000prh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: ger.gmane.org 1194682338 26092 80.91.229.12 (10 Nov 2007 08:12:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Nov 2007 08:12:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 10 09:12:21 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IqlRx-0001F9-Ph for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Nov 2007 09:12:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IqlRm-0007IC-5l for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Nov 2007 03:12:06 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!k35g2000prh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: 189.149.76.44 Original-X-Trace: posting.google.com 1194642349 16355 127.0.0.1 (9 Nov 2007 21:05:49 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 9 Nov 2007 21:05:49 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.1.8) Gecko/20061201 Firefox/2.0.0.8 (Ubuntu-feisty),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: k35g2000prh.googlegroups.com; posting-host=189.149.76.44; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:153648 X-Mailman-Approved-At: Sat, 10 Nov 2007 03:11:46 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49117 Archived-At: Hey, I need some help, how I can write a simple lisp code which ask for a value, after store in a variable, indeed I want to the value is concatenate to an url, I have the following: which found on google: (defun search-word () (interactive) (browse-url (concat "http://foo.bar.foobar/index.php?search=" (thing-at-point 'word)))) but this is only with the word at point, I want ask a word, any help? thanks