From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Xiaolong Zhang Newsgroups: gmane.emacs.bugs Subject: bug#29036: 26.0.90; Feature Request: make "emacsclient +linenum file" rencenter line Date: Sat, 28 Oct 2017 11:30:27 +0800 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="089e0825d8d0ca5901055c930621" X-Trace: blaine.gmane.org 1509161476 31569 195.159.176.226 (28 Oct 2017 03:31:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 28 Oct 2017 03:31:16 +0000 (UTC) To: 29036@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 28 05:31:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8Hpx-00072c-Mq for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Oct 2017 05:31:05 +0200 Original-Received: from localhost ([::1]:59662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8Hq4-0008UK-B0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Oct 2017 23:31:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8Hpv-0008UC-OX for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 23:31:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8Hpu-0002T2-Kk for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 23:31:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57466) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e8Hpu-0002Sy-H2 for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 23:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e8Hpu-00024P-7u for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 23:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Xiaolong Zhang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Oct 2017 03:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29036 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15091614417920 (code B ref -1); Sat, 28 Oct 2017 03:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Oct 2017 03:30:41 +0000 Original-Received: from localhost ([127.0.0.1]:37914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8HpZ-00023g-JI for submit@debbugs.gnu.org; Fri, 27 Oct 2017 23:30:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8HpX-00023R-6V for submit@debbugs.gnu.org; Fri, 27 Oct 2017 23:30:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8HpQ-0002Iz-VT for submit@debbugs.gnu.org; Fri, 27 Oct 2017 23:30:33 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53016) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e8HpQ-0002Ir-Rl for submit@debbugs.gnu.org; Fri, 27 Oct 2017 23:30:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8HpP-0008Tr-MK for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 23:30:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8HpO-0002IG-JM for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 23:30:31 -0400 Original-Received: from mail-io0-x235.google.com ([2607:f8b0:4001:c06::235]:54818) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e8HpO-0002Hi-DX for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 23:30:30 -0400 Original-Received: by mail-io0-x235.google.com with SMTP id e89so16543372ioi.11 for ; Fri, 27 Oct 2017 20:30:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=R5N5cyUygOYptypcoBjyDy3S1xSj2SnL6HY31ab6cus=; b=tttcHQE1H7p9HCKkmWYafcw8mjguDBVGkLDUCXI5LWXEcL+JwBdNpIYDs1mqdmkeLA lGGb/arvXrvCX+pRChuPos8uubihiXEnC9mtNif7USt+Zv5vkMHdMAoqNbXXZRRu6bJQ Brct1LEKk96vJse+aHsseRYmolFzlfK5bwwglEbz+P+7lEbtEWl4w9dxDGGt1nUecXbA KwCM/0RDNfNwmUNUcThrij5v2PaUwmdV/FTQKp9Qjd4HbP9oswurZ1rCD33ht5ODkfxV hbAPKHwYNDqxLRU5Ezd+1WprR3dFcotj9t9aZfFOP8NlaL8s3mfrv9Uoy0jO8yz6Mh2L p30Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=R5N5cyUygOYptypcoBjyDy3S1xSj2SnL6HY31ab6cus=; b=YGoEfJve/IRaGl8p0L/7fjOWNEYAx0DGjx40g/ViAdn3bAnpM/zfCdc5wTml7y9kc+ DTgBDjvEOBQFdPkClQ4/cyekCuOVvHKUSFbYkvrLcMeRpF9bZtrljXala0W1DWqf4YNl 7H93tyjerywb1kwhMpt/DIhSKi9RmH0kziO6ItrRcQ1juuRw3EacNPa/0YgDRQDZxXsz QtKlxT310rt0saoNph9MTGiwUbnjny6KWAMXIIyMggl4b6+k425ydmVfGT++ks6C1Ck9 RLT+5k2ecDcs7h7hiE7hHndLHJXK5/Tqr04zQsKgI8M+DjLXDEYQFx8yEDvu4oDqyQ3v t+Cw== X-Gm-Message-State: AMCzsaVWEzyosRoJnjC40Fsat8+OAldfFvfsJ2xycfXUJkBG/Tee3lQr Zwxnm0iBcUMrHBAjy+S5JdnxF36AXAEApMGB6eDnFA== X-Google-Smtp-Source: ABhQp+TB/BZid7Pzd+xZ2vfoaW17k7VktYzjG9Kcr4R07awdAXVJoOHmlpuCbosn48UbVO9PmxUjs+5fuqwIGwoH5f0= X-Received: by 10.107.68.8 with SMTP id r8mr3188068ioa.192.1509161427424; Fri, 27 Oct 2017 20:30:27 -0700 (PDT) Original-Received: by 10.2.65.70 with HTTP; Fri, 27 Oct 2017 20:30:27 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:139093 Archived-At: --089e0825d8d0ca5901055c930621 Content-Type: text/plain; charset="UTF-8" Hi list, I got no answer on stack-exchange for emacs ( https://emacs.stackexchange.com/questions/36434/make-emacs-recenter-the-line-for-latex-inverse-search) so I'm asking here. I'm using emacs for LaTeX file editing and emacsclient support the nice command line option "+linenum file" to "visit file using find-file, then go to line number linenum in it", which works well. Is it possible to recenter to linenum at the sametime? This is the default behavior for Notepad++ and I've tried the "--eval" option, but it won't switch focus to emacs automatically. Thanks. Best, Xiaolong --089e0825d8d0ca5901055c930621 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi list,



I= 'm using emacs for LaTeX file editing and emacsclient support the nice = command line option "+linenum file" to "visit file using fin= d-file, then go to line number linenum in it", which works well.=C2=A0=

Is it possible to recenter to linenum at the sametime= ? This is the default behavior for Notepad++ and I've tried the "-= -eval" option, but it won't switch focus to=C2=A0 emacs automatica= lly.

Thanks.

Best,
Xiao= long




--089e0825d8d0ca5901055c930621--