From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Constantin Kulikov Newsgroups: gmane.emacs.devel Subject: Why not processing emacsclient's command line arguments with user defined functions? Date: Sat, 16 Jan 2016 19:57:55 +0300 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1149eb8ed9adeb0529766b63 X-Trace: ger.gmane.org 1452963503 1757 80.91.229.3 (16 Jan 2016 16:58:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Jan 2016 16:58:23 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 16 17:58:14 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 1aKUB4-0007Cs-Ca for ged-emacs-devel@m.gmane.org; Sat, 16 Jan 2016 17:58:14 +0100 Original-Received: from localhost ([::1]:51146 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKUB3-0000q2-RQ for ged-emacs-devel@m.gmane.org; Sat, 16 Jan 2016 11:58:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKUAn-0000ps-P4 for emacs-devel@gnu.org; Sat, 16 Jan 2016 11:57:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKUAm-00088f-QY for emacs-devel@gnu.org; Sat, 16 Jan 2016 11:57:57 -0500 Original-Received: from mail-qk0-x236.google.com ([2607:f8b0:400d:c09::236]:35637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKUAm-00088b-LH for emacs-devel@gnu.org; Sat, 16 Jan 2016 11:57:56 -0500 Original-Received: by mail-qk0-x236.google.com with SMTP id y67so64808397qkc.2 for ; Sat, 16 Jan 2016 08:57:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=rjUc0nB0PC5YqhT4pIKKl5aUmxhlCWvC/n0VFCrF8Dg=; b=0e4zBps24EOs5kTRtOQndmBih+Enx9CDTK+fJwnInUIFDV85fW4qogLLMgFItwVmu1 6RbYCJoE67MCjRPiECn9dbItffjDg8+oqi4k6GnfgtRkuVWkK/SlX7Sq8G4/gvqCaV6S FY+GvQ/gO5SB0LNqJhQGc/r2AN0u1K743y+r2wKj6RXkETzGtwR7XSjDU8ijEyvifFx1 HTDlfppdmNWVeOzz8yvYwVmz/3zsOmnjFHgzBnfB028EffZsd99oHIEZzkrRhT36PLHT yHSixliwU/zpg+ZemuZMMayiRl+yBm+5ch2Msa1I4rCqw50+A7FZfioXQj/ue8OGmKtw 25sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=rjUc0nB0PC5YqhT4pIKKl5aUmxhlCWvC/n0VFCrF8Dg=; b=J9CAto4Hqdp+nAiyaM2H/lE3T5WjnERiFaC0HRLgNtUTrPWfkM6Yw37sgtJ/+Ut+J0 YRc7/2iU7khBYnqLWvqLnjt6/myZQmOpA5qly6osEo2RWGW8XmgV8MPbMtX6Pqi4PDxQ V82/SkVwzob38qY8Ib+u83SFB104HfcEsQvoLUJ6QqrGV2EyqpGICaF6Ndtg8lV5oKLf Kq95Gzow2rpTaqf/jTEUUYJDr7A7iJqPbMSeC1CCSe1ubn7UEBiaVreO5TzGYWqmAuZ0 rDrJSQUQ98pMrl6/9lPeccaLbxc0AialboPS/QjcZZh1rk5lGyf99KaHaW84V/pG8W6h P6sg== X-Gm-Message-State: ALoCoQmHFp6tQ8svYC/PjxzEKt93fBRxyorMjeefDSg9GyvwbKu71G1Us4mxULyj3oTEMAk7IWduy5gm0VbDmC1znQtcTpdEeg== X-Received: by 10.55.215.149 with SMTP id t21mr20837264qkt.33.1452963475846; Sat, 16 Jan 2016 08:57:55 -0800 (PST) Original-Received: by 10.55.175.130 with HTTP; Sat, 16 Jan 2016 08:57:55 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c09::236 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:198201 Archived-At: --001a1149eb8ed9adeb0529766b63 Content-Type: text/plain; charset=UTF-8 For the emacs server we have command-switch-alist and command-line-functions: http://www.gnu.org/software/emacs/manual/html_node/elisp/Command_002dLine-Arguments.html Why not apply that to emacsclient's "unrecognized" arguments? // It could also solve this and alike(and it'l be useful for my personal needs too): http://emacs.1067599.n5.nabble.com/PATCH-add-emacsclient-support-to-open-with-file-linum-syntax-tp383378.html --001a1149eb8ed9adeb0529766b63 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable --001a1149eb8ed9adeb0529766b63--