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 10:44:57 -0600 Message-ID: References: <838u40qw8j.fsf@gnu.org> <837fjkozax.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1452271567 31085 80.91.229.3 (8 Jan 2016 16:46:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Jan 2016 16:46:07 +0000 (UTC) Cc: Eli Zaretskii , Yuri Khan , Emacs developers To: Kaushal Modi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 08 17:46:06 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 1aHaAj-0003gi-QA for ged-emacs-devel@m.gmane.org; Fri, 08 Jan 2016 17:45:53 +0100 Original-Received: from localhost ([::1]:37248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHaAj-000878-8R for ged-emacs-devel@m.gmane.org; Fri, 08 Jan 2016 11:45:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHaAW-000871-AN for emacs-devel@gnu.org; Fri, 08 Jan 2016 11:45:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHaAV-0006Sf-Gx for emacs-devel@gnu.org; Fri, 08 Jan 2016 11:45:40 -0500 Original-Received: from mail-oi0-x232.google.com ([2607:f8b0:4003:c06::232]:33569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHaAU-0006SI-7i; Fri, 08 Jan 2016 11:45:38 -0500 Original-Received: by mail-oi0-x232.google.com with SMTP id y66so338002207oig.0; Fri, 08 Jan 2016 08:45: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; bh=oLK1IRcnlphAQpeMI6zPHssncAL5sRZgjQHVjNvA9QA=; b=AeDCLJ8tNOrrY1q7qLlzq2FgVsQw0ahYCxS64laPwihbJSpuGEx2GWLjCm74/KlWTY WsnLVbqeBytVNY4vlWQ8ulFIHG8HJQRaSml/YIIqSS6v8AxVWkns0blDZoJsv1f9siss qiNFLS6ojxoUcDHIBWYym2x0p+Frr6ya2g3l7hxG5cQdYgEztSi/MhVb+LFGqlyBQ1ac 2Lp5K9dLttnbuxZPxF4bOrC2Ld0Tib4dF61BOGnCWy1WkZIKtAg4DCC8wwOp1tPNzmwM 6LiSJKQrUgTvDb0Gsze3o/fbA9s8lSLGEFepZPP1OoFI7rTs9FeTP7Tgc6eb39nQBAnS mAJg== X-Received: by 10.202.222.193 with SMTP id v184mr79242272oig.15.1452271537168; Fri, 08 Jan 2016 08:45:37 -0800 (PST) Original-Received: by 10.202.92.213 with HTTP; Fri, 8 Jan 2016 08:44:57 -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:c06::232 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:197838 Archived-At: On Fri, Jan 8, 2016 at 10:38 AM, Kaushal Modi wrote: > I personally haven't come across a file whose name end in ":NUM". So I do > not have anything against the initial patch. But as other suggested, it's > probably not a good idea. > >> (new) emacsclient + filepath:LINENUM:COL > > But this idea is not bad IF "emacsclient + filepath" works the same as > "emacsclient filepath". > Then I can simply set my e2 alias to do "emacsclient -a '' + \!*" and then > stuff like below will work rightaway: > > - e2 FILE & > - e2 FILE:LINENUM & > - e2 FILE:LINENUM:COLNUM & > got it, i like it ! Eli, do you think this would be acceptable ? >