From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jorge Alberto Garcia Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] add emacsclient support to open with file:linum syntax Date: Fri, 8 Jan 2016 08:13:58 -0600 Message-ID: References: <838u40qw8j.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1452262498 3904 80.91.229.3 (8 Jan 2016 14:14:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Jan 2016 14:14:58 +0000 (UTC) Cc: Emacs developers , Yuri Khan To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 08 15:14:53 2016 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 1aHXoZ-00057L-4v for ged-emacs-devel@m.gmane.org; Fri, 08 Jan 2016 15:14:51 +0100 Original-Received: from localhost ([::1]:36337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHXoT-0001FR-5g for ged-emacs-devel@m.gmane.org; Fri, 08 Jan 2016 09:14:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHXoO-0001FJ-Dg for emacs-devel@gnu.org; Fri, 08 Jan 2016 09:14:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHXoN-0000dC-J7 for emacs-devel@gnu.org; Fri, 08 Jan 2016 09:14:40 -0500 Original-Received: from mail-ob0-x22d.google.com ([2607:f8b0:4003:c01::22d]:33453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHXoM-0000bO-49; Fri, 08 Jan 2016 09:14:38 -0500 Original-Received: by mail-ob0-x22d.google.com with SMTP id bx1so327593465obb.0; Fri, 08 Jan 2016 06:14:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=31CexDwOfaE1IWsNhZRg44wOEcWWrwPmH+ZRaw0iBwU=; b=zqz8SMNflSuirQgjQe3i73VYvw6X8Z2o5O2/yfZpoU0bra/UmDmCYtnncv/E0c0eD+ ZhRMUSvE8HNdllOODQLdEhTDBf+4h6UUsLr2YrVbpOmRQcnp+nVmv5QgEfUETcQQ4cdw B7O8+/BFetFleZfrveNmvZLNeQoUqIWGgNGehLtyTuwIOLPe0hIulj9IhDtX7qhzqKWC 4bw2RoCDZ6YNE7A4oWbT8dGUqyPt/Qa7tynuHCf8nSqj6bOFQvHnJUDjIALPQS9fJ9Ua a3bDYCzmJ1dWcoRfYo9iTCmeXrfYqEIERAXx4UxHmsJ6AgmDPKA+GbnO7oF5Uw6/boO0 olNA== X-Received: by 10.60.73.164 with SMTP id m4mr79655294oev.30.1452262477820; Fri, 08 Jan 2016 06:14:37 -0800 (PST) Original-Received: by 10.202.92.213 with HTTP; Fri, 8 Jan 2016 06:13:58 -0800 (PST) In-Reply-To: <838u40qw8j.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003: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:197829 Archived-At: On Fri, Jan 8, 2016 at 3:03 AM, Eli Zaretskii wrote: >> From: Yuri Khan >> Date: Fri, 8 Jan 2016 13:42:04 +0600 >> Cc: Emacs developers >> >> On Fri, Jan 8, 2016 at 4:35 AM, Jorge Alberto Garcia >> wrote: >> >> > With this you can do this from cmdline: >> > $ emacsclient -q -c lib-src/emacsclient.c:1593 >> >> What if you want to edit a file whose name is literally =E2=80=9Cemacscl= ient.c:1593=E2=80=9D? >> >> What if a Windows user wants to edit an NTFS stream named 1593 in file >> emacsclient.c? > > Exactly the questions that went through my head when I read the patch, > thanks. > > I think such a feature, if deemed useful, should be activated by a new > command-line option. Otherwise, I don't see how can emacsclient be > sure the bunch of digits at the end of a file name is a line number. Hey Eli, thanks for your feedback, would you be against using a new env var to enable it ?