all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hongxu Chen <leftcopy.chx@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Why there is an additional NOSPAM in this Yasnippet?
Date: Fri, 10 May 2013 02:08:30 +0800	[thread overview]
Message-ID: <87d2t06n6p.fsf@gmail.com> (raw)


Hi all,

   I am using yasnippet but has some problems with it.

   There is a snippet file in the `snippets/text-mode' directory called
   `email', with the full contents below:

    # name: (user's email)
    # key: email
    # --
    `(replace-regexp-in-string "@" "@NOSPAM." user-mail-address)`

So why there is a need to replace the `@' with `@NOSPAM'?

BTW, is there any setting that looks up ONLY the directory I customized?
I am using this one but it STILL additionally uses the snippets insides
`yasnippets/snippets' directory(I am using elpa to manage el packages so
I do not like to remove or modify the snippets directory).

  (setq yas-snippet-dirs "~/emacs.d/snippets")


 Many thanks.

 Hongxu Chen



             reply	other threads:[~2013-05-09 18:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-09 18:08 Hongxu Chen [this message]
2013-05-09 18:48 ` Why there is an additional NOSPAM in this Yasnippet? Óscar Fuentes
2013-05-09 18:55   ` Hongxu Chen

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

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

  git send-email \
    --in-reply-to=87d2t06n6p.fsf@gmail.com \
    --to=leftcopy.chx@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.