GNU bug report logs - #29036
26.0.90; Feature Request: make "emacsclient +linenum file" rencenter line

Previous Next

Package: emacs;

Reported by: Xiaolong Zhang <xlzhang921 <at> gmail.com>

Date: Sat, 28 Oct 2017 03:31:02 UTC

Severity: wishlist

Found in version 26.0.90

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Xiaolong Zhang <xlzhang921 <at> gmail.com>
Subject: bug#29036: closed (Re: bug#29036: 26.0.90; Feature Request: make
 "emacsclient +linenum file" rencenter line)
Date: Sun, 29 Sep 2019 00:40:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#29036: 26.0.90; Feature Request: make "emacsclient +linenum file" rencenter line

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 29036 <at> debbugs.gnu.org.

-- 
29036: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29036
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Xiaolong Zhang <xlzhang921 <at> gmail.com>, 29036-done <at> debbugs.gnu.org
Subject: Re: bug#29036: 26.0.90; Feature Request: make "emacsclient +linenum
 file" rencenter line
Date: Sun, 29 Sep 2019 02:39:21 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Xiaolong Zhang <xlzhang921 <at> gmail.com>
>> Date: Sun, 29 Oct 2017 18:57:36 +0800
>> Cc: 29036 <at> debbugs.gnu.org
>>
>> If the file is already visited in Emacs, it won't recenter. Is it possible to make
>> Emacs recenter even if it's already visited?
>
> You can only do that by customizing the scrolling behavior in
> general.  There's no special behavior for visiting a file that is
> already in Emacs.

It seems like the reporter got the needed answer.  I'm therefore closing
this bug report.

Best regards,
Stefan Kangas

[Message part 3 (message/rfc822, inline)]
From: Xiaolong Zhang <xlzhang921 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.90;
 Feature Request: make "emacsclient +linenum file" rencenter line
Date: Sat, 28 Oct 2017 11:30:27 +0800
[Message part 4 (text/plain, inline)]
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
[Message part 5 (text/html, inline)]

This bug report was last modified 5 years and 241 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.