all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* yasnippet to expand abbreviation in dired/fileopen command?
@ 2012-05-10  8:44 David Belohrad
  2012-05-10 14:10 ` Andrea Crotti
  2012-05-10 14:29 ` XeCycle
  0 siblings, 2 replies; 6+ messages in thread
From: David Belohrad @ 2012-05-10  8:44 UTC (permalink / raw)
  To: help-gnu-emacs


Hi there,
any help would be appreciated:

I want to open a file on the remote machine. I've setup tramp to use
abbrev to expand an abbreviation to full path, e.g.:

xhs -> //ssh:xxx@xxxx#1222:/mnt/mp3/

As I'm using already yasnippet for something else, using abbrev for this
seems to be just a duplication of what yasnippet does in more generic
way. 

However, as yasnippet is using set of directories to identify major mode
and select appropriate snippet 'set', I'm not sure into what directory I
should put my snippets so they get expanded only when I have to specify
directory or file....


any comments?

thanks
d.



^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <mailman.889.1336639663.855.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2012-05-11  9:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-10  8:44 yasnippet to expand abbreviation in dired/fileopen command? David Belohrad
2012-05-10 14:10 ` Andrea Crotti
2012-05-10 14:29 ` XeCycle
2012-05-10 16:04   ` Drew Adams
2012-05-11  9:31     ` David Belohrad
     [not found] <mailman.889.1336639663.855.help-gnu-emacs@gnu.org>
2012-05-10 11:31 ` Xah Lee

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.