From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel Subject: Re: Minor feature idea Date: Fri, 23 Jan 2015 10:41:56 -0600 Message-ID: <87fvb18n57.fsf@red-bean.com> References: <54C1803A.3020701@dancol.org> Reply-To: Karl Fogel NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422031357 26304 80.91.229.3 (23 Jan 2015 16:42:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2015 16:42:37 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 23 17:42:36 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YEhJb-0006qm-RW for ged-emacs-devel@m.gmane.org; Fri, 23 Jan 2015 17:42:35 +0100 Original-Received: from localhost ([::1]:60284 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEhJa-0007Y8-Up for ged-emacs-devel@m.gmane.org; Fri, 23 Jan 2015 11:42:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEhJ4-0007Tu-Im for emacs-devel@gnu.org; Fri, 23 Jan 2015 11:42:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEhJ0-0003vG-JL for emacs-devel@gnu.org; Fri, 23 Jan 2015 11:42:02 -0500 Original-Received: from mail-yh0-x22d.google.com ([2607:f8b0:4002:c01::22d]:57039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEhJ0-0003ui-GU for emacs-devel@gnu.org; Fri, 23 Jan 2015 11:41:58 -0500 Original-Received: by mail-yh0-f45.google.com with SMTP id f73so3567322yha.4 for ; Fri, 23 Jan 2015 08:41:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:references:reply-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=K1kux2c56Y4qudNYLIPkczNwbI+gdJM2JBMuBw3eJ/I=; b=P4er+oY2+j5wklkJ17eqRdItDU/26KPKUSNqAlnry+8ynyF1Onz9n+0V/yKLJSXiEe bacMvvK7FqUTseBqdR2lr5zBHq2iZmutRI3OpeDb6wDcpla0DnEdx613MvEF9gnKDrDI I6KcpUVdTa1T9TsCdA3/dul23eMERM4ed9ieh+ARGVklUbSjZNNHeLK4owBCoXf//hWo cEj+GXIjE64ilQ4Atll9sVF/LBBCpowwFGvU6SbA9ugk574fHZGfAOrUk2un6RtMao9A dHVj99fHT5OR8UUQ/JI1+9wgjFlfygW1me5nMNO9swHj9amzuM5qs4L2u8/7TME6JBwH edpg== X-Received: by 10.170.126.76 with SMTP id s73mr4160343ykb.124.1422031317648; Fri, 23 Jan 2015 08:41:57 -0800 (PST) Original-Received: from kdesk (74-92-190-114-Illinois.hfc.comcastbusiness.net. [74.92.190.114]) by mx.google.com with ESMTPSA id h23sm1136845yhd.47.2015.01.23.08.41.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Jan 2015 08:41:57 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Thu, 22 Jan 2015 22:49:22 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c01::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181685 Archived-At: Stefan Monnier writes: >> Another option is to repurpose the word movement bindings. I don't know >> what to think of that. Is a filename a "word"? > >No, words are smaller and have a well-defined meaning globally. >OTOH "sexp" navigation is meant to be adjusted based on the particular >syntax of the things being edited, so it fits very well with the idea of >moving by file-name component. Agreed -- this solution makes the most sense to me. One doesn't see many files named "/home/jrandom/(cons foo bar)/qux" :-). Using sexp motion to move by path component makes semantic sense, and anyway there is unlikely to be some other more useful interpretation of sexps in that context.