From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Minor feature idea Date: Thu, 22 Jan 2015 22:49:22 -0500 Message-ID: References: <54C1803A.3020701@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421984984 16417 80.91.229.3 (23 Jan 2015 03:49:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2015 03:49:44 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 23 04:49:44 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 1YEVFf-0000cZ-VQ for ged-emacs-devel@m.gmane.org; Fri, 23 Jan 2015 04:49:44 +0100 Original-Received: from localhost ([::1]:56976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEVFf-0004H3-9a for ged-emacs-devel@m.gmane.org; Thu, 22 Jan 2015 22:49:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEVFS-0004G7-S5 for emacs-devel@gnu.org; Thu, 22 Jan 2015 22:49:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEVFL-0005ZP-VM for emacs-devel@gnu.org; Thu, 22 Jan 2015 22:49:30 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:1852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEVFL-0005ZK-RW; Thu, 22 Jan 2015 22:49:23 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjwPAOwQflSnWBWM/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQMBViMFCwsOJhIUGA0kiEoJ1lkBAQEBBgEBAQEekG8HhEgFiwGDYaJFhBkhgncBAQE X-IPAS-Result: AjwPAOwQflSnWBWM/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQMBViMFCwsOJhIUGA0kiEoJ1lkBAQEBBgEBAQEekG8HhEgFiwGDYaJFhBkhgncBAQE X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="108521329" Original-Received: from 167-88-21-140.cpe.teksavvy.com (HELO ceviche.home) ([167.88.21.140]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 22 Jan 2015 22:49:22 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 1248866100; Thu, 22 Jan 2015 22:49:22 -0500 (EST) In-Reply-To: <54C1803A.3020701@dancol.org> (Daniel Colascione's message of "Thu, 22 Jan 2015 14:56:58 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:181650 Archived-At: > I use C-a C-k too often to want to change the C-a binding. The existing > movement function bindings are adequate if we want to use them. Agreed. > backward-sexp and forward-sexp feel like a better fit for navigation by > path component. They're close enough already that I frequently use them > to edit paths. Agreed. > 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. Stefan