[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Copy whitespace-delimited text to variable
From: |
Tim Johnson |
Subject: |
Copy whitespace-delimited text to variable |
Date: |
Wed, 7 Mar 2018 13:40:18 -0900 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
GNU Emacs 25.1. on ubuntu 14.04
Is there an elisp function which would return the whitespace
delimited text preceding the cursor?
Example: in elpy
g.args (where cursor is at or following 's')
(current-word) would just return 'args', I need 'g.args'
and I don't wish to modify the syntax table.
Before I roll my own, I'd rather not re-invent the wheel...
thanks
--
Tim
http://www.akwebsoft.com, http://www.tj49.com
- Copy whitespace-delimited text to variable,
Tim Johnson <=
- Re: Copy whitespace-delimited text to variable, Emanuel Berg, 2018/03/08
- Re: Copy whitespace-delimited text to variable, Emanuel Berg, 2018/03/08
- Re: Copy whitespace-delimited text to variable, Tim Johnson, 2018/03/08
- Message not available
- Re: Copy whitespace-delimited text to variable, Emanuel Berg, 2018/03/09
- Re: Copy whitespace-delimited text to variable, Tim Johnson, 2018/03/09
- Message not available
- Re: Copy whitespace-delimited text to variable, Emanuel Berg, 2018/03/10
- Re: Copy whitespace-delimited text to variable, Tim Johnson, 2018/03/11
- Message not available
- Re: Copy whitespace-delimited text to variable, Emanuel Berg, 2018/03/11