From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kiwon Um Newsgroups: gmane.emacs.help Subject: way to get the file name except the extension Date: Wed, 4 Feb 2009 21:09:46 -0800 (PST) Organization: http://groups.google.com Message-ID: <1858f41f-2d50-47a5-8084-80d78a89e89b@e1g2000pra.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233812477 25388 80.91.229.12 (5 Feb 2009 05:41:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2009 05:41:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 05 06:42:30 2009 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 1LUx0P-0004LL-FP for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Feb 2009 06:42:29 +0100 Original-Received: from localhost ([127.0.0.1]:33797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUwz6-0002Ok-J7 for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Feb 2009 00:41:08 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!e1g2000pra.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 7 Original-NNTP-Posting-Host: 163.152.71.53 Original-X-Trace: posting.google.com 1233810586 32206 127.0.0.1 (5 Feb 2009 05:09:46 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 5 Feb 2009 05:09:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e1g2000pra.googlegroups.com; posting-host=163.152.71.53; posting-account=6v9_LQoAAACIrmHTUxB_-iw-j364OtYr User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-0.1 Firefox/3.0.5,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:166597 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:61911 Archived-At: Hello. I'm a newbie to elisp. I'm wondering a built-in function or lisp codes to get the file name except the extension from (buffer-name): TestCode.cpp -> TestCode Any advise? :)