From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tim Johnson Newsgroups: gmane.emacs.help Subject: Re: Copy whitespace-delimited text to variable Date: Sun, 11 Mar 2018 08:18:21 -0800 Organization: AkWebsoft Message-ID: <20180311161821.GC4384@mail.akwebsoft.com> References: <86zi3jqer1.fsf@zoho.com> <86lgf1rbhc.fsf@zoho.com> <86o9jv1mxk.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1520785052 31556 195.159.176.226 (11 Mar 2018 16:17:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Mar 2018 16:17:32 +0000 (UTC) User-Agent: Mutt/1.7.0 (2016-08-17) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 11 17:17:28 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ev3f5-00082J-Pu for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Mar 2018 17:17:27 +0100 Original-Received: from localhost ([::1]:54850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ev3h6-00067D-UP for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Mar 2018 12:19:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ev3gX-00065f-OR for help-gnu-emacs@gnu.org; Sun, 11 Mar 2018 12:18:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ev3gU-00073u-In for help-gnu-emacs@gnu.org; Sun, 11 Mar 2018 12:18:57 -0400 Original-Received: from tjohnson.mtaonline.net ([64.4.232.191]:58900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ev3gU-0006wB-A7 for help-gnu-emacs@gnu.org; Sun, 11 Mar 2018 12:18:54 -0400 Original-Received: by linus.johnson.com (Postfix, from userid 1000) id 07DD5200996; Sun, 11 Mar 2018 08:18:21 -0800 (AKDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <86o9jv1mxk.fsf@zoho.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.4.232.191 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116171 Archived-At: * Emanuel Berg [180310 15:31]: > Tim Johnson wrote: > > > Hmm! Interesting that you brought that up. > > Been thinking of the same. I hate messing > > with the '.' in python, 'cuz I don't want to > > mess up elpy. > > (defun backward-word-experiment () > (interactive) > (let ((temp-st (make-syntax-table))) > (modify-syntax-entry ?. "w" temp-st) > (with-syntax-table temp-st > (backward-word 1) ))) > (defalias 'bwe 'backward-word-experiment) > ;; never fear, g.args is here > ^^ try me > This one is definitely the Bee's Knees. Adding to moi library. tack -- Tim http://www.akwebsoft.com, http://www.tj49.com