unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kiwon Um <um.kiwon@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: way to get the file name except the extension
Date: Wed, 4 Feb 2009 21:09:46 -0800 (PST)	[thread overview]
Message-ID: <1858f41f-2d50-47a5-8084-80d78a89e89b@e1g2000pra.googlegroups.com> (raw)

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? :)


             reply	other threads:[~2009-02-05  5:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-05  5:09 Kiwon Um [this message]
2009-02-05  6:03 ` way to get the file name except the extension Xah Lee
2009-02-05  6:45   ` Kiwon Um
2009-02-05  9:11     ` Time-related functions [Was: way to get the file name except the extension] Juanma Bellón
2009-02-05  7:27 ` way to get the file name except the extension Johan Andersson
2009-02-05  8:21 ` Sebastian Tennant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1858f41f-2d50-47a5-8084-80d78a89e89b@e1g2000pra.googlegroups.com \
    --to=um.kiwon@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).