all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Why there is an additional NOSPAM in this Yasnippet?
@ 2013-05-09 18:08 Hongxu Chen
  2013-05-09 18:48 ` Óscar Fuentes
  0 siblings, 1 reply; 3+ messages in thread
From: Hongxu Chen @ 2013-05-09 18:08 UTC (permalink / raw)
  To: help-gnu-emacs


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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-09 18:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-09 18:08 Why there is an additional NOSPAM in this Yasnippet? Hongxu Chen
2013-05-09 18:48 ` Óscar Fuentes
2013-05-09 18:55   ` Hongxu Chen

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.