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 02:08:02 -0600 Message-ID: References: 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 1452240538 29790 80.91.229.3 (8 Jan 2016 08:08:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Jan 2016 08:08:58 +0000 (UTC) Cc: Emacs developers To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 08 09:08:57 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 1aHS6S-0003Fg-UH for ged-emacs-devel@m.gmane.org; Fri, 08 Jan 2016 09:08:57 +0100 Original-Received: from localhost ([::1]:34392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHS6R-0003zw-NC for ged-emacs-devel@m.gmane.org; Fri, 08 Jan 2016 03:08:55 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHS6F-0003zH-DK for emacs-devel@gnu.org; Fri, 08 Jan 2016 03:08:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHS6E-0003g4-Il for emacs-devel@gnu.org; Fri, 08 Jan 2016 03:08:43 -0500 Original-Received: from mail-ob0-x22d.google.com ([2607:f8b0:4003:c01::22d]:35204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHS6E-0003g0-EF for emacs-devel@gnu.org; Fri, 08 Jan 2016 03:08:42 -0500 Original-Received: by mail-ob0-x22d.google.com with SMTP id xn1so74213369obc.2 for ; Fri, 08 Jan 2016 00:08:42 -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=nTHzSWdIJYi4P9XTR4TYSGbWPvoo7OpL1rB/BtiHUrI=; b=Sa0mQ/+SbW55gf6ssYmj6+3MRCoB9rr1DyAP7DIAgA9Xi6dg+Nb6Z2u99T9l8xZgFW 031JaFV10EE5RfT9HWIE1OS3pOfAVZFtyyK63GeMDOJlm1eBX4TXce3/LBdMMPkpNKdA UmS0x1dVMkX/PUGsbu1775xt03nJNwdexaef63pLbyEO6DrWlLUe1YNU4vcPXRz9hLYf ZZi2flB8R4zzk83X7CByOpjy0TSVV7B4umKzbWluYeBhhjsBT1nY1L/neiVwYaIT6ANF zDtJlYDw0Y4D0MZF7DCDjvmNTqoLVn3v4Lt1kodk3yPWIyt3/SrSMhq+bjeajnm7gNZF yV7Q== X-Received: by 10.182.242.4 with SMTP id wm4mr37346895obc.85.1452240522078; Fri, 08 Jan 2016 00:08:42 -0800 (PST) Original-Received: by 10.202.92.213 with HTTP; Fri, 8 Jan 2016 00:08:02 -0800 (PST) In-Reply-To: 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:197802 Archived-At: On Fri, Jan 8, 2016 at 1:42 AM, Yuri Khan wrote: > 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=9Cemacscli= ent.c:1593=E2=80=9D? > > What if a Windows user wants to edit an NTFS stream named 1593 in file > emacsclient.c? mm, interesting ! We could extend the meaning of '+' to indicate a linenum:column will be present, So we could use one of these syntax: (new) emacsclient + filepath:LINENUM:COL (current) emacsclient +LINENUM:COL filepath -Jorge